From: Michael Mol <mikemol@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Anyone can afford information about build kernel?
Date: Sun, 9 Oct 2011 09:30:18 -0400 [thread overview]
Message-ID: <CA+czFiDsVutaFkH6oCcj_73LPcruO98gJCA40+i4UAsB03VY0Q@mail.gmail.com> (raw)
In-Reply-To: <tencent_07C598A9658B33231C66C863@qq.com>
On Sun, Oct 9, 2011 at 12:53 AM, Lavender <448463782@qq.com> wrote:
> Yeah, your reply is exact what I mean , but I'm really confused by those
> modules' names, I can't find any contact between the hard device name and
> its module name . For example, there is a module named 3c59x.ko , I totally
> don't know what device it present for ,
This got a *lot* easier back when sysfs was added.
cd /sys/module/<modulename>/drivers/
And go from there
lspci will help you see the 'text' name for the device in question.
For example, let's say I don't know what the 'ahci' module is for.
$ cd /sys/module/ahci/drivers
$ ls
pci:ahci
$ cd pci\:ahci/
$ ls
0000:00:11.0 bind module new_id remove_id uevent unbind
$ sudo lspci|grep 11.0
00:11.0 SATA controller: ATI Technologies Inc SB700/SB800 SATA
Controller [AHCI mode]
$
So now I know the ahci module manages my SATA controller.
> I mean I can't figure out that which
> module correspond to which device though I know the hard devices consisted
> of my PC. So I need information about contact between them so that I could
> know what modules need to be chosen in kernel , also the options of kernel
> are quiet a lot , there're many features that I never heard , I want to
> find them out .
> May be you think these problems are too easy , but I have never contacted
> them before .
Pretty sure we've all been there before. It helps to have some
foreknowledge about hardware standards and the like, but it's not
strictly necessary. As long as you're interested in *how* to find
information, and use that knowledge once you find it, I don't doubt
people will be interested in helping.
--
:wq
next prev parent reply other threads:[~2011-10-09 13:31 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-09 4:53 [gentoo-user] Anyone can afford information about build kernel? Lavender
2011-10-09 5:55 ` Nilesh Govindarajan
2011-10-09 13:30 ` Michael Mol [this message]
2011-10-09 13:40 ` Michael Mol
2011-10-09 13:59 ` Dale
2011-10-09 14:05 ` Michael Mol
2011-10-09 14:02 ` Dale
2011-10-09 14:09 ` Michael Mol
2011-10-09 15:05 ` Dale
-- strict thread matches above, loose matches on Subject: below --
2011-10-09 9:49 Lavender
2011-10-09 16:53 ` Volker Armin Hemmann
2011-10-10 8:26 ` Spidey
2011-10-10 9:03 ` Neil Bothwick
2011-10-09 0:55 Lavender
2011-10-09 1:19 ` Nick Khamis
2011-10-09 1:28 ` Dale
2011-10-09 1:39 ` Nilesh Govindarajan
2011-10-09 6:21 ` Volker Armin Hemmann
2011-10-09 13:56 ` Dale
2011-10-09 14:07 ` meino.cramer
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=CA+czFiDsVutaFkH6oCcj_73LPcruO98gJCA40+i4UAsB03VY0Q@mail.gmail.com \
--to=mikemol@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/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