Skip to contentSkip to conversation

Ethernet devide enumeration problems

DISCUSSION Mauricio Silveira 5 participants 8 messages Jun 26, 2007 – Aug 7, 2007

lore
Share & tools
lore
#0 lore raw

Hi all,

I'm here asking for solutions for the Damned "Ethernet device enumeration" problem!

I have a P5b Mobo for my office server, it has 2 integrated NICs, but the order for eth0/eth1 changes at each boot! It's getting me mad!

I'm using slackware 11.0, kernel 2.6.21.3.

I know Suse and RHEL has a solution, but it integrates too many things to get it working under slackware.

Any "easy"(not with so many dependencies) way?

Thanks,

Mauricio

begin:vcard
fn:Mauricio Silveira
n:Silveira;Mauricio
org;quoted-printable:FSN do Brasil - Consultoria em Inform=C3=A1tica;Software Development / Networking adr:;;;;;;Brazil
email;internet:[email protected]
title:Linux Consultant / Developer
tel;cell:11-9949-1040
url:http://www.fsndobrasil.com
version:2.1
end:vcard

#1 lore raw
Quoted 9 lines · Mauricio Silveira

Hi all,

I'm here asking for solutions for the Damned "Ethernet device enumeration" problem!

I have a P5b Mobo for my office server, it has 2 integrated NICs, but the order for eth0/eth1 changes at each boot! It's getting me mad!

Quoted 6 lines

I'm using slackware 11.0, kernel 2.6.21.3.

I know Suse and RHEL has a solution, but it integrates too many things to get it working under slackware.

Any "easy"(not with so many dependencies) way?

Use udev with rules for keeping the ethernet interfaces consistant.

Signature · 31 lines
Nikolai Lusan
Systems Administrator

Hitwise Pty. Ltd.
Level 7 / 580 St Kilda Road
Melbourne, Victoria 3004
Australia
Phone: +61 3 8530 2400
Fax:  +61 3 9529 8907
www.hitwise.com.au
[email protected]


Worldwide:  •  United States  •  United Kingdom  •  Australia  •  New
Zealand  •  Singapore  •  Hong Kong 

To subscribe to our complimentary monthly newsletter, visit:
http://www.hitwise.com.au/

The information transmitted may be confidential, is intended only for
the person to which it is addressed, and may not be reviewed,
retransmitted, disseminated or relied upon by any other persons. If you
received this message in error, please contact the sender and destroy
any paper or electronic copies of this message. Any views expressed in
this email communication are those of the individual sender, except
where the sender specifically states otherwise. Hitwise does not
represent, warrant or guarantee that the communication is free of
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#2 lore raw
Quoted 9 lines · Nikolai Lusan
Quoted 7 lines · Mauricio Silveira

Hi all,

I'm here asking for solutions for the Damned "Ethernet device enumeration" problem!

I have a P5b Mobo for my office server, it has 2 integrated NICs, but the order for eth0/eth1 changes at each boot! It's getting me mad!

Quoted 11 lines
Quoted 6 lines

I'm using slackware 11.0, kernel 2.6.21.3.

I know Suse and RHEL has a solution, but it integrates too many things to get it working under slackware.

Any "easy"(not with so many dependencies) way?

Use udev with rules for keeping the ethernet interfaces consistant.

Thanks Nikolai,

In advance, have you got any url that might be of some help?

I'm searching for this right now.

Mauricio

begin:vcard
fn:Mauricio Silveira
n:Silveira;Mauricio
org;quoted-printable:FSN do Brasil - Consultoria em Inform=C3=A1tica;Software Development / Networking adr:;;;;;;Brazil
email;internet:[email protected]
title:Linux Consultant / Developer
tel;cell:11-9949-1040
url:http://www.fsndobrasil.com
version:2.1
end:vcard

#3 lore raw
In reply to Mauricio Silveira

... ciao:

as a preface:

i've read suggestions about using udev and associated magic
toward a solution. i am not convinced that the way to go.

: on "6-26-2007" "Mauricio Silveira" writ:
: P5b Mobo for my office server, it has 2 integrated NICs : the order for eth0/eth1 changes at each boot!

as the nics integrated into the motherboard, reference to them must
exist withing the bios. by implication, this well prior to a kernel loading, and executing modules for udev (hotswap) hardware.

the approach i would attempt, is to assign a static irq and addr to
each device, within the bios, and pass that information to the kernel via tbe bootloader. just a thought ...

Signature · 2 lines
... i'm a man, but i can change,
    if i have to , i guess ...
#4 lore raw

Hi Folks,
look in
http://www.science.uva.nl/research/air/wiki/LogicalInterfaceNames

maybe it will be helpful. :)

[]'s
---
Aslan Carlos de M. Ramos
Network Administrator
K8 Networks, Digirati Networks, HostNet
Tel: +55(21)2233-5950 Ramal:29
Skype: aslancarlos

Quoted 21 lines · terry white

... ciao:

as a preface:

i've read suggestions about using udev and associated magic
toward a solution. i am not convinced that the way to go.

: on "6-26-2007" "Mauricio Silveira" writ:
: P5b Mobo for my office server, it has 2 integrated NICs : the order for eth0/eth1 changes at each boot!

as the nics integrated into the motherboard, reference to them must
exist withing the bios. by implication, this well prior to a kernel loading, and executing modules for udev (hotswap) hardware.

the approach i would attempt, is to assign a static irq and addr to
each device, within the bios, and pass that information to the kernel via tbe bootloader. just a thought ...

#5 lore raw

Hi,

Quoted 5 lines · Aslan Carlos

Hi Folks,
look in
http://www.science.uva.nl/research/air/wiki/LogicalInterfaceNames

maybe it will be helpful. :)

Hadn't heard of ifrename before. That's really useful to know about (although bizarrely it is part of the wireless-tools package under fedora/red hat/centos).

Cheers

Adam

Quoted 33 lines

[]'s
---
Aslan Carlos de M. Ramos
Network Administrator
K8 Networks, Digirati Networks, HostNet
Tel: +55(21)2233-5950 Ramal:29
Skype: aslancarlos

Quoted 21 lines · terry white

... ciao:

as a preface:

i've read suggestions about using udev and associated magic
toward a solution. i am not convinced that the way to go.

: on "6-26-2007" "Mauricio Silveira" writ:
: P5b Mobo for my office server, it has 2 integrated NICs : the order for eth0/eth1 changes at each boot!

as the nics integrated into the motherboard, reference to them must
exist withing the bios. by implication, this well prior to a kernel loading, and executing modules for udev (hotswap) hardware.

the approach i would attempt, is to assign a static irq and addr to
each device, within the bios, and pass that information to the kernel via tbe bootloader. just a thought ...

Signature · 17 lines
This e-mail (and any attachments) is private and confidential. If you have 
received it in error, please notify the sender immediately and delete it 
from your system. Do not use, copy or disclose the information in any way 
nor act in reliance on it.

Any views expressed in this message are those of the individual sender,
except where the sender specifically states them to be the views of Connect
Internet Solutions Ltd. This e-mail and any attachments are believed to be
virus free but it is the recipient's responsibility to ensure that they are.

Connect Internet Solutions Ltd
(A company registered in England No: 04424350)
Registered Office: Faraday House, Liverpool Digital, Edge Lane,
Liverpool, L7 9NJ
Telephone: +44 (0) 151 282 4321
Fax: +44 (0) 151 282 4322
VAT registration number: 758 2838 85
#6 lore raw
In reply to Mauricio Silveira

Hi,

I'm just updating this thread to post useful information.

I was unable to use ifrename to do the trick ...

I have upgraded the server to slackware 12, since the disk mirroring was incomplete when slackware 12 was released, so I decided to rebuild the raid array and install slackware 12 on it :)

Tuning the file "/etc/udev/rules.d/75-network-devices.rules" as needed seems to solve the problem. I encourage everyone who uses slackware as you system to upgrade to v12 :)

Although I think samba 3.0.25b needs some "monitoring", got some strange behavior from this version, downgrading brought everything back in place.

Thanks for all your help,

Mauricio

Quoted 9 lines · Mauricio Silveira

Hi all,

I'm here asking for solutions for the Damned "Ethernet device enumeration" problem!

I have a P5b Mobo for my office server, it has 2 integrated NICs, but the order for eth0/eth1 changes at each boot! It's getting me mad!

I'm using slackware 11.0, kernel 2.6.21.3.

Quoted 8 lines

I know Suse and RHEL has a solution, but it integrates too many things to get it working under slackware.

Any "easy"(not with so many dependencies) way?

Thanks,

Mauricio

begin:vcard
fn:Mauricio Silveira
n:Silveira;Mauricio
org;quoted-printable:FSN do Brasil - Consultoria em Inform=C3=A1tica;Software Development / Networking adr:;;;;;;Brazil
email;internet:[email protected]
title:Linux Consultant / Developer
tel;cell:11-9949-1040
url:http://www.fsndobrasil.com
version:2.1
end:vcard

#7 lore raw

Hi,

I've this problems too, but I was using initrd to load many modules to work with AoE, I can't change the interface using udev :(, I use the solution was rename the interfaces using ip command intro the initrd after up the interfaces.

Thanks in advance,
--
Aslan Carlos de M. Ramos
Network Administrator
Mobile : +55(21)9989-4932
Skype : aslancarlos

Quoted 43 lines · Mauricio Silveira

Hi,

I'm just updating this thread to post useful information.

I was unable to use ifrename to do the trick ...

I have upgraded the server to slackware 12, since the disk mirroring was incomplete when slackware 12 was released, so I decided to rebuild the raid array and install slackware 12 on it :)

Tuning the file "/etc/udev/rules.d/75-network-devices.rules" as needed seems to solve the problem.
I encourage everyone who uses slackware as you system to upgrade to v12 :)

Although I think samba 3.0.25b needs some "monitoring", got some strange behavior from this version, downgrading brought everything back in place.

Thanks for all your help,

Mauricio

Quoted 20 lines · Mauricio Silveira

Hi all,

I'm here asking for solutions for the Damned "Ethernet device enumeration" problem!

I have a P5b Mobo for my office server, it has 2 integrated NICs, but the order for eth0/eth1 changes at each boot! It's getting me mad!

I'm using slackware 11.0, kernel 2.6.21.3.

I know Suse and RHEL has a solution, but it integrates too many things to get it working under slackware.

Any "easy"(not with so many dependencies) way?

Thanks,

Mauricio