Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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#
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.
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.
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 10:15 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.