LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-12-2004, 10:23 AM   #1
gooner
LQ Newbie
 
Registered: May 2004
Posts: 5

Rep: Reputation: 0
Unhappy insmod 8139too in RH linux 9.0 gives errors


I have redhat 9.0 installed on two linux machines, insmod 8139too on either does not work. it gives the following errors :

Using /lib/modules/2.4.20-8/kernel/drivers/net/8139too.o
/lib/modules/2.4.20-8/kernel/drivers/net/8139too.o: unresolved symbol mii_link_ok_R59a901a8
/lib/modules/2.4.20-8/kernel/drivers/net/8139too.o: unresolved symbol mii_ethtool_sset_R7218f2da
/lib/modules/2.4.20-8/kernel/drivers/net/8139too.o: unresolved symbol generic_mii_ioctl_R6bf3e1d6
/lib/modules/2.4.20-8/kernel/drivers/net/8139too.o: unresolved symbol mii_nway_restart_R9d2585b5
/lib/modules/2.4.20-8/kernel/drivers/net/8139too.o: unresolved symbol mii_ethtool_gset_R111992a1

the realtek ethernet card is not detected, i.e ifconfig does not show eth0 as up, ifconfig eth0 up says, "no such device ".


How do I fix this, I have seen certan posts with these problems in 7.2 and 8.0 but havent seen any fixes posts.

TIA
Amit
 
Old 05-12-2004, 11:51 AM   #2
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
hi gooner, welcome to lq. try a modprobe instead, the 8139too module needs the mii module as well. modprobe should handle that dependancy.
good luck.
 
Old 05-12-2004, 12:46 PM   #3
JohnLinx
LQ Newbie
 
Registered: Jan 2004
Posts: 27

Rep: Reputation: 15
On RH 9.0 what version of the kernel are you running? You might want to visit RH and pick up the most current version of the kernel, I beleive it is 2.4.20-30.9. Just by updating to the current kernel, your problem may go away all on it's own....
 
Old 05-14-2004, 01:58 AM   #4
gooner
LQ Newbie
 
Registered: May 2004
Posts: 5

Original Poster
Rep: Reputation: 0
modprobe 8139too

Hi PEACEDOG,

I tried mopdobe 8139too, this time I didnt get errors related to mii module, but my ethernet card is still not detected,it says
__init_module : no such device ...

why does it say so since a realtek card is plugged into the pci slot in my PC's motherboard. Though I have not connected it to the LAN yet, i.e the LAN cable is not plugged into the realtek card. Does this make a difference ? or what else might be the problem .

TIA
Amit
 
Old 05-14-2004, 02:08 AM   #5
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
nop it is not necessary to plug net cable. what does "lspci" show about your NIC?
maybe there is a conflict between your NIC and another device. have u tried to move your NIC to another pci slot?
 
Old 05-14-2004, 10:51 PM   #6
gooner
LQ Newbie
 
Registered: May 2004
Posts: 5

Original Poster
Rep: Reputation: 0
lspci doesnt show me any ethernet controller

Hi,

I tried lspci but that doesnt show me the ehternet controller(i.e my card is not detected ?), I have two pci slots, I tried moving my card to the other vacant one, but still no success.
One interesting thing is that when my kernel 2.4.20-8 boots, it shows ...
Bringing up loopback interface.............. [ok]
Bringing up eth0 ...................... [ok]

So if my card is not detected at any time is this kernel boot message incorrect ?

but after it boots ifconfig just shows lo as up, rather ifconfig -a also just shows lo, so the device eth0 is never detected after booting ... and as the system goes down on shutdown it shows ...

bringing down loobpack interface ..... [ok]

doesnt try bringing down eth0 while shutdown.


Help!
 
Old 05-15-2004, 02:01 AM   #7
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
this is my lspci output:
00:0a.0 Ethernet controller: Davicom Semiconductor, Inc. Ethernet 100/10 MBit (rev 31)
00:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)

if lspci doesnt show any ethernet device . it means there s a trouble with your NIC. maybe NIC doesnt work. maybe it is not pluged into pci slot well.
 
Old 05-15-2004, 05:41 AM   #8
lucastic
Member
 
Registered: Aug 2003
Location: Oz
Distribution: Gentoo - Debian
Posts: 202

Rep: Reputation: 30
Redhat 9 should detect that card automatically with Kudzu (or whatever it is called). I have the same card and you just plug it in and then do #redhat-config-network (its been a while, I think that is the command)

What happens when you do
# ifconfig -a | more

Can you see eth0?

What about if you enter the command:

#cat grep /proc/pci

Can you see you ethernet device then?

Have you got onboard LAN as well as a pci card? If so try turning off the onboard LAN, seems to help sometimes, especially with redhat??
 
Old 05-15-2004, 05:44 AM   #9
lucastic
Member
 
Registered: Aug 2003
Location: Oz
Distribution: Gentoo - Debian
Posts: 202

Rep: Reputation: 30
just another thought. Are you sure you should be using 8139too and not 8139cp ? Maybe try:

#modprobe 8139cp
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
breezy insmod errors flebber Ubuntu 0 09-29-2005 09:44 AM
insmod errors anacharya Linux - General 5 03-21-2005 05:20 PM
New 2.4.25 kernel, insmod errors davidsrsb Slackware 3 02-27-2004 05:55 AM
RedHat 8.0 and Symbol Errors with 8139too.o Mod silverbear Linux - Newbie 17 01-12-2004 10:05 PM
insmod errors Dr.Swing Linux - Networking 5 10-09-2002 10:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration