LinuxQuestions.org
Help answer threads with 0 replies.
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 06-26-2005, 05:01 PM   #1
fuzzyspud
LQ Newbie
 
Registered: Nov 2003
Posts: 6

Rep: Reputation: 0
Driver for Linksys EG1032 Ver. 3


I am having trouble getting my Linksys EG1032 Ver. 3 to work. It's a gigabit ethernet adapter for 32-bit PCI, and it looks like the switch to Ver. 3 was made recently. I'm running gentoo on an AMD A7N266-VM.


There are no linux drivers on the CD that came with the card. There is a driver bundle on the Linksys site for Ver. 2, but that appears to be completely incompatible with the card. The old version uses a Syskonnect 98xx chip, whereas Ver. 3 has a Realtek RTL8169S-32 stuck to it.


I have tried the kernel module for the 8169, which compiles and loads with modprobe, but the card doesn't show up in ifconfig. Compiling the driver into the kernel doesn't work either. I also tried the 8169 driver on Realtek's site. It compiles but fails to load with:

FATAL: Error inserting r8169 (/lib/modules/2.6.11-gentoo-r11/kernel/drivers/net/r8169.ko): Unknown symbol in module, or unknown parameter (see dmesg)


The pertinent line in dmesg is:

r8169: Unknown symbol pci_dma_sync_single


I can do an lspci and see the card:

0000:00:00.0 Host bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133] (rev 02)
0000:00:01.0 PCI bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133 AGP]
0000:00:04.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South] (rev 22)
0000:00:04.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 10)
0000:00:04.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 10)
0000:00:04.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 10)
0000:00:04.4 Bridge: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 30)
0000:00:09.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
0000:00:0a.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
0000:00:0c.0 Ethernet controller: Linksys Gigabit Network Adapter (rev 10)
0000:00:11.0 Unknown mass storage controller: Promise Technology, Inc. PDC20265 (FastTrak100 Lite/Ultra100) (rev 02)
0000:01:00.0 VGA compatible controller: ATI Technologies Inc Radeon R100 QD [Radeon 7200]


I have two 100 Mbps cards in the system already. The EG1032 still doesn't work if I remove the other cards, and use one of their slots. The other cards work just fine.


So I guess I'm stuck. Any ideas on how to get this card working?
 
Old 08-21-2005, 11:03 PM   #2
clutzer
LQ Newbie
 
Registered: May 2004
Posts: 2

Rep: Reputation: 0
Re: Driver for Linksys EG1032 Ver. 3

Quote:
Originally posted by fuzzyspud
I am having trouble getting my Linksys EG1032 Ver. 3 to work. It's a gigabit ethernet adapter for 32-bit PCI, and it looks like the switch to Ver. 3 was made recently. I'm running gentoo on an AMD A7N266-VM.


There are no linux drivers on the CD that came with the card. There is a driver bundle on the Linksys site for Ver. 2, but that appears to be completely incompatible with the card. The old version uses a Syskonnect 98xx chip, whereas Ver. 3 has a Realtek RTL8169S-32 stuck to it.


I have tried the kernel module for the 8169, which compiles and loads with modprobe, but the card doesn't show up in ifconfig. Compiling the driver into the kernel doesn't work either. I also tried the 8169 driver on Realtek's site. It compiles but fails to load with:

FATAL: Error inserting r8169 (/lib/modules/2.6.11-gentoo-r11/kernel/drivers/net/r8169.ko): Unknown symbol in module, or unknown parameter (see dmesg)


The pertinent line in dmesg is:

r8169: Unknown symbol pci_dma_sync_single


I can do an lspci and see the card:

0000:00:00.0 Host bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133] (rev 02)
0000:00:01.0 PCI bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133 AGP]
0000:00:04.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South] (rev 22)
0000:00:04.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 10)
0000:00:04.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 10)
0000:00:04.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 10)
0000:00:04.4 Bridge: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 30)
0000:00:09.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
0000:00:0a.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
0000:00:0c.0 Ethernet controller: Linksys Gigabit Network Adapter (rev 10)
0000:00:11.0 Unknown mass storage controller: Promise Technology, Inc. PDC20265 (FastTrak100 Lite/Ultra100) (rev 02)
0000:01:00.0 VGA compatible controller: ATI Technologies Inc Radeon R100 QD [Radeon 7200]


I have two 100 Mbps cards in the system already. The EG1032 still doesn't work if I remove the other cards, and use one of their slots. The other cards work just fine.


So I guess I'm stuck. Any ideas on how to get this card working?
fuzzyspud,

I got that card working under Linux tonight. You need to make a modification to the Realtek RTL8169S-32 driver so that it recognizes the PCI IDs of the EG1032v3. I've created a diff based on kernel 2.6.12-1.1372_FC3 (Fedora Core 3).

--- r8169.c 2005-08-21 22:04:51.000000000 -0400
+++ r8169_fixed.c 2005-08-21 22:02:05.000000000 -0400
@@ -176,6 +176,7 @@
static struct pci_device_id rtl8169_pci_tbl[] = {
{0x10ec, 0x8169, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
{0x1186, 0x4300, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
+ {0x1737, 0x1032, PCI_ANY_ID, 0x0024, 0, 0, 0},
{0,},
};

svn co http://mandalore.dyndns.biz/svn/public/linux/eg1032v3
(Or, you can just browse the SVN repository via HTTP.)

You'll notice I simply added the Linksys (0x1737) Instant Gigabit Network Adaptor (0x1032) Version 3 (0x0024) to the list of device IDs the driver supported. I currently have a GbE link and it's functional.

Kernel bugzilla: http://bugzilla.kernel.org/show_bug.cgi?id=5108

One strange thing though, I can't seem to exceed throughputs of about 66 Mbps between two hosts both with GbE NICs, and connected via a GbE switch (Netgear). Strangeness.

Christiaan.

Last edited by clutzer; 08-21-2005 at 11:42 PM.
 
Old 08-22-2005, 12:52 AM   #3
fuzzyspud
LQ Newbie
 
Registered: Nov 2003
Posts: 6

Original Poster
Rep: Reputation: 0
Wow thanks!

I added the line to r8169.c as you suggested, recompiled the module, and the card is now recognized. I am pleased that it is such a simple fix.

I have tested moving some large files back and forth across the network between GbE machines using samba, and I am getting throughput at between 130-150 Mbps. That's lots lower than I'd like, but it's a step in the right direction. The hardware is set up like this:

linux (gentoo) using EG1032v3
windows xp using EG1032v3
Linksys SD2008 gigabit switch inbetween


I am using the driver included in the Gentoo 2.6.12-r6 kernel.

I'm currently investigating newer drivers. I'll report back if I can find something that improves the bandwidth.
 
Old 09-21-2005, 04:47 AM   #4
dfidler
LQ Newbie
 
Registered: Sep 2005
Posts: 14

Rep: Reputation: 0
Quote:
Originally posted by fuzzyspud
I'm currently investigating newer drivers. I'll report back if I can find something that improves the bandwidth. [/B]
Any luck with those alternate/newer drivers (and which ones were you looking at)? My understanding is that the above fix is in the the 2.6.14 kernel so it wont be that big a deal for upgrade time, but I am hoping to get some better throughput than what you guys are reporting.

I still havent managed to get this thing working (invalid module format issues; I am likely doing something stupid), but when I do I am hoping for something that more more than just marginally better than my 100BaseT card.
 
Old 09-21-2005, 08:47 AM   #5
fuzzyspud
LQ Newbie
 
Registered: Nov 2003
Posts: 6

Original Poster
Rep: Reputation: 0
Driver Update

I have not been able to find another driver that compiles on my machine, let alone one that provides better performance. My bandwith is still stuck at about 130-140 Mbps.

I guess we're all waiting for kernel 2.6.14.
 
Old 09-21-2005, 01:36 PM   #6
dfidler
LQ Newbie
 
Registered: Sep 2005
Posts: 14

Rep: Reputation: 0
Unfortunately, I dont think that the 2.6.14 kernel addresses the bandwidth problems, just the device id detection, but I could be wrong about that. *fingers crossed*

For me, the good news is that I finally got everything working (including patching the sk98lin driver). Now that I have conquered this nic, I am allowed to use it as a frisbie. /me waits for the 2.6.14 release
 
Old 10-10-2005, 02:59 PM   #7
morph166955
LQ Newbie
 
Registered: Oct 2005
Posts: 5

Rep: Reputation: 0
i just tried this patch on my FC4 install and it is still trying to use the sk98lin driver...is there something else i have to do? the driver is all installed and loaded but its not doing anything.
 
Old 10-10-2005, 09:14 PM   #8
dfidler
LQ Newbie
 
Registered: Sep 2005
Posts: 14

Rep: Reputation: 0
Quote:
Originally posted by morph166955
i just tried this patch on my FC4 install and it is still trying to use the sk98lin driver...is there something else i have to do? the driver is all installed and loaded but its not doing anything.
This is probably happening because you are loading the sk98lin driver first and it is still geared to try and work with the eg1032 v3; you also have to patch this driver so that it doesnt report itself as a valid driver for the linksys eg1032 v3.

If you look at drivers/net/sk98lin/skge.c and find:

static struct pci_device_id skge_pci_tbl[] = {
{ PCI_VENDOR_ID_3COM, 0x1700, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 },
{ PCI_VENDOR_ID_3COM, 0x80eb, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 },
{ PCI_VENDOR_ID_SYSKONNECT, 0x4300, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 },
{ PCI_VENDOR_ID_SYSKONNECT, 0x4320, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 },
{ PCI_VENDOR_ID_DLINK, 0x4c00, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 },
{ PCI_VENDOR_ID_MARVELL, 0x4320, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 },
#if 0 /* don't handle Yukon2 cards at the moment -- mlindner@syskonnect.de */
{ PCI_VENDOR_ID_MARVELL, 0x4360, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 },
{ PCI_VENDOR_ID_MARVELL, 0x4361, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 },
#endif
{ PCI_VENDOR_ID_MARVELL, 0x5005, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 },
{ PCI_VENDOR_ID_CNET, 0x434e, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 },
{ PCI_VENDOR_ID_LINKSYS, 0x1032, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 },
{ PCI_VENDOR_ID_LINKSYS, 0x1064, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 },
{ 0, }

Look at the line:

{ PCI_VENDOR_ID_LINKSYS, 0x1032, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 },

And replace it with:

{ PCI_VENDOR_ID_LINKSYS, 0x1032, 0x0015, 0x0015, 0, 0, 0 },

I don't know if that is the 'official' fix (I couldn't find one), but that seemed to work for me.

BUYER BEWARE: I am not a driver hacker so what I did may have only been to ruin the sk98 driver for any linksys 1032 nic, and as I don't have a v2 NIC to test, this code fix may break your system

Take care,
Dave.
 
Old 10-10-2005, 09:33 PM   #9
morph166955
LQ Newbie
 
Registered: Oct 2005
Posts: 5

Rep: Reputation: 0
ok done...how do i now compile that module and install it? the Makefile was a little non descript about it.
 
Old 10-10-2005, 11:57 PM   #10
dfidler
LQ Newbie
 
Registered: Sep 2005
Posts: 14

Rep: Reputation: 0
Provided that your gcc compiler is the same version that was used to compile your kernel, you should just be able to run the makefile and it should compile the driver; if not you are going to have to recompile the entire kernel.

When you do get the driver compiled, it will create a .ko file which you will need to copy to the /usr/lib/modules/<kernel version>/drivers/net/[sk98lin/] directory. Unload the driver, reload or just reboot.

Good luck,
Dave.
 
Old 11-26-2005, 01:15 PM   #11
linuxgrokmeistr
LQ Newbie
 
Registered: Nov 2004
Posts: 3

Rep: Reputation: 0
Oddly enough Linksys technical support disavows any knowledge of linux driver support for the EG1032, and their response to our support questions has been pathetic.

For compatibility reasons we are searching for EG1032 VERSION 1. This is based on an earlier chipset National 83820. If anyone has Version 1, and would like to upgrade to Version 2 or Version 3, we would like to see if we can arrange a version swap. We tried this with Linksys but as I said their technical support isn't.
 
Old 11-26-2005, 02:21 PM   #12
dfidler
LQ Newbie
 
Registered: Sep 2005
Posts: 14

Rep: Reputation: 0
Quote:
Originally posted by linuxgrokmeistr
Oddly enough Linksys technical support disavows any knowledge of linux driver support for the EG1032, and their response to our support questions has been pathetic.
You might have been talking to the jr on the team who didn't actually know of the problem. You could try escalating and see if that gets you anywhere. The other thing to ask them is, "what distributions of linux support this card and what kernel versions". If they say kernel 2.6.14, then you have caught them in a lie as that didnt exist when the cards came out. The fact is that they could not have ever tested this card in a linux box before printing 'works with linux' on the box.

To be honest, it was probably a really innocent mistake on their part. Some jacka$$ mgr told purchasing to buy new chips and neglected to follow the appropriate QA procedure with linux, or some developer forgot to merge the fix for this card into the source. What bugs me is the lack of response on this issue now that they know of the problem.

Quote:
For compatibility reasons we are searching for EG1032 VERSION 1. This is based on an earlier chipset National 83820. If anyone has Version 1, and would like to upgrade to Version 2 or Version 3, we would like to see if we can arrange a version swap. We tried this with Linksys but as I said their technical support isn't.
Heh, the learning experience of whacking my way through a driver was valuable and all, but if I had a v1 card, I would hold on to it for dear life. I am getting too old for this 'tinkering' BS and I sure as hell don't have the time. But that is just me...

Of course, the 2.6.14 kernel source is now out in unstable for Debian, so I have a shiny new 2.6.14 kernel installed but still...

Take care,
Dave.
 
Old 11-26-2005, 02:25 PM   #13
dfidler
LQ Newbie
 
Registered: Sep 2005
Posts: 14

Rep: Reputation: 0
Quote:
Originally posted by dfidler
Look at the line (in file skge.c):

{ PCI_VENDOR_ID_LINKSYS, 0x1032, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 },

And replace it with:

{ PCI_VENDOR_ID_LINKSYS, 0x1032, 0x0015, 0x0015, 0, 0, 0 },

I don't know if that is the 'official' fix (I couldn't find one), but that seemed to work for me.
For the sake of documentation and ease of reference by the rest of the community, the 'official' fix seems to be (instead of the one I posted earlier)

{ PCI_VENDOR_ID_LINKSYS, 0x1032, PCI_ANY_ID, 0x0015, },

So close and yet so far...

Take care,
Dave.

Last edited by dfidler; 11-26-2005 at 02:26 PM.
 
Old 12-01-2005, 09:45 AM   #14
csoma
LQ Newbie
 
Registered: Dec 2005
Location: USA
Posts: 1

Rep: Reputation: 0
EG1032 v3 is working

I got it to work.

Distro: Fedora Core 4
Kernel: 2.6.14-1.1644_FC4
Card: Lynksys EG1032
Switch: Netgear GS108

The driver on the card's CD is obsolete. I downloaded a new one from here:
http://mandalore.dyndns.biz/svn/public/linux/eg1032v3/
There's a README with compiling instructions.

"make install" failed since it could not do "rmmod r8169", so I commented out this line.

Next I modified /etc/modprobe.conf
Removed: alias eth1 sk98lin
Added: alias eth1 r8169
(This is the 2nd card in the computer)

and from command line:
ifconfig eth1 up

The driver was loaded and the 1000 Mb LED on the switch went on
(it was off until the driver was loaded).
 
Old 02-02-2006, 05:58 PM   #15
linuxtraveler
LQ Newbie
 
Registered: Feb 2006
Posts: 15

Rep: Reputation: 0
questions on linksys EG1032 v2

Hi all,
I have a question on the linksys NIC EG1032 v2. When I do a lspci, I got:

02:09:0 Ethnernet controller: Unkown device 1737:1032(rev 12)

When I do modprobe sk98lin, I got:
/lib/modules/2.4.18-14/kernel/drivers/net/sk98lin/sk98lin.o: init_module: No such device

My computer has a dual boot on Windows 2000 and Linux 8. The card works fine in Windows 2000. however Linux could not even detect it.

Could someone please help me?

Thanks in advance!
 
  


Reply


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
Mandrive 2005 LE and Linksys EG1032 Card wdavro Linux - Networking 1 06-25-2005 04:38 AM
syskonnect and EG1032(linksys)? fa_king Red Hat 3 03-04-2005 07:44 PM
Gigabit EG1032 Linksys fa_king Linux - Networking 1 01-04-2005 11:02 PM
EG1032 Linksys Gigabit Drivers fa_king Linux - Hardware 0 12-24-2004 02:15 PM
linksys eg1032 gigabit card jonfa Linux - Networking 8 07-02-2002 05:46 PM

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

All times are GMT -5. The time now is 04:12 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration