Version
7.2.8
Host OS Type
Linux
Host OS name + version
Debian 13.5
Host Architecture
x86
Guest OS Type
other
Guest Architecture
x86
Guest OS name + version
Microsoft MSDOS 6.22
Component
VMM
What happened?
Hi VirtualBox hackers,
I have a VM with MS-DOS 6.22 that was affected of high CPU usage, so I tried DosIdle ¹, FDAPM ² and POWER.EXE ³ and all three work: they reduce CPU usage of almost ten times.
The issue happens when I insert a ".img" file (a floppy image of size 1.44MB) in the VirtualBox's virtual machine by clicking the floppy icon in the bar at the bottom of the VM window.
The same also happens when insert an ISO image file by clicking the CDROM icon in the bar at the bottom of the VM window.
Suddenly EMM386 halt the system with error code #13 and by pressing "Enter" it reboots the VM. See the snapshot file for reading the complete error message reported.
Possible workaround:
- use JEMM386 instead of EMM386. But it doesn't satisfy my needs because JEMM386 doesn't allow to run Windows 3.1
- insert the cdrom or the floppy image file not at hot: switch off the VM, then insert the .img or the .iso file in the VirtualBox's main window "Storage" section, then starts the VM
What I tried:
- reduced Execution Cap
- changed CPU profile using: VBoxManage modifyvm "My-VM-Name" --cpu-profile "Intel 80486"
- changed emulated chipset from PIIX3 to ICH9
- disabled nested paging and nested VT-x/AMD-V
- set para-virtualization interface to "none" instead of "KVM"
- disabled "Use Host I/O Cache" for both IDE and Floppy controller
- tried many EMM386.EXE options (NOVCPI,NOTR,RAM,NOEMS,excluded memory region X=…)
autoexec.bat.txt
config.sys.txt

VBox.log
Please some help to solve this issue, thank you very much for your attention.
¹ https://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/repositories/1.1/html/en/util/dosidle/20120922.4/index.html
² https://gitlab.com/FreeDOS/base/fdapm
³ The utility Power.exe is bundled in MS-DOS 6.22 in the C:\DOS directory
How can we reproduce this?
To reproduce the bug: having a VM with MSDOS 6.22, starts it, load DosIdle or FDAPM or POWER.EXE and insert a floppy image file or a CDROM ISO image file into the drive.
Did you upload all of your necessary log files, screenshots, etc.?
Version
7.2.8
Host OS Type
Linux
Host OS name + version
Debian 13.5
Host Architecture
x86
Guest OS Type
other
Guest Architecture
x86
Guest OS name + version
Microsoft MSDOS 6.22
Component
VMM
What happened?
Hi VirtualBox hackers,
I have a VM with MS-DOS 6.22 that was affected of high CPU usage, so I tried DosIdle ¹, FDAPM ² and POWER.EXE ³ and all three work: they reduce CPU usage of almost ten times.
The issue happens when I insert a ".img" file (a floppy image of size 1.44MB) in the VirtualBox's virtual machine by clicking the floppy icon in the bar at the bottom of the VM window.
The same also happens when insert an ISO image file by clicking the CDROM icon in the bar at the bottom of the VM window.
Suddenly EMM386 halt the system with error code #13 and by pressing "Enter" it reboots the VM. See the snapshot file for reading the complete error message reported.
Possible workaround:
What I tried:
autoexec.bat.txt

config.sys.txt
VBox.log
Please some help to solve this issue, thank you very much for your attention.
¹ https://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/repositories/1.1/html/en/util/dosidle/20120922.4/index.html
² https://gitlab.com/FreeDOS/base/fdapm
³ The utility Power.exe is bundled in MS-DOS 6.22 in the C:\DOS directory
How can we reproduce this?
To reproduce the bug: having a VM with MSDOS 6.22, starts it, load DosIdle or FDAPM or POWER.EXE and insert a floppy image file or a CDROM ISO image file into the drive.
Did you upload all of your necessary log files, screenshots, etc.?