Roger Oberholtzer wrote:
On Friday, October 04, 2013 02:06:22 PM Per Jessen wrote:
Roger Oberholtzer wrote:
On Thursday, October 03, 2013 06:26:21 PM Per Jessen wrote:
Roger Oberholtzer wrote:
I have a rather new SuperMicro MB that has two on-board NIC, as well as a card with 4 Intel NIC ports. The problem is that it seems that the BIOS does not report these in the same order (I am guessing) so that the same NIC gets the same ethX across reboots. 90% of the time they are the same. But the rest of the times they are different.
I thought I could add something like this as a udev rule: In 12.3, 70-persistent-net.rules should be automatically set up for you.
It is. But the problem is that the file is set up however the BIOS reported the devices when the system was installed (it seems). If that changes in a later boot, it seems that the rules no longer work.
Hmm, I can't quite follow you - _what_ exactly changes in a later boot? The MAC addresses?
No. It is the same MAC address for each NIC. But the order the kernel discovers the NICS seems to change in some boots.
Yes, that is possible, for instance if the modules are loaded in a different order. (presuming the on-board and your card use different drivers).
I have rules for all existing NICs. I think part of the problem may be that one card has 4 NIC. When that card is found, I bet all 4 NIC get a kernel name.
Yes, ethX, X incremented once per interface port. I have a couple of boxes with 4-port NICs too, I have no such problems. Okay, none of them is running 12.3, they're older systems.
Then the udev add rules get called for each, one at a time. If the first udev rule wants to name a NIC to one of the 3 addresses for the other NIC on the card, it may fail. Just a guess.
You should be able to see what happens in the dmesg output.
There is no message in /var/log/messages. It just does not work. So I have names like ethA, ethB, etc. But I do not want that!
You could try opening a bugreport, but as NIC enumeration is about to change significantly, you might not get much traction. -- Per Jessen, Zürich (18.0°C) http://www.hostsuisse.com/ - dedicated server rental in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org