I'm a Linux newbie so your patience is appreciated. Three months ago I purchased two NC100 Fast Ethernet cards from Linksys. I am trying to install the tulip module to get this card to work, but I keep getting this error:
./tulip.o: init_module: Device or resource busy
I went to ftp://cesdis.gsfc.nasa.gov
and downloaded the latest tulip.c file and kern_compat.h. (Somewhere I was told to do this). After a number of misfires with compilation, I moved tulip.c and kern to /etc and it compiled with no errors. Now, when I move tulip.o to /lib/modules/2.2.12-20/net
and attempt to use the insmod command. I keep getting the above error. I can do a lsmod and see that the module isn't loaded.
If I try to recompile tulip.c, I get
[root@localhost net]# gcc -D__SMP__ -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O6 -c tulip.c `[ -f /usr/include/linux/modvers
ions.h ] && echo -DMODVERSIONS`
/usr/include/asm/smp.h: In function `hard_smp_processor_id':
In file included from /usr/include/linux/smp.h:1
: warning: implicit declaration of function `GET_APIC_ID'
: `APIC_BASE' undeclared (first use in this function)
: (Each undeclared identifier is reported only once
: for each function it appears in.)
: `APIC_ID' undeclared (first use in this function)
Any help would be appreciated!