Version
7.2.8
Host OS Type
Windows
Host OS name + version
Windows 11 Pro 25H2
Host Architecture
x86
Guest OS Type
Linux
Guest Architecture
x86
Guest OS name + version
Yocto scarthgap 5.0
Component
Other
What happened?
For years, we've had a problem that seems to never go away.
In our Yocto scarthgap 5.0 installer (and older versions of Yocto where the same issue occurred).
The problem occurs when we run the command “mkfs.ext2 -F /dev/boot_partition -L boot”; it also fails with “mkfs.ext4” and any direct execution of “mkfs” on a /dev/sdX. Only seems to fail with usb.vmdk (This does not happen if the drive is connected as a USB device)
To avoid this error when installing the Linux operating system, we use the PIIX4 IDE controller in the installer, and once installed, we reconfigure the disks to SATA (AHCI) again.
However, we would like to be able to use SATA again, since SATA worked perfectly for us years ago (we have always created filesystems with mkfs). More than five years ago, the SATA controller worked perfectly without the machine freezing when running “mkfs”.
Thank you very much,
VBox.log
How can we reproduce this?
Add an USB as Disk usb.vmdk:
"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" createmedium disk --filename C:\usb.vmdk --format=VMDK --variant RawDisk --property RawDrive=\.\PhysicalDrive
1)This BUG is easy to reproduce with AHCI Controller & Uncheck "Use I/O cache".
(Memory writting seems slower when "Use I/O cache" is enabled and the bug doesn´t appear)
2)Boot from a bootable USB drive and run mkfs.ext4 /dev/sda in a terminal
Did you upload all of your necessary log files, screenshots, etc.?
Version
7.2.8
Host OS Type
Windows
Host OS name + version
Windows 11 Pro 25H2
Host Architecture
x86
Guest OS Type
Linux
Guest Architecture
x86
Guest OS name + version
Yocto scarthgap 5.0
Component
Other
What happened?
For years, we've had a problem that seems to never go away.
In our Yocto scarthgap 5.0 installer (and older versions of Yocto where the same issue occurred).
The problem occurs when we run the command “mkfs.ext2 -F /dev/boot_partition -L boot”; it also fails with “mkfs.ext4” and any direct execution of “mkfs” on a /dev/sdX. Only seems to fail with usb.vmdk (This does not happen if the drive is connected as a USB device)
To avoid this error when installing the Linux operating system, we use the PIIX4 IDE controller in the installer, and once installed, we reconfigure the disks to SATA (AHCI) again.
However, we would like to be able to use SATA again, since SATA worked perfectly for us years ago (we have always created filesystems with mkfs). More than five years ago, the SATA controller worked perfectly without the machine freezing when running “mkfs”.
Thank you very much,
VBox.log
How can we reproduce this?
Add an USB as Disk usb.vmdk:
"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" createmedium disk --filename C:\usb.vmdk --format=VMDK --variant RawDisk --property RawDrive=\.\PhysicalDrive
1)This BUG is easy to reproduce with AHCI Controller & Uncheck "Use I/O cache".
(Memory writting seems slower when "Use I/O cache" is enabled and the bug doesn´t appear)
2)Boot from a bootable USB drive and run
mkfs.ext4 /dev/sdain a terminalDid you upload all of your necessary log files, screenshots, etc.?