In <vYdEc.1434$(E-Mail Removed)> "Dan McDaid" <(E-Mail Removed)> writes:
>This morning I compiled kernel 2.6.7 and installed it. As has happened
>several times before, upon booting, my ethernet interfaces have been rebound
>to different aliases. i.e. eth2 became eth0 and eth0 became eth2.
>
Wow, I was just going to report the same problem.
I have a single board computer in an embedded system, with three NICs.
One is a pcnet32 (comes up as eth0) and there's a daughter card with
two eepro100 NICs (come up as eth1 and eth2).
Previous versions of Redhat back to RH7.1 always had the same mapping
of eth1 and eth2. I go and update to Fedora Core2 with the 2.6.5
kernel and it swaps eth1 and eth2 on me.
The behavior is repeatable, I put the same custom mini-FC2 distro on a
different unit with identical hardware configuration and 'that' one had
eth1/eth2 flipped as well when running FC2.
Note that this unit is hard-wired and can't be simply rewired (ie, swap
the eth1/eth2 rj45 wires), there are a couple dozen of these things out
in the field worldwide, I can't have the situation where a kernel
and/or o/s update. Any ideas ?
Basically the nic with mac ending in '06' (irq-7) comes up as eth1
under FC2 with 2.6.5, yet it comes up as eth2 on all previous RH versions.
Any ideas what's going on or how to fix it ? One thing I noticed on
multiple units was that one nic is always on IRQ-14, yet on a couple
other units the second IRQ might differ (IRQ-7 or IRQ-9).
Here's the output from dmesg on FC2:
eth1: Intel Corp. 82559ER (#2), 00:20:CE:A0:22:06, IRQ 7.
Receiver lock-up bug exists -- enabling work-around.
Board assembly 689661-004, Physical connectors present: RJ45
Primary interface chip i82555 PHY #1.
General self-test: passed.
Serial sub-system self-test: passed.
Internal registers self-test: passed.
ROM checksum self-test: passed (0xdbd8681d).
Receiver lock-up workaround activated.
divert: allocating divert_blk for eth2
eth2: Intel Corp. 82559ER, 00:20:CE:A0:22:05, IRQ 14.
Receiver lock-up bug exists -- enabling work-around.
Board assembly 689661-004, Physical connectors present: RJ45
Primary interface chip i82555 PHY #1.
General self-test: passed.
Serial sub-system self-test: passed.
Internal registers self-test: passed.
ROM checksum self-test: passed (0xdbd8681d).
Receiver lock-up workaround activated.
And from lspci -vv also on FC2...
02:00.0 Ethernet controller: Intel Corp. 82559ER (rev 09)
Subsystem: Intel Corp.: Unknown device 0009
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 64 (2000ns min, 14000ns max), cache line size 08
Interrupt: pin A routed to IRQ 14
Region 0: Memory at fc8fe000 (32-bit, non-prefetchable) [size=4K]
Region 1: I/O ports at de80 [size=64]
Region 2: Memory at fc8a0000 (32-bit, non-prefetchable) [size=128K]
Expansion ROM at fc600000 [disabled] [size=1M]
Capabilities: [dc] Power Management version 2
Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=2 PME-
02:01.0 Ethernet controller: Intel Corp. 82559ER (rev 09)
Subsystem: Intel Corp.: Unknown device 0009
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 64 (2000ns min, 14000ns max), cache line size 08
Interrupt: pin A routed to IRQ 7
Region 0: Memory at fc8ff000 (32-bit, non-prefetchable) [size=4K]
Region 1: I/O ports at df00 [size=64]
Region 2: Memory at fc8c0000 (32-bit, non-prefetchable) [size=128K]
Expansion ROM at fc700000 [disabled] [size=1M]
Capabilities: [dc] Power Management version 2
Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=2 PME-
Any help would be appreciated....
--
----------- Vince Skahan --------------
(E-Mail Removed) -----------
The DoJ has determined that Linux has established and exploited a monopoly
in the nonproprietary UNIX market by means of predatory zero pricing and
blatantly superior implementation -- Stan Kelly-Bootle