[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: loading module for NE2000 Ethernet card



Stuart Ballard <sballard@netreach.net> writes:

> David Karlin wrote:
> > 
> > Hello,
> > I have a box running slink and am trying to install an NE2000
> > ethercard.
> > 
> > When I do:
> > # insmod /lib/modules/2.0.36/net/ne.o
> > I get:
> > /lib/modules/2.0.36/net/ne.o: unresolved symbol ei_open
> > /lib/modules/2.0.36/net/ne.o: unresolved symbol ethdev_init
> > /lib/modules/2.0.36/net/ne.o: unresolved symbol ei_debug
> > /lib/modules/2.0.36/net/ne.o: unresolved symbol ei_interrupt
> > /lib/modules/2.0.36/net/ne.o: unresolved symbol NS8390_init
> > /lib/modules/2.0.36/net/ne.o: unresolved symbol ei_close

Sometimes this is a sign for two cards using the same io values or
interrupts. 

Are you running the freshly compiled kernel (try uname -a)?

Is your card a plug and pray? Does /etc/isapnp.conf exist and does it
have the correct values then?

As Stuart pointes out below: Do you supply the correct io and
interrupt values, to the module?

> Try using modprobe instead of insmod:
> 
> # modprobe ne io=0x220
> 
> I believe (although I've never tried this) that PCI ne2k cards don't
> need the io value, but ISA ones definitely do.
> 
> I found out my io address by doing:
> 
> for io in 200 220 240 260 280 300 320 340
> do
>   echo $io
>   modprobe ne io=0x$io
>   sleep 1
> done
> 
> This successfully loaded the card for me (although it's still not
> working - I suspect there are other problems somewhere in the system).

HTH,

Jens

P.S.: Please vote against Spam! At
             http://www.politik-digital.de/spam/
(Sorry Europeans only)
---
Jens.Ritter@weh.rwth-aachen.de   grimaldi@debian.org
Key ID: 2048/E451C639 Jens Ritter
Key fingerprint: 5F 3D 43 1E 24 1E CC 48  1E 05 93 3A A7 10 73 37 


Reply to: