View previous topic :: View next topic |
Author |
Message |
Azariah n00b
Joined: 05 Apr 2004 Posts: 8
|
Posted: Fri Apr 16, 2004 3:04 pm Post subject: Finding components in menuconfig |
|
|
I've got Gentoo installed, but I didn't modularize my hardware drivers correctly, so I'm missing a few things. I know the process of finding the driver in menuconfig, marking an M next to it, and then compiling the modules (kernel 2.6), but I'm having trouble correlating the output of lsmod to what I see in menuconfig.
When I boot using the LiveCD I get the following output of lsmod
Code: | usbmouse (unused)
usbkbd (unused)
via-rhine
mii [via-rhine]
serial (autoclean)
isa-pnp (autoclean)[serial]
usb-storage
hid (unused)
uhci (unused)
ehci-hcd (unused)
usbcore [usbmouse usbkbd usb-storage hid uhci ehci-hcd] |
I've sucecssfuly found the via-rhine driver and correctly loaded it, but the rest of this stuff I'm having trouble finding in menuconfig. Can anyone lend me a hand? |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Fri Apr 16, 2004 7:07 pm Post subject: |
|
|
go to /usr/src/linux
do make menuconfig to make a config file for compiling your kernel.
For most options there's a short help text available explaining what it's for. Alternatively you can edit the config file by hand. This is handy is you already know which options you want to enable. Just search for them in the config file (default name is .config) and edit them.
Most of the stuff listed in your lsmod output is usb stuff, so look in the usb section. |
|
Back to top |
|
|
mike4148 l33t
Joined: 09 Sep 2003 Posts: 641
|
Posted: Fri Apr 16, 2004 10:11 pm Post subject: |
|
|
If you look at the help for an option, it will usually have a blurb at the bottom telling you the name of the module. Keep in mind that some menu entries won't show up at all unless you enable something else (for the modules you've listed, it would have to be something extremely obvious; e.g., if you don't enable USB support, you will obviously not see any of the USB drivers).
usb-storage, hid, uhci, ehci-hcd, and usbcore are all in the USB section (Device drivers->USB support in 2.6). serial is in the Character devices section (under Device drivers). isa-pnp is in the Plug and play support section (under Device drivers, again). |
|
Back to top |
|
|
Azariah n00b
Joined: 05 Apr 2004 Posts: 8
|
Posted: Sat Apr 17, 2004 12:32 am Post subject: |
|
|
Thanks for the help. I seem to have resolved most of my module issues. |
|
Back to top |
|
|
|