LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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-22-2003, 01:41 PM   #1
litan1
LQ Newbie
 
Registered: Jul 2003
Location: Finland
Posts: 4

Rep: Reputation: 0
Unhappy RedHat Linux 9.0 and 3Com Gigabit LOM 3C940


Hello,

I have encountered a strange problem while installing RedHat Linux 9.0 to my home PC.

The kernel version is 2.4-20.

My motherboard is ASUS P4P800 Deluxe. It has a built-in 3Com Gigabit LOM 3C940 Ethernet card. But during Linux installation, this device cannot be recognized. I tried to use redhat-config-network and configure it manually but without any success. First of all, this device does not appear in the list when I tried to add the new hardware in Linux Network Configuration. When I chose other 3Com products and press "OK", several error messages just displayed. The first error message is something like "device not present". There are also several other messages concerning some kernel modules.

What could be the problem and what is the possible resolution?

Thanks!

Best Regards,
Li Tan
 
Old 07-22-2003, 07:21 PM   #2
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
The driver for the card isn't in the kernel yet, you can download that one directly from Asus's site. You'll have to have your kernel source installed as well. I think Asus may have a precompiled driver, not sure... but if they do, they have one for an RH stock kernel.

Cheers,

Finegan
 
Old 07-23-2003, 06:55 AM   #3
pspurr
LQ Newbie
 
Registered: Jul 2003
Location: Seoul, Korea
Distribution: Fedora Core 3+
Posts: 16

Rep: Reputation: 0
3c2000 on RH9 with ASUS P4P800

RH 9 is okay with this driver/MOBO combo. A couple of suggestions:

Put another network card in one of the PCI slots, get the machine working with that network card (hopefully). Use a well known card like 3Com or Intel, one which you would have a reasonable amount of certainty that the card will load.
 
Old 07-23-2003, 07:10 AM   #4
pspurr
LQ Newbie
 
Registered: Jul 2003
Location: Seoul, Korea
Distribution: Fedora Core 3+
Posts: 16

Rep: Reputation: 0
Lightbulb 3c2000 on RH9 with ASUS P4P800

RH 9 is okay with this driver/MOBO combo. A couple of suggestions:

Put another network card in one of the PCI slots, get the machine working with that network card (hopefully). Use a well known card like 3Com or Intel, one which you would have a reasonable amount of certainty that the card will load.

Use the RHN updater and upgrade the Kernel to 2.4.20-19.9SMP if you have not done so already. The SMP kernel is the one that will be required to support HT.

Now download the card driver from the ASUS site. There are some readme instructions with the drivers, but they leave something to be desired.

After extracting the files, go to the 3c2000 directory that was created, and execute the following in order.

Make clean
Make remove

This is just a check in case you compiled against an earlier kernet.

now

make install

This will put the driver in the wrong location, if you have the same results that I did.

The driver will be in the directory /lib/modules/2.4.20-19.9/net or something very close to that. Copy that driver to

/lib/modules/2.4.20-19.9smp/kernel/drivers/net

run insmod or run

make install from the 3c2000 directory.

run depmod -a

alter the /etc/modules.conf file to include the line

alias eth0 3c2000

after this you may need to run

ifconfig eth? up (? is the interface number, 0 or maybe 1 if the other card is still in the computer)

that should get you online with this card. Post to this thread if you have any problems.

Good luck, I am having fun with the card and Linux ;-)

Patrick
 
Old 07-24-2003, 12:47 AM   #5
litan1
LQ Newbie
 
Registered: Jul 2003
Location: Finland
Posts: 4

Original Poster
Rep: Reputation: 0
Hello,

Thanks a lot for your reply! Now I have got it working properly.:-)

Best Regards,
Li Tan
 
Old 08-14-2003, 02:30 AM   #6
seppl
LQ Newbie
 
Registered: Aug 2003
Posts: 2

Rep: Reputation: 0
Question Could not compile 3C940 driver on Redhat linux-2.4.20-19.9

Hi folks,

I had and still have the same problem - I did not get the 3Com Gigabit LOM 3C940 up and running.

I already did try several things but right now I am stuck for the moment.

Current status is:
I am running Redhat Linux-2.4.20-19.9 (no SMB)
I downloaded the driver from the asus webside

and followed the steps described in the readme and later on the steps described here...

However, I do get the following compile error:
....
/usr/src/linux-2.4/include/linux/module.h:187: parse error before numeric constant
/usr/src/linux-2.4/include/linux/module.h:187: `inter_module_put_R_ver_str' declared as function returning a function
/usr/src/linux-2.4/include/linux/module.h:187: warning: function declaration isn't a prototype
/usr/src/linux-2.4/include/linux/module.h:196: `try_inc_mod_count_R_ver_str' declared as function returning a function
/usr/src/linux-2.4/include/linux/module.h:196: warning: parameter names (without types) in function declaration
make: *** [skge.o] Error 1

linux-2.4 is a symbolic link to linux 2.4.20-19.9

I already could compile the driver with a different version of the kernel - but could not load it as it did recognize the mismatch.
Any suggestions - I would appreciate your help.

Assuming I do have to migrate to the ...smb kernel - how do I do this? The RHN updater does not list this option?

Thanks looking forward to get some help
cheers
- JMS
 
Old 08-14-2003, 09:19 AM   #7
pspurr
LQ Newbie
 
Registered: Jul 2003
Location: Seoul, Korea
Distribution: Fedora Core 3+
Posts: 16

Rep: Reputation: 0
It looks like there are problems in the header files. Have you modified them in any manner?

If not, you may want to try downloading the files again.
 
Old 08-14-2003, 09:28 AM   #8
seppl
LQ Newbie
 
Registered: Aug 2003
Posts: 2

Rep: Reputation: 0
Exclamation

as far as I know I did not change any header files. I am able of compiling linux and installing this kernel manually...

I'll try downloading the sources again and we'll see.

However, what is this all about the SMB kernel?

---------copy----------
Use the RHN updater and upgrade the Kernel to 2.4.20-19.9SMP if you have not done so already. The SMP kernel is the one that will be required to support HT.
---------END------------

I configured to use SAMBA and NFS - apache and cvs are also up and working.
 
  


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 LOM 3C940 (3c2000) on P4P800 candyman123 Linux - Hardware 21 06-20-2004 11:24 AM
3COM Gigabit LOM (3C940) Inoperative on Gentoo Install gt_swagger Linux - Hardware 0 04-13-2004 01:25 PM
Mandrake 10.0 eth0 failure (3COM gigabit - 3C940) barrel Linux - Newbie 0 04-04-2004 05:06 AM
Mandrake 10.0 eth0 failure (3COM gigabit - 3C940) barrel Linux - Networking 0 04-03-2004 03:38 AM

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

All times are GMT -5. The time now is 01:00 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