1 |
张 勇顺 schreef: |
2 |
> --- Heinz Sporn <heinz.sporn@××××××××.com>写道: |
3 |
> |
4 |
>> Am Freitag, den 07.10.2005, 14:05 +0800 schrieb 寮 鍕囬『: |
5 |
>> |
6 |
>>> hi yestoday to today i am spend two days to install |
7 |
>>> gentoo 2005.0 and see the hand man but when i am install it i am |
8 |
>>> see what modules were load with lsmod but i can't see anyting is |
9 |
>>> modules and i ues modprobe lsmod can't see somemodules i don't |
10 |
>>> know how to do that |
11 |
>> |
12 |
>> lsmod will not show modules that have been compiled into the |
13 |
>> kernel. Is it that you are looking for? |
14 |
>> |
15 |
>>> if i must rc-update add ....?or other i am uses logitech USB |
16 |
>>> mouse and uses well in debian starge but |
17 |
>>> can't driverd in gentoo i am try to uses the same driver with |
18 |
>>> starge and ues "auto" but can't driverd |
19 |
>>> mouse ether i am emerge fvwm and x.org |
20 |
>> |
21 |
>> I am not quite sure what exactly your problem is - so sorry for |
22 |
>> guessing: |
23 |
>> |
24 |
>> For any USB input device you'll just need kernel support. Look into |
25 |
>> /Drivers/USB Support. You'll propably want support for EHCI, OHCI |
26 |
>> and UHCI. |
27 |
>> <snip> |
28 |
> |
29 |
> now i am went to gentoo and modprobe ehci-hcd nwo can uses mouse and |
30 |
> install discover rc-update add modules default but always can't load |
31 |
> any modules when system starting and lsmod can't see any modules |
32 |
|
33 |
How did you compile your kernel? It would seem that your problem is |
34 |
related to the fact that some of your needed drivers are compiled as |
35 |
modules and some are not. |
36 |
|
37 |
As Heinz said, 'drivers' compiled statically into the kernel will *not* |
38 |
be visible via lsmod (only 'drivers' compiled as loadable modules are |
39 |
visible). |
40 |
|
41 |
I have many questions about your setup: |
42 |
|
43 |
1) why do you have rc-update modules default (rather than rc-update |
44 |
modules boot)? I would suspect that the default runlevel may be too late |
45 |
in the boot process for the modules you're trying to load,. |
46 |
|
47 |
2) 'always can't load any modules when system starting'-- how precisely |
48 |
are you trying to load said modules? Are they in fact modules (or |
49 |
statically compiled)? What do you have in |
50 |
/etc/modules.autoload.d/kernel-2.6 (I assume you're using a 2.6-series |
51 |
kernel)? At least ehci-hcd should be listed there in order to load it |
52 |
during boot (or you could just statically compile it into the kernel, to |
53 |
avoid this). |
54 |
|
55 |
3) just because modules are not listed in lsmod, does not mean they are |
56 |
not loaded and working. As said previously, modules that are statically |
57 |
compiled into the kernel do not appear in lsmod, but if the hardware |
58 |
requiring said modules is detected during the hardware detection phase |
59 |
of the boot process, the module will be loaded to support it. My USB |
60 |
mouse works fine this way (ehci-hcd is compiled into the kernel, when |
61 |
the usb mouse is detected, the kernel module is loaded), although I |
62 |
cannot see the module in lsmod (because the module is not loadable). |
63 |
Other than the mouse, which we've solved (add ehci-hcd to |
64 |
/etc/modules.autoload.d/kernel-2.6), what other kernel modules are not |
65 |
working as you expect (*not* whether you see them in lsmod or not, what |
66 |
actually *does not work*)? |
67 |
|
68 |
Once you have determined what modules are not loading, you can then |
69 |
check your kernel config to see whether they are loadable modules or |
70 |
statically compiled, and if loadable, add them to |
71 |
/etc/modules.autoload.d/kernel-2.6, which should load them automatically |
72 |
for you at boot. If statically compiled, but not loading at boot, there |
73 |
are two possibilities I can think of: |
74 |
|
75 |
1) wrong module for the hardware; |
76 |
|
77 |
2) you do not have 'Automatic kernel module loading' set in your kernel |
78 |
(Loadable Module Support => Automatic kernel module loading= Y) |
79 |
|
80 |
HTH, |
81 |
Holly |
82 |
-- |
83 |
gentoo-user@g.o mailing list |