[Bug 1560545] Comment bridged from LTC Bugzilla

bugproxy bugproxy at us.ibm.com
Tue Mar 22 16:42:01 UTC 2016


------- Comment From a.efremkin at ru.ibm.com 2016-03-22 12:38 EDT-------
Just noticed a quirk in configuration.

journalctl --system shows following errors:

Mar 22 15:20:11 s83lp41 systemd-udevd[4306]: unknown key 'WAIT_FOR_SYSFS' in /lib/udev/rules.d/85-sysconfig-hardware
Mar 22 15:20:11 s83lp41 systemd-udevd[4306]: invalid rule '/lib/udev/rules.d/85-sysconfig-hardware.rules:1'

Indeed, there is such key:

root at s83lp41:/lib/udev/rules.d# cat 85-sysconfig-hardware.rules
SUBSYSTEM=="ccw", WAIT_FOR_SYSFS="online"
SUBSYSTEM=="ccw", ACTION=="add", RUN+="/sbin/hwup -A -D $devpath $env{SUBSYSTEM} $kernel"

Its support was removed some time ago with WAIT_FOR, see
https://github.com/systemd/systemd/pull/434

So I guess is that the WAIT_FOR is ignored and systemd-udevd spawns a
huge number of hwups. Is it possble that they are started too early or
just mess with each other?

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

Title:
  Some or all OSA devices may be unavailable after boot if too many are
  visible

Status in sysconfig package in Ubuntu:
  New
Status in systemd package in Ubuntu:
  New

Bug description:
  -- Problem Description --
  Ubuntu 16.04 kernel 4.4.0-13 is installed on LPAR without cio_ignore in kernel command line, so a lot of devices are visible:

  root at s83lp41:~# ls -1U /sys/bus/ccw/drivers/qeth | wc -l
  154
  (50 OSA triplets + 4 non-devices)

  With so many devices the system may boot (initial or reboot) with only
  some or no interfaces brought up. A network is configured only on some
  of the triplets; the issue is well reproduced with two interfaces.

  lsqeth shows only active interfaces
  Inactive cannot be brought up with ifup:

  root at s83lp41:~# ifup encb080
  Cannot find device "encb080"
  Failed to bring up encb080.

  However, they become available after manually issuing hwup:

  root at s83lp41:~# hwup -A -D /devices/css0/0.0.1c67/0.0.b080 ccw 0.0.b080
  Configuring device 0.0.b080: ok. (portname OSAPORT) (portno 0) ok.

  After hwup interfaces are configured automatically and are listed in
  lsqeth.

  root at s83lp41:~# ifup encb080
  ifup: waiting for lock on /run/network/ifstate.encb080
  ifup: interface encb080 already configured

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sysconfig/+bug/1560545/+subscriptions



More information about the foundations-bugs mailing list