LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 11-27-2006, 01:55 AM   #1
tom_gcf
LQ Newbie
 
Registered: Nov 2006
Posts: 1

Rep: Reputation: 0
Angry three network cards, module problem


hi, couldn't find similar problem, so i;m posting..

(debian box, kernel 2.6.18)
I have three network cards:

eth0 (8139too) module loading and card is working fine
eth1 (e100) module loading and card is working fine
eth2 (e100) module is loading fine but i can't fetch the interface via ifconfig command?

here are some logs from console:

bando:~# modprobe -r e100
ACPI: PCI interrupt for device 0000:02:0b.0 disabled
ACPI: PCI interrupt for device 0000:02:09.0 disabled

bando:~# modprobe e100
e100: Intel(R) PRO/100 Network Driver, 3.5.10-k2-NAPI
e100: Copyright(c) 1999-2005 Intel Corporation
PCI: Enabling device 0000:02:09.0 (0110 -> 0113)
ACPI: PCI Interrupt 0000:02:09.0[A] -> GSI 21 (level, low) -> IRQ 217
e100: eth1: e100_probe: addr 0xf8000000, irq 217, MAC addr 00:50:8B:05:12:AD
PCI: Enabling device 0000:02:0b.0 (0110 -> 0113)
ACPI: PCI Interrupt 0000:02:0b.0[A] -> GSI 23 (level, low) -> IRQ 193
e100: eth2: e100_probe: addr 0xf8001000, irq 193, MAC addr 00:50:8B:05:13:C8

bando:~# ifconfig eth1
eth1 Link encap:Ethernet HWaddr 00:50:8B:05:12:AD
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

bando:~# ifconfig eth2
eth2: error fetching interface information: Device not found
bando:~#


I added alias lines to the modules.conf file:

alias eth1 e100
alias eth2 e100

but it didn't work either...

output form dmesg:

bando:/home/tom# dmesg |grep e100
PCI: Firmware left 0000:02:09.0 e100 interrupts enabled, disabling
PCI: Firmware left 0000:02:0a.0 e100 interrupts enabled, disabling
e100: Intel(R) PRO/100 Network Driver, 3.5.10-k2-NAPI
e100: Copyright(c) 1999-2005 Intel Corporation
e100: eth1: e100_probe: addr 0xe8300000, irq 217, MAC addr 00:90:27:BC:E7:58
e100: eth2: e100_probe: addr 0xe8301000, irq 225, MAC addr 00:02:B3:C7:5C1
e100: eth1: e100_watchdog: link up, 100Mbps, full-duplex


does anyone have an idea what i'm doing wrong ?
tom

thanks
 
Old 11-29-2006, 05:10 PM   #2
jantman
Member
 
Registered: Nov 2005
Location: New Jersey, USA
Distribution: SuSE
Posts: 492

Rep: Reputation: 31
I'm a bit rusty with that many cards, but... dmesg shows that eth2 has a MAC address, so it is being seen.

Have you remembered to ifconfig eth2 up ?

If so, and still having problems, does debian have a built-in configuration tool? While not a panacea, these can often point you in the direction of a problem. If the distro's config tool sees the status as up, then the problem is between the status being up and it actually being used. If the config tool sees the status as down, or not there, the problem is lower-level.
 
Old 11-29-2006, 07:11 PM   #3
imran-rhce
LQ Newbie
 
Registered: Nov 2006
Posts: 2

Rep: Reputation: 0
Try "netconfig -d eth2" ( configure ip) & issue "service network restart"
 
Old 12-10-2006, 03:35 AM   #4
exodist
Senior Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: Arch
Posts: 1,374

Rep: Reputation: 47
having exact same issue, no idea why, but for me it is any 3 nics, I have tried 6 different nic chips, the first 2 always work, the third fails regardles of order or anything else. tried 2.6.17, 18, an d19, both minimal and everything I need, modules and builtin... every once in a while it will boot and all 3 work, but usually the third always fails
 
Old 12-10-2006, 12:59 PM   #5
exodist
Senior Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: Arch
Posts: 1,374

Rep: Reputation: 47
I do not have the ability to copy and paste or in any way transfer the contents of ifconfig -a to this system for posting, but I ran it and had interesting results!

eth0 and eth2 are both listed, eth2 is not there, but it suddenly jumps and there is an eth4!

'dmesg | grep eth' shows only messages for eth0-2.


I tried giving an IP to eth4 and it did have conectivity......
 
Old 12-10-2006, 01:13 PM   #6
Que_273
Member
 
Registered: Nov 2005
Location: South coast
Distribution: Debian /AMD64
Posts: 48

Rep: Reputation: 15
I was once confused by something I saw when using a number of network cards.

The reason was that udev had renamed the devices and added it as a persistant rule. While this has the advantage of making sure they get renamed the same way on each reboot, they have to be right!

Check the file /etc/udev/rules.d/z25_persistant-net.rules

I don't know if this will help sort out anything but may eliminate confusion.
 
Old 12-10-2006, 01:33 PM   #7
exodist
Senior Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: Arch
Posts: 1,374

Rep: Reputation: 47
wow, opened the udrev rule, indeed if's 2 and 3 are listed w/ firewire and one of my temp cards a while back.. thanx!
 
  


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
Two same network cards problem pitonije Linux - Newbie 5 11-03-2006 03:59 PM
Network Problem with 2 network cards on the same subnet on Redhat seb.its Linux - Networking 6 12-24-2005 03:16 AM
Problem with two network cards dman65 Linux - Networking 1 09-09-2005 12:43 PM
2 network cards, 2 network connections - routing problem tvojvodi Linux - Networking 4 02-24-2004 03:26 PM
2 network cards problem Mikessu Linux - Networking 2 09-01-2003 12:37 PM

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

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