[haiku-bugs] Re: [Haiku] #12338: Haiku unbootable in VirtualBox since hrev49590

  • From: "mmlr" <trac@xxxxxxxxxxxx>
  • Date: Sun, 30 Aug 2015 08:35:03 -0000

#12338: Haiku unbootable in VirtualBox since hrev49590
--------------------------------+----------------------------
Reporter: luroh | Owner: axeld
Type: bug | Status: new
Priority: normal | Milestone: Unscheduled
Component: Drivers/Disk/ATA | Version: R1/Development
Resolution: | Keywords:
Blocked By: | Blocking:
Has a Patch: 0 | Platform: All
--------------------------------+----------------------------

Comment (by mmlr):

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
}}}

--
Ticket URL: <https://dev.haiku-os.org/ticket/12338#comment:2>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: