LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 01-12-2007, 12:16 PM   #1
vladakg85
LQ Newbie
 
Registered: Jan 2007
Posts: 21

Rep: Reputation: 15
realtek 8111B and r1000 problem


yes I buy a new computer and I have a lot of problems one of them is my network card (on motherboard) realtek 8111B.
Linux is Slackware 11 kernel 2.4 (try and with 2.6 the same thing) my network card was not found.
I downloaded r1000 driver from realtek site v5 and it doesn't work.
Here are some screen:

root@darkstar:/home/vlada/r1000_v1.05# make clean modules
make -C src/ clean
make[1]: Entering directory `/home/vlada/r1000_v1.05/src'
rm -rf *.o *.ko *~ core* .dep* .*.d .*.cmd *.mod.c *.a *.s .*.flags .tmp_versions
make[1]: Leaving directory `/home/vlada/r1000_v1.05/src'
make -C src/ modules
make[1]: Entering directory `/home/vlada/r1000_v1.05/src'
make -f Makefile_linux24x
make[2]: Entering directory `/home/vlada/r1000_v1.05/src'
gcc -DLINUX -D__KERNEL__ -DMODULE -O2 -pipe -Wall -I/lib/modules/2.4.33.3/build/include -I. -DMODVERSIONS -DEXPORT_SYMTAB -include /lib/modules/2.4.33.3/build/include/linux/modversions.h -c r1000_n.c -o r1000_n.o
In file included from /lib/modules/2.4.33.3/build/include/linux/spinlock.h:6,
from /lib/modules/2.4.33.3/build/include/linux/module.h:12,
from r1000.h:1,
from r1000_n.c:5:
/lib/modules/2.4.33.3/build/include/asm/system.h: In function `__set_64bit_var':
/lib/modules/2.4.33.3/build/include/asm/system.h:190: warning: dereferencing type-punned pointer will break strict-aliasing rules
/lib/modules/2.4.33.3/build/include/asm/system.h:190: warning: dereferencing type-punned pointer will break strict-aliasing rules
r1000_n.c:106:1: warning: "IRQ_NONE" redefined
In file included from /lib/modules/2.4.33.3/build/include/asm/highmem.h:25,
from /lib/modules/2.4.33.3/build/include/linux/highmem.h:11,
from /lib/modules/2.4.33.3/build/include/linux/vmalloc.h:8,
from /lib/modules/2.4.33.3/build/include/asm/io.h:47,
from /lib/modules/2.4.33.3/build/include/asm/pci.h:41,
from /lib/modules/2.4.33.3/build/include/linux/pci.h:683,
from r1000.h:2,
from r1000_n.c:5:
/lib/modules/2.4.33.3/build/include/linux/interrupt.h:17:1: warning: this is the location of the previous definition
r1000_n.c:107:1: warning: "IRQ_HANDLED" redefined
/lib/modules/2.4.33.3/build/include/linux/interrupt.h:18:1: warning: this is the location of the previous definition
r1000_n.c: At top level:
r1000_n.c:1295: error: conflicting types for 'r1000_tx_action'
r1000_n.c:137: error: previous declaration of 'r1000_tx_action' was here
r1000_n.c:1295: error: conflicting types for 'r1000_tx_action'
r1000_n.c:137: error: previous declaration of 'r1000_tx_action' was here
r1000_n.c:1344: error: conflicting types for 'r1000_rx_action'
r1000_n.c:136: error: previous declaration of 'r1000_rx_action' was here
r1000_n.c:1344: error: conflicting types for 'r1000_rx_action'
r1000_n.c:136: error: previous declaration of 'r1000_rx_action' was here
r1000_n.c: In function `r1000_interrupt':
r1000_n.c:1479: warning: `return' with a value, in function returning void
r1000_n.c:1483: warning: `return' with a value, in function returning void
r1000_n.c: At top level:
r1000_n.c:136: warning: 'r1000_rx_action' declared `static' but never defined
r1000_n.c:137: warning: 'r1000_tx_action' declared `static' but never defined
r1000_n.c:1296: warning: 'r1000_tx_action' defined but not used
r1000_n.c:1345: warning: 'r1000_rx_action' defined but not used
make[2]: *** [r1000_n.o] Error 1
make[2]: Leaving directory `/home/vlada/r1000_v1.05/src'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/home/vlada/r1000_v1.05/src'
make: *** [modules] Error 2
root@darkstar:/home/vlada/r1000_v1.05#

===============================================

root@darkstar:/home/vlada/r1000_v1.05# make install modules
make -C src/ install
make[1]: Entering directory `/home/vlada/r1000_v1.05/src'
install -m 644 -c r1000.o /lib/modules/2.4.33.3/kernel/drivers/net/
install: cannot stat `r1000.o': No such file or directory
make[1]: *** [install] Error 1
make[1]: Leaving directory `/home/vlada/r1000_v1.05/src'
make: *** [install] Error 2
root@darkstar:/home/vlada/r1000_v1.05#

=================================================

root@darkstar:/home/vlada/r1000_v1.05/src# lsmod
Module Size Used by Not tainted
snd-seq-oss 23104 0 (unused)
snd-seq-midi-event 3208 0 [snd-seq-oss]
snd-seq 33552 2 [snd-seq-oss snd-seq-midi-event]
snd-seq-device 3716 0 [snd-seq-oss snd-seq]
snd-pcm-oss 28928 0 (unused)
snd-mixer-oss 11928 0 [snd-pcm-oss]
uhci 23804 0 (unused)
ehci-hcd 17644 0 (unused)
usbcore 56812 1 [uhci ehci-hcd]
i810_rng 2496 0 (unused)
snd-intel8x0 19188 0
snd-ac97-codec 68160 0 [snd-intel8x0]
snd-pcm 52804 0 [snd-pcm-oss snd-intel8x0 snd-ac97-codec]
snd-timer 13168 0 [snd-seq snd-pcm]
snd 34304 0 [snd-seq-oss snd-seq-midi-event snd-seq snd-seq-device snd-pcm-oss snd-mixer-oss snd-intel8x0 snd-ac97-codec snd-pcm snd-timer]
soundcore 3300 6 [snd]
snd-page-alloc 4980 0 [snd-seq-oss snd-seq snd-seq-device snd-mixer-oss snd-intel8x0 snd-pcm snd-timer snd]
pcmcia_core 39492 0
ntfs 50848 2 (autoclean)
ide-scsi 9392 0
root@darkstar:/home/vlada/r1000_v1.05/src#

=============================================

oot@darkstar:/home/vlada/r1000_v1.05/src# lspci
00:00.0 Host bridge: Intel Corporation 945G/GZ/P/PL Express Memory Controller Hub (rev 02)
00:01.0 PCI bridge: Intel Corporation 945G/GZ/P/PL Express PCI Express Root Port (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01)
00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1e.2 Multimedia audio controller: Intel Corporation 82801G (ICH7 Family) AC'97 Audio Controller (rev 01)
00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)
00:1f.2 IDE interface: Intel Corporation 82801GB/GR/GH (ICH7 Family) Serial ATA Storage Controller IDE (rev 01)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
01:00.0 VGA compatible controller: nVidia Corporation Unknown device 0393 (rev a1)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)
root@darkstar:/home/vlada/r1000_v1.05/src#

===============================================

root@darkstar:/home/vlada/r1000_v1.05/src# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

root@darkstar:/home/vlada/r1000_v1.05/src#
 
Old 01-12-2007, 04:18 PM   #2
Electro
Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
A lot of people do not know that 2.6.18 is a lot different than 2.6.9. Also the compiler version makes a big difference.

I recommend buy a PCI 100 Mb NIC. Eventually, PCI Express Realtek cards will work.
 
Old 01-12-2007, 05:10 PM   #3
vladakg85
LQ Newbie
 
Registered: Jan 2007
Posts: 21

Original Poster
Rep: Reputation: 15
If I have to buy new hardware to use linux I will not use linux but that is not the point, I want to make this card work and becouse I can't do it alone, I come here for help.

PS
this is kernel 2.4.33.3
 
Old 01-12-2007, 05:43 PM   #4
Electro
Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Send an email to Linus so he can recruit a network card developer that has a Realtek 8111/8168.

It is not Linux fault, it is motherboard manufactures that include hardware that is not Linux compatible. Also companies like Realtek need to follow through supporting their hardware in many OS.

BTW, I suggest using 2.6.x kernels because it has better scheduling and better for newer computers.
 
Old 01-13-2007, 05:15 AM   #5
vladakg85
LQ Newbie
 
Registered: Jan 2007
Posts: 21

Original Poster
Rep: Reputation: 15
I solve the problem by installing kernel 2.6.19.2
 
Old 01-13-2007, 09:09 PM   #6
nemestrinus
LQ Newbie
 
Registered: Dec 2006
Location: california
Distribution: slackware
Posts: 19

Rep: Reputation: 0
2.6.19.1 kernel works too

I also had this exact problem,using Slackware 11.0 with built-in realtek 8111B lan card on my motherboard, then trying to compile the r1000 driver. Everything worked fine when I compiled and installed the 2.6.19.1 kernel. One thing happened after that though: I couldn't run my firewall until I also upgraded my version of iptables, but that wasn't too hard once I figured it out.

Last edited by nemestrinus; 01-13-2007 at 09:15 PM.
 
Old 01-13-2007, 11:36 PM   #7
Electro
Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
I will note this in my book.
 
  


Reply

Tags
realtek


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
Realtek 8111B Nic under Debian 3.1 Testing Jukas Debian 17 10-10-2006 05:57 PM
can't install driver r1000 nightlyop Linux - Kernel 2 10-04-2006 03:21 AM
Realtek 8180 problem cccp Linux - Wireless Networking 5 08-30-2005 04:05 PM
realtek 8150 problem huno Linux - Hardware 0 01-02-2005 07:52 AM
PCMCIA Realtek problem grayFalcon Linux - Networking 0 01-12-2003 03:58 AM


All times are GMT -5. The time now is 12:39 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration