Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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).
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.
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.
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.
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.
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.
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
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.
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:
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
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.
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.
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...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.