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 |
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. |
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....
|
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 |
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? |
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! |
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. |
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?? |
just another thought. Are you sure you should be using 8139too and not 8139cp ? Maybe try:
#modprobe 8139cp |
All times are GMT -5. The time now is 01:17 PM. |