[Bug 1560545] Re: Some or all OSA devices may be unavailable after boot if too many are visible

Dimitri John Ledkov launchpad at surgut.co.uk
Thu Mar 31 13:20:19 UTC 2016


Ok, i really starting to dislike sysconfig-hardware and everything that
deals with it.

So, could you please try the following for me:

1) List things that are actived with e.g.:
ls -latr /etc/sysconfig/hardware

2) for each thing listed there activate it with chzdev, eg.:
sudo chzdev dasd 0.0.202 -e
sudo chzdev qeth 0.0.600 -e
....

3) Move existing sysconfig hardware profiles out of the way:
sudo mv /etc/sysconfig/hardware /etc/sysconfig/hardware.backup

4) Regenerate initramfs:
sudo update-initramfs -u

5) Reboot
sudo reboot

And do whatever testing you do, and check if things are more reliable when activated with chzdev using stock udev.
If yes, I'll work on necessory modifcation to the installer to stop using sysconfig-hardware and migrated to chzdev instead.

-- 
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