PCI RoCE Interface could not be renamed from default name with link file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu on IBM z Systems |
Fix Released
|
Undecided
|
Canonical Server | ||
linux (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned | ||
Yakkety |
Fix Released
|
Undecided
|
Unassigned | ||
systemd (Ubuntu) |
Invalid
|
Undecided
|
Skipper Bug Screeners | ||
Xenial |
Invalid
|
Undecided
|
Unassigned | ||
Yakkety |
Invalid
|
Undecided
|
Skipper Bug Screeners |
Bug Description
== Comment: #0 - Helmut Grauer <email address hidden> - 2016-07-13 09:05:27 ==
Try to rename PCI Roce Interface with .link file
root@s35lp02:
[Match]
Path=pci-
MACAddress=
[Link]
Name=hug0
root@s35lp02:
do a reboot and journalctl show old interface name for RoCE PCI Interface
Jul 13 14:39:40 s35lp02 kernel: mlx4_en 0001:00:00.0: Activating port:1
Jul 13 14:39:40 s35lp02 kernel: mlx4_en: 0001:00:00.0: Port 1: Using 32 TX rings
Jul 13 14:39:40 s35lp02 kernel: mlx4_en: 0001:00:00.0: Port 1: Using 4 RX rings
Jul 13 14:39:40 s35lp02 kernel: mlx4_en: 0001:00:00.0: Port 1: frag:0 - size:1522 prefix:0 stride:1536
Jul 13 14:39:40 s35lp02 kernel: mlx4_en: 0001:00:00.0: Port 1: Initializing port
Jul 13 14:39:40 s35lp02 kernel: mlx4_en 0001:00:00.0: Activating port:2
Jul 13 14:39:40 s35lp02 kernel: mlx4_en: 0001:00:00.0: Port 2: Using 32 TX rings
Jul 13 14:39:40 s35lp02 kernel: mlx4_en: 0001:00:00.0: Port 2: Using 4 RX rings
Jul 13 14:39:40 s35lp02 kernel: mlx4_en: 0001:00:00.0: Port 2: frag:0 - size:1522 prefix:0 stride:1536
Jul 13 14:39:40 s35lp02 kernel: mlx4_en: 0001:00:00.0: Port 2: Initializing port
Jul 13 14:39:40 s35lp02 kernel: mlx4_core 0000:00:00.0 enp0s0: renamed from eth0
Jul 13 14:39:40 s35lp02 kernel: mlx4_core 0000:00:00.0 enp0s0d1: renamed from eth1
Jul 13 14:39:40 s35lp02 kernel: mlx4_core 0001:00:00.0 enP1p0s0d1: renamed from eth3
Jul 13 14:39:40 s35lp02 kernel: mlx4_core 0001:00:00.0 enP1p0s0: renamed from eth2
Jul 13 14:39:40 s35lp02 kernel: EXT4-fs (dasda1): mounting ext3 file system using the ext4 subsystem
Jul 13 14:39:40 s35lp02 kernel: EXT4-fs (dasda1): mounted filesystem with ordered data mode. Opts: (null)
udevadm test show the following output
oot@s35lp02:
calling: test
version 229
This program is for debugging only, it does not run any program
specified by a RUN key. It may show incorrect results, because
some values may be different, or not available at a simulation run.
=== trie on-disk ===
tool version: 229
file size: 6841701 bytes
header size 80 bytes
strings 1755245 bytes
nodes 5086376 bytes
Load module index
timestamp of '/etc/systemd/
Skipping overridden file: /usr/lib/
Skipping overridden file: /usr/lib/
Skipping overridden file: /lib/systemd/
Skipping overridden file: /lib/systemd/
Parsed configuration file /etc/systemd/
Parsed configuration file /lib/systemd/
Parsed configuration file /etc/systemd/
Parsed configuration file /etc/systemd/
Created link configuration context.
timestamp of '/etc/udev/rules.d' changed
Reading rules file: /lib/udev/
Reading rules file: /lib/udev/
Reading rules file: /etc/udev/
Reading rules file: /etc/udev/
Reading rules file: /etc/udev/
Reading rules file: /etc/udev/
Reading rules file: /etc/udev/
Reading rules file: /etc/udev/
Reading rules file: /lib/udev/
Reading rules file: /lib/udev/
Reading rules file: /lib/udev/
Reading rules file: /lib/udev/
Reading rules file: /lib/udev/
Reading rules file: /lib/udev/
Reading rules file: /lib/udev/
Reading rules file: /lib/udev/
Reading rules file: /lib/udev/
Reading rules file: /lib/udev/
Reading rules file: /lib/udev/
Reading rules file: /lib/udev/
Reading rules file: /lib/udev/
Reading rules file: /lib/udev/
Reading rules file: /lib/udev/
Reading rules file: /lib/udev/
Reading rules file: /lib/udev/
Reading rules file: /lib/udev/
Reading rules file: /lib/udev/
Reading rules file: /lib/udev/
Reading rules file: /lib/udev/
Reading rules file: /lib/udev/
Reading rules file: /lib/udev/
Reading rules file: /lib/udev/
Reading rules file: /lib/udev/
Reading rules file: /lib/udev/
Reading rules file: /lib/udev/
Reading rules file: /lib/udev/
Reading rules file: /lib/udev/
Reading rules file: /lib/udev/
Reading rules file: /lib/udev/
Reading rules file: /lib/udev/
Reading rules file: /lib/udev/
Reading rules file: /lib/udev/
Reading rules file: /lib/udev/
Reading rules file: /lib/udev/
Reading rules file: /lib/udev/
Reading rules file: /lib/udev/
Reading rules file: /lib/udev/
Reading rules file: /lib/udev/
Reading rules file: /lib/udev/
Reading rules file: /lib/udev/
Reading rules file: /lib/udev/
Reading rules file: /lib/udev/
Reading rules file: /lib/udev/
Reading rules file: /lib/udev/
rules contain 49152 bytes tokens (4096 * 12 bytes), 15909 bytes strings
2392 strings (30411 bytes), 1605 de-duplicated (15290 bytes), 788 trie nodes used
RUN 'vlan-network-
IMPORT builtin 'net_id' /lib/udev/
IMPORT builtin 'hwdb' /lib/udev/
RUN 'ifupdown-hotplug' /lib/udev/
IMPORT builtin 'path_id' /lib/udev/
IMPORT builtin 'net_setup_link' /lib/udev/
Config file /etc/systemd/
RUN '/lib/systemd/
created db file '/run/udev/data/n2' for '/devices/
ACTION=add
DEVPATH=
ID_BUS=pci
ID_MODEL_
ID_MODEL_ID=0x1004
ID_NET_
ID_NET_
ID_NET_
ID_NET_
ID_PATH=
ID_PATH_
ID_PCI_
ID_PCI_
ID_VENDOR_
ID_VENDOR_ID=0x15b3
IFINDEX=2
INTERFACE=enp0s0
SUBSYSTEM=net
SYSTEMD_
TAGS=:systemd:
USEC_INITIALIZE
run: 'vlan-network-
run: 'ifupdown-hotplug'
run: '/lib/systemd/
Unload module index
Unloaded link configuration context.
root@s35lp02:
for a qeth network interface it works fine
I will attach sosreport as well to the Bugzilla
Changed in ubuntu-z-systems: | |
assignee: | nobody → Skipper Bug Screeners (skipper-screen-team) |
Changed in systemd (Ubuntu): | |
assignee: | Skipper Bug Screeners (skipper-screen-team) → nobody |
Changed in ubuntu-z-systems: | |
assignee: | Skipper Bug Screeners (skipper-screen-team) → nobody |
assignee: | nobody → Canonical Server Team (canonical-server) |
Changed in systemd (Ubuntu): | |
assignee: | nobody → Skipper Bug Screeners (skipper-screen-team) |
Changed in ubuntu-z-systems: | |
status: | New → Triaged |
Changed in linux (Ubuntu Xenial): | |
status: | New → Fix Released |
Changed in ubuntu-z-systems: | |
status: | Triaged → In Progress |
Changed in ubuntu-z-systems: | |
status: | In Progress → Fix Committed |
Changed in ubuntu-z-systems: | |
status: | Fix Committed → Fix Released |
tags: | added: roce |
Default Comment by Bridge