Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #81773

Bug#1063151: igb: unpredictable interface names for four port nic

Path csiph.com!fu-berlin.de!bofh.it!news.nic.it!robomod
From Václav Ovsík <vaclav.ovsik@i.cz>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1063151: igb: unpredictable interface names for four port nic
Date Tue, 06 Feb 2024 16:50:01 +0100
Message-ID <I4vRT-8jtx-5@gated-at.bofh.it> (permalink)
References <I473b-83Zx-7@gated-at.bofh.it> <I4vfb-8jfv-3@gated-at.bofh.it> <I473b-83Zx-7@gated-at.bofh.it> <I4vfb-8jfv-3@gated-at.bofh.it>
X-Original-To Valentin <valentin@ominous.space>
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Tue Feb 6 15:45:10 2024
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score 0.439
Reply-To Václav Ovsík <vaclav.ovsik@i.cz>, 1063151@bugs.debian.org
Resent-To debian-bugs-dist@lists.debian.org
Resent-Cc Debian Kernel Team <debian-kernel@lists.debian.org>
X-Debian-Pr-Message followup 1063151
X-Debian-Pr-Package src:linux
X-Debian-Pr-Source linux
MIME-Version 1.0
Content-Type multipart/mixed; boundary="YCC5O40caMR3cGK9"
Content-Disposition inline
Content-Transfer-Encoding 8bit
X-Greylist delayed 325 seconds by postgrey-1.36 at buxtehude; Tue, 06 Feb 2024 15:41:58 UTC
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1820451
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 308
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc 1063151@bugs.debian.org
X-Original-Date Tue, 6 Feb 2024 16:36:28 +0100
X-Original-Message-ID <ZcJR_HSHEFRwkWnu@bobekpc.plz.i.cz>
X-Original-References <ZcDc_GqId1sljS6r@futro2> <1870822.atdPhlSkOF@whiskey> <ZcDc_GqId1sljS6r@futro2> <1870822.atdPhlSkOF@whiskey>
Xref csiph.com linux.debian.bugs.dist:1185282 linux.debian.kernel:81773

Cross-posted to 2 groups.

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

Dear Valentin,

On Tue, Feb 06, 2024 at 03:58:45PM +0100, Valentin wrote:
> I suspect the issue might be somewhere in your udev configuration.
> 
> You can get the evaluated udev rules by running 'udevadm test <device path>'
> 
> So running 'udevadm test /sys/class/net/ens6f2' and 'udevadm test /sys/class/
> net/eth0' and comparing outputs should tell you/everyone else whats different 
> for those devices and why they use different naming schemes.

Output of both commands attached…

> The old ethX names depend on the order of initialization and is therefore 
> unstable.
> The new format (e.g. ens6f2) depends on pci device numbers and is stable.

Yes, unstable are old names, right

Some errors are reported for eth0 interface:

  eth0: Policy *slot* yields "ens6f0".
  eth0: Could not set AlternativeName= or apply AlternativeNamesPolicy=, ignoring: File exists
  eth0: /usr/lib/udev/rules.d/80-net-setup-link.rules:11 NAME 'ens6f0'
  eth0: /usr/lib/udev/rules.d/99-systemd.rules:68 RUN '/lib/systemd/systemd-sysctl --prefix=/net/ipv4/conf/$name --prefix=/net/ipv4/neigh/$name --prefix=/net/ipv6/conf/$name --prefix=/net/ipv6/neigh/$name'
  eth0: sd-device: Created db file '/run/udev/data/n69' for '/devices/pci0000:00/0000:00:1c.0/0000:01:00.0/net/eth0'
  ens6f0: Failed to rename network interface 69 from 'eth0' to 'ens6f0': File exists

The bug should be reassigned to udev.

Thank you very much for tip!
-- 
Zito

Back to linux.debian.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Bug#1063151: igb: unpredictable interface names for four port nic Valentin <valentin@ominous.space> - 2024-02-06 16:10 +0100
  Bug#1063151: igb: unpredictable interface names for four port nic Václav Ovsík <vaclav.ovsik@i.cz> - 2024-02-06 16:50 +0100

csiph-web