PDA

View Full Version : How to insmod a driver module?



arkaine23
01-17-2004, 01:07 AM
never used the insmod command personally. have users trying to load a 3c2000 driver I installed on my remastered CD from source. Seems the install did not stick the module in the right place.

1) How to insmod this driver? Module is called 3c2000.o. Is it just:

insmod 3c2000
or maybe insmod -o /usr/src/3c2000/3c2000.o
?

2) Where should the module be for knoppix autop-detect to pick it up. Seems the source compile didn't stick it in the right place. It's in /usr/src/3c2000.

I don't have this kind of hardware or I'd be able to figure this out in the standard way.

rusty
01-17-2004, 02:41 PM
I'm not remastering but on my hard drive installed system, that driver shows up in these directories, and my onboard NIC works without insmoding.

/lib/modules/2.4.22-xfs/kernel/drivers/net
/new-disk/lib/modules/2.4.22-xfs/kernel/drivers/net/3c2000.o
/usr/src/Linux/3c2000/3c2000.o

As I recall I downloaded the driver from the NVIDIA website, followed the instructions in the readme, copied the 3c2000.o file to the kernel drivers directory and insmoded once.

Hope this helps.