Results 1 to 10 of 19
OS: SLES 10 SP 1
# rpm -qa "kernel*" "bin*" "gcc*"
gcc-4.1.2_20070115-0.11
gcc-info-4.1.2_20070115-0.11
gcc-objc-4.1.2_20070115-0.11
binutils-2.16.91.0.5-23.20
kernel-default-2.6.16.46-0.12
kernel-source-2.6.16.46-0.12
gcc-locale-4.1.2_20070115-0.11
gcc-obj-c++-4.1.2_20070115-0.11
gcc-c++-4.1.2_20070115-0.11
download the driver or realtek 8169 from Realtek
d=4&Level=5&Conn=4&DownTypeID=3&GetDown=false&Down loads=true
...
- 04-10-2008 #1Linux Newbie
- Join Date
- Feb 2007
- Posts
- 248
error when installing r8169 module - please help asap
OS: SLES 10 SP 1
# rpm -qa "kernel*" "bin*" "gcc*"
gcc-4.1.2_20070115-0.11
gcc-info-4.1.2_20070115-0.11
gcc-objc-4.1.2_20070115-0.11
binutils-2.16.91.0.5-23.20
kernel-default-2.6.16.46-0.12
kernel-source-2.6.16.46-0.12
gcc-locale-4.1.2_20070115-0.11
gcc-obj-c++-4.1.2_20070115-0.11
gcc-c++-4.1.2_20070115-0.11
download the driver or realtek 8169 from Realtek
d=4&Level=5&Conn=4&DownTypeID=3&GetDown=false&Down loads=true
untar the .bz file, then cd into it, and did as per the installation instruction in readme file.
# cd r8169-6.004.00
got errors when
# make clean modules
make clean modules
make -C src/ clean
make[1]: Entering directory `/r8169-6.004.00/src'
rm -rf *.o *.ko *~ core* .dep* .*.d .*.cmd *.mod.c *.a *.s .*.flags .tmp_versions Module.symvers Modules.symvers rset
make[1]: Leaving directory `/r8169-6.004.00/src'
make -C src/ modules
make[1]: Entering directory `/r8169-6.004.00/src'
make -C /lib/modules/2.6.16.46-0.12-default/build SUBDIRS=/r8169-6.004.00/src modules
make[2]: Entering directory `/usr/src/linux-2.6.16.46-0.12-obj/i386/default'
make -C ../../../linux-2.6.16.46-0.12 O=../linux-2.6.16.46-0.12-obj/i386/default modules
CC [M] /r8169-6.004.00/src/r8169_n.o
/r8169-6.004.00/src/r8169_n.c: In function ‘rtl8169_tso’:
/r8169-6.004.00/src/r8169_n.c:3004: error: ‘struct skb_shared_info’ has no member named ‘tso_size’
make[5]: *** [/r8169-6.004.00/src/r8169_n.o] Error 1
make[4]: *** [_module_/r8169-6.004.00/src] Error 2
make[3]: *** [modules] Error 2
make[2]: *** [modules] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.16.46-0.12-obj/i386/default'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/r8169-6.004.00/src'
make: *** [modules] Error 2
# make install
make -C src/ install
make[1]: Entering directory `/r8169-6.004.00/src'
install -m 744 -c r8169.ko /lib/modules/2.6.16.46-0.12-default/kernel/drivers/net/
install: cannot stat `r8169.ko': No such file or directory
make[1]: *** [install] Error 1
make[1]: Leaving directory `/r8169-6.004.00/src'
make: *** [install] Error 2
# insmod ./src/r8169.ko
insmod: can't read './src/r8169.ko': No such file or directory
I also check manually in
# ls /r8169-6.004.00/src/r8169*
/r8169-6.004.00/src/r8169.h /r8169-6.004.00/src/r8169_n.c
that is no r8169.ko in /r8169-6.004.00/src
following is the installation part from readme file:
Unpack the tarball :
# tar vjxf r8169-6.aaa.bb.tar.bz2
Change to the directory:
# cd r8169-6.aaa.bb
If you are running the target kernel, then you should be able to do :
# make clean modules (as root or with sudo)
# make install
# depmod -a
# insmod ./src/r8169.ko (or r8169.o for linux kernel 2.4.x)
Please help asap
- 04-10-2008 #2
this driver at some point was added to the kernel source tree, you might be using a kernel that already has it and that may be why you are getting errors
if this is a kernel you built, go back into the configuration and look for it under the device drivers -> network device support -> ethernet (1000 mbit)
- 04-10-2008 #3Linux Newbie
- Join Date
- Feb 2007
- Posts
- 248
thanks coopstah13 for help
This is a SLES 10 SP1. I installed from the media by Novell.
I think SLES 10 SP1 doesnt has the driver for r8169 becuase when I check
# ls /lib/modules/2.6.16.46-0.12-default/kernel/drivers/net/8*
/lib/modules/2.6.16.46-0.12-default/kernel/drivers/net/8139cp.ko
/lib/modules/2.6.16.46-0.12-default/kernel/drivers/net/8139too.ko
/lib/modules/2.6.16.46-0.12-default/kernel/drivers/net/82596.ko
/lib/modules/2.6.16.46-0.12-default/kernel/drivers/net/8390.ko
that is no 8139.ko file
but even though it seems to me that nic has been detected by the OS out-of-the-box, becuase I can "ifup eth0" "ifdown eth0", ifconfig eth0 successfully and "yast lan" also shows the nic . I have attached the "hwinfo -netcard" and "hwinfo --network" for the kind consideration.
But the problem is that this network card doesnt work. cant communicate with any other machine. This machine is dual boot with MS XP, and when using XP i can communicate with other machines.
So I decide to to download the driver from Realtek
d=4&Level=5&Conn=4&DownTypeID=3&GetDown=false&Down loads=true
So please help
- 04-10-2008 #4
From the command line, run:
Find the line about your ethernet device and post it here please.Code:lspci
- 04-10-2008 #5Linux Newbie
- Join Date
- Feb 2007
- Posts
- 248
I am sorry was forget to attached the "hwinfo --netcard" and "hwinfo --network" output
Now attached. please find the attached files.
From the attached files its clear that SLES 10 SP1 has detected the nic out-of-the-box. But as I already explain that the nic is not communicating, and this machine is dual boot with MS XP, and the same nic is working fine with XP, so no issue of hardware malfunction/error.
Sorry Dapper Dan, I cant send you the lspci output today, as I am at remote branch. I'll send it tomorrow.
- 04-10-2008 #6
I notice one thing wrong, it says link detected: no, so this means one of two things.
You don't have your ethernet cable plugged into the device, or you haven't brought up/configured the device properly
- 04-10-2008 #7Linux Newbie
- Join Date
- Feb 2007
- Posts
- 248
thanks once again for help/reply coopstah13
Well I am human(kiding
) i can do mistakes. But I think I didnt made any mistake.
>You don't have your ethernet cable plugged into the device
without touching the cables, I rebooted the machine in windows XP several times, and it always worked fine.. I will make another test on tomorrow, as I am away from that machine.
>or you haven't brought up/configured the device properly
I configured the nic using yast several times, and chances of configuration error is/are 0.0001 %. Again but I will make another test on tomorrow, as I am away from that machine.
I think there must be something wrong(bug) in the default driver available in SLES 10 SP 1. Thats why I am asking you gurus to also help me installing/compiling the driver.
Regards
Needee
- 04-10-2008 #8
The reason I want you to do this is because there are conterfeit RealTek cards out there. They work in Windows with the provided driver but not in Linux. I just want to make sure this isn't what you're running into and eliminate it as a possibility. See here:
LinkLast edited by Dapper Dan; 04-10-2008 at 06:44 PM.
- 04-12-2008 #9
Just to add some info. The kernel module for this card is called r8169. Enter this command, to see if it is loaded.
If it is loading, then when you configure this card in YaST, try putting r8169 in the driver section.Code:lsmod
I am running Fedora 8, with the kernel version 2.6.23.14-115.fc8. It (r8169) is available as a module. You may just need a newer kernel. You may need a newer version of SUSE, as the kernel updates for SUSE are rather limited, unless you are up to compiling your own kernel from source.Paul
Please do not send Private Messages to me with requests for help. I will not reply.
- 04-14-2008 #10Linux Newbie
- Join Date
- Feb 2007
- Posts
- 248
the output of the following commands are attached for the kind consideration
dmidecode
lspci
lsmod
hwinfo --netcard
hwinfo --network




