张 勇顺 schreef:
> --- Heinz Sporn <[EMAIL PROTECTED]>写道:
> 
>> Am Freitag, den 07.10.2005, 14:05 +0800 schrieb 寮 鍕囬『:
>> 
>>> hi yestoday to today  i  am spend  two days to install
>>> gentoo 2005.0 and see the hand man but when i am install it i am
>>>  see what modules were load with lsmod but i can't see anyting is
>>>  modules and i ues modprobe lsmod can't see somemodules i don't 
>>> know how to do that
>> 
>> lsmod will not show modules that have been compiled into the 
>> kernel. Is it that you are looking for?
>> 
>>> if i must rc-update add ....?or other  i am uses logitech USB 
>>> mouse and uses well in debian starge but
>>> can't driverd in gentoo i am try to uses the same driver  with 
>>> starge and ues "auto" but can't driverd
>>> mouse ether i am emerge fvwm and x.org
>> 
>> I am not quite sure what exactly your problem is - so sorry for 
>> guessing:
>> 
>> For any USB input device you'll just need kernel support. Look into
>>  /Drivers/USB Support. You'll propably want support for EHCI, OHCI 
>> and UHCI.
>> <snip>
> 
> now i am went to gentoo and modprobe ehci-hcd nwo can uses mouse and
>  install discover rc-update add modules default but always can't load
>  any modules when system starting and lsmod can't see any modules

How did you compile your kernel? It would seem that your problem is
related to the fact that some of your needed drivers are compiled as
modules and some are not.

As Heinz said, 'drivers' compiled statically into the kernel will *not*
be visible via lsmod (only 'drivers' compiled as loadable modules are
visible).

I have many questions about your setup:

1) why do you have rc-update modules default (rather than rc-update
modules boot)? I would suspect that the default runlevel may be too late
in the boot process for the modules you're trying to load,.

2) 'always can't load any modules when system starting'-- how precisely
are you trying to load said modules? Are they in fact modules (or
statically compiled)? What do you have in
/etc/modules.autoload.d/kernel-2.6 (I assume you're using a 2.6-series
kernel)? At least ehci-hcd should be listed there in order to load it
during boot (or you could just statically compile it into the kernel, to
avoid this).

3) just because modules are not listed in lsmod, does not mean they are
not loaded and working. As said previously, modules that are statically
compiled into the kernel do not appear in lsmod, but if the hardware
requiring said modules is detected during the hardware detection phase
of the boot process, the module will be loaded to support it. My USB
mouse works fine this way (ehci-hcd is compiled into the kernel, when
the usb mouse is detected, the kernel module is loaded), although I
cannot see the module in lsmod (because the module is not loadable).
Other than the mouse, which we've solved (add ehci-hcd to
/etc/modules.autoload.d/kernel-2.6), what other kernel modules are not
working as you expect (*not* whether you see them in lsmod or not, what
actually *does not work*)?

Once you have determined what modules are not loading, you can then
check your kernel config to see whether they are loadable modules or
statically compiled, and if loadable, add them to
/etc/modules.autoload.d/kernel-2.6, which should load them automatically
for you at boot. If statically compiled, but not loading at boot, there
are two possibilities I can think of:

1) wrong module for the hardware;

2) you do not have 'Automatic kernel module loading' set in your kernel
(Loadable Module Support => Automatic kernel module loading= Y)

HTH,
Holly
-- 
gentoo-user@gentoo.org mailing list

Reply via email to