[haiku-bugs] [Haiku] #12324: VirtualBox 5.0.2: boot hangs on rocket if ahci is used

  • From: "taos" <trac@xxxxxxxxxxxx>
  • Date: Sun, 23 Aug 2015 14:51:23 -0000

#12324: VirtualBox 5.0.2: boot hangs on rocket if ahci is used
-----------------------+------------------------------
Reporter: taos | Owner: nobody
Type: bug | Status: new
Priority: normal | Milestone: Unscheduled
Component: - General | Version: R1/Development
Keywords: | Blocked By:
Blocking: | Has a Patch: 0
Platform: All |
-----------------------+------------------------------
Trying to boot hrev49564 64bit under VirtualBox 5.0.2 under ArchLinux with
SATA AHCI storage controller stops at rocket icon with:

{{{
ahci: device signature 0x00000101 (ATA)
ahci: ExecuteAtaRequest port 0: device timeout
ahci: sata_request::abort called for command 0x25
file_cache: read pages failed: Device timeout
packagefs [1836492912: 187] ReadFileData(5972574, 0xffffffff86e20000,
14409) failed to read data: Device timeout
file_cache: read pages failed: Device timeout
runtime_loader: /boot/system/lib/libdebug.so: Troubles reading ELF header
ahci: AHCIPort::ResetPort port 0
ahci: AHCIPort::ResetPort port 0, deviceBusy 0, forceDeviceReset 0
ahci: AHCIPort::PostReset port 0
ahci: device signature 0x00000101 (ATA)
ahci: ExecuteAtaRequest port 0: device timeout
ahci: sata_request::abort called for command 0x25
ahci: AHCIPort::ResetPort port 0
ahci: AHCIPort::ResetPort port 0, deviceBusy 0, forceDeviceReset 0
ahci: AHCIPort::PostReset port 0
ahci: device signature 0x00000101 (ATA)
ahci: ExecuteAtaRequest port 0: device timeout
ahci: sata_request::abort called for command 0x25
}}}

Complete serial log is attached.

From .vbox file, the affected storage controller entry:

{{{
<StorageControllers>
<StorageController name="SATA" type="AHCI" PortCount="2"
useHostIOCache="false" Bootable="true" IDE0MasterEmulationPort="0"
IDE0SlaveEmulationPort="1" IDE1M
asterEmulationPort="2" IDE1SlaveEmulationPort="3">
<AttachedDevice type="HardDisk" hotpluggable="false" port="0"
device="0">
<Image uuid="{8f3c1696-353c-4610-9efd-0ba785f17099}"/>
</AttachedDevice>
<AttachedDevice type="HardDisk" hotpluggable="false" port="1"
device="0">
<Image uuid="{0464f263-f017-4ab6-81d9-3067c404a384}"/>
</AttachedDevice>
</StorageController>
</StorageControllers>
}}}

The attached vmdk images are raw disks: the boot disk is a hard disk
partition, the other is a microsd card.

Until last week, this configuration worked. I'm not sure if one of the
Haiku updates caused the problems (don't think so because if I try to boot
older states from Haiku boot menu I'm still stuck at the rocket) or the
VirtualBox update from version 5.0.0 to 5.0.2.

If I attach both raw vmdk disks with a virtual IDE controller I can still
boot to the desktop.

--
Ticket URL: <https://dev.haiku-os.org/ticket/12324>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: