Re: cant insmod rtl8139

Donald Becker <[email protected]> Thu, 13 Nov 2003 15:57:56 -0500 (EST)
Newsgroups gmane.linux.drivers.realtek.devel
Message-ID <[email protected]>
On 13 Nov 2003, Francesco Levorato (f.l.) wrote:

> i am running 2.4.22
> i have read previous mail say that rtl8139 wont compile under 2.4
> kernels

The problem is usually that 2.4-based distributions make it complicated
for a externally-compiled modules to correct pick up options and
compiler settings.  The drivers are written to work correctly with
kernels as old as 1.1.73, although 2.0.0 is the oldest reasonable kernel.

> i am trying to get rtl8139 compiled. i downloaded the netdrivers.tgz and
> make and make install without any problems.

mkdir /tmp/netdrivers/
cd /tmp/netdrivers/
ncftpget ftp://ftp.scyld.com/pub/network/netdrivers.tgz
tar xfvz netdrivers.tgz
make
make install

> now i moved to /lib/modules/2.4.22/kernel/drivers/net/ and removed all
> *.o files regarding cards i didnt need. i kept pci-scan and rtl8139
> now happens the following:
> lll:/lib/modules/2.4.22/kernel/drivers/net# insmod pci-scan
> Using /lib/modules/2.4.22/kernel/drivers/net/pci-scan.o

Good...

> lll:/lib/modules/2.4.22/kernel/drivers/net# insmod rtl8139
> Using /lib/modules/2.4.22/kernel/drivers/net/rtl8139.o
> /lib/modules/2.4.22/kernel/drivers/net/rtl8139.o: init_module: No such
> device
> Hint: insmod errors can be caused by incorrect module parameters,
> including invalid IO or IRQ parameters.

A recognized NIC was not found.
What is the PCI ID of the NIC?

-- 
Donald Becker				[email protected]
Scyld Computing Corporation		http://www.scyld.com
914 Bay Ridge Road, Suite 220		Scyld Beowulf cluster system
Annapolis MD 21403			410-990-9993