Ticket #1613 (assigned bug)

Opened 14 months ago

Last modified 14 months ago

AHCI driver not working when BIOS is set to IDE mode

Reported by: marcusoverhagen Owned by: marcusoverhagen
Priority: normal Milestone: R1
Component: Drivers/Disk Version: R1 development
Cc: Blocked By:
Platform: All Blocking:

Description

When the SATA mode in the BIOS is set to "basic" or "IDE", the AHCI driver may not be loaded.

Change History

Changed 14 months ago by marcusoverhagen

  • status changed from new to assigned

debugging output of ICH7:

intel_fixup_ahci: domain 0, bus 0, device 31, function 2, deviceId 0x27c0 intel_fixup_ahci: 0x24: 0xfebfb800 intel_fixup_ahci: 0x90: 0x00 intel_fixup_ahci: switching from IDE to AHCI mode intel_fixup_ahci: ide-bar5 bits-1: 0xfffffc00 intel_fixup_ahci: ide-bar5 bits-0: 0x00000000 intel_fixup_ahci: ahci-bar5 bits-1: 0xfffffc00 intel_fixup_ahci: ahci-bar5 bits-0: 0x00000000 intel_fixup_ahci: 0x24: 0xfebfb800 intel_fixup_ahci: 0x90: 0x40

Changed 14 months ago by mmlr

Output of ICH9 on an Intel DG33TL with BIOS set to "IDE":

KERN: intel_fixup_ahci: domain 0, bus 0, device 31, function 2, deviceId 0x2920
KERN: intel_fixup_ahci: 0x24: 0x00002421
KERN: intel_fixup_ahci: 0x90: 0x00
KERN: intel_fixup_ahci: switching from IDE to AHCI mode
KERN: intel_fixup_ahci: ide-bar5 bits-1: 0x0000fff1
KERN: intel_fixup_ahci: ide-bar5 bits-0: 0x00000001
KERN: intel_fixup_ahci: ahci-bar5 bits-1: 0xfffff800
KERN: intel_fixup_ahci: ahci-bar5 bits-0: 0x00000000
KERN: intel_fixup_ahci: 0x24: 0x00000000
KERN: intel_fixup_ahci: 0x90: 0x40
KERN: intel_fixup_ahci: WARNING found ICH9 device id 0x2926     found root!!

Changed 14 months ago by pieterpan

With my ICH8m, sorry it took so long, was on a holiday. I wrote it down, but I think it is correct. Hope this helps. For anyone without a serial port, apply the patch from bug 1444, to scroll debug output, one page at a time (press enter for next)

KERN: intel_fixup_ahci: domain 0, bus 0, device 31, function 2, deviceId 0x2828
KERN: intel_fixup_ahci: 0x24: 0x000018d1
KERN: intel_fixup_ahci: 0x90: 0x00
KERN: intel_fixup_ahci: switching from IDE to AHCI mode
KERN: intel_fixup_ahci: ide-bar5 bits-1: 0x0000fff1
KERN: intel_fixup_ahci: ide-bar5 bits-0: 0x00000000
KERN: intel_fixup_ahci: ahci-bar5 bits-1: 0xfffff800
KERN: intel_fixup_ahci: ahci-bar5 bits-0: 0x00000000
KERN: intel_fixup_ahci: 0x24: 0x00000000
KERN: intel_fixup_ahci: 0x90: 0x40

No last line with warning

Note: See TracTickets for help on using tickets.