OSA/qeth inconsistent interface names
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu on IBM z Systems |
Invalid
|
High
|
bugproxy | ||
s390-tools (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
After doing an installation of an s390x system with disco where OSA devices are in use (means LPAR and z/VM) the device name of the default interface that is generated during the installation is file, for example:
ubuntu@s1lp15:~$ lszdev qeth | grep yes
qeth 0.0.c000:
If another device is created (e.g. with the help of: sudo chzdev -e c003), it name is no longer based on the address, but it get's an 'eth?' name:
ubuntu@s1lp15:~$ lszdev qeth | grep yes
qeth 0.0.c000:
qeth 0.0.c003:
The coressponding 'ip a' line is:
9: eth0: <BROADCAST,
(02:29:22 PM) jfh: link/ether 5a:2e:d8:c6:c1:03 brd ff:ff:ff:ff:ff:ff
After a 'sudo systemctl restart systemd-
9: encc003: <BROADCAST,
tags: | added: architecture-s39064 bugnameltc-176566 severity-high targetmilestone-inin1904 |
Changed in ubuntu-z-systems: | |
status: | New → Confirmed |
Mar 29 10:31:45 s1lp15 sudo[1126]: pam_unix( sudo:session) : session closed for user root sudo:account) : account ubuntu has password changed in future /usr/sbin/ chzdev qeth -e c003 sudo:session) : session opened for user root by ubuntu(uid=0) udevd[1146] : Using default interface naming scheme 'v240'. udevd[1146] : link_config: autonegotiation is unset or enabled, the speed and duplex are not writable. udevd[1146] : Could not set Alias=, MACAddress= or MTU= on eth0: Resource temporarily unavailable udevd[1146] : eth0: Could not apply link config, ignoring: Resource temporarily unavailable udevd[1146] : Process 'vlan-network- interface UDEV' failed with exit code 1.
with link type OSD_10GIG. dispatcher[ 631]: WARNING:Unknown index 8 seen, reloading interface list sudo:session) : session closed for user root
Mar 29 10:32:02 s1lp15 sudo[1144]: pam_unix(
Mar 29 10:32:02 s1lp15 sudo[1144]: ubuntu : TTY=pts/0 ; PWD=/home/ubuntu ; USER=root ; COMMAND=
Mar 29 10:32:02 s1lp15 sudo[1144]: pam_unix(
Mar 29 10:32:02 s1lp15 kernel: qdio: 0.0.c005 OSA on SC bb1 using AI:1 QEBSM:0 PRI:1 TDD:1 SIGA: W AP
Mar 29 10:32:02 s1lp15 systemd-
Mar 29 10:32:02 s1lp15 systemd-
Mar 29 10:32:02 s1lp15 systemd-
Mar 29 10:32:02 s1lp15 systemd-
Mar 29 10:32:02 s1lp15 systemd-
Mar 29 10:32:02 s1lp15 kernel: qeth.6adf49: 0.0.c003: The device represents a Bridge Capable Port
Mar 29 10:32:02 s1lp15 kernel: qeth.cc0c57: 0.0.c003: MAC address 82:80:10:91:6a:a4 successfully registered on device eth0
Mar 29 10:32:02 s1lp15 kernel: qeth.26d434: 0.0.c003: Device is a OSD Express card (level: 0774)
Mar 29 10:32:02 s1lp15 kernel: qeth.f02020: 0.0.c003: QDIO data connection isolation is deactivated
Mar 29 10:32:02 s1lp15 networkd-
Mar 29 10:32:02 s1lp15 sudo[1144]: pam_unix(
systemd-udevd tries to rename the device, before kernel says it's ok to do so. Note that device is a Bridge Capable Port. So something is racy in the chzdev -e codepath.