------- Comment From indira.pr...@in.ibm.com 2018-05-09 12:56 EDT-------
(In reply to comment #17)
> (In reply to comment #16)
> > HI Luciano,
> >
> > Bug is set to NEEDINFO state, may i know the pending item from my end.
> >
> > Regards,
> > Indira
>
> Hi Indira,
>
> Yes, please confirm that the workaround Hari provided indeed allows kdump to
> generate a vmcore successfully. We have a couple of other bugs this is
> dependent on working to pursue gathering data for crashes reported.
>
> echo c > /proc/sysrq-trigger
>
> should tell us.

Hi,

Have tried the workaround

1. root@boslcp3g4:~#/etc/kernel/postinst.d/kdump-tools 4.4.0-122-generic
root@boslcp3g4:~# systemctl restart kdump-tools.service
[  216.964332] kdump-tools[8867]: Stopping kdump-tools:  * unloaded kdump kernel
[  217.271290] kdump-tools[8895]: Starting kdump-tools: Modified 
cmdline:BOOT_IMAGE=/boot/vmlinux-4.4.0-122-generic 
root=UUID=8be749b1-a5a8-4ab8-986c-ee4fcc61165e ro ro splash quiet xmon=on 
irqpoll noirqdistrib nr_cpus=1 nousb systemd.unit=kdump-tools.service 
elfcorehdr=156800K
[  218.122135] kdump-tools[8895]:  * loaded kdump kernel

2. root@boslcp3g4:~# 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.4.0-122-generic
kdump initrd:
/var/lib/kdump/initrd.img: symbolic link to 
/var/lib/kdump/initrd.img-4.4.0-122-generic
current state:    ready to kdump

kexec command:
/sbin/kexec -p --command-line="BOOT_IMAGE=/boot/vmlinux-4.4.0-122-generic 
root=UUID=8be749b1-a5a8-4ab8-986c-ee4fcc61165e ro ro splash quiet xmon=on 
irqpoll noirqdistrib nr_cpus=1 nousb systemd.unit=kdump-tools.service" 
--initrd=/var/lib/kdump/initrd.img /var/lib/kdump/vmlinuz

3. root@boslcp3g4:~# kdump-config status
current state   : ready to kdump

root@boslcp3g4:~# cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinux-4.4.0-122-generic 
root=UUID=8be749b1-a5a8-4ab8-986c-ee4fcc61165e ro ro splash quiet 
crashkernel=512M crashkernel=4096M

4. Triggered crash & it logged crash logs

root@boslcp3g4:~# ls -lr /var/crash
total 364
-rw-r----- 1 root root 345515 May  7 06:19 _usr_bin_rsync.0.crash
-rw-r----- 1 root root  13690 May  9 12:45 
linux-image-4.4.0-122-generic-201805091244.crash
-rw-r--r-- 1 root root    269 May  9 12:45 kexec_cmd
drwxr-xr-x 2 root root   4096 May  9 12:44 201805091244
root@boslcp3g4:~# date
Wed May  9 12:46:40 EDT 2018

Regards,
Indira

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1769927

Title:
  ISST-LTE:KVM:Ubuntu1804:BostonLC:boslcp3g4:ubuntu1604:'kdump-config
  show' shows Not ready to kdump even after doing kdump setup.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/1769927/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to