From: Mike Edenfield <kutulu@kutulu.org>
To: gentoo-user@lists.gentoo.org
Cc: meino.cramer@gmx.de
Subject: Re: [gentoo-user] AHCI/IDE-question
Date: Fri, 21 Jan 2011 15:40:47 -0500 [thread overview]
Message-ID: <4D39EF4F.2090305@kutulu.org> (raw)
In-Reply-To: <20110121200530.GA5878@solfire>
On 1/21/2011 3:05 PM, meino.cramer@gmx.de wrote:
> solfire:/root>dmesg | grep -i ahci
> ahci 0000:00:11.0: version 3.0
> *0* ahci 0000:00:11.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
> *1* ahci 0000:00:11.0: irq 78 for MSI/MSI-X
> *2* ahci 0000:00:11.0: AHCI 0001.0200 32 slots 6 ports 3 Gbps 0x3f impl SATA mode
> *3* ahci 0000:00:11.0: flags: 64bit ncq sntf ilck pm led clo pmp pio slum part
> ahci 0000:07:00.0: PCI INT A -> GSI 44 (level, low) -> IRQ 44
> *4* ahci 0000:07:00.0: AHCI 0001.0000 32 slots 2 ports 3 Gbps 0x3 impl SATA mode
> *5* ahci 0000:07:00.0: flags: 64bit ncq pm led clo pmp pio slum part
> *6* ahci 0000:07:00.0: setting latency timer to 64
> For me bare eye this looks like the kernel ha switched all seven ports
> to AHCI.
To say that the kernel "switched" the ports is probably misleading. The
kernel is just trying to hook up the devices it finds to the device
drivers it has available.
You told the kernel it was ok to use the AHCI driver. The kernel
located those ports, detected that they supported the AHCI interface,
and thus, attached the AHCI SATA driver to them. If you had told your
BIOS that those ports should be operated as IDE instead of AHCI, then
the kernel wouldn't have found any supported AHCI hardware and you
probably wouldn't be able to boot.
> Why is line *1* of the first block missing in the second block,
> Volker? Why is line *2* talking about "0x3f" while line *4* is using
> "0x3", Volker? Why differ line *5* from line *3*, Volker? What does
> all these flags mean?
You could also dig into the internals of the libahci.c driver to figure
out what all of those display items mean. In this case, your seeing two
different PCI busses with slightly different capabilities; just off the
top of my head, one is probably a 6-port PCI-X bus and the other a
2-port PCI bus, but I'd have to go look up the specs to your motherboard
to really find out.
--Mike
next prev parent reply other threads:[~2011-01-21 20:42 UTC|newest]
Thread overview: 45+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-21 18:45 [gentoo-user] AHCI/IDE-question meino.cramer
2011-01-21 18:53 ` Volker Armin Hemmann
2011-01-21 19:12 ` kashani
2011-01-21 19:27 ` Volker Armin Hemmann
2011-01-21 19:35 ` Mark Knecht
2011-01-21 22:41 ` Volker Armin Hemmann
2011-01-22 5:53 ` Dale
2011-01-21 20:05 ` kashani
2011-01-21 19:08 ` Mark Knecht
2011-01-21 19:16 ` Volker Armin Hemmann
2011-01-21 19:32 ` Mark Knecht
2011-01-21 19:48 ` meino.cramer
2011-01-21 20:19 ` Mike Edenfield
2011-01-21 20:30 ` meino.cramer
2011-01-21 20:41 ` Mark Knecht
2011-01-21 20:46 ` Mike Edenfield
2011-01-21 20:05 ` meino.cramer
2011-01-21 20:40 ` Mike Edenfield [this message]
2011-01-21 21:03 ` meino.cramer
2011-01-21 21:36 ` Mark Knecht
2011-01-22 2:11 ` meino.cramer
2011-01-22 2:45 ` Mark Knecht
2011-01-21 22:48 ` Volker Armin Hemmann
2011-01-22 3:11 ` meino.cramer
2011-01-21 19:40 ` meino.cramer
2011-01-21 19:59 ` Mark Knecht
2011-01-21 20:10 ` meino.cramer
2011-01-21 20:11 ` meino.cramer
2011-01-21 20:24 ` Mark Knecht
2011-01-21 20:37 ` Dale
2011-01-21 20:53 ` meino.cramer
2011-01-21 21:46 ` Mark Knecht
2011-01-22 0:59 ` [gentoo-user] AHCI/IDE-question walt
2011-01-22 1:21 ` Mark Knecht
2011-01-21 22:06 ` [gentoo-user] AHCI/IDE-question Alan McKinnon
2011-01-21 22:31 ` Dale
2011-01-21 23:42 ` [gentoo-user] AHCI/IDE-question Nikos Chantziaras
2011-01-22 7:50 ` Dale
2011-01-22 8:08 ` Nikos Chantziaras
2011-01-22 9:15 ` Dale
2011-01-22 15:52 ` Mark Knecht
2011-01-23 12:02 ` Dale
2011-01-23 17:06 ` Mark Knecht
2011-01-21 21:22 ` [gentoo-user] AHCI/IDE-question Neil Bothwick
2011-01-21 21:57 ` Paul Hartman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D39EF4F.2090305@kutulu.org \
--to=kutulu@kutulu.org \
--cc=gentoo-user@lists.gentoo.org \
--cc=meino.cramer@gmx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox