LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-01-2003, 08:19 PM   #1
candyman123
Member
 
Registered: Jul 2003
Posts: 46

Rep: Reputation: 15
3COM LOM 3C940 (3c2000) on P4P800


Hey, I just got the Asus P4P800 mainboard with the integrated 3COM network card on it. I went to the website, and they pointed me towards the download file.

The drivers are the 3c2000. After untaring, I edit the makefile to point the include directory to /usr/src/linux-2.4.20-18.9
Then I run make and make install.

Following the directions, I then run

make load --- that does insmod 3c2000.o

Then I edit /etc/modules.conf and add the following line:

options 3c2000 DupCap_A=Full


That is it! That is what the readme file said I needed to do.

Here are my relevant log files:

Jul 1 19:14:19 laptop kernel: 3C2000: 3Com Gigabit NIC Driver Version A10
Jul 1 19:14:19 laptop kernel: Copyright (C) 2003 3Com Corporation.
Jul 1 19:14:19 laptop kernel: Copyright (C) 2003 Marvell.
Jul 1 19:14:19 laptop kernel: eth1: 3Com Gigabit LOM (3C940)
Jul 1 19:14:19 laptop kernel: PrefPort:A RlmtMode:Check Link State
Jul 1 19:14:19 laptop /etc/hotplug/net.agent: invoke ifup eth1
Jul 1 19:17:42 laptop kernel: eth1: network connection up using port A
Jul 1 19:17:42 laptop kernel: speed: 100
Jul 1 19:17:42 laptop kernel: autonegotiation: yes
Jul 1 19:17:42 laptop kernel: duplex mode: full
Jul 1 19:17:42 laptop kernel: flowctrl: none
Jul 1 19:17:42 laptop kernel: scatter-gather: enabled


I wanted to see if Linux would load my eth1 card so it stopped the network services and then restarted them. Here are the new log files. As you an see, it did not load eth1.

When I use the GUI in redhat to check for my network card, it does not show up. When I try and add the card, it does not show up in the list of available cards. This is true even after restarting.

Jul 1 19:20:00 laptop network: Shutting down interface eth0: succeeded
Jul 1 19:20:00 laptop network: Shutting down loopback interface: succeeded
Jul 1 19:20:05 laptop sysctl: net.ipv4.ip_forward = 0
Jul 1 19:20:05 laptop sysctl: net.ipv4.conf.default.rp_filter = 1
Jul 1 19:20:05 laptop sysctl: kernel.sysrq = 0
Jul 1 19:20:05 laptop sysctl: kernel.core_uses_pid = 1
Jul 1 19:20:05 laptop network: Setting network parameters: succeeded
Jul 1 19:20:05 laptop network: Bringing up loopback interface: succeeded
Jul 1 19:20:05 laptop kernel: eth0: Setting 100mbps full-duplex based on auto-negotiated partner ability 41e1.
Jul 1 19:20:07 laptop network: Bringing up interface eth0: succeeded


Can someone help me get this card up?

Thanks

Last edited by candyman123; 12-29-2008 at 11:42 PM.
 
Old 07-01-2003, 08:31 PM   #2
candyman123
Member
 
Registered: Jul 2003
Posts: 46

Original Poster
Rep: Reputation: 15
Nevermind, I fixed it with the help of http://www.linuxquestions.org/questi...threadid=66388

Check out that thread for the answer.
 
Old 07-14-2003, 01:18 AM   #3
blais
LQ Newbie
 
Registered: Jul 2003
Posts: 22

Rep: Reputation: 15
using this it "seems" to work, but somehow some web site are not available; there is supposedly a kernel patch from syskonnect to fix that problem but i tried it and it didn't fix the problem for me. see other thread on this forum
 
Old 10-11-2003, 05:32 AM   #4
infinite0s
LQ Newbie
 
Registered: Oct 2003
Distribution: RedHat
Posts: 1

Rep: Reputation: 0
Question 100 mbps speed on 3c2000 p4p8000 gigabit card

Ok running redhat-9 (kernel version 2.4.20-8). Got the 3c2000 driver compiled for the same. Now here are the problems.
The module wont get inserted at more than 100 Mbps (when it shouldve been at 1Gbps...thats the speed of the switch its connected to).
Here is how i inserted the module[[
insmod 3c2000.o Speed_A=100
]]
and upped eth0 as follows[[
ifconfig eth0 224.224.0.214
]]
The dmesg i get after this is as follows[[
3C2000: 3Com Gigabit NIC Driver Version A11
Copyright (C) 2003 3Com Corporation.
Copyright (C) 2003 Marvell.
eth0: 3Com Gigabit LOM (3C940)
PrefPort:A RlmtMode:Check Link State
ip_tables: (C) 2000-2002 Netfilter core team
eth0: network connection up using port A
speed: 100
autonegotiation: yes
duplex mode: full
flowctrl: symmetric
scatter-gather: enabled
]]

Does anyone know how to get it up at 1Gbps speed?
please help!!!! im really desperate
 
Old 10-28-2003, 11:52 PM   #5
NeGe0
LQ Newbie
 
Registered: Oct 2003
Distribution: Mandrake 9.1
Posts: 3

Rep: Reputation: 0
I have an Abit IS7-G and supposidly have the same onboard chip. I've never used any distro version before and
don't know anything. I've been reading about command line manuals and stuff
but haven't gotten real far yet. Anyway, when I open the readme file it says
1) Make sure that the kernel source is installed in /usr/src/linux or
/usr/src/linux-2.4.

Now what is the kernel source and how do I install it? Like I said I don't know anything about linux and am trying to learn to use it.
 
Old 10-29-2003, 06:18 AM   #6
NeGe0
LQ Newbie
 
Registered: Oct 2003
Distribution: Mandrake 9.1
Posts: 3

Rep: Reputation: 0
I forgot to say but I'm on Mandrake 9.1. If that helps any.
 
Old 10-29-2003, 12:45 PM   #7
NeGe0
LQ Newbie
 
Registered: Oct 2003
Distribution: Mandrake 9.1
Posts: 3

Rep: Reputation: 0
Anyone?
 
Old 11-01-2003, 01:50 PM   #8
quam
LQ Newbie
 
Registered: Sep 2003
Posts: 5

Rep: Reputation: 0
Is there any recent distro that supports this NIC without patching?
 
Old 12-19-2003, 01:11 AM   #9
liontooth
LQ Newbie
 
Registered: Dec 2003
Posts: 3

Rep: Reputation: 0
3c2000 card

I just purchased two 3c2000-T NICs and installed them. The open-source driver was on the CD (nice change!), compiled on gcc 2.95 and installed without problems on the 2.4.21-ac2 kernel.

I first thought they used the acenic driver and recompiled my 2.4.21-ac2 kernel to include it; however, the module wouldn't insert. I then realized the acenic driver is for the 3Com 3C985 chip, while my box says 3C2000-T. That's when I found it on the CD.

It turns out, however, that this is simply a very slightly modified version of the SysKonnect SK-NET Gigabit Ethernet SK-98xx driver -- that's what it says if you issue "modinfo 3c2000". The 2.4.21-ac2 kernel doesn't say that this driver (which is also in the kernel) also drives the 3Com 3c2000 NIC, and the exchange at http://www.ussg.iu.edu/hypermail/lin...06.2/1032.html suggests there may be some very minor differences.

3Com is not really playing fair -- all they've done is write a Makefile and copyrighted it, and dmesg shows that copyright rather than crediting the GPL'd SysKonnect, which is the actual driver.

I guess this matters because it's a lot easier to use a driver that's in the kernel. I actually ended up just using the driver version supplied by 3Com, since it's very slightly more recent than 2.4.21-ac2. Later, I discovered the June discussion suggesting that the kernel driver might not in fact work. However, it's got to be trivial to make it work -- 99.9% of the driver files are identical.

If you want the most recent driver, check out SysKonnect's driver at http://www.syskonnect.com/syskonnect...2_driver.html. The driver I got on the CD was somewhere around version 6.03 (they don't actually tell you anywhere, since they provide no information indicating this is really a SysKonnect driver), as it was a few weeks more recent than the 2.4.21-ac2 kernel version, which is 6.02. The most recent version is 6.19. The one thing SysKonnect haven't done is post a changelog, so I don't see what they've done since 6.03. The 6.19 version is a patch for the 2.4.22 kernel. It doesn't list the 3Com 3c2000 card, and likely won't work without some modifications, however minor.

Anyway, I wanted to tell NeoGeo that I got the driver working right away, after compiling it and inserting the module 3c2000.o. I'm using the 2.4.21-ac2 kernel and gcc 2.95 in Debian. For Mandrake, I imagine you can download the kernel source as an rpm file, but you shouldn't really have to compile a kernel to make this work. Here are a couple of steps that might help:

* To see which version of the kernel you're currently running, type this in a console:

uname -a

* Issue this to see which version of gcc was used to compile the kernel you're currently running:

cat /proc/version

* Then type this to find out which version of gcc is your default

gcc -v

What you should have is a kernel version that is preferably 2.4.22 -- if it's 2.4.20 you should upgrade. The value of cat /proc/version should preferably be the same as the value of gcc -v -- that is to say, your kernel should have been compiled with the same version of gcc (the compiler) that you have as your default.

If this seems reasonable, go to the driver files supplied by 3Com and issue a simple "make" (I guess you've done all this already?). Insert the module with this command:

insmod 3c2000

If you get no receipt (and no errors), everything should be fine -- verify by issuing

lsmod | grep 3c2000

and see that it's listed. Then copy the module 3c2000 to your /lib/modules/<kernel version>/kernel/drivers/net directory, along with the other network drivers. This is where the kernel module loader will look for it.

Then add 3c2000 to /etc/modules -- don't include any parameters, just the module name like that.
The reason their example includes a parameter (in the readme file) is just to tell people how to include parameters if you need to, but you don't actually need to.

You may need to reboot and then check dmesg for where the NIC was placed -- did it go to eth0 or eth1 (that depends on whether you have other NICs). Make sure you then define the interface for the correct NIC. I use Debian rather than Mandrake, so I can't help you with how that's done.

I don't suppose this was very helpful, but I wanted to describe what I did in some detail since I got every thing working, like this:

3C2000: 3Com Gigabit NIC Driver Version A11
Copyright (C) 2003 3Com Corporation.
Copyright (C) 2003 Marvell.
eth0: 3Com Gigabit NIC (3C2000)
PrefPort:A RlmtMode:Check Link State

eth0: network connection up using port A
speed: 1000
autonegotiation: yes
duplex mode: full
flowctrl: symmetric
role: master
scatter-gather: enabled

Oh, and finally, a stupid question: are you connected to a gigabit switch? Otherwise you might well see 100 mbs speed, no?

Cheers,
David

P.S. Incidentally, I don't have any difficulties visiting specific web sites (like Intel or Amazon) and find it *extremely* hard to believe that anyone's difficulties in this regard are related to the network interface card driver. I mean, not impossible, but it sound really implausible. The NiC driver doesn't know what data passes through it.











Last edited by liontooth; 12-19-2003 at 01:28 AM.
 
Old 12-29-2003, 05:31 PM   #10
CestusGW
Member
 
Registered: Apr 2002
Location: Carleton University, Ontario, Canada
Distribution: Free yourself from distributions! Source is where it's at
Posts: 40

Rep: Reputation: 15
Thumbs up

Wow, that was a very nice, informative post! You just answered all the questions I had about the built-in Gigabit LAN controller on my new motherboard. Thanks for being so clear on everything involved with this driver
I'm a little confused about the legal ground 3Com is on though - doesn't the GPL state that all derivative works _must_ be issued under the same (lisence|liscence|licensce)? Doesn't that preclude the ability to copyright the drivers?
 
Old 01-06-2004, 11:47 AM   #11
iamwm
LQ Newbie
 
Registered: Jan 2004
Location: Was Kalispell MT, now Hollywood CA
Distribution: Mandrake 9.2 (many others in the past)
Posts: 2

Rep: Reputation: 0
P4C800 Delux w/3C940 Gigabit PCI Lan by 3COM (Ethernet SK-98xx driver)

Ethernet SK-98xx driver - is what you need in Linux for Asus P4C800 Deluxe.

I installed Mandrake Linux 9.2 (free download). Couldn't get the Network figured out until I hit this post for a smilar motherboard. It's the same Ethernet controler (3C940 Gigabit PCI Lan) and as expected the same driver does work. I didn't see the exact same wording though. This is how Mandrake lists it:

sk98lin (SysKonnect SK-NET Gigabit Ethernet SK-98xx driver)

(I have it up on my linux box {2.6GHz 800fsb, 1024G RAM, 128M Quadro 500 AGP8x, dual boot to XP for Maya [hoping for linux copy soon] } while I type on my 15" flatpanel iMac)

I have not tackeled the audio yet, but I've seen lots of links for my chipset already while working on this. Serial ATA can also be used, but I won't use that unless someone sends me some drives

Wm
 
Old 02-03-2004, 12:56 PM   #12
mrqx
LQ Newbie
 
Registered: Jan 2004
Posts: 1

Rep: Reputation: 0
mandrake 9.2, Asus P4C800 Deluxe

I installed the driver sk98lin from the syskonnect original website. At first sight - everything seems to work fine, but if I connect to the server via samba and copying a file from the server to my windows client - it takes about 30 seconds for a 1 MB file! I also tried the driver delivered with mandrake 9.2 - and the one delivered with the mainboard cd - which did'nt work correct either - did anybody else had those behavior?
It worked fine with an another network card (same settings in samba)


iamwm: I got the Serial ATA plus raid work with mandrake 9.2 on that board - if you're still interested!?
 
Old 02-13-2004, 08:46 PM   #13
matthiar
LQ Newbie
 
Registered: Feb 2004
Location: Arlington, MA, USA
Distribution: Opensuse
Posts: 14

Rep: Reputation: 0
Using the sk98lin module from stock Mandrake 9.2 download edition worked for me too.
I am just beginning to test stuff, but I do not expect any problems ..

Matthias
 
Old 02-21-2004, 02:01 AM   #14
blizwar2
LQ Newbie
 
Registered: Feb 2004
Posts: 2

Rep: Reputation: 0
Umm.. stupid question here, I'm pretty new to all this.

Following the instructions I was able to un-tar the files, but now i have a folder with a buncha s????.c files , 1 makefile ( i think it was) , and a folder called h with a whole buncha .h files in there. where is this 3c2000.o file everyone is talking about? I have 2 tar's one from asus site and one from asus cd-rom

do I have to make this file and how?
 
Old 02-21-2004, 02:45 PM   #15
blizwar2
LQ Newbie
 
Registered: Feb 2004
Posts: 2

Rep: Reputation: 0
n/m i got it figured out. Appearently i never installed some kernal dev packages or something because the command it was looking for ( GCC) didn't exisit.

So I got it working, but i have the problem others are having... can't vist google.com or intel Yahoo.com loads fine this site loads fine except when going into these forums. When I search it seems to take forever.... does load though, but the status bar says it's looking for ads4.googlesyndication.com takes about 3 mins per page to load.
I haven't checked other sites.

Ok next question here. Well my card works, but when i reboot I have to run insmod 3c2000.o again before eth0 comes alive. I forgot where to put that to make it auto run. /etc/init.d something if i remember. I did Add the alias eth0 3c2000 to /etc/modules.conf is that the right place?

Second I don't know how to do the sound card. I have the intergrated ADI AD1985 soundmax Sound card. When reading the instructions ( which are pretty bad for non-linux people) it meantions modprobe snd-xxxx where xxxx is the name of the card. Well hell I don't know what it's called to the pc. I even looked through the drivers I had to find the right one and I don't even see that brand in the drivers.

My next concern is to get my promise controller working so I can mount my raid+0 ntfs drives, so I am sure i will be talking to you again about that.
 
  


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
3Com Gigabit LOM (3C940) Driver V1.00.00.0046 for Linux Breitling007 Linux - Hardware 1 08-09-2004 06:24 PM
3COM Gigabit LOM (3C940) Inoperative on Gentoo Install gt_swagger Linux - Hardware 0 04-13-2004 01:25 PM
3COM 3c940/3c2000 Driver JGull8502 Linux - Hardware 2 11-09-2003 07:46 PM
RedHat Linux 9.0 and 3Com Gigabit LOM 3C940 litan1 Linux - Hardware 7 08-14-2003 09:28 AM
3com 3c940 (3c2000) vies Linux - Hardware 1 07-04-2003 11:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:28 PM.

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