[UBUNTU 20.04] zfcpdump-kernel package has different name for dumpkernel image than zipl expects
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu on IBM z Systems |
Fix Released
|
Medium
|
Skipper Bug Screeners | ||
zfcpdump-kernel (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
* Cannot perform ZFCP SCSI dump of LPAR instance
[Test Case]
* install zfcdump-kernel package
* Prepare zfcp dump with zipl -d
* Use HMC to stop all processors and perform SCSI dump
* Boot normally, verify that kernel dump is readable from the SCSI dump partition.
[Regression Potential]
* This update corrects the name of the kernel image, but also bumps the zfcpdump kernel sources to v5.4 to match focal. Currently zfcpdump is unusable in focal. Bringing the kernel config to v5.4 may expose config changes that behave differently. Please note this kernel is only used when performing kernel dump and is not used for any regular operations.
[Other Info]
* Original Bug report.
Under Ubuntu 20.04 I wanted to prepare a SCSI dump disk:
root@t35lp25:/~# apt install zfcpdump-kernel
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
zfcpdump-kernel
0 upgraded, 1 newly installed, 0 to remove and 8 not upgraded.
Need to get 1655 kB of archives.
After this operation, 1757 kB of additional disk space will be used.
Get:1 http://
Fetched 1655 kB in 1s (1803 kB/s)
Selecting previously unselected package zfcpdump-kernel.
(Reading database ... 53866 files and directories currently installed.)
Preparing to unpack .../zfcpdump-
Unpacking zfcpdump-kernel (4.13-0ubuntu1) ...
Setting up zfcpdump-kernel (4.13-0ubuntu1) ...
root@t35lp25:/~# zipl -d /dev/disk/
Error: Need external file '/lib/s390-
root@t35lp25:~# ls /lib/s390-
zfcpdump-initrd zfcpdump_part.image
root@t35lp25:~#
As you can see, zipl expects "zfcpdump-image", but "zfcpdump_
with paramater -d, zipl does NOT accept -i to override the image name. Thus I renamed zfcpdump_part.image to zfcpdump-image:
root@t35lp25:~# cd /lib/s390-
root@t35lp25:
root@t35lp25:
Building bootmap directly on partition '/dev/disk/
Adding dump section
initial ramdisk...: /lib/s390-
kernel image......: /lib/s390-
kernel parmline...: 'root=/dev/ram0 dump_mem=1 possible_cpus=1 cgroup_
component address:
heap area.......: 0x00002000-
stack area......: 0x0000f000-
internal loader.: 0x0000a000-
parameters.
kernel image....: 0x00010000-
parmline.
initial ramdisk.: 0x001c0000-
Preparing boot device: sde.
Done.
root@t35lp25:
=======
Hi,
zfcpdump_part.image got renamed to zfcpdump-image upstream with s390-tools v2.7.0. For me it looks like the old name is hard coded somewhere in the packaging/
tags: | added: architecture-s39064 bugnameltc-185713 severity-medium targetmilestone-inin2004 |
Changed in ubuntu: | |
assignee: | nobody → Skipper Bug Screeners (skipper-screen-team) |
affects: | ubuntu → linux (Ubuntu) |
summary: |
- zfcpdump-kernel package has different name for dumpkernel image than - zipl expects + [UBUNTU 20.04] zfcpdump-kernel package has different name for dumpkernel + image than zipl expects |
Changed in ubuntu-z-systems: | |
importance: | Undecided → Medium |
assignee: | nobody → Canonical Kernel Team (canonical-kernel-team) |
Changed in linux (Ubuntu): | |
assignee: | Skipper Bug Screeners (skipper-screen-team) → Canonical Kernel Team (canonical-kernel-team) |
Changed in ubuntu-z-systems: | |
assignee: | Canonical Kernel Team (canonical-kernel-team) → Skipper Bug Screeners (skipper-screen-team) |
Changed in ubuntu-z-systems: | |
status: | New → Triaged |
Changed in linux (Ubuntu): | |
status: | Fix Committed → In Progress |
Changed in ubuntu-z-systems: | |
status: | Fix Committed → In Progress |
affects: | linux (Ubuntu) → zfcpdump-kernel (Ubuntu) |
Changed in zfcpdump-kernel (Ubuntu): | |
assignee: | Canonical Kernel Team (canonical-kernel-team) → nobody |
tags: | added: fr-663 |
Changed in zfcpdump-kernel (Ubuntu): | |
status: | In Progress → Fix Released |
Changed in ubuntu-z-systems: | |
status: | In Progress → Fix Released |
------- Comment From <email address hidden> 2020-05-06 08:35 EDT-------
From LTC bug 185720 - LP1877089:
> We can either revert the path change in s390-tools or rebuild the zfcpdump
> kernel flavour with the new name.
This should IMO be decided by the s390tools maintainer! (I personally prefer the latter.)