Default Comment by Bridge
** Attachment added: "sosreport-ilzlnx15-199072-2022-07-21-cpplakh"
https://bugs.launchpad.net/bugs/1982582/+attachment/5604756/+files/sosreport-ilzlnx15-199072-2022-07-21-cpplakh.tar.xz
** Changed in: ubuntu
Assignee: (unassigned) => Skipper Bug Screeners (skipper-screen-team)
** Package changed: ubuntu => linux (Ubuntu)
--
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/1982582
Title:
[UBUNTU 22.04] Unable to install kdump-tools on 22.04 on s390x (LPAR
nor z/VM guest)
Status in linux package in Ubuntu:
New
Bug description:
Unable to install kdump-tools on 22.04 (Jammy) on s390x (LPAR nor z/VM guest)
Errors were encountered while processing:
kdump-tools
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)
Contact Information = Vanessa Baeza/[email protected]
---uname output---
Linux ilzlnx15 5.15.0-41-generic #44-Ubuntu SMP Wed Jun 22 14:22:27 UTC 2022
s390x s390x s390x GNU/Linux
Machine Type = s390x
---Debugger---
A debugger is not configured
---Steps to Reproduce---
apt-get install kdump-tools
or
apt-get install linux-crashdump
== Comment: #1 - Ruth Vanessa Baeza Elizalde <[email protected]> -
2022-07-21 14:09:21 ==
== Comment: #6 - Steffen Maier <[email protected]> - 2022-07-22 06:15:06 ==
(In reply to comment #1)
> Created attachment 155027 [details]
> sosreport-ilzlnx15-199072-2022-07-21-cpplakh
[maier:~/docs/zfcp/issues/ilab/ltc199072-u2204-error-on-installing_kdump-tools/sosreport-ilzlnx15-199072-2022-07-21-cpplakh](0)$
cat sos_commands/kdump/kdump-config_show
* /etc/default/kdump-tools: USE_KDUMP is not set or zero
* no crashkernel= parameter in the kernel cmdline
[maier:~/docs/zfcp/issues/ilab/ltc199072-u2204-error-on-installing_kdump-tools/sosreport-ilzlnx15-199072-2022-07-21-cpplakh](0)$
cat ./proc/cmdline
root=/dev/disk/by-id/dm-uuid-LVM-pgDF7ojWA1Vra6LMB3aPVQt9xStlmQK2he2ApvXaEuUKbGUMrJf8Kv7yIs9yAZzH
[maier:~/docs/zfcp/issues/ilab/ltc199072-u2204-error-on-installing_kdump-tools/sosreport-ilzlnx15-199072-2022-07-21-cpplakh](0)$
cat etc/zipl.conf
# This has been modified by the MAAS curtin installer
[defaultboot]
default=ubuntu
[ubuntu]
target = /boot
image = /boot/vmlinuz
ramdisk = /boot/initrd.img
parameters =
root=/dev/disk/by-id/dm-uuid-LVM-pgDF7ojWA1Vra6LMB3aPVQt9xStlmQK2he2ApvXaEuUKbGUMrJf8Kv7yIs9yAZzH
Looks like some preconditions for kdump are not fulfilled.
[https://ubuntu.com/server/docs/kernel-crash-dump]
Are those supposed to be created by the installation of kdump-tools or does
that package require those pre-reqs to already be fulfilled to get installed?
(I'm not familiar with kdump tooling on Ubuntu.)
Vanessa, is this different from previous Ubuntu versions you deployed? (cf.
bug 194306)
FYI, there's also this known kdump bug 195646.
While kdump is really nice, you could continue with just a working
standalone dump for the time being in order not to jeopardize your
schedules.
(In reply to comment #0)
> ---Problem Description---
> Unable to install kdump-tools on 22.04 (Jammy Jellyfish) on s390x (LPAR nor
> zVM guest)
> Errors were encountered while processing:
> kdump-tools
> needrestart is being skipped since dpkg has failed
> E: Sub-process /usr/bin/dpkg returned an error code (1)
Are there any more details on the error it faced?
Copy&paste from the terminal? (issued command and its output)
[maier:~/docs/zfcp/issues/ilab/ltc199072-u2204-error-on-installing_kdump-tools/sosreport-ilzlnx15-199072-2022-07-21-cpplakh](0)$
fgrep kdump var/log/dpkg.log
465:2022-07-21 10:48:56 install kdump-tools:s390x <none> 1:1.6.10ubuntu1
467:2022-07-21 10:48:56 status half-installed kdump-tools:s390x
1:1.6.10ubuntu1
468:2022-07-21 10:48:56 status unpacked kdump-tools:s390x 1:1.6.10ubuntu1
489:2022-07-21 10:49:05 configure kdump-tools:s390x 1:1.6.10ubuntu1 <none>
490:2022-07-21 10:49:05 status unpacked kdump-tools:s390x 1:1.6.10ubuntu1
491:2022-07-21 10:49:05 status half-configured kdump-tools:s390x
1:1.6.10ubuntu1
502:2022-07-21 10:54:06 configure kdump-tools:s390x 1:1.6.10ubuntu1 <none>
504:2022-07-21 10:54:06 status half-configured kdump-tools:s390x
1:1.6.10ubuntu1
509:2022-07-21 11:04:42 status half-configured kdump-tools:s390x
1:1.6.10ubuntu1
510:2022-07-21 11:04:43 remove kdump-tools:s390x 1:1.6.10ubuntu1 <none>
512:2022-07-21 11:04:43 status half-installed kdump-tools:s390x
1:1.6.10ubuntu1
514:2022-07-21 11:04:46 status config-files kdump-tools:s390x 1:1.6.10ubuntu1
523:2022-07-21 11:06:45 install kdump-tools:s390x 1:1.6.10ubuntu1
1:1.6.10ubuntu1
525:2022-07-21 11:06:45 status half-installed kdump-tools:s390x
1:1.6.10ubuntu1
527:2022-07-21 11:06:45 status unpacked kdump-tools:s390x 1:1.6.10ubuntu1
532:2022-07-21 11:06:45 configure kdump-tools:s390x 1:1.6.10ubuntu1 <none>
533:2022-07-21 11:06:45 status unpacked kdump-tools:s390x 1:1.6.10ubuntu1
534:2022-07-21 11:06:45 status half-configured kdump-tools:s390x
1:1.6.10ubuntu1
548:2022-07-21 11:08:27 configure kdump-tools:s390x 1:1.6.10ubuntu1 <none>
550:2022-07-21 11:08:27 status half-configured kdump-tools:s390x
1:1.6.10ubuntu1
784:2022-07-21 11:14:25 configure kdump-tools:s390x 1:1.6.10ubuntu1 <none>
785:2022-07-21 11:14:25 status half-configured kdump-tools:s390x
1:1.6.10ubuntu1
904:2022-07-21 11:16:19 configure kdump-tools:s390x 1:1.6.10ubuntu1 <none>
906:2022-07-21 11:16:19 status half-configured kdump-tools:s390x
1:1.6.10ubuntu1
917:2022-07-21 11:16:43 configure kdump-tools:s390x 1:1.6.10ubuntu1 <none>
919:2022-07-21 11:16:43 status half-configured kdump-tools:s390x
1:1.6.10ubuntu1
924:2022-07-21 11:16:57 configure kdump-tools:s390x 1:1.6.10ubuntu1 <none>
926:2022-07-21 11:16:57 status half-configured kdump-tools:s390x
1:1.6.10ubuntu1
935:2022-07-21 11:17:51 configure kdump-tools:s390x 1:1.6.10ubuntu1 <none>
937:2022-07-21 11:17:51 status half-configured kdump-tools:s390x
1:1.6.10ubuntu1
942:2022-07-21 11:19:55 configure kdump-tools:s390x 1:1.6.10ubuntu1 <none>
944:2022-07-21 11:19:55 status half-configured kdump-tools:s390x
1:1.6.10ubuntu1
^^^^^^^^^^^^^^
I suppose those caused the following incomplete left-overs:
[maier:~/docs/zfcp/issues/ilab/ltc199072-u2204-error-on-installing_kdump-tools/sosreport-ilzlnx15-199072-2022-07-21-cpplakh](2)$
l ./etc/default/kdump-tools.*
-rw-r--r--. 1 maier maier 4,5K 24. M?r 18:42 ./etc/default/kdump-tools.2WRFKv
-rw-r--r--. 1 maier maier 4,5K 24. M?r 18:42 ./etc/default/kdump-tools.6EWiZz
-rw-r--r--. 1 maier maier 4,5K 24. M?r 18:42 ./etc/default/kdump-tools.DHxhm1
-rw-r--r--. 1 maier maier 4,5K 24. M?r 18:42 ./etc/default/kdump-tools.GvHOGR
-rw-r--r--. 1 maier maier 4,5K 24. M?r 18:42 ./etc/default/kdump-tools.HwReC4
-rw-r--r--. 1 maier maier 4,5K 24. M?r 18:42 ./etc/default/kdump-tools.N8ci1Z
-rw-r--r--. 1 maier maier 4,5K 24. M?r 18:42 ./etc/default/kdump-tools.rfe3y9
-rw-r--r--. 1 maier maier 4,5K 24. M?r 18:42 ./etc/default/kdump-tools.Rzpckn
-rw-r--r--. 1 maier maier 4,5K 24. M?r 18:42 ./etc/default/kdump-tools.wlDTYt
-rw-r--r--. 1 maier maier 4,5K 24. M?r 18:42 ./etc/default/kdump-tools.xH9wMJ
but no final ./etc/default/kdump-tools likely due to the package
install error.
Could not find anything about kdump in apt logs within sosreport.
== Comment: #7 - Steffen Maier <[email protected]> - 2022-07-22 06:58:42 ==
(In reply to comment #6)
> (In reply to comment #1)
> > Created attachment 155027 [details]
> > sosreport-ilzlnx15-199072-2022-07-21-cpplakh
> Could not find anything about kdump in apt logs within sosreport.
Oh yeah, sosreport contains pipe/fifo files so a simple recursive grep
just blocks forever once it hits on of those special files. Jumping
through hoops:
[maier:~/docs/zfcp/issues/ilab/ltc199072-u2204-error-on-
installing_kdump-tools/sosreport-
ilzlnx15-199072-2022-07-21-cpplakh](0)$ find -type f -print0 | xargs
-0 -n1 fgrep -Hi kdump
[maier:~/docs/zfcp/issues/ilab/ltc199072-u2204-error-on-
installing_kdump-tools/sosreport-
ilzlnx15-199072-2022-07-21-cpplakh](123)$ zless
./var/log/apt/term.log*
Selecting previously unselected package kdump-tools.
Preparing to unpack .../kdump-tools_1%3a1.6.10ubuntu1_s390x.deb ...
Unpacking kdump-tools (1:1.6.10ubuntu1) ...
Selecting previously unselected package libdw1:s390x.
Preparing to unpack .../libdw1_0.186-1build1_s390x.deb ...
Unpacking libdw1:s390x (0.186-1build1) ...
Selecting previously unselected package makedumpfile.
Preparing to unpack .../makedumpfile_1%3a1.7.0-1build1_s390x.deb ...
Unpacking makedumpfile (1:1.7.0-1build1) ...
Setting up libdw1:s390x (0.186-1build1) ...
Setting up makedumpfile (1:1.7.0-1build1) ...
Setting up kexec-tools (1:2.0.22-2ubuntu2) ...
Generating /etc/default/kexec...
Setting up kdump-tools (1:1.6.10ubuntu1) ...
*** WARNING: ucf was run from a maintainer script that uses debconf, but
the script did not pass --debconf-ok to ucf. The maintainer
script should be fixed to not stop debconf before calling ucf,
and pass it this parameter. For now, ucf will revert to using
old-style, non-debconf prompting. Ugh!
Please inform the package maintainer about this problem.
Need debconf to interact
ESC[1mdpkg:ESC[0m error processing package kdump-tools (--configure):
installed kdump-tools package post-installation script subprocess returned
error exit status 2
Processing triggers for libc-bin (2.35-0ubuntu3) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for initramfs-tools (0.140ubuntu13) ...
Errors were encountered while processing:
kdump-tools
Log ended: 2022-07-21 10:49:05
>>> repeats for all the install attempts <<<
Unfortunately, it does not show the post-installation script or its
error and I don't know how to show the script or increase debugging
for .deb packages.
Log started: 2022-07-21 11:19:55
Setting up kdump-tools (1:1.6.10ubuntu1) ...
*** WARNING: ucf was run from a maintainer script that uses debconf, but
the script did not pass --debconf-ok to ucf. The maintainer
script should be fixed to not stop debconf before calling ucf,
and pass it this parameter. For now, ucf will revert to using
old-style, non-debconf prompting. Ugh!
Please inform the package maintainer about this problem.
Need debconf to interact
dpkg: error processing package kdump-tools (--configure):
installed kdump-tools package post-installation script subprocess returned
error exit status 2
dpkg: dependency problems prevent configuration of linux-crashdump:
linux-crashdump depends on kdump-tools; however:
Package kdump-tools is not configured yet.
dpkg: error processing package linux-crashdump (--configure):
dependency problems - leaving unconfigured
Processing triggers for initramfs-tools (0.140ubuntu13) ...
update-initramfs: Generating /boot/initrd.img-5.15.0-41-generic
Using config file '/etc/zipl.conf'
Run /lib/s390-tools//zipl_helper.device-mapper /boot
Building bootmap in '/boot'
Adding IPL section 'ubuntu' (default)
Preparing boot device: dm-7.
Done.
Errors were encountered while processing:
kdump-tools
linux-crashdump
Log ended: 2022-07-21 11:19:58
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1982582/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp