Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Finding components in menuconfig
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Azariah
n00b
n00b


Joined: 05 Apr 2004
Posts: 8

PostPosted: Fri Apr 16, 2004 3:04 pm    Post subject: Finding components in menuconfig Reply with quote

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
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Fri Apr 16, 2004 7:07 pm    Post subject: Reply with quote

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
View user's profile Send private message
mike4148
l33t
l33t


Joined: 09 Sep 2003
Posts: 641

PostPosted: Fri Apr 16, 2004 10:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
Azariah
n00b
n00b


Joined: 05 Apr 2004
Posts: 8

PostPosted: Sat Apr 17, 2004 12:32 am    Post subject: Reply with quote

Thanks for the help. I seem to have resolved most of my module issues.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum