Opened 3 hours ago

Last modified 4 minutes ago

#19191 new bug

AHCI not detecting disks properly on x86 PAE (x64 is fine)

Reported by: LSS37040 Owned by:
Priority: normal Milestone: Unscheduled
Component: Drivers/Disk/AHCI Version: R1/Development
Keywords: Cc:
Blocked By: #19117 Blocking:
Platform: x86

Description

This issue was discovered after #19117 has been fixed to the point that both x86 and x64 can be booted out-of-box (with x86 using PAE) as of hrev58265.

The AHCI driver appears to have issues when booting x86 with PAE addressing, with partitions not being detected correctly, appearing as "raw" and in some cases showing garbled characters in DriveSetup.

NVMe and USB drivers do not have issues with x86 PAE, as they were correctly detected there.

When booting x86 without PAE (by enabling "Ignore memory beyond 4GB"), or booting x64, the AHCI driver is working properly.

Attachments (2)

haiku-hrev58265-x86gcc2h-nopae-boot.txt (124.2 KB ) - added by LSS37040 3 hours ago.
hrev58265 x86 boot log (without PAE), AHCI working
haiku-hrev58265-x86gcc2h-boot.txt (125.8 KB ) - added by LSS37040 3 hours ago.
hrev58265 x86 boot log (with PAE), AHCI not working (reuploaded, from #19117)

Download all attachments as: .zip

Change History (4)

by LSS37040, 3 hours ago

hrev58265 x86 boot log (without PAE), AHCI working

by LSS37040, 3 hours ago

hrev58265 x86 boot log (with PAE), AHCI not working (reuploaded, from #19117)

comment:1 by waddlesplash, 5 minutes ago

It seems odd that x86_64 would work here and x86 without PAE does, but x86 with PAE doesn't. I'm not sure what could cause that. If it were related to the use of 64-bit physical memory, I'd expect x86_64 to be broken also.

comment:2 by waddlesplash, 4 minutes ago

Can you show some of the garbled characters, please?

Note: See TracTickets for help on using tickets.