Opened 13 years ago

Closed 13 years ago

Last modified 11 years ago

#6 closed defect (fixed)

0003037: AHCI Mode at Virtualbox hangs on OS2CDROM.DMD

Reported by: ecsnl Owned by: somebody
Priority: major Milestone:
Component: driver Version:
Keywords: Cc:

Description

Bug opened in the eComStation bugtracker. Customer pointed to this bug to follow it.

Running at:

  • VxT capable machine i3 with Windows 7 64bits
  • VirtualBox? 4.0.6 (Windows 7 Host)

When changing the settings on the Virtual Machine Storage (Screenshot 1) to use AHCI HDD and CDROM the boot procedure hangs on OS2CDROM.DMD
This bug was reported the eComStation bugtracker

The Boot settings get change to Virtual Machine (Screenshot 2) and turn AHCI mode (Screenshot 3).

  • It hangs at OS2CDROM.DMD (Screenshot 4)
  • It hangs at JJCDROM.DMD (Screenshot 5)
  • It hangs at old OS2CDROM.DMD (Screenshot 6)

The workarround is to do not use AHCI SATA DRIVERS on VirtualBox?, but this bug report can be usefull to fix OS2AHCI and OS2CDROM.

Attachments (6)

1 - VBox config.jpg (43.8 KB) - added by ecsnl 13 years ago.
2 - Boot Settings.jpg (53.8 KB) - added by ecsnl 13 years ago.
3 - Boot Settings.jpg (51.7 KB) - added by ecsnl 13 years ago.
4 - Hang OS2CDROM_DMD.jpg (31.9 KB) - added by ecsnl 13 years ago.
5 - jjcdrom Hang.jpg (32.0 KB) - added by ecsnl 13 years ago.
6 - old OS2cdrom Hang.jpg (32.0 KB) - added by ecsnl 13 years ago.

Download all attachments as: .zip

Change History (9)

Changed 13 years ago by ecsnl

Attachment: 1 - VBox config.jpg added

Changed 13 years ago by ecsnl

Attachment: 2 - Boot Settings.jpg added

Changed 13 years ago by ecsnl

Attachment: 3 - Boot Settings.jpg added

Changed 13 years ago by ecsnl

Attachment: 4 - Hang OS2CDROM_DMD.jpg added

Changed 13 years ago by ecsnl

Attachment: 5 - jjcdrom Hang.jpg added

Changed 13 years ago by ecsnl

Attachment: 6 - old OS2cdrom Hang.jpg added

comment:1 Changed 13 years ago by cjm

This has been fixed in version 1.19. The problem is originall caused by VirtualBox?'s emulation of a CDROM drive on the AHCI controller: If there's an error in a specific command (I believe it was a mode sense command), the current command index register in the AHCI controller is not set correctly. As a result, OS2AHCI couldn't locate the failing command and request a sense buffer. Instead, it treated the failing command like any other command in the queue and simply requeued it. Since there was no retry counter, this would go on indefinitely and the system would hang.

While the problem lies inside VirtualBox?, OS2AHCI should never get into such a situation. After all, there could be faulty hardware with similar problems. Thus, a retry counter was implemented and commands in the queue will never be retried more than 3 times before they are returned with a generic error code.

Thanks,
--Christian

comment:2 Changed 13 years ago by cjm

Resolution: fixed
Status: newclosed

comment:3 Changed 11 years ago by David Azarewicz

Milestone: milestone1

Milestone milestone1 deleted

Note: See TracTickets for help on using tickets.