Re: WIN XP and DOS Emulation



On Sun, 29 Jun 2008 14:57:26 +0000, Jan Panteltje wrote:
[snip]
I just compiled and installed that dosbox on Linux, it seems to emulate
a complete DOS PC, and it even sort of runs vrs.exe (3D flight
[snip]
HOWEVER it tries strange things with my harddisk: dmesg:
hdc: packet command error: status=0x51 { DriveReady SeekComplete Error }
hdc: packet command error: error=0x54 { AbortedCommand
LastFailedSense=0x05 } ide: failed opcode was: unknown
ATAPI device hdc:
Error: Illegal request -- (Sense key=0x05) Cannot read medium -
incompatible format -- (asc=0x30, ascq=0x02) The failed "Read
Subchannel" packet command was: "42 02 40 01 00 00 00 00 10 00 00 00
00 00 00 00 "
Now hdc is the CDROM in my case, so it cannot do any harm I suppose, but
check with dmesg if it does not corrupt anything on your system.

This probably is unrelated [1] and/or dosbox might not have an
option setting for it, but see section 11.2.2 on page 113 in
http://www.virtualbox.org/download/1.6.2/UserManual.pdf
that mentions a bug in the hard disk driver of Windows 2000 -- "a race
condition in the Windows driver code which leads to corruption if the
operation completes too fast" [as may occur in a virtual environment].
For virtualbox, there's an option to increase IRQDelay during installation.

-jiw
[1] Ie, your error messages appear in the linux log, vs errors from
the Windows bug show up in the virtual machine.
.



Relevant Pages

  • Is My Hard Drive Failing?
    ... hdc: ATAPI 52X CD-ROM drive, ... hdc: packet command error: status=0x51 {DriveReady SeekComplete Error} ... ATAPI device hdc: ...
    (linux.redhat)
  • harware question - cd-rom error message
    ... hdc: attached ide-cdrom driver ... hdc: packet command error: error=0x30 ...
    (Debian-User)
  • cdromaudio patch gives up too easily
    ... hdc: packet command error: status=0x51 ... ATAPI device hdc: ... hdc: irq timeout: error=0xd0LastFailedSense 0x0d ...
    (Linux-Kernel)
  • amd64 - ide_cd errors
    ... hdc: packet command error: status=0x51 ... These messages do not appear if media is not in the tray. ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)