From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RCtTM-00067v-Kh for garchives@archives.gentoo.org; Sun, 09 Oct 2011 13:31:20 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8096021C088; Sun, 9 Oct 2011 13:31:11 +0000 (UTC) Received: from mail-bw0-f53.google.com (mail-bw0-f53.google.com [209.85.214.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 50C1321C037 for ; Sun, 9 Oct 2011 13:30:19 +0000 (UTC) Received: by bkbzt12 with SMTP id zt12so9328406bkb.40 for ; Sun, 09 Oct 2011 06:30:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=BZIStLb/ARtI6QJg6AMlZbVA6MoXUU8MEicAmi6h8DE=; b=AGTBiW9yQhG0QhQYLUz8HCgk2aUnyTjdU2lcbADbF6OyAHkJmc90XeAi/KJYNFQWFa lV4D8OsDCXWExv18ia1RR1oYINLCzuVDt+81Bhs3B5gLkP+kWpIufL7warBrWbqVerwz Qez/zdItF1LIaINkITJNeFW7QptvO5XBToNyI= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.204.134.218 with SMTP id k26mr3280903bkt.23.1318167018357; Sun, 09 Oct 2011 06:30:18 -0700 (PDT) Received: by 10.204.177.199 with HTTP; Sun, 9 Oct 2011 06:30:18 -0700 (PDT) In-Reply-To: References: Date: Sun, 9 Oct 2011 09:30:18 -0400 Message-ID: Subject: Re: [gentoo-user] Anyone can afford information about build kernel? From: Michael Mol To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: ff1f3a27a724b6fe1d6f9452e99afefe 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=C2=A0. For example,=C2=A0 there is a module named 3c59x.k= o , I=C2=A0totally > don't know what device it present for , This got a *lot* easier back when sysfs was added. cd /sys/module//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 consiste= d > of my PC. So I need information about contact between them=C2=A0so that I= could > know what=C2=A0modules need to be chosen=C2=A0in kernel , =C2=A0also the = options of kernel > are quiet a lot , there're many features that I=C2=A0 never heard , I wan= t to > find them out . > May be you think these problems are too easy , but I have never contacted > them before=C2=A0. 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. --=20 :wq