← Back to team overview

kernel-packages team mailing list archive

[Bug 1555159] Re: Crashkernel parameter is not available

 

I presume you mean that "parameters =" in /etc/zipl.conf should have
crashkernel=auto set.

Note that on ubuntu, we do not enable crashkernel by default, but we do
enable it upon installing kdump packages.

On the other hand, unlike other architectures we do not actually re-
generate /etc/zipl.conf from e.g. configs and kernels on disk. Thus I am
inclined to add crashkernel=auto by default. Louis Bouchard, what do you
think?

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

Title:
  Crashkernel parameter is not available

Status in makedumpfile package in Ubuntu:
  Confirmed
Status in s390-tools package in Ubuntu:
  Confirmed
Status in zipl-installer package in Ubuntu:
  Confirmed

Bug description:
  == Comment: #0 - Ekaterina Teplova <KATE@xxxxxxxxxx> - 2016-02-26 04:20:25 ==
  Crashkernel parameter is not available after installation
  Blocker for kdump on z

  I do not see crashkernel:
  root@boeblingen:/kate# cat /proc/iomem
  00000000-ffffffff : System RAM
    00000000-007aff1d : Kernel code
    007aff1e-00b895ef : Kernel data
    00cd7000-00da5253 : Kernel bss
  --------------------------------------------------------------------------------------------------------------
  root@boeblingen:/usr/lib# cat /etc/zipl.conf
  [defaultboot]
  defaultmenu = menu

  :menu
  target = /boot
  1 = ubuntu
  2 = old
  default = 1
  prompt = 1
  timeout = 10

  [ubuntu]
  target = /boot
  image = /boot/vmlinuz
  ramdisk = /boot/initrd.img
  parameters = root=UUID=ac48e371-97e9-4261-9e5e-d1a5cdc404e1

  [old]
  target = /boot
  image = /boot/vmlinuz.old
  ramdisk = /boot/initrd.img.old
  parameters = root=UUID=ac48e371-97e9-4261-9e5e-d1a5cdc404e1
  optional = 1

  == Comment: #5 - Ekaterina Teplova <KATE@xxxxxxxxxx> - 2016-03-07
  16:40:40 ==

  
  == Comment: #7 - Gary M. Gaydos <gmgaydos@xxxxxxxxxx> - 2016-03-08 14:45:49 ==
  From /var/log/kern.log

  Mar  7 15:27:36 s83lp62 kernel: [    0.340487] Linux version
  4.4.0-10-generic (buildd@z13-027) (gcc version 5.3.1 20160225 (Ubuntu
  5.3.1-10ubuntu2) ) #25-Ubuntu SMP Wed Mar 2 14:56:49 UTC 2016 (Ubuntu
  4.4.0-10.25-generic 4.4.3)

  Mar  7 15:27:36 s83lp62 kernel: [    0.360889] Kernel command line:
  root=UUID=9d2bf7bc-77c4-48b8-a9b9-d99e218447aa BOOT_IMAGE=0

  From /var/log/apt/history.log    kexec and crash get installed

  Start-Date: 2016-03-07  15:32:24
  Commandline: apt-get install kexec-tools
  Requested-By: kate (1000)
  Install: kexec-tools:s390x (2.0.10-1ubuntu1)
  End-Date: 2016-03-07  15:32:25

  Start-Date: 2016-03-07  15:32:31
  Commandline: apt-get install crash
  Requested-By: kate (1000)
  Install: binutils:s390x (2.26-5ubuntu1, automatic), crash:s390x (7.1.4-1ubuntu1)
  End-Date: 2016-03-07  15:32:32

  From /var/log/syslog

  Mar  7 15:32:25 s83lp62 systemd[1]: Started ACPI event daemon.
  Mar  7 15:32:25 s83lp62 systemd[1]: Starting LSB: Execute the kexec -e command to reboot system...
  Mar  7 15:32:25 s83lp62 systemd[1]: Started LSB: Execute the kexec -e command to reboot system.
  Mar  7 15:32:25 s83lp62 systemd[1]: Reloading.
  Mar  7 15:32:25 s83lp62 systemd[1]: Started ACPI event daemon.
  Mar  7 15:32:25 s83lp62 systemd[1]: Reloading.
  Mar  7 15:32:25 s83lp62 systemd[1]: Started ACPI event daemon.
  Mar  7 15:32:25 s83lp62 systemd[1]: Starting LSB: Load kernel image with kexec...
  Mar  7 15:32:25 s83lp62 systemd[1]: Started LSB: Load kernel image with kexec.
  Mar  7 15:32:25 s83lp62 systemd[1]: Reloading.
  Mar  7 15:32:25 s83lp62 systemd[1]: Started ACPI event daemon.

  Ekaterina (Kate),
  As a test, please reboot and then paste the output of
  a)  cat /proc/iomem
  b)  cat /proc/cmdline
  c)  cat /etc/zipl.conf

  Putting in needinfo state to KATE@xxxxxxxxxx .  I would like a simple
  test.  Reboot and check crashkernel parameter again before we mirror
  to Canonical.

  Thanks, Gary

  == Comment: #8 - Ekaterina Teplova <KATE@xxxxxxxxxx> - 2016-03-08 15:59:18 ==
  System was rebooted
  after reboot:

  login as: root
  root@9.152.162.62's password:
  Welcome to Ubuntu Xenial Xerus (development branch) (GNU/Linux 4.4.0-11-generic                                                                                                              s390x)

   * Documentation:  https://help.ubuntu.com/

  
  The programs included with the Ubuntu system are free software;
  the exact distribution terms for each program are described in the
  individual files in /usr/share/doc/*/copyright.

  Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
  applicable law.

  root@s83lp62:~# cat /proc/iomem
  00000000-ffffffff : System RAM
    00000000-007b8bf5 : Kernel code
    007b8bf6-00b9561f : Kernel data
    00ce1000-00daf253 : Kernel bss
  root@s83lp62:~# cat /proc/cmdline
  root=UUID=3b36e951-4843-419a-8a92-f985d70ec5b0 BOOT_IMAGE=0
  root@s83lp62:~# cat /etc/zipl.conf
  [defaultboot]
  defaultmenu = menu

  :menu
  target = /boot
  1 = ubuntu
  2 = old
  default = 1
  prompt = 1
  timeout = 10

  [ubuntu]
  target = /boot
  image = /boot/vmlinuz
  ramdisk = /boot/initrd.img
  parameters = root=UUID=3b36e951-4843-419a-8a92-f985d70ec5b0

  [old]
  target = /boot
  image = /boot/vmlinuz.old
  ramdisk = /boot/initrd.img.old
  parameters = root=UUID=3b36e951-4843-419a-8a92-f985d70ec5b0
  optional = 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/makedumpfile/+bug/1555159/+subscriptions