2004-03-01 21:22:31

by Steve Lee

[permalink] [raw]
Subject: 2.6.4-rc1 problems with e100 & 3c59x

I've searched the archives as well as googled around without any luck
regarding my situation. BTW, please CC me as I'm no longer subscribed
(furthering my education has prevented me from keeping up with the
list).

Anyways, I have the following two network cards:

02:04.0 Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone]
(rev 30)
Subsystem: 3Com Corporation 3C905B Fast Etherlink XL 10/100
Flags: bus master, medium devsel, latency 32, IRQ 16
I/O ports at a000 [size=128]
Memory at fb025000 (32-bit, non-prefetchable) [size=128]
Expansion ROM at <unassigned> [disabled] [size=128K]
Capabilities: <available only to root>
00: b7 10 55 90 07 00 10 02 30 00 00 02 08 20 00 00
10: 01 a0 00 00 00 50 02 fb 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 b7 10 55 90
30: 00 00 00 00 dc 00 00 00 00 00 00 00 07 01 0a 0a

02:07.0 Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100]
(rev 0d)
Subsystem: Intel Corp. EtherExpress PRO/100 Server Adapter
Flags: bus master, medium devsel, latency 32, IRQ 16
Memory at fb024000 (32-bit, non-prefetchable) [size=4K]
I/O ports at ac00 [size=64]
Memory at fb000000 (32-bit, non-prefetchable) [size=128K]
Expansion ROM at <unassigned> [disabled] [size=64K]
Capabilities: <available only to root>
00: 86 80 29 12 07 00 90 02 0d 00 00 02 08 20 00 00
10: 00 40 02 fb 01 ac 00 00 00 00 00 fb 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 86 80 42 10
30: 00 00 00 00 dc 00 00 00 00 00 00 00 07 01 08 38

Using 2.4.x (including the latest stable), I've had no trouble getting
these cards to work as modules. However, when I upgraded to 2.6.0 I
couldn't get them to work as modules, but finally tried compiling them
into the kernel and all was well until 2.6.4-rc1. Now, no matter what I
do, compiled in or as modules, I can not get both cards working.

The structure of the network is:

eth0 is the Intel card - internal network (alias eth0 e100)
eth1 is the 3Com card - cable modem (alias eth1 3c59x)

When attempting to compile 2.6.4-rc1 with modules, I see this in the
logs:

Feb 28 22:31:29 jupiter kernel: 3c59x: Donald Becker and others.
http://www.scyld.com/network/vortex.html
Feb 28 22:31:29 jupiter kernel: 0000:02:04.0: 3Com PCI 3c905B Cyclone
100baseTx at 0xa000. Vers LK1.1.19
Feb 28 22:31:29 jupiter kernel: e100: Intel(R) PRO/100 Network Driver,
3.0.15
Feb 28 22:31:29 jupiter kernel: e100: Copyright(c) 1999-2004 Intel
Corporation
Feb 28 22:31:29 jupiter kernel: e100: eth1: e100_probe: addr 0xfb024000,
irq 16, MAC addr 00:ED:20:7F:3A:55

As you can see, e100 is coming up as eth1, which is not correct. I
assume 3c59x has probably grabbed eth0, which also is not correct. When
configured for modules, is eth0 always the first card found? At any
rate, I tried switching the cables on the network cards to see if it
would work like that, but unfortunately it didn't.

Can anyone please give me some clue as to what might be wrong? My
network is working fine with the drivers compiled in 2.6.3 (but not as
modules). I can't get 2.6.4-rc1 to work at all with my network cards.

Please help! (Please CC me)

Thanks,
Steve



2004-03-01 21:37:14

by szonyi calin

[permalink] [raw]
Subject: Re: 2.6.4-rc1 problems with e100 & 3c59x

--- Steve Lee <[email protected]> a ?crit : > I've searched the
archives as well as googled around without
> any luck
> regarding my situation. BTW, please CC me as I'm no longer
> subscribed
> (furthering my education has prevented me from keeping up with
> the
> list).
>
> Anyways, I have the following two network cards:
>
> 02:04.0 Ethernet controller: 3Com Corporation 3c905B 100BaseTX
> [Cyclone]
> (rev 30)
> Subsystem: 3Com Corporation 3C905B Fast Etherlink XL
> 10/100
> Flags: bus master, medium devsel, latency 32, IRQ 16
> I/O ports at a000 [size=128]
> Memory at fb025000 (32-bit, non-prefetchable)
> [size=128]
> Expansion ROM at <unassigned> [disabled] [size=128K]
> Capabilities: <available only to root>
> 00: b7 10 55 90 07 00 10 02 30 00 00 02 08 20 00 00
> 10: 01 a0 00 00 00 50 02 fb 00 00 00 00 00 00 00 00
> 20: 00 00 00 00 00 00 00 00 00 00 00 00 b7 10 55 90
> 30: 00 00 00 00 dc 00 00 00 00 00 00 00 07 01 0a 0a
>
> 02:07.0 Ethernet controller: Intel Corp. 82557/8/9 [Ethernet
> Pro 100]
> (rev 0d)
> Subsystem: Intel Corp. EtherExpress PRO/100 Server
> Adapter
> Flags: bus master, medium devsel, latency 32, IRQ 16
> Memory at fb024000 (32-bit, non-prefetchable)
> [size=4K]
> I/O ports at ac00 [size=64]
> Memory at fb000000 (32-bit, non-prefetchable)
> [size=128K]
> Expansion ROM at <unassigned> [disabled] [size=64K]
> Capabilities: <available only to root>
> 00: 86 80 29 12 07 00 90 02 0d 00 00 02 08 20 00 00
> 10: 00 40 02 fb 01 ac 00 00 00 00 00 fb 00 00 00 00
> 20: 00 00 00 00 00 00 00 00 00 00 00 00 86 80 42 10
> 30: 00 00 00 00 dc 00 00 00 00 00 00 00 07 01 08 38
>
> Using 2.4.x (including the latest stable), I've had no trouble
> getting
> these cards to work as modules. However, when I upgraded to
> 2.6.0 I
> couldn't get them to work as modules, but finally tried
> compiling them
> into the kernel and all was well until 2.6.4-rc1. Now, no
> matter what I
> do, compiled in or as modules, I can not get both cards
> working.
>

did you upgraded from modutils to module-init-tools ?

>
> Please help! (Please CC me)
>
> Thanks,
> Steve
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe
> linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at
> http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/

=====
--
A mouse is a device used to point at
the xterm you want to type in.
Kim Alm on a.s.r.






Yahoo! Mail : votre e-mail personnel et gratuit qui vous suit partout !
Cr?ez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/

Dialoguez en direct avec vos amis gr?ce ? Yahoo! Messenger !T?l?chargez Yahoo! Messenger sur http://fr.messenger.yahoo.com

2004-03-02 04:30:24

by Jeff Garzik

[permalink] [raw]
Subject: Re: 2.6.4-rc1 problems with e100 & 3c59x

Steve Lee wrote:
> I've searched the archives as well as googled around without any luck
> regarding my situation. BTW, please CC me as I'm no longer subscribed
> (furthering my education has prevented me from keeping up with the
> list).
>
> Anyways, I have the following two network cards:
>
> 02:04.0 Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone]
> (rev 30)
> Subsystem: 3Com Corporation 3C905B Fast Etherlink XL 10/100
> Flags: bus master, medium devsel, latency 32, IRQ 16
> I/O ports at a000 [size=128]
> Memory at fb025000 (32-bit, non-prefetchable) [size=128]
> Expansion ROM at <unassigned> [disabled] [size=128K]
> Capabilities: <available only to root>
> 00: b7 10 55 90 07 00 10 02 30 00 00 02 08 20 00 00
> 10: 01 a0 00 00 00 50 02 fb 00 00 00 00 00 00 00 00
> 20: 00 00 00 00 00 00 00 00 00 00 00 00 b7 10 55 90
> 30: 00 00 00 00 dc 00 00 00 00 00 00 00 07 01 0a 0a
>
> 02:07.0 Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100]
> (rev 0d)
> Subsystem: Intel Corp. EtherExpress PRO/100 Server Adapter
> Flags: bus master, medium devsel, latency 32, IRQ 16
> Memory at fb024000 (32-bit, non-prefetchable) [size=4K]
> I/O ports at ac00 [size=64]
> Memory at fb000000 (32-bit, non-prefetchable) [size=128K]
> Expansion ROM at <unassigned> [disabled] [size=64K]
> Capabilities: <available only to root>
> 00: 86 80 29 12 07 00 90 02 0d 00 00 02 08 20 00 00
> 10: 00 40 02 fb 01 ac 00 00 00 00 00 fb 00 00 00 00
> 20: 00 00 00 00 00 00 00 00 00 00 00 00 86 80 42 10
> 30: 00 00 00 00 dc 00 00 00 00 00 00 00 07 01 08 38
>
> Using 2.4.x (including the latest stable), I've had no trouble getting
> these cards to work as modules. However, when I upgraded to 2.6.0 I
> couldn't get them to work as modules, but finally tried compiling them
> into the kernel and all was well until 2.6.4-rc1. Now, no matter what I
> do, compiled in or as modules, I can not get both cards working.
>
> The structure of the network is:
>
> eth0 is the Intel card - internal network (alias eth0 e100)
> eth1 is the 3Com card - cable modem (alias eth1 3c59x)
>
> When attempting to compile 2.6.4-rc1 with modules, I see this in the
> logs:
>
> Feb 28 22:31:29 jupiter kernel: 3c59x: Donald Becker and others.
> http://www.scyld.com/network/vortex.html
> Feb 28 22:31:29 jupiter kernel: 0000:02:04.0: 3Com PCI 3c905B Cyclone
> 100baseTx at 0xa000. Vers LK1.1.19
> Feb 28 22:31:29 jupiter kernel: e100: Intel(R) PRO/100 Network Driver,
> 3.0.15
> Feb 28 22:31:29 jupiter kernel: e100: Copyright(c) 1999-2004 Intel
> Corporation
> Feb 28 22:31:29 jupiter kernel: e100: eth1: e100_probe: addr 0xfb024000,
> irq 16, MAC addr 00:ED:20:7F:3A:55
>
> As you can see, e100 is coming up as eth1, which is not correct. I
> assume 3c59x has probably grabbed eth0, which also is not correct. When
> configured for modules, is eth0 always the first card found? At any
> rate, I tried switching the cables on the network cards to see if it
> would work like that, but unfortunately it didn't.


The order of ethX is dependent on the link order, when you build modules
into the kernel. So, yes, eth0 is always the first card found.

Jeff



2004-03-02 08:00:27

by Zwane Mwaikambo

[permalink] [raw]
Subject: Re: 2.6.4-rc1 problems with e100 & 3c59x

On Mon, 1 Mar 2004, Steve Lee wrote:

> I've searched the archives as well as googled around without any luck
> regarding my situation. BTW, please CC me as I'm no longer subscribed
> (furthering my education has prevented me from keeping up with the
> list).
>
> Can anyone please give me some clue as to what might be wrong? My
> network is working fine with the drivers compiled in 2.6.3 (but not as
> modules). I can't get 2.6.4-rc1 to work at all with my network cards.

One thing to make sure is that you're using /etc/modprobe.conf and don't
load the modules manually.

Zwane

2004-03-02 14:05:51

by Steve Lee

[permalink] [raw]
Subject: RE: 2.6.4-rc1 problems with e100 & 3c59x

I am using /etc/modprobe.conf and I don't load any modules manually.
This is mostly a module kernel, the only problem I'm having is with the
network. 2.6.3 does work with the drivers compiled in (but not as
modules). 2.6.4-rc1 I can not get to work at all (modules or builtin).
Thanks for your suggestion.

Steve

-----Original Message-----
From: Zwane Mwaikambo [mailto:[email protected]]
Sent: Tuesday, March 02, 2004 2:00 AM
To: Steve Lee
Cc: [email protected]
Subject: Re: 2.6.4-rc1 problems with e100 & 3c59x

On Mon, 1 Mar 2004, Steve Lee wrote:

> I've searched the archives as well as googled around without any luck
> regarding my situation. BTW, please CC me as I'm no longer subscribed
> (furthering my education has prevented me from keeping up with the
> list).
>
> Can anyone please give me some clue as to what might be wrong? My
> network is working fine with the drivers compiled in 2.6.3 (but not as
> modules). I can't get 2.6.4-rc1 to work at all with my network cards.

One thing to make sure is that you're using /etc/modprobe.conf and don't
load the modules manually.

Zwane




2004-03-02 20:04:34

by Zwane Mwaikambo

[permalink] [raw]
Subject: RE: 2.6.4-rc1 problems with e100 & 3c59x

On Tue, 2 Mar 2004, Steve Lee wrote:

> I am using /etc/modprobe.conf and I don't load any modules manually.
> This is mostly a module kernel, the only problem I'm having is with the
> network. 2.6.3 does work with the drivers compiled in (but not as
> modules). 2.6.4-rc1 I can not get to work at all (modules or builtin).
> Thanks for your suggestion.

Ahh, the reason i mentioned that was because i switched to modular network
drivers myself and was editing the wrong /etc file. I also happen to have
an e100 and 3c59x which i wanted to load in a specific order. I take it
you've already verified module-init-tools versions as requested?

Zwane