------- Comment From pavsu...@in.ibm.com 2016-09-27 05:49 EDT-------
I have now tried with the makedumpfile binary provided in the Ubuntu 16.10 OS.

root@powerkvm3-lp1:~# cd /var/crash/
root@powerkvm3-lp1:/var/crash# ls
201609270334  kexec_cmd
root@powerkvm3-lp1:/var/crash# cd 201609270334/
root@powerkvm3-lp1:/var/crash/201609270334# ls
vmcore.201609270334
root@powerkvm3-lp1:/var/crash/201609270334# which makedumpfile
/usr/bin/makedumpfile

root@powerkvm3-lp1:/var/crash/201609270334# dpkg -S /usr/bin/makedumpfile
makedumpfile: /usr/bin/makedumpfile
root@powerkvm3-lp1:/var/crash/201609270334# dpkg --list | grep makedumpfile
ii  makedumpfile                            1:1.6.0-2                           
     ppc64el      VMcore extraction tool

Now I tried to use the same to extract the vmcore generated earlier.

root@powerkvm3-lp1:/var/crash/201609270334# ls -l vmcore.201609270334
-r-------- 1 root root 270746714112 Sep 27 03:36 vmcore.201609270334
root@powerkvm3-lp1:/var/crash/201609270334# makedumpfile -l -d 31 
vmcore.201609270334 dump1
The kernel version is not supported.
The makedumpfile operation may be incomplete.
get_mem_map: Can't distinguish the memory type.

makedumpfile Failed.

But its still failing with the makedumpfile provided by latest Ubuntu
16.10 OS.

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

Title:
  Machine crashes to (initramfs) after Triggering a crash - missing
  crc32c module

Status in linux package in Ubuntu:
  Triaged
Status in makedumpfile package in Ubuntu:
  New

Bug description:
  == Comment: #6 - PAVAMAN SUBRAMANIYAM - 2016-09-23 01:12:09 ==
  I have installed the latest Ubuntu 16.10 4.8.0-15-generic kernel on the 
machine.

  root@powerkvm3-lp1:~# uname -a
  Linux powerkvm3-lp1 4.8.0-15-generic #16-Ubuntu SMP Wed Sep 21 20:45:56 UTC 
2016 ppc64le ppc64le ppc64le GNU/Linux
  root@powerkvm3-lp1:~# cat /etc/os-release
  NAME="Ubuntu"
  VERSION="16.10 (Yakkety Yak)"
  ID=ubuntu
  ID_LIKE=debian
  PRETTY_NAME="Ubuntu 16.10"
  VERSION_ID="16.10"
  HOME_URL="http://www.ubuntu.com/";
  SUPPORT_URL="http://help.ubuntu.com/";
  BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/";
  
PRIVACY_POLICY_URL="http://www.ubuntu.com/legal/terms-and-policies/privacy-policy";
  VERSION_CODENAME=yakkety
  UBUNTU_CODENAME=yakkety

  Then again triggered the crash on the machine using sysrq-trigger.

  root@powerkvm3-lp1:~# kdump-config show
  DUMP_MODE:        kdump
  USE_KDUMP:        1
  KDUMP_SYSCTL:     kernel.panic_on_oops=1
  KDUMP_COREDIR:    /var/crash
  crashkernel addr:
     /var/lib/kdump/vmlinuz: symbolic link to /boot/vmlinux-4.8.0-15-generic
  kdump initrd:
     /var/lib/kdump/initrd.img: symbolic link to 
/var/lib/kdump/initrd.img-4.8.0-15-generic
  current state:    ready to kdump

  kexec command:
    /sbin/kexec -p 
--command-line="root=UUID=85301ac1-2c85-426a-a9f2-fa87254fc9a7 ro quiet splash 
irqpoll nr_cpus=1 nousb systemd.unit=kdump-tools.service" 
--initrd=/var/lib/kdump/initrd.img /var/lib/kdump/vmlinuz

  root@powerkvm3-lp1:~# cat /proc/sys/kernel/sysrq
  176
  root@powerkvm3-lp1:~# sysctl -w kernel.sysrq=1
  kernel.sysrq = 1
  root@powerkvm3-lp1:~# cat /proc/sys/kernel/sysrq
  1

  But again the machine went to (initramfs) prompt since it could not
  load rootfs.

  Ubuntu Yakkety Yak (development branch) powerkvm3-lp1 hvc0

  powerkvm3-lp1 login: [  655.378861] sysrq: SysRq : Trigger a crash
  [  655.378969] Unable to handle kernel paging request for data at address 
0x00000000
  [  655.379047] Faulting instruction address: 0xc0000000005c28f4
  [  655.379112] Oops: Kernel access of bad area, sig: 11 [#1]
  [  655.379163] SMP NR_CPUS=2048 NUMA PowerNV
  [  655.379216] Modules linked in: btrfs ipmi_msghandler raid6_pq xor sg 
powernv_rng rng_core ghash_generic gf128mul powernv_op_panel vmx_crypto 
ip_tables x_tables autofs4 crc32c_generic ext4 crc16 jbd2 fscrypto mbcache 
sr_mod cdrom sd_mod crc32c_vpmsum xhci_pci xhci_hcd lpfc usbcore tg3 be2net ptp 
usb_common scsi_transport_fc pps_core ipr libphy
  [  655.379757] CPU: 25 PID: 6866 Comm: bash Not tainted 4.8.0-15-generic 
#16-Ubuntu
  [  655.379832] task: c000000fea14af00 task.stack: c000000fed1c8000
  [  655.379896] NIP: c0000000005c28f4 LR: c0000000005c39d8 CTR: 
c0000000005c28c0
  [  655.379971] REGS: c000000fed1cb990 TRAP: 0300   Not tainted  
(4.8.0-15-generic)
  [  655.380045] MSR: 9000000000009033 <SF,HV,EE,ME,IR,DR,RI,LE>  CR: 28242422  
XER: 20000000
  [  655.380235] CFAR: c0000000000087d0 DAR: 0000000000000000 DSISR: 42000000 
SOFTE: 1
  GPR00: c0000000005c39d8 c000000fed1cbc10 c000000000f67b00 0000000000000063
  GPR04: c000000ff964a9b8 c000000ff965f7e0 c000003fff800000 0000000000029610
  GPR08: 0000000000000007 0000000000000001 0000000000000000 0000000000000001
  GPR12: c0000000005c28c0 c00000000177e100 ffffffffffffffff 0000000022000000
  GPR16: 0000000010170dc8 0000010024567738 0000000010140f58 00000000100c7570
  GPR20: 0000000000000000 000000001017dd58 0000000010153618 000000001017b608
  GPR24: 00003ffff92ceca4 0000000000000001 c000000000ebff60 0000000000000004
  GPR28: c000000000ec0320 0000000000000063 c000000000e72a90 0000000000000000
  [  655.381234] NIP [c0000000005c28f4] sysrq_handle_crash+0x34/0x50
  [  655.381299] LR [c0000000005c39d8] __handle_sysrq+0xe8/0x280
  [  655.381350] Call Trace:
  [  655.381377] [c000000fed1cbc10] [c000000000a245e8] 0xc000000000a245e8 
(unreliable)
  [  655.381466] [c000000fed1cbc30] [c0000000005c39d8] __handle_sysrq+0xe8/0x280
  [  655.381543] [c000000fed1cbcd0] [c0000000005c4188] 
write_sysrq_trigger+0x78/0xa0
  [  655.381632] [c000000fed1cbd00] [c0000000003ad770] proc_reg_write+0xb0/0x110
  [  655.381708] [c000000fed1cbd50] [c00000000030fc3c] __vfs_write+0x6c/0xe0
  [  655.381784] [c000000fed1cbd90] [c000000000311144] vfs_write+0xd4/0x240
  [  655.381860] [c000000fed1cbde0] [c000000000312e5c] SyS_write+0x6c/0x110
  [  655.381936] [c000000fed1cbe30] [c0000000000095e0] system_call+0x38/0x108
  [  655.382011] Instruction dump:
  [  655.382050] 38425240 7c0802a6 f8010010 f821ffe1 60000000 60000000 3d220019 
3949ba60
  [  655.382295] 39200001 912a0000 7c0004ac 39400000 <992a0000> 38210020 
e8010010 7c0803a6
  [  655.382542] ---[ end trace b6ba9c85dbc3ed19 ]---
  [  655.384326]
  [  655.384460] Sending IPI to other CPUs
  [  655.385625] IPI complete
  [  655.387414] kexec: waiting for cpu 0 (physical 32) to enter OPAL
  [  655.390586] kexec: waiting for cpu 3 (physical 35) to enter OPAL
   -> smp_release_cpus()
  spinning_secondaries = 127
   <- smp_release_cpus()
  /dev/sdg2: recovering journal
  /dev/sdg2: clean, 129347/67042944 files, 5438910/267649024 blocks
  [  124.853983] EXT4-fs (sdg2): Cannot load crc32c driver.
  mount: mounting /dev/sdg2 on /root failed: No such file or directory
  [  127.473595] sd 1:0:11:0: [sdk] Asking for cache data failed
  [  127.473698] sd 1:0:11:0: [sdk] Assuming drive cache: write through
  mount: mounting /dev on /root/dev failed: No such file or directory
  mount: mounting /run on /root/run failed: No such file or directory
  run-init: current directory on the same filesystem as the root: error 0
  Target filesystem doesn't have requested /sbin/init.
  run-init: current directory on the same filesystem as the root: error 0
  run-init: current directory on the same filesystem as the root: error 0
  run-init: current directory on the same filesystem as the root: error 0
  run-init: current directory on the same filesystem as the root: error 0
  run-init: current directory on the same filesystem as the root: error 0
  No init found. Try passing init= bootarg.

  
  BusyBox v1.22.1 (Ubuntu 1:1.22.0-19ubuntu2) built-in shell (ash)
  Enter 'help' for a list of built-in commands.

  (initramfs)
  (initramfs) ls
  dev      lib      lib64    usr      run      sbin     sys      tmp
  root     scripts  etc      bin      init     conf     proc     var

  == Comment: #11 - Kevin W. Rudd  - 2016-09-23 13:26:51 ==
  Hello Canonical.

  This is related to the issue originally reported in LP Bug 1626269.
  Because Bug 1626269 references two distictly different problems, we
  are mirroring this over to track the issues with the missing crc32c
  module so that LP Bug 1626269 (IBM Bug 146571) can focus on the issue
  with the makedumpfile utility.

  Thanks.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1627126/+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