[Bug 1822585] Re: OSA/qeth inconsistent interface names

Dimitri John Ledkov launchpad at surgut.co.uk
Mon Apr 1 13:19:33 UTC 2019


Mar 29 10:31:45 s1lp15 sudo[1126]: pam_unix(sudo:session): session closed for user root
Mar 29 10:32:02 s1lp15 sudo[1144]: pam_unix(sudo:account): account ubuntu has password changed in future
Mar 29 10:32:02 s1lp15 sudo[1144]:   ubuntu : TTY=pts/0 ; PWD=/home/ubuntu ; USER=root ; COMMAND=/usr/sbin/chzdev qeth -e c003
Mar 29 10:32:02 s1lp15 sudo[1144]: pam_unix(sudo:session): session opened for user root by ubuntu(uid=0)
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-udevd[1146]: Using default interface naming scheme 'v240'.
Mar 29 10:32:02 s1lp15 systemd-udevd[1146]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
Mar 29 10:32:02 s1lp15 systemd-udevd[1146]: Could not set Alias=, MACAddress= or MTU= on eth0: Resource temporarily unavailable
Mar 29 10:32:02 s1lp15 systemd-udevd[1146]: eth0: Could not apply link config, ignoring: Resource temporarily unavailable
Mar 29 10:32:02 s1lp15 systemd-udevd[1146]: Process 'vlan-network-interface UDEV' failed with exit code 1.
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)
                               with link type OSD_10GIG.
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-dispatcher[631]: WARNING:Unknown index 8 seen, reloading interface list
Mar 29 10:32:02 s1lp15 sudo[1144]: pam_unix(sudo:session): session closed for user root


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.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to s390-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1822585

Title:
  OSA/qeth inconsistent interface names

Status in Ubuntu on IBM z Systems:
  New
Status in s390-tools package in Ubuntu:
  New

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 at s1lp15:~$ lszdev qeth | grep yes
  qeth  0.0.c000:0.0.c001:0.0.c002  yes  yes   encc000

  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 at s1lp15:~$ lszdev qeth | grep yes
  qeth  0.0.c000:0.0.c001:0.0.c002  yes  yes   encc000
  qeth  0.0.c003:0.0.c004:0.0.c005  yes  yes   eth0

  The coressponding 'ip a' line is:
  9: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
  (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-udev-trigger.service' it get's the correct name 'encc003':
  9: encc003: <BROADCAST,MULTICAST>

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1822585/+subscriptions



More information about the foundations-bugs mailing list