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 11-03-2004, 10:58 PM   #1
c31c
Member
 
Registered: Mar 2004
Location: Planet Earth
Distribution: Arch Linux
Posts: 106

Rep: Reputation: Disabled
3com 3c940 error


hi
I've gone through some problems setting up Slackware10 with kernel 2.6.9
Now I finally got my adsl working, with eth1.
But now my 3com 3c940 gigabit card won't work properly.
dmesg returns

eth0: -- ERROR --
Class: Hardware failure
Nr: 0x264
Msg: unexpected IRQ Status error
eth0: Adapter failed.

and as soon as I connect through adsl-start I get that message all over the terminals.
I have a Asus P4P800 mainboard with an onBoard 3com network card

lspci returns that:

Code:
00:00.0 Host bridge: Intel Corp. 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02)
00:01.0 PCI bridge: Intel Corp. 82865G/PE/P PCI to AGP Controller (rev 02)
00:1d.0 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #1 (rev 02)
00:1d.1 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #2 (rev 02)
00:1d.2 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #3 (rev 02)
00:1d.3 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #4 (rev 02)
00:1d.7 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB/EB/ER Hub interface to PCI Bridge (rev c2)
00:1f.0 ISA bridge: Intel Corp. 82801EB/ER (ICH5/ICH5R) LPC Bridge (rev 02)
00:1f.1 IDE interface: Intel Corp. 82801EB/ER (ICH5/ICH5R) Ultra ATA 100 Storage Controller (rev 02)
00:1f.3 SMBus: Intel Corp. 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02)
00:1f.5 Multimedia audio controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
01:00.0 VGA compatible controller: nVidia Corporation NV34 [GeForce FX 5200] (rev a1)
02:05.0 Ethernet controller: 3Com Corporation 3c940 1000Base? (rev 12)
02:09.0 Ethernet controller: Davicom Semiconductor, Inc. Ethernet 100/10 MBit (rev 31)
I've configured the kernel with sk98lin build-in.
Help would be greatly appreciated
 
Old 11-20-2004, 12:38 PM   #2
omes
Member
 
Registered: Jan 2003
Distribution: debian, FreeBSD
Posts: 120

Rep: Reputation: 15
Try putting
Code:
alias eth1 sk98lin
in your /etc/modules.conf.

Worked for me. what happends if you do
Code:
modprobe sk98lin
?

Last edited by omes; 11-20-2004 at 12:42 PM.
 
Old 11-21-2004, 07:23 PM   #3
c31c
Member
 
Registered: Mar 2004
Location: Planet Earth
Distribution: Arch Linux
Posts: 106

Original Poster
Rep: Reputation: Disabled
thanks for your reply.
I don't have that as a module but buildin, so modprobe won't work
but maybe I'll try to recompile the kernel and have it as a module
 
Old 12-09-2004, 08:19 AM   #4
Noostroi
LQ Newbie
 
Registered: Dec 2004
Distribution: Debian
Posts: 3

Rep: Reputation: 0
I have the same problem, although my card is a pci SMC EZ Card 1000, and I am running Debian.

It uses the same drivers, sk98lin.

I tried adding the "alias eth1 sk98lin" but that didn't fix it

The error only occurs when I bring up the network card (ifconfig eth1 192.168.x.x) , not when I "modprobe" the module, and it stops when I bring down eth1 (which is the correct card by the way).

I have a feeling that it's something to do with the motherboard, as I bought 2 cards and installed the other one in my other computer, and that worked "out of the box". I also put both cards in the machine which they worked on, and they both worked fine (could ping the internet from each card, when the only connection was thorugh that card).

The problematic motherboard is an AOpen AX59Pro, with a VIA chipset, whereas the motherboard that worked is an Abit KD7-Raid.

Any suggestions/tips would be most appreciated...

(I'm thinking about upgrading the "bad" motherboard soon anyway, so I can put a faster processor in that box)

Thanks for any help given
 
Old 12-11-2004, 12:25 PM   #5
c31c
Member
 
Registered: Mar 2004
Location: Planet Earth
Distribution: Arch Linux
Posts: 106

Original Poster
Rep: Reputation: Disabled
@Omes: Thank you. worked
@Noostroi:
I'm sorry, I can't really help you.....
I reinstalled slack just yesterday, and then compiled kernel 2.6.9 with sk98lin as a module
I have another card using the dmfe module. After that I did some configuring in /etc/rc.d/....
and some in /etc/modules.conf.....and now it works
I don't know in what way Debian is different in that from slack.
 
  


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
Help with 3com 3C940 and kernel 2.6.4 rivfader Slackware 2 03-20-2004 03:14 AM
SuSe install with 3com 3c940 herc Linux - General 3 02-15-2004 11:51 PM
3com 3c940 Nic andrewl41 Linux - Newbie 9 11-10-2003 04:33 AM
3COM 3c940/3c2000 Driver JGull8502 Linux - Hardware 2 11-09-2003 07:46 PM
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:54 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