Need Help! Install Network card for Cable modem connection

Brent Fortman Brent.Fortman at radioshack.com
Tue Dec 2 18:51:23 CST 2003


Resolution:

The problem was not specific to the rtl8139 driver or for that matter
the 8139too driver - they both work now.  What was missing was a simple
options stanza in /etc/modules.conf defining the IRQ value (apparently
the network config tools in the version of Red Hat I'm using have
trouble doing this automagically).  The entry (on my system) looks as
follows:

alias eth1 rtl8139
options rtl8139 irq=5

And of course the IRQ is obtained from lspci -v

Thanks again for all of your input into this matter.

Brent Fortman

-----Original Message-----
From: Brian Densmore [mailto:DensmoreB at ctbsonline.com] 
Sent: Wednesday, November 26, 2003 8:37 AM
To: Brent Fortman; kclug at kclug.org
Subject: RE: Need Help! Install Network card for Cable modem connection

That chip is not supported by the rtl8139 driver out of the box.
The workaround is as follows:

First, you must change the following file:
/usr/include/linux/modversions.h Using any text editor such as nano,
insert the following line into this file:

#include   linux/modsetver.h

Then continue with the compilation and install:

foo at somehost:$>cd where/the/source/4/rtl8139/is 
foo at somehost:#>cp rtl8139.c /root(or any temp directory)
foo at somehost:#>cd /root
foo at somehost:#>gcc -I /usr/src/linux/include -DMODULE -D__KERNEL__ -Wall
-Wstrict-prototypes -O6 -c rtl8139.c `[ -f
/usr/include/linux/modversions.h ] && echo -DMODVERSIONS`
foo at somehost:#>insmod rtl8139.o

> -----Original Message-----
> From: Brent Fortman [mailto:Brent.Fortman at radioshack.com]
> Sent: Wednesday, November 26, 2003 7:57 AM
> To: Brian Densmore; kclug at kclug.org
> Subject: RE: Need Help! Install Network card for Cable modem 
> connection
> 
> 
> Thanks.  I have resolved the immediate issue.  I was never able to
> insert the rtl8139 driver into the running kernel without 
> getting the "
> init_module: No such device." error.
> 
> However, it loads fine at boot time after being added to
> /etc/modules.conf as "alias eth0 rtl8139". I verified the new driver
> works with an old NIC card that I had previously working with 8139too.
> 
> The new NIC card I am trying to install is the D-Link 
> DFE-530TX+ REV E1
> (D10038D chipset) on RedHat 9, 2.4.20-8.  I have tried both 
> the 8139too
> and rtl8139 drivers - both do not work. The system correctly 
> identifies
> the hardware (lspci -v) but fails to be able to configure eth0 (
> Determining IP information... [fail] ). I have been unable to find any
> other source of information that might suggest that there is 
> yet another
> driver that will make this thing tick.  I am starting to wonder if it
> may simply be a bad piece of hardware.
> 
> Brent Fortman
> 
> 
> 
> -----Original Message-----
> From: Brian Densmore [mailto:DensmoreB at ctbsonline.com] 
> Sent: Tuesday, November 25, 2003 4:35 PM
> To: Brent Fortman; kclug at kclug.org
> Subject: RE: Need Help! Install Network card for Cable modem 
> connection
> 
> 
> Wow, that's an old thread! Last year.
> 
> http://www.yvca.org/archives/2002/jun/0540.shtml
> 
> Anyway, you are using the same exact card?
> Give us some specifics in your case. What version Linux?
> What is the output of lsmod?
> What does dmesg show?
> Have you tried building the module into the kernel?
> What NIC modules are already compiled into the kernel?
> 
> 
> > -----Original Message-----
> > From: Jason Clinton [mailto:me at jasonclinton.com]
> > Sent: Tuesday, November 25, 2003 4:04 PM
> > To: Brent Fortman
> > Cc: kclug at kclug.org
> > Subject: Re: Need Help! Install Network card for Cable modem 
> > connection
> > 
> > 
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> > 
> > Brent Fortman wrote:
> > | Did you ever get the rtl8139.o driver to install?  I know 
> this is an
> > | old thread, but I have come across the same EXACT 
> scenario.  I have
> > | not be able to resolve the problem yet.  Any help is greatly
> > | appreciated. Thanks.
> > 
> > I can't find the thread to which you are refering. Could you 
> > point to it
> > on our archives? http://www.kclug.org/
> > 
> > I'd be happy to look at it.
> > 
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.2.3 (MingW32)
> > Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
> > 
> > iD8DBQE/w9HitSqjk42zvwkRAnPTAKCIUaezkPfonbO9XeGCAgataTWnUACfZjKv
> > iNHDn4j1CHZfrEfayeR1660=
> > =wg+w
> > -----END PGP SIGNATURE-----
> > 
> > 
> > 
> > majordomo at kclug.org
> > 
> 




More information about the Kclug mailing list