Opened 15 years ago

Closed 14 years ago

#5400 closed bug (fixed)

Virtualbox AHCI did not work under haiku

Reported by: Xbertl Owned by: marcusoverhagen
Priority: low Milestone: R1
Component: Drivers/Disk Version: R1/alpha2
Keywords: Virtualbox AHCI Cc:
Blocked By: Blocking:
Platform: All

Description

If I use SATA- AHCI in Virtualbox, Haiku did not boot. It hangs at the fourth symbol and then the Kernel Debug Land appears on the screen.

Attachments (2)

haiku.jpg (54.2 KB ) - added by Xbertl 15 years ago.
Screenshot
Serial_Output.txt (22.2 KB ) - added by Xbertl 15 years ago.

Download all attachments as: .zip

Change History (9)

by Xbertl, 15 years ago

Attachment: haiku.jpg added

Screenshot

by Xbertl, 15 years ago

Attachment: Serial_Output.txt added

comment:2 by Xbertl, 15 years ago

I don't know how to install the patch. But here is the Serial- Output of the boot progress (Serial_Output.txt).

comment:3 by Xbertl, 15 years ago

Component: - GeneralDrivers/Disk
Keywords: Virtualbox AHCI added
Owner: changed from nobody to marcusoverhagen
Platform: x86All

in reply to:  2 comment:4 by Grey, 15 years ago

Replying to Xbertl:

I don't know how to install the patch. But here is the Serial- Output of the boot progress (Serial_Output.txt).

cd haiku/haiku patch -p0 <ahci.patch

But looking Serial_Output.txt, I think the patch can't help you :(. Because: PCI: find_pci_capability ERROR 0:13:0 capability 0x12 not supported ... ahci: ExecuteAtaRequest port 0: device timeout ahci: sata_request::abort called for command 0xec ahci: identify device failed ahci: ahci_supports_device

comment:5 by marcusoverhagen, 15 years ago

The patch is not relevant to your problem. 0xec is the "identify device" ATA command.

There is a 20 seconds timeout in ahci_port.cpp ExecuteSataRequest WaitForTransfer(&tfd, 20000000) that times out.

Finding the reason for this failure would be useful.

ahci: AHCIPort::ScsiTestUnitReady port 0 
ahci: AHCIPort::ScsiInquiry port 0 
        sata_request creation
        ExecuteAtaRequest begin
          WaitForTransfer timeout
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 0xec 
ahci: identify device failed 
}}

comment:6 by Xbertl, 14 years ago

Version: R1/alpha1R1/alpha2

Solved.

I tested it with the Alpha2 and Virtualbox 64Bit 3.1.8 hrev61349 . And now AHCI works under Haiku.

comment:7 by stippi, 14 years ago

Resolution: fixed
Status: newclosed

Thanks for the update!

Note: See TracTickets for help on using tickets.