Realtek Gigabyte Ethernet problems on Slackware 11 install
I just configured a new system using Slackware 11.0 and a 2.6.17.13 kernel. I hit a few snags along the way but I was able to resolve them; although I'm a veteran with Linux I still can't consider myself an expert....
Anyhow the Abit AW8D mobo on this box has two onboard ethernet adapters; lspci returns this info (they both show up but I'm only posting one here for brevity):
=================
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)
Subsystem: ABIT Computer Corp. Unknown device 240b
Flags: bus master, fast devsel, latency 0, IRQ 5
I/O ports at ee00 [size=256]
Memory at fdeff000 (64-bit, non-prefetchable) [size=4K]
[virtual] Expansion ROM at fdd00000 [disabled] [size=64K]
Capabilities: [40] Power Management version 2
Capabilities: [48] Vital Product Data
Capabilities: [50] Message Signalled Interrupts: 64bit+ Queue=0/1 Enable-
Capabilities: [60] Express Endpoint IRQ 0
Capabilities: [84] Vendor Specific Information
Capabilities: [100] Advanced Error Reporting
Capabilities: [12c] Virtual Channel
Capabilities: [148] Device Serial Number 00-00-00-00-00-00-00-37
Capabilities: [154] Power Budgeting
===================
I compiled the module with support for realtek gigabit but it still doesn't seem to detect these, so I downloaded the r1000_v1.05 driver module from RealTek. It won't compile. Looking around at posts on this and other forums I see many have had similar problems but I've been unable to figure out a solution. Anyone able to help? I believe I have a good source tree, etc.
The readme says to do "make clean modules," but this is what I get:
make[1]: Entering directory `/usr/src/r1000_v1.05/src'
make -C /lib/modules/2.6.17.13/build SUBDIRS=/usr/src/r1000_v1.05/src modules
make[2]: Entering directory `/usr/src/linux-2.6.17.13'
CC [M] /usr/src/r1000_v1.05/src/r1000_n.o
/usr/src/r1000_v1.05/src/r1000_n.c:1295: error: conflicting types for 'r1000_tx_action'
/usr/src/r1000_v1.05/src/r1000_n.c:137: error: previous declaration of 'r1000_tx_action' was here
/usr/src/r1000_v1.05/src/r1000_n.c:1295: error: conflicting types for 'r1000_tx_action'
/usr/src/r1000_v1.05/src/r1000_n.c:137: error: previous declaration of 'r1000_tx_action' was here
/usr/src/r1000_v1.05/src/r1000_n.c:1344: error: conflicting types for 'r1000_rx_action'
/usr/src/r1000_v1.05/src/r1000_n.c:136: error: previous declaration of 'r1000_rx_action' was here
/usr/src/r1000_v1.05/src/r1000_n.c:1344: error: conflicting types for 'r1000_rx_action'
/usr/src/r1000_v1.05/src/r1000_n.c:136: error: previous declaration of 'r1000_rx_action' was here
/usr/src/r1000_v1.05/src/r1000_n.c:136: warning: 'r1000_rx_action' declared `static' but never defined
/usr/src/r1000_v1.05/src/r1000_n.c:137: warning: 'r1000_tx_action' used but never defined
/usr/src/r1000_v1.05/src/r1000_n.c:1296: warning: 'r1000_tx_action' defined but not used
/usr/src/r1000_v1.05/src/r1000_n.c:1345: warning: 'r1000_rx_action' defined but not used
make[3]: *** [/usr/src/r1000_v1.05/src/r1000_n.o] Error 1
make[2]: *** [_module_/usr/src/r1000_v1.05/src] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.17.13'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/r1000_v1.05/src'
make: *** [modules] Error 2
Thanks, ........
|