Bad sectors when using MS-DOS 6.22

Bug #1674114 reported by Mario
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
QEMU
Fix Released
Undecided
Unassigned

Bug Description

When I try to install DOS 6.22 in QEMU, I get many disk errors when the virtual disk is beeing partionized and formatted. When I later do a SCANDISK, I can see many bad sectors and file errors.

I have tested this with the following disk formats: qcow2, vmdk, raw.

I tested this on Windows 7 with the following command line and QEMU version:
qemu-system-i386 -name "Windows 3.11 WfW" -machine isapc -cpu 486 -boot order=adc -m 32 -soundhw sb16 -hda disk1.qcow2 -vga cirrus

qemu-system-i386 --version
QEMU emulator version 2.8.50 (v2.8.0-12557-g0bd1f6b1b2-dirty)
Copyright (c) 2003-2016 Fabrice Bellard and the QEMU Project developers

I then did a test with the linux version of qemu, which gave me the same results.
Command line: qemu-system-i386 -name "Windows 3.11 WfW" -machine isapc -cpu 486 -boot order=adc -m 32 -soundhw sb16 -hda disk1.qcow2 -vga cirrus -monitor stdout
Version: qemu-system-i386 --version
QEMU emulator version 2.1.2 (Debian 1:2.1+dfsg-12+deb8u6), Copyright (c) 2003-2008 Fabrice Bellard

I also checked the disk image with qemu-img, with no results:

No errors were found on the image.
7986/8000 = 99.83% allocated, 0.20% fragmented, 0.00% compressed clusters
Image end offset: 523698176

Because I got the error with two different versions of QEMU, I think this is a general problem and not related to a specific distribution.

I have attached a zip file with screenshots of SCANDISK, which shows the disk errors.

Revision history for this message
Mario (mario1992-deactivatedaccount) wrote :
Revision history for this message
Mario (mario1992-deactivatedaccount) wrote :

It is working now without the parameters "-machine isapc" and "-cpu 486".

Revision history for this message
Thomas Huth (th-huth) wrote :

The QEMU project is currently considering to move its bug tracking to another system. For this we need to know which bugs are still valid and which could be closed already. Thus we are setting older bugs to "Incomplete" now.
If you still think this bug report here is valid, then please switch the state back to "New" within the next 60 days, otherwise this report will be marked as "Expired". Or mark it as "Fix Released" if the problem has been solved with a newer version of QEMU already. Thank you and sorry for the inconvenience.

Changed in qemu:
status: New → Incomplete
Revision history for this message
Mario (mario1992-deactivatedaccount) wrote :

The issue is resolved in the current release

C:\tmp>"C:\Program Files\qemu\\qemu-system-i386.exe" --version
QEMU emulator version 5.1.92 (v5.2.0-rc2-11843-gf571c4ffb5-dirty)
Copyright (c) 2003-2020 Fabrice Bellard and the QEMU Project developers

Changed in qemu:
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.