1 |
lspci is part of pciutils, running "emerge pciutils" should produce it. |
2 |
running "ls -l /lib/modules" should produce a directory name in the |
3 |
format '2.6.15-gentoo-r5' exact name depending on what kernel you |
4 |
compiled. running |
5 |
" |
6 |
find /lib/modules/2.6.15-gentoo-r5 -type f -iname '*.o' -or -iname |
7 |
'*.ko' |
8 |
" |
9 |
(where "2.6.15-gentoo-r5" is replaced by your kernel name and all is |
10 |
typed on one line) will produce the list of modules you compiled with |
11 |
the kernel. |
12 |
from the handbook:7.e. Configuring Kernel Modules |
13 |
|
14 |
|
15 |
Configuring the Modules |
16 |
|
17 |
You should list the modules you want automatically loaded |
18 |
in /etc/modules.autoload.d/kernel-2.6. You can add extra options to the |
19 |
modules too if you want. |
20 |
|
21 |
To view all available modules, run the following find command. Don't |
22 |
forget to substitute "<kernel version>" with the version of the kernel |
23 |
you just compiled: |
24 |
|
25 |
|
26 |
Code Listing 18: Viewing all available modules |
27 |
|
28 |
|
29 |
# find /lib/modules/<kernel version>/ -type f -iname '*.o' -or -iname '*.ko' |
30 |
|
31 |
For instance, to automatically load the 3c59x.o module, edit the |
32 |
kernel-2.6 file and enter the module name in it. |
33 |
|
34 |
|
35 |
Code Listing 19: Editing /etc/modules.autoload.d/kernel-2.6 |
36 |
|
37 |
|
38 |
# nano -w /etc/modules.autoload.d/kernel-2.6 |
39 |
Code Listing 20: /etc/modules.autoload.d/kernel-2.6 |
40 |
|
41 |
|
42 |
3c59x |
43 |
|
44 |
On Mon, 2006-03-06 at 11:26 -0500, Charles Read wrote: |
45 |
> Hey everybody! |
46 |
> |
47 |
> I just got an HP Pavillion dv5000 with the Turion 64 chip, I used |
48 |
> the gentoo x86-64 discs and the install went well |
49 |
|
50 |
the livecd was 2006.0 or 2005.? |
51 |
|
52 |
> , the system boots |
53 |
> fine. But gentoo doesnt recognize my built-in wifi (by Broadcom I |
54 |
> think, but I can't seem to find out which chipset it uses) |
55 |
|
56 |
run lspci and see if it identifies the wifi |
57 |
was kernel configured to support wifi? and your card? |
58 |
|
59 |
> and it |
60 |
> also doesnt recognize my ethernet card (I think a Realtek 8139 |
61 |
> 810x ), |
62 |
|
63 |
run lspci and see if it identifies the ethernet card |
64 |
|
65 |
> I have tried 'modprobe 8139cp' |
66 |
|
67 |
this this will produce only if the kernel was configured for 8139C+ |
68 |
(10/100mbit) support as a module and the card is 8139C+ |
69 |
|
70 |
> but ifconfig shows only lo. |
71 |
|
72 |
run modprobe 8139too, this will produce only if the kernel was |
73 |
configured for 8139 support as a module and the card is 8139/8129/810x |
74 |
|
75 |
run modprobe r8169, this will produce only if the kernel was configured |
76 |
for 8169 (gigabit) support as a module and the card is 8169 |
77 |
|
78 |
> I |
79 |
> haven't messed w/ linux in a while, can somebody please point me in |
80 |
> the right direction? I have tried googling but I am evidently |
81 |
> missing something. |
82 |
> Thanks in advance! |
83 |
> |
84 |
> Charles Read |
85 |
|
86 |
-- |
87 |
gentoo-amd64@g.o mailing list |