View Full Version : problem configuring rtl8139 lan card
kczquest
2006-02-23, 12:52 AM CST
Anyone plz help me.... I just bought my new ethernet card rtl8139 dl .... ....I couldnt install the drivers for it in linux Fedora core 3 using kernel 2.6.x
...i downloaded the drivers 8139too ... but i found in the make file that i should give the kernel include path to install correctly.........so i donno watz the path ...so can any one help me in solving the problem !!!
foobar47
2006-02-23, 04:52 AM CST
Hi,
what about kudzu ?
It can't detect your card ?
Strange.
kczquest
2006-02-23, 06:03 AM CST
i donno about kudzu... can u plz tell me the kernel include path ?? if u give me the path will execute the make file and copy the 8139too.o file to the specific location where it should be ...
thanku
foobar47
2006-02-23, 06:13 AM CST
When you place your card in the slot and boot FC, kudzu didn't detect it ?
So shutdown your PC,
remove your eth card,
boot without card,
kudzu should ask you what to do,
do things by default,
shutdown,
insert your card,
boot,
kudzu should detect it,
apply things by default,
you should be able to see your card !
kczquest
2006-02-23, 06:57 AM CST
i did exactly what u have said but kudzu didnt detect my card..... I tried instaliing the drivers given when i purchased the card.... when i executed make file i got the following error
[root@localhost sc92031]# make
*****************************
sc92031.o built for 2.6.9-1.667
SMP Disabled
*****************************
In file included from /lib/modules/2.6.9-1.667/build/include/asm/processor.h:18, from /lib/modules/2.6.9-1.667/build/include/asm/thread_info.h:16,
from /lib/modules/2.6.9-1.667/build/include/linux/thread_info.h:21,
from /lib/modules/2.6.9-1.667/build/include/linux/spinlock.h:12,
from /lib/modules/2.6.9-1.667/build/include/linux/capability.h:45,
from /lib/modules/2.6.9-1.667/build/include/linux/sched.h:7,
from /lib/modules/2.6.9-1.667/build/include/linux/module.h:10,
from sc92031.c:15:
/lib/modules/2.6.9-1.667/build/include/asm/system.h: In function `__set_64bit_var':
/lib/modules/2.6.9-1.667/build/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules
/lib/modules/2.6.9-1.667/build/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules
In file included from /lib/modules/2.6.9-1.667/build/include/linux/irq.h:20,
from /lib/modules/2.6.9-1.667/build/include/asm/hardirq.h:6,
from /lib/modules/2.6.9-1.667/build/include/linux/hardirq.h:6,
from /lib/modules/2.6.9-1.667/build/include/linux/interrupt.h:11,
from /lib/modules/2.6.9-1.667/build/include/asm/highmem.h:24,
from /lib/modules/2.6.9-1.667/build/include/linux/highmem.h:14, from /lib/modules/2.6.9-1.667/build/include/linux/skbuff.h:27,
from /lib/modules/2.6.9-1.667/build/include/linux/if_ether.h:106,
from /lib/modules/2.6.9-1.667/build/include/linux/netdevice.h:29,
from sc92031.c:22:
/lib/modules/2.6.9-1.667/build/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory
In file included from /lib/modules/2.6.9-1.667/build/include/asm/hardirq.h:6,
from /lib/modules/2.6.9-1.667/build/include/linux/hardirq.h:6,
from /lib/modules/2.6.9-1.667/build/include/linux/interrupt.h:11,
from /lib/modules/2.6.9-1.667/build/include/asm/highmem.h:24,
from /lib/modules/2.6.9-1.667/build/include/linux/highmem.h:14, from /lib/modules/2.6.9-1.667/build/include/linux/skbuff.h:27,
from /lib/modules/2.6.9-1.667/build/include/linux/if_ether.h:106,
from /lib/modules/2.6.9-1.667/build/include/linux/netdevice.h:29,
from sc92031.c:22:
/lib/modules/2.6.9-1.667/build/include/linux/irq.h: At top level:
/lib/modules/2.6.9-1.667/build/include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not in a function)
In file included from /lib/modules/2.6.9-1.667/build/include/linux/irq.h:72,
from /lib/modules/2.6.9-1.667/build/include/asm/hardirq.h:6,
from /lib/modules/2.6.9-1.667/build/include/linux/hardirq.h:6,
from /lib/modules/2.6.9-1.667/build/include/linux/interrupt.h:11,
from /lib/modules/2.6.9-1.667/build/include/asm/highmem.h:24,
from /lib/modules/2.6.9-1.667/build/include/linux/highmem.h:14, from /lib/modules/2.6.9-1.667/build/include/linux/skbuff.h:27,
from /lib/modules/2.6.9-1.667/build/include/linux/if_ether.h:106,
from /lib/modules/2.6.9-1.667/build/include/linux/netdevice.h:29,
from sc92031.c:22:
/lib/modules/2.6.9-1.667/build/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here (not in a function)
sc92031.c:103:40: missing binary operator before token "("
sc92031.c: In function `silan_open':
sc92031.c:923: warning: passing arg 2 of `request_irq' from incompatible pointer type
sc92031.c: In function `silan_ethtool_ioctl':
sc92031.c:1814: error: `np' undeclared (first use in this function)
sc92031.c:1814: error: (Each undeclared identifier is reported only once
sc92031.c:1814: error: for each function it appears in.)
sc92031.c:1866:40: missing binary operator before token "("
make: *** [sc92031.o] Error 1
could u plz help in solving this...
kczquest
2006-02-23, 06:58 AM CST
i forgot to say kudzu didnt detect my lan card...
i also tried to manually configure my card....but when i tried to activate it .. iam getting the following error ::
8139too device eth0 does not seem to be present, delaying initialization.
even when my system is booting i am getting the same error
foobar47
2006-02-23, 09:32 AM CST
So, i think your card is not detected by your computer at all !!
Try to change the PCI slot...
kczquest
2006-02-23, 09:34 AM CST
its being detected and working well in windows but not in linux....but let me try n change the slot and i will report after that to u.... thanx
foobar47
2006-02-23, 09:36 AM CST
So if it works under win, it should do the same with llinux... :-/
kczquest
2006-02-24, 09:57 AM CST
so what shall i do.... its not being detected i any of my PCI slots...
crypto76
2006-02-24, 01:48 PM CST
if you have the driver on the system try running:
insmod <location of driver>
or
modprobe driver-name
then do a lsmod and see if it's listed in there...
then do lspci to see if your card is recognized by the pci subsystem...
hope that helps!!
kczquest
2006-03-02, 05:41 AM CST
hai
thanks for the help........ sorry i was out of town.....so i was late in my reply....
I did exactly as u said but cud not configure my lan card :(...
plz help ....
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.