LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-30-2006, 10:27 AM   #1
nemestrinus
LQ Newbie
 
Registered: Dec 2006
Location: california
Distribution: slackware
Posts: 21

Rep: Reputation: 0
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, ........
 
Old 05-02-2007, 10:36 AM   #2
UhhMaybe
Member
 
Registered: Jul 2004
Location: Salt Lake City, Utah
Distribution: Absolute 12.0 Studio 64 1.3.0
Posts: 470

Rep: Reputation: 30
Cool

Try here http://tldp.org/HOWTO/HOWTO-INDEX/howtos.html for module compiling. The data going into the module being built has to be specifically needed for the build. If more than one data set is present, the build will fail because of "conflicts". So, going back to YOUR description, it appears that it would suit YOUR needs better to do the module build one at a time, with the conflicting data not in the way. In the BIOS, it might be advantageous to enable/disable the extra device. To do the configuring one device at a time. Good luck.
 
  


Reply



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
Ethernet driver problem - Gigabyte Lan rmonroe36 Puppy 1 11-22-2007 04:05 PM
gigabyte on board ethernet? Genjix Linux - Hardware 3 07-06-2005 12:58 PM
gigabyte ethernet port not working? TongueTied Linux - Hardware 4 06-24-2004 04:05 AM
Realtek problems with a slackware 9.1 MrPingouin Linux - Hardware 2 10-02-2003 05:05 AM
slackware 9 realtek ethernet cowboy_ein Linux - Hardware 1 04-16-2003 04:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:21 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration