1 |
Am Tue, 11 Oct 2011 13:03:27 +0200
|
2 |
schrieb Jonas de Buhr <jonas.de.buhr@×××.net>:
|
3 |
|
4 |
> it's nice how much many people on this this list are willing to help |
5 |
> in spite of all this. but am i really the only one who finds the |
6 |
> behavior described above at least confusing? |
7 |
> anyway, i'm quite convinced it is fake. |
8 |
|
9 |
no, apparently i am not the only one thinking that:
|
10 |
http://www.stopforumspam.com/ipcheck/58.243.95.123
|
11 |
|
12 |
> |
13 |
> /jonas |
14 |
> |
15 |
> Am Sun, 9 Oct 2011 21:44:28 +0800 |
16 |
> schrieb "Lavender" <448463782@××.com>: |
17 |
> |
18 |
> > Thank you all ! Thanks for helping , now I know which things I |
19 |
> > should do . |
20 |
> > |
21 |
> > ------------------ 原始邮件 ------------------ |
22 |
> > 发件人: "Michael Mol"<mikemol@×××××.com>; |
23 |
> > 发送时间: 2011年10月9日(星期天) 晚上9:40 |
24 |
> > 收件人: "gentoo-user"<gentoo-user@l.g.o>; |
25 |
> > |
26 |
> > 主题: Re: [gentoo-user] Anyone can afford information about build |
27 |
> > kernel? |
28 |
> > |
29 |
> > |
30 |
> > On Sun, Oct 9, 2011 at 9:30 AM, Michael Mol <mikemol@×××××.com> |
31 |
> > wrote: |
32 |
> > > On Sun, Oct 9, 2011 at 12:53 AM, Lavender <448463782@××.com> |
33 |
> > > wrote: |
34 |
> > >> Yeah, your reply is exact what I mean , but I'm really confused |
35 |
> > >> by those modules' names, I can't find any contact between the |
36 |
> > >> hard device name and its module name . For example, there is a |
37 |
> > >> module named 3c59x.ko , I totally don't know what device it |
38 |
> > >> present for , |
39 |
> > > |
40 |
> > > This got a *lot* easier back when sysfs was added. |
41 |
> > > |
42 |
> > > cd /sys/module/<modulename>/drivers/ |
43 |
> > > |
44 |
> > > And go from there |
45 |
> > > |
46 |
> > > lspci will help you see the 'text' name for the device in |
47 |
> > > question. |
48 |
> > > |
49 |
> > > For example, let's say I don't know what the 'ahci' module is for. |
50 |
> > > |
51 |
> > > $ cd /sys/module/ahci/drivers |
52 |
> > > $ ls |
53 |
> > > pci:ahci |
54 |
> > > $ cd pci\:ahci/ |
55 |
> > > $ ls |
56 |
> > > 0000:00:11.0 bind module new_id remove_id uevent unbind |
57 |
> > > $ sudo lspci|grep 11.0 |
58 |
> > > 00:11.0 SATA controller: ATI Technologies Inc SB700/SB800 SATA |
59 |
> > > Controller [AHCI mode] |
60 |
> > > $ |
61 |
> > > |
62 |
> > > So now I know the ahci module manages my SATA controller. |
63 |
> > |
64 |
> > Came up with something possibly a little handier. This command |
65 |
> > should tell you what driver is associated with every device on the |
66 |
> > system. |
67 |
> > |
68 |
> > find /sys/devices -name driver -print0|xargs -0 ls -l|cut -d' ' |
69 |
> > -f10-|sed -e 's/\.\.\///g' |
70 |
> > |
71 |
> > Output could probably still be a bit better cleaned up, but it |
72 |
> > should help. |
73 |
> > |