Opened 9 years ago

Closed 9 years ago

#12338 closed bug (fixed)

Haiku unbootable in VirtualBox since hrev49590

Reported by: luroh Owned by: axeld
Priority: normal Milestone: Unscheduled
Component: Drivers/Disk/ATA Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

VirtualBox 5.0.2, Haiku gcc2h.

VirtualBox throws a 'Guru Meditation' error at the disk icon.

Attachments (2)

syslog_49589.txt (69.5 KB ) - added by luroh 9 years ago.
syslog_49590.txt (26.7 KB ) - added by luroh 9 years ago.

Download all attachments as: .zip

Change History (6)

by luroh, 9 years ago

Attachment: syslog_49589.txt added

by luroh, 9 years ago

Attachment: syslog_49590.txt added

comment:1 by diver, 9 years ago

Probably related to hrev49590.

comment:2 by mmlr, 9 years ago

qemu complains of mis-aligned writes. This is our debug output intermixed with the qemu output. The "ahci: Mis-aligned write..." messages are from qemu while the rest is from our AHCI driver:

ahci: Ports Implemented Mask: 0x00003f Number of Available Ports: 6
ahci: AHCI Version 0001.00.00 Interrupt 24
ahci: AHCIPort::Init1 port 0
ahci: allocating 4096 bytes for AHCI port 0
ahci: area = 418, size = 4096, virt = 0xffffffff819cc000, phy = 0xd900000
ahci: PRD table is at 0xffffffff819cc580
ahci: Mis-aligned write to addr 0x000000000000012e
ahci: AHCIPort::Init1 port 1
ahci: allocating 4096 bytes for AHCI port 1
ahci: area = 419, size = 4096, virt = 0xffffffff819d7000, phy = 0xd8ff000
ahci: PRD table is at 0xffffffff819d7580
ahci: Mis-aligned write to addr 0x00000000000001ae
ahci: AHCIPort::Init1 port 2
ahci: allocating 4096 bytes for AHCI port 2
ahci: area = 420, size = 4096, virt = 0xffffffff819d8000, phy = 0xd8fe000
ahci: PRD table is at 0xffffffff819d8580
ahci: Mis-aligned write to addr 0x000000000000022e
ahci: AHCIPort::Init1 port 3
ahci: allocating 4096 bytes for AHCI port 3
ahci: area = 421, size = 4096, virt = 0xffffffff819d9000, phy = 0xd8fd000
ahci: PRD table is at 0xffffffff819d9580
ahci: Mis-aligned write to addr 0x00000000000002ae
ahci: AHCIPort::Init1 port 4
ahci: allocating 4096 bytes for AHCI port 4
ahci: area = 422, size = 4096, virt = 0xffffffff819da000, phy = 0xd8fc000
ahci: PRD table is at 0xffffffff819da580
ahci: Mis-aligned write to addr 0x000000000000032e
ahci: AHCIPort::Init1 port 5
ahci: allocating 4096 bytes for AHCI port 5
ahci: area = 423, size = 4096, virt = 0xffffffff819cd000, phy = 0xd8fb000
ahci: PRD table is at 0xffffffff819cd580
ahci: Mis-aligned write to addr 0x00000000000003ae
ahci: AHCIPort::Init2 port 0
ahci: AHCIPort::ResetPort port 0
ahci: AHCIPort::ResetPort port 0, deviceBusy 0, forceDeviceReset 1
ahci: Mis-aligned write to addr 0x000000000000012f
ahci: Mis-aligned write to addr 0x000000000000012f
ahci: AHCIPort::PostReset port 0
ahci: device signature 0x00000101 (ATA)
ahci: ie   0x7dc0007f
ahci: is   0x00000000
ahci: cmd  0x1000c017
ahci: ssts 0x00000113
ahci: sctl.reserved 0x0000
ahci: sctl.pmp 0x00
ahci: sctl.spm 0x00
ahci: sctl.ipm 0x00
ahci: sctl.spd 0x00
ahci: sctl.det 0x00
ahci: serr 0x00000000
ahci: sact 0x00000000
ahci: tfd  0x00000130
ahci: AHCIPort::Init2 port 1
ahci: AHCIPort::ResetPort port 1
ahci: AHCIPort::ResetPort port 1, deviceBusy 0, forceDeviceReset 1
ahci: Mis-aligned write to addr 0x00000000000001af
ahci: Mis-aligned write to addr 0x00000000000001af
ahci: AHCIPort::ResetDevice port 1 no device detected
ahci: AHCIPort::PostReset port 1
ahci: AHCIPort::PostReset port 1: no device
ahci: ie   0x7dc0007f
ahci: is   0x00000000
ahci: cmd  0x1000c017
ahci: ssts 0x00000000
ahci: sctl.reserved 0x0000
ahci: sctl.pmp 0x00
ahci: sctl.spm 0x00
ahci: sctl.ipm 0x00
ahci: sctl.spd 0x00
ahci: sctl.det 0x00
ahci: serr 0x00000000
ahci: sact 0x00000000
ahci: tfd  0x00000050

comment:3 by mmlr, 9 years ago

Should be fixed in hrev49602, please test.

comment:4 by luroh, 9 years ago

Resolution: fixed
Status: newclosed

Fixed indeed, thank you.

Note: See TracTickets for help on using tickets.