[Bug 1892367] Comment bridged from LTC Bugzilla

bugproxy 1892367 at bugs.launchpad.net
Wed Mar 3 08:59:53 UTC 2021


------- Comment From heinz-werner_seeck at de.ibm.com 2021-03-03 03:55 EDT-------
Tested the latest ubuntu21.04

root at m35lp41:~# cat /proc/version
Linux version 5.10.0-14-generic (buildd at bos02-s390x-005) (gcc (Ubuntu 10.2.1-6ubuntu2) 10.2.1 20210121, GNU ld (GNU Binutils for Ubuntu) 2.36) #15-Ubuntu SMP Fri Jan 29 15:04:37 UTC 2021
root at m35lp41:~# ls /sys/devices/qeth/0.0.bd00/buffer_count
/sys/devices/qeth/0.0.bd00/buffer_count
root at m35lp41:~# cat /sys/devices/qeth/0.0.bd00/buffer_count
64
root at m35lp41:~# chzdev qeth bd00 -p layer2=1 buffer_count=128
Configuring devices in the persistent configuration only
QETH device 0.0.bd00:0.0.bd01:0.0.bd02 configured
Note: The initial RAM-disk must be updated for these changes to take effect:
- QETH device 0.0.bd00:0.0.bd01:0.0.bd02
update-initramfs: Generating /boot/initrd.img-5.10.0-14-generic

Using config file '/etc/zipl.conf'
Building bootmap in '/boot'
Adding IPL section 'ubuntu' (default)
Preparing boot device: dasda (af8a).
Done.
root at m35lp41:~#
root at m35lp41:~# cat /sys/devices/qeth/0.0.bd00/buffer_count
64
root at m35lp41:~# reboot
packet_write_wait: Connection to UNKNOWN port 65535: Broken pipe
[vineeth.vijayan at oc6887364776 ~]$ ssh m35lp41.lnxne.boe
root at m35lp41.lnxne.boe's password:
Welcome to Ubuntu Hirsute Hippo (development branch) (GNU/Linux 5.10.0-14-generic s390x)

* Documentation:  https://help.ubuntu.com
* Management:     https://landscape.canonical.com
* Support:        https://ubuntu.com/advantage

System information as of Wed Mar  3 08:23:18 AM UTC 2021

System load: 0.16              Memory usage: 2%   Processes:       204
Usage of /:  7.5% of 20.18GB   Swap usage:   0%   Users logged in: 0

=> There were exceptions while processing one or more plugins. See
/var/log/landscape/sysinfo.log for more information.

22 updates can be installed immediately.
0 of these updates are security updates.
To see these additional updates run: apt list --upgradable

Last login: Wed Mar  3 08:14:55 2021 from 172.18.0.1
root at m35lp41:~#
root at m35lp41:~# cat /sys/devices/qeth/0.0.bd00/buffer_count
128

Looks good to me.

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

Title:
  [UBUNTU 20.04] udev rule change did not get applied

Status in subiquity:
  Invalid
Status in Ubuntu on IBM z Systems:
  In Progress
Status in s390-tools package in Ubuntu:
  Fix Released
Status in s390-tools source package in Focal:
  New
Status in s390-tools source package in Groovy:
  New
Status in s390-tools source package in Hirsute:
  Fix Released

Bug description:
  During the ubuntu installation in tessia, we do chzdev for both dasd
  and qeth devices, as below.

  2020-08-20 09:54:45 | INFO | START subiquity/Early/run/command_1 : chzdev -e dasd 385c
  2020-08-20 09:54:45 | INFO | SUCCESS subiquity/Early/run/command_1 : chzdev -e dasd 385c
  2020-08-20 09:54:45 | INFO | START subiquity/Early/run/command_2 : chzdev -e qeth 0.0.bdf0
  2020-08-20 09:54:47 | INFO | SUCCESS subiquity/Early/run/command_2 : chzdev -e qeth 0.0.bdf0

  and we can see the below files in the /etc/udev/rules.d/
  oot at m8360024:~# ls -l /etc/udev/rules.d/
  total 76
  -rw-r--r-- 1 root root   154 Aug 20 09:08 41-cio-ignore.rules
  -rw-r--r-- 1 root root   430 Aug 20 09:08 41-dasd-eckd-0.0.385c.rules
  -rw-r--r-- 1 root root   357 Aug 20 09:08 41-generic-ccw-0.0.0009.rules
  -rw-r--r-- 1 root root  1049 Aug 20 09:08 41-qeth-0.0.bdf0.rules
  -rw-r--r-- 1 root root 58549 Aug 20 09:10 70-snap.snapd.rules

  Now, lsinitramfs shows files as below,

  root at m8360024:~# lsinitramfs /boot/initrd.img-5.4.0-42-generic | grep 41
  etc/udev/rules.d/41-cio-ignore-root.rules
  etc/udev/rules.d/41-dasd-eckd-0.0.385c.rules
  usr/lib/udev/rules.d/41-cio-ignore.rules
  usr/lib/udev/rules.d/41-dasd-eckd-0.0.385c.rules
  usr/lib/udev/rules.d/41-generic-ccw-0.0.0009.rules
  usr/lib/udev/rules.d/41-qeth-0.0.bdf0.rules

  Even though lsinitramfs shows the below files, they are overruled by
  the filesystem files.

  Next thing we did was to modify the 41-qeth-0.0.bdf0.rules and
  modified the buffer_count to 128 (As in the attached file). In ideal
  scenario, the value should we modified as mentioned in the bug. But,
  in our case, if we are not doing a zipl or update-initramfs -u, the
  value is not getting modified.

To manage notifications about this bug go to:
https://bugs.launchpad.net/subiquity/+bug/1892367/+subscriptions



More information about the foundations-bugs mailing list