* AHCI driver for ICH6M
@ 2006-02-01 5:21 Michael Spiegle
2006-02-01 11:29 ` Erik Slagter
0 siblings, 1 reply; 4+ messages in thread
From: Michael Spiegle @ 2006-02-01 5:21 UTC (permalink / raw)
To: jgarzik; +Cc: linux-ide
Hello Jeff,
I was trying to use the AHCI driver included in kernel 2.6.15 to drive
the SATA controller on my Asus Z71V laptop which supposedly has an ICH6M
controller. I noticed that the PCI ID of my controller shows up in the
AHCI source code, so I assume that means I should have support. I'm not
terribly good with linux or C, but I think I was able to troubleshoot my
issue down to a specific line of code. Ultimately, I get the error:
ahci: probe of 0000:00:1f.2 failed with error -12
in my dmesg output. I was trying to debug the AHCI driver code by
inserting print statements. I found that the driver stops processing at
this point in the code:
ahci.c:
mmio_base = pci_iomap(pdev, AHCI_PCI_BAR, 0);
Specifically, the pci_iomap function seems to check for
pci_resource_start and pci_resource_len which both return false.
Looking at the code, if either len or start is false, the code returns
NULL, then I get the error observed above in dmesg.
Is this a possible bug, or is AHCI support somehow stripped from my
chipset?
Thank you for your time. If this is not the proper way to contact you
about issues regarding the driver, I am sorry. I am very new to these
things.
Michael Spiegle
mike@nauticaltech.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: AHCI driver for ICH6M
2006-02-01 5:21 AHCI driver for ICH6M Michael Spiegle
@ 2006-02-01 11:29 ` Erik Slagter
2006-02-01 16:15 ` Michael Spiegle
0 siblings, 1 reply; 4+ messages in thread
From: Erik Slagter @ 2006-02-01 11:29 UTC (permalink / raw)
To: Michael Spiegle; +Cc: linux-ide
[-- Attachment #1: Type: text/plain, Size: 931 bytes --]
> I was trying to use the AHCI driver included in kernel 2.6.15 to drive
> the SATA controller on my Asus Z71V laptop which supposedly has an ICH6M
> controller. I noticed that the PCI ID of my controller shows up in the
> AHCI source code, so I assume that means I should have support. I'm not
> terribly good with linux or C, but I think I was able to troubleshoot my
> issue down to a specific line of code. Ultimately, I get the error:
>
> ahci: probe of 0000:00:1f.2 failed with error -12
A very familiar problem. It means that your bios configures your ICH
chipset for legacy (or whatever name it has) mode, which means it will
respond to the old-fashioned IDE ports and IRQs. This also means you
cannot drive it in AHCI mode :-( unless there is an option in your BIOS
to switch between legacy and ahci mode, but afaik no single laptop has
this option. So you're on your own here :-( (just like me, btw).
[-- Attachment #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 2771 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: AHCI driver for ICH6M
@ 2006-02-01 11:33 Dominic ES. Ijichi
0 siblings, 0 replies; 4+ messages in thread
From: Dominic ES. Ijichi @ 2006-02-01 11:33 UTC (permalink / raw)
To: Erik Slagter; +Cc: linux-ide, Michael Spiegle
----- Erik Slagter <erik@slagter.name> wrote:
> > I was trying to use the AHCI driver included in kernel 2.6.15 to
> drive
> > the SATA controller on my Asus Z71V laptop which supposedly has an
> ICH6M
> > controller. I noticed that the PCI ID of my controller shows up in
> the
> > AHCI source code, so I assume that means I should have support. I'm
> not
> > terribly good with linux or C, but I think I was able to
> troubleshoot my
> > issue down to a specific line of code. Ultimately, I get the
> error:
> >
> > ahci: probe of 0000:00:1f.2 failed with error -12
>
> A very familiar problem. It means that your bios configures your ICH
> chipset for legacy (or whatever name it has) mode, which means it
> will
> respond to the old-fashioned IDE ports and IRQs. This also means you
> cannot drive it in AHCI mode :-( unless there is an option in your
> BIOS
> to switch between legacy and ahci mode, but afaik no single laptop
> has
> this option. So you're on your own here :-( (just like me, btw).
i had same problem - fujitsu laptop with ich6 sata controller but with pata disk putting it into 'legacy/ide' mode. ahci module would drive the controller/disk but suspend didn't work. removing ahci module and adding ata_piix module resolved this issue for me, now i get full s3 suspend as well :) device naming stays the same so you might just get away with removing ahci module and redoing mkinitrd.
dom
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: AHCI driver for ICH6M
2006-02-01 11:29 ` Erik Slagter
@ 2006-02-01 16:15 ` Michael Spiegle
0 siblings, 0 replies; 4+ messages in thread
From: Michael Spiegle @ 2006-02-01 16:15 UTC (permalink / raw)
To: Erik Slagter; +Cc: linux-ide
On Wed, 2006-02-01 at 12:29 +0100, Erik Slagter wrote:
> > I was trying to use the AHCI driver included in kernel 2.6.15 to drive
> > the SATA controller on my Asus Z71V laptop which supposedly has an ICH6M
> > controller. I noticed that the PCI ID of my controller shows up in the
> > AHCI source code, so I assume that means I should have support. I'm not
> > terribly good with linux or C, but I think I was able to troubleshoot my
> > issue down to a specific line of code. Ultimately, I get the error:
> >
> > ahci: probe of 0000:00:1f.2 failed with error -12
>
> A very familiar problem. It means that your bios configures your ICH
> chipset for legacy (or whatever name it has) mode, which means it will
> respond to the old-fashioned IDE ports and IRQs. This also means you
> cannot drive it in AHCI mode :-( unless there is an option in your BIOS
> to switch between legacy and ahci mode, but afaik no single laptop has
> this option. So you're on your own here :-( (just like me, btw).
thank you for your reply! Looks like i'll need to wait for my laptop
manufacturer to realize this is an important feature.... or load up my
hex editor =)
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-02-01 16:15 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-01 5:21 AHCI driver for ICH6M Michael Spiegle
2006-02-01 11:29 ` Erik Slagter
2006-02-01 16:15 ` Michael Spiegle
-- strict thread matches above, loose matches on Subject: below --
2006-02-01 11:33 Dominic ES. Ijichi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).