View previous topic :: View next topic |
Author |
Message |
veggie2u Apprentice
Joined: 16 Oct 2002 Posts: 212 Location: Minneapolis/MN USA
|
Posted: Wed Oct 30, 2002 8:53 pm Post subject: How to compile a module not listed in menuconfig |
|
|
I am trying to get my laptop up and running with a pcmcia lan card from netgear that uses the pcnet_cs driver. I found that if enabled PCMCIA under General Setup/PCMCIA/CardBus support, I would then get a listing in Network Device Support called PCMCIA network device support that lists my card, a NE2000 compatible PCMCIA card. If I don't have PCMCIA support enabled, I can't get to this option.
I found this thread:
https://forums.gentoo.org/viewtopic.php?t=717&postdays=0&postorder=asc&start=0
That thread said to disable the PCMCIA support and emerge pcmcia_cs later. Fine, but how do I get a module for my card compiled?
veggie2u |
|
Back to top |
|
|
ronmon Veteran
Joined: 15 Apr 2002 Posts: 1043 Location: Key West, FL
|
Posted: Thu Oct 31, 2002 5:17 am Post subject: |
|
|
emerge pcmcia-cs will build and install the modules for you IF you have disabled pcmcia support in the kernel. It checks /usr/src/linux/.config and if you have it turned on in the kernel will only build the utilities like cardmgr, cardctl, etc. but not the modules.
You can use the kernel stuff but the external package is a lot easier to use. So build your kernel without pcmcia and then emerge pcmcia-cs. Okay? |
|
Back to top |
|
|
veggie2u Apprentice
Joined: 16 Oct 2002 Posts: 212 Location: Minneapolis/MN USA
|
Posted: Thu Oct 31, 2002 5:30 pm Post subject: |
|
|
Ok, thanks, I didn't realize what all got build by the pcmcia-cs package.
I disabled in the kernal,
recompiled,
emerged pcmcia-cs
rc-update add pcmcia default
reboot
This appears to have issues at boot with not finding my pcmcia driver.
Starting pcmcia driver in /proc/devices
cardmgr failed to start. Make sure that you have PCMCIA
loaded, either as a module or built into the kernel
Now, I know that I have done at least part of this correct
I then did the following:
modprobe pcmcia_core
modprobe i82365
modprobe ds
modprobe pcnet_cs
cardmgr
This works to get the card going.
Now, what did I miss to put this into the startup scripts properly?
veggie2u |
|
Back to top |
|
|
|
|
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
|
|