Opened 12 years ago

Closed 3 years ago

#1613 closed bug (fixed)

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/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

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

Change History (4)

comment:1 Changed 12 years ago by marcusoverhagen

Status: newassigned

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

comment:2 Changed 12 years 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!!

comment:3 Changed 12 years 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

comment:4 Changed 3 years ago by kallisti5

Resolution: fixed
Status: in-progressclosed

This ticket is 9 years old. AHCI has changed a lot since then. Please re-open if the issue still exists on the same hardware device.

Note: See TracTickets for help on using tickets.