Bug#1063151: igb: unpredictable interface names for four port nic
Michael Biebl
biebl at debian.org
Tue Feb 6 16:40:48 GMT 2024
On Tue, 06 Feb 2024 17:27:24 +0100 Valentin <valentin at ominous.space> wrote:
> > 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
>
> It looks like your BIOS is reporting the same PCIe Slot for both your igb and
> Broadcom network cards.
> I assume one of your Broadcom network interfaces is already named ens6f0.
>
> In fact., this might be a BIOS issue...
> whats the output of `sudo dmidecode -t9`?
>
> Best solution for you is probably to set all or some network interface names
> manually, see https://wiki.debian.org/
> NetworkInterfaceNames#CUSTOM_SCHEMES_USING_.LINK_FILES
Yes, I think Valentin is correct in his analysis.
This looks like a BIOS issue which you might want to report to your vendor.
I would follow Valentin's advice and use cutom link files that e.g.
determine the names based on the MAC address.
Afaics, there is nothing actionable on the udev side here, which is why
I'm inclined to close the bug report.
Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20240206/e4ec4efa/attachment-0001.sig>
More information about the Pkg-systemd-maintainers
mailing list