------- Comment From peter.oberparlei...@de.ibm.com 2018-08-23 10:49 EDT-------
I've installed cosmic on a DPM LPAR using the daily build ISO 
"cosmic-server-s390x.iso" (dated 2018-08-23). The installed system (kernel 
4.17.0-7-generic, s390-tools 2.6.0-0ubuntu3) correctly applied 
auto-configuration data:

$ lsinitramfs /boot/initrd.img | grep zdev
sbin/chzdev
sbin/lszdev
scripts/init-top/s390-tools-zdev
$ sudo lszdev --auto-conf
TYPE       ID                          AUTO
dasd-eckd  0.0.1000                    yes
dasd-eckd  0.0.1001                    yes
...

So that is working as expected.

The install system on the other hand DID NOT correctly apply auto-
configuration data - all device IDs needed to be input manually. Looking
at the install system I found that kernel-support is available, but the
initramfs logic that applies the kernel data (scripts/init-top/s390
-tools-zdev) is not present in the install initramfs:

$ sudo mount cosmic-server-s390x.iso /mnt -o loop,ro
$ lsinitramfs /mnt/boot/initrd.ubuntu | grep zdev
sbin/lszdev
sbin/chzdev

It appears that the install system is not including initramfs scripts at
all.

@Canonical: What is the correct approach for extending the installer
initramfs system to run the missing logic?

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1776631

Title:
  [18.10 FEAT] I/O device pre-configuration

Status in subiquity:
  New
Status in Ubuntu on IBM z Systems:
  In Progress
Status in debian-installer package in Ubuntu:
  New
Status in linux package in Ubuntu:
  Fix Released
Status in s390-tools package in Ubuntu:
  Fix Released
Status in s390-tools source package in Bionic:
  New

Bug description:
  I/O device auto-configuration is a mechanism by which users can specify IDs 
and settings of I/O devices that should be automatically enabled in Linux. 
Users enter this information for an LPAR via an HMC running in DPM mode. During 
boot, Linux obtains this information via an SCLP call (details to be defined) 
and triggers the resulting configuration actions (e.g. using the chzdev 
command).
  Available with kernel 4.17

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to