[Kernel-packages] [Bug 1352056] Re: linux: kdump on Ubuntu 14.04 is not generating a dump.
Hi Breno, This fix was also applied to the 3.13 series Trusty kernel as well. So Trusty w/ 3.13, Trusty w/ 3.16 and any newer releases should work once all the SRUs complete and the fixes land in their respective packages. --chris -- 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/1352056 Title: linux: kdump on Ubuntu 14.04 is not generating a dump. Status in “linux” package in Ubuntu: Fix Released Status in “linux” source package in Trusty: Fix Committed Status in “linux” source package in Utopic: Fix Released Bug description: SRU Justification: [Impact] Users of ppc64el hardware need the ability to use crashdumps to do kernel debugging. [Fix] Commit upstream and already in utopic: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=429d2e8342954d337abe370d957e78291032d867 [Test Case] Taken from: https://wiki.ubuntu.com/Kernel/CrashdumpRecipe https://help.ubuntu.com/14.04/serverguide/kernel-crash-dump.html 1) apt-get install linux-crashdump 2) increase crashdump size: sudo vim /etc/default/grub.d/kexec-tools.cfg set crashkernel=1024M sudo update-grub 3) reboot the machine 4) sudo sed -i 's/USE_KDUMP=0/USE_KDUMP=1/g' /etc/default/kdump-tools 5) kdump-config show # should return no errors 6) echo 'c' | sudo tee /proc/sysrq-trigger 7) This should crash the machine and we should kexec into another kernel to dump the core, then on the next reboot we should see a crash in /var/crash/* -- ---Problem Description--- kdump is not producing a dump on powerKVM LE P8 Ubuntu 14.04 ---uname output--- 3.13.0-30-generic ---Additional Hardware Info--- Power8 LE configuration. ---Patches Installed--- 1324544 - kdump-config load fails with vmlinux kernel (vs. vmlinuz) Machine Type = 8247-22L ---Steps to Reproduce--- Installed kdump-tools 1.5.5-2ubuntu1 and crash 7.0.3-3ubuntu3. Updated /etc/default/kdump-tools, first I updated just USE_KDUMP=1. Rebooted the node and see: root=UUID=87986483-5fec-4b4d-b22e-bf2a72096df8 ro quiet splash crashkernel=384M-:128M root@c656f2n02:~# cat /proc/sys/kernel/sysrq 1 root@c656f2n02:~# cat /proc/sys/kernel/sysrq 1 root@c656f2n02:~# ^Cnd /proc | grep sysrq root@c656f2n02:~# kdump-config status current state : ready to kdump root@c656f2n02:~# kdump-config show USE_KDUMP:1 KDUMP_SYSCTL: kernel.panic_on_oops=1 KDUMP_COREDIR:/var/crash crashkernel addr: current state:ready to kdump kexec command: /sbin/kexec -p --args-linux --command-line=root=UUID=87986483-5fec-4b4d-b22e-bf2a72096df8 ro quiet splash irqpoll maxcpus=1 nousb --initrd=/boot/initrd.img-3.13.0-30-generic /boot/vmlinux-3.13.0-30-generic root@c656f2n02:/boot/grub# cat /sys/kernel/kexec_crash_loaded 1 root@c656f2n02:/boot/grub# cat /sys/kernel/kexec_loaded 0 echo c /proc/sysrq-trigger root@c656f2n02:/var/log# echo c /proc/sysrq-trigger [ 1956.014243] SysRq : Trigger a crash [ 1956.014328] Unable to handle kernel paging request for data at address 0x [ 1956.014404] Faulting instruction address: 0xc0586c2c [ 1956.014468] Oops: Kernel access of bad area, sig: 11 [#1] [ 1956.014518] SMP NR_CPUS=2048 NUMA PowerNV [ 1956.014570] Modules linked in: ipt_MASQUERADE iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ipt_REJECT xt_CHECKSUM iptable_mangle xt_tcpudp bridge stp llc ip6table_filter ip6_tables iptable_filter ip_tables ebtable_nat ebtables x_tables autofs4 rdma_ucm(OF) ib_ucm(OF) rdma_cm(OF) iw_cm(OF) ib_ipoib(OF) ib_cm(OF) ib_uverbs(OF) ib_umad(OF) mlx5_ib(OF) mlx5_core(OF) mlx4_ib(OF) ib_sa(OF) ib_mad(OF) ib_core(OF) ib_addr(OF) mlx4_en(OF) mlx4_core(OF) compat(OF) nfsd auth_rpcgss nfs_acl nfs lockd sunrpc fscache rtc_generic powernv_rng ses enclosure ipr [ 1956.015306] CPU: 146 PID: 2522 Comm: bash Tainted: GF O 3.13.0-30-generic #54-Ubuntu [ 1956.015394] task: c03fcabda120 ti: c03fcac58000 task.ti: c03fcac58000 [ 1956.015469] NIP: c0586c2c LR: c0587b8c CTR: c0586c00 [ 1956.015543] REGS: c03fcac5b820 TRAP: 0300 Tainted: GF O (3.13.0-30-generic) [ 1956.015617] MSR: 90009033 SF,HV,EE,ME,IR,DR,RI,LE CR: 42422822 XER: 2000 [ 1956.015804] CFAR: c0009318 DAR: DSISR: 4200 SOFTE: 0 GPR00: c0587b8c c03fcac5baa0 c162e840 0063 GPR04: c2f45bd0 c2f564c8 00015ad0 c1827480 GPR08: c0dfe840 0001 00015ad0 GPR12: 42422822 c7e5ff00 01002fe90648 1016e008 GPR16: 1013ad70 01002fe94648 1016fed0 1016e008 GPR20: 100c31e0 10171fc8 1016f840 GPR24:
[Kernel-packages] [Bug 1352056] Re: linux: kdump on Ubuntu 14.04 is not generating a dump.
This bug was fixed in the package linux - 3.13.0-39.66 --- linux (3.13.0-39.66) trusty; urgency=low [ Luis Henriques ] * Release Tracking Bug - LP: #1386629 [ Upstream Kernel Changes ] * KVM: x86: Check non-canonical addresses upon WRMSR - LP: #1384539 - CVE-2014-3610 * KVM: x86: Prevent host from panicking on shared MSR writes. - LP: #1384539 - CVE-2014-3610 * KVM: x86: Improve thread safety in pit - LP: #1384540 - CVE-2014-3611 * KVM: x86: Fix wrong masking on relative jump/call - LP: #1384545 - CVE-2014-3647 * KVM: x86: Warn if guest virtual address space is not 48-bits - LP: #1384545 - CVE-2014-3647 * KVM: x86: Emulator fixes for eip canonical checks on near branches - LP: #1384545 - CVE-2014-3647 * KVM: x86: emulating descriptor load misses long-mode case - LP: #1384545 - CVE-2014-3647 * KVM: x86: Handle errors when RIP is set during far jumps - LP: #1384545 - CVE-2014-3647 * kvm: vmx: handle invvpid vm exit gracefully - LP: #1384544 - CVE-2014-3646 * Input: synaptics - gate forcepad support by DMI check - LP: #1381815 linux (3.13.0-38.65) trusty; urgency=low [ Luis Henriques ] * Release Tracking Bug - LP: #1379244 [ Andy Whitcroft ] * Revert SAUCE: scsi: hyper-v storsvc switch up to SPC-3 - LP: #1354397 * [Config] linux-image-extra is additive to linux-image - LP: #1375310 * [Config] linux-image-extra postrm is not needed on purge - LP: #1375310 [ Upstream Kernel Changes ] * Revert KVM: x86: Increase the number of fixed MTRR regs to 10 - LP: #1377564 * Revert USB: option,zte_ev: move most ZTE CDMA devices to zte_ev - LP: #1377564 * aufs: bugfix, stop calling security_mmap_file() again - LP: #1371316 * ipvs: fix ipv6 hook registration for local replies - LP: #1349768 * Drivers: add blist flags - LP: #1354397 * sd: fix a bug in deriving the FLUSH_TIMEOUT from the basic I/O timeout - LP: #1354397 * drm/i915/bdw: Add 42ms delay for IPS disable - LP: #1374389 * drm/i915: add null render states for gen6, gen7 and gen8 - LP: #1374389 * drm/i915/bdw: 3D_CHICKEN3 has write mask bits - LP: #1374389 * drm/i915/bdw: Disable idle DOP clock gating - LP: #1374389 * drm/i915: call lpt_init_clock_gating on BDW too - LP: #1374389 * drm/i915: shuffle panel code - LP: #1374389 * drm/i915: extract backlight minimum brightness from VBT - LP: #1374389 * drm/i915: respect the VBT minimum backlight brightness - LP: #1374389 * drm/i915/bdw: Apply workarounds in render ring init function - LP: #1374389 * drm/i915/bdw: Cleanup pre prod workarounds - LP: #1374389 * drm/i915: Replace hardcoded cacheline size with macro - LP: #1374389 * drm/i915: Refactor Broadwell PIPE_CONTROL emission into a helper. - LP: #1374389 * drm/i915: Add the WaCsStallBeforeStateCacheInvalidate:bdw workaround. - LP: #1374389 * drm/i915/bdw: Remove BDW preproduction W/As until C stepping. - LP: #1374389 * mptfusion: enable no_write_same for vmware scsi disks - LP: #1371591 * iommu/amd: Fix cleanup_domain for mass device removal - LP: #1375266 * cifs: mask off top byte in get_rfc1002_length() - LP: #1372482 * Input: synaptics - add support for ForcePads - LP: #1377564 * ASoC: pxa-ssp: drop SNDRV_PCM_FMTBIT_S24_LE - LP: #1377564 * drm/radeon: add bapm module parameter - LP: #1377564 * drm/radeon: Add missing lines to ci_set_thermal_temperature_range - LP: #1377564 * drm/radeon: Add ability to get and change dpm state when radeon PX card is turned off - LP: #1377564 * ALSA: hda/realtek - Avoid setting wrong COEF on ALC269 co - LP: #1377564 * of/irq: Fix lookup to use 'interrupts-extended' property first - LP: #1377564 * Possible null ptr deref in SMB2_tcon - LP: #1377564 * CIFS: Fix SMB2 readdir error handling - LP: #1377564 * CIFS: Fix wrong directory attributes after rename - LP: #1377564 * md/raid6: avoid data corruption during recovery of double-degraded RAID6 - LP: #1377564 * ARM: dts: i.MX53: fix apparent bug in VPU clks - LP: #1377564 * pata_scc: propagate return value of scc_wait_after_reset - LP: #1377564 * libata: widen Crucial M550 blacklist matching - LP: #1377564 * ALSA: hda - restore the gpio led after resume - LP: #1358116, #1377564 * md/raid10: fix memory leak when reshaping a RAID10. - LP: #1377564 * md/raid10: Fix memory leak when raid10 reshape completes. - LP: #1377564 * MIPS: OCTEON: make get_system_type() thread-safe - LP: #1377564 * can: c_can: checking IS_ERR() instead of NULL - LP: #1377564 * HID: logitech: perform bounds checking on device_id early enough - LP: #1377564 * firmware: Do not use WARN_ON(!spin_is_locked()) - LP: #1377564 * drm/radeon: add new KV pci id - LP: #1377564 * drm/radeon: add
[Kernel-packages] [Bug 1352056] Re: linux: kdump on Ubuntu 14.04 is not generating a dump.
Hi Chris, Regarding the fix for trusty, are you waiting for 14.04.2 release, which is going to contain the 3.16 kernel? -- 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/1352056 Title: linux: kdump on Ubuntu 14.04 is not generating a dump. Status in “linux” package in Ubuntu: Fix Released Status in “linux” source package in Trusty: Fix Committed Status in “linux” source package in Utopic: Fix Released Bug description: SRU Justification: [Impact] Users of ppc64el hardware need the ability to use crashdumps to do kernel debugging. [Fix] Commit upstream and already in utopic: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=429d2e8342954d337abe370d957e78291032d867 [Test Case] Taken from: https://wiki.ubuntu.com/Kernel/CrashdumpRecipe https://help.ubuntu.com/14.04/serverguide/kernel-crash-dump.html 1) apt-get install linux-crashdump 2) increase crashdump size: sudo vim /etc/default/grub.d/kexec-tools.cfg set crashkernel=1024M sudo update-grub 3) reboot the machine 4) sudo sed -i 's/USE_KDUMP=0/USE_KDUMP=1/g' /etc/default/kdump-tools 5) kdump-config show # should return no errors 6) echo 'c' | sudo tee /proc/sysrq-trigger 7) This should crash the machine and we should kexec into another kernel to dump the core, then on the next reboot we should see a crash in /var/crash/* -- ---Problem Description--- kdump is not producing a dump on powerKVM LE P8 Ubuntu 14.04 ---uname output--- 3.13.0-30-generic ---Additional Hardware Info--- Power8 LE configuration. ---Patches Installed--- 1324544 - kdump-config load fails with vmlinux kernel (vs. vmlinuz) Machine Type = 8247-22L ---Steps to Reproduce--- Installed kdump-tools 1.5.5-2ubuntu1 and crash 7.0.3-3ubuntu3. Updated /etc/default/kdump-tools, first I updated just USE_KDUMP=1. Rebooted the node and see: root=UUID=87986483-5fec-4b4d-b22e-bf2a72096df8 ro quiet splash crashkernel=384M-:128M root@c656f2n02:~# cat /proc/sys/kernel/sysrq 1 root@c656f2n02:~# cat /proc/sys/kernel/sysrq 1 root@c656f2n02:~# ^Cnd /proc | grep sysrq root@c656f2n02:~# kdump-config status current state : ready to kdump root@c656f2n02:~# kdump-config show USE_KDUMP:1 KDUMP_SYSCTL: kernel.panic_on_oops=1 KDUMP_COREDIR:/var/crash crashkernel addr: current state:ready to kdump kexec command: /sbin/kexec -p --args-linux --command-line=root=UUID=87986483-5fec-4b4d-b22e-bf2a72096df8 ro quiet splash irqpoll maxcpus=1 nousb --initrd=/boot/initrd.img-3.13.0-30-generic /boot/vmlinux-3.13.0-30-generic root@c656f2n02:/boot/grub# cat /sys/kernel/kexec_crash_loaded 1 root@c656f2n02:/boot/grub# cat /sys/kernel/kexec_loaded 0 echo c /proc/sysrq-trigger root@c656f2n02:/var/log# echo c /proc/sysrq-trigger [ 1956.014243] SysRq : Trigger a crash [ 1956.014328] Unable to handle kernel paging request for data at address 0x [ 1956.014404] Faulting instruction address: 0xc0586c2c [ 1956.014468] Oops: Kernel access of bad area, sig: 11 [#1] [ 1956.014518] SMP NR_CPUS=2048 NUMA PowerNV [ 1956.014570] Modules linked in: ipt_MASQUERADE iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ipt_REJECT xt_CHECKSUM iptable_mangle xt_tcpudp bridge stp llc ip6table_filter ip6_tables iptable_filter ip_tables ebtable_nat ebtables x_tables autofs4 rdma_ucm(OF) ib_ucm(OF) rdma_cm(OF) iw_cm(OF) ib_ipoib(OF) ib_cm(OF) ib_uverbs(OF) ib_umad(OF) mlx5_ib(OF) mlx5_core(OF) mlx4_ib(OF) ib_sa(OF) ib_mad(OF) ib_core(OF) ib_addr(OF) mlx4_en(OF) mlx4_core(OF) compat(OF) nfsd auth_rpcgss nfs_acl nfs lockd sunrpc fscache rtc_generic powernv_rng ses enclosure ipr [ 1956.015306] CPU: 146 PID: 2522 Comm: bash Tainted: GF O 3.13.0-30-generic #54-Ubuntu [ 1956.015394] task: c03fcabda120 ti: c03fcac58000 task.ti: c03fcac58000 [ 1956.015469] NIP: c0586c2c LR: c0587b8c CTR: c0586c00 [ 1956.015543] REGS: c03fcac5b820 TRAP: 0300 Tainted: GF O (3.13.0-30-generic) [ 1956.015617] MSR: 90009033 SF,HV,EE,ME,IR,DR,RI,LE CR: 42422822 XER: 2000 [ 1956.015804] CFAR: c0009318 DAR: DSISR: 4200 SOFTE: 0 GPR00: c0587b8c c03fcac5baa0 c162e840 0063 GPR04: c2f45bd0 c2f564c8 00015ad0 c1827480 GPR08: c0dfe840 0001 00015ad0 GPR12: 42422822 c7e5ff00 01002fe90648 1016e008 GPR16: 1013ad70 01002fe94648 1016fed0 1016e008 GPR20: 100c31e0 10171fc8 1016f840 GPR24: 0004 0001 c14b7dc8 GPR28: c1974c90 0063
[Kernel-packages] [Bug 1352056] Re: linux: kdump on Ubuntu 14.04 is not generating a dump.
This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed- trusty' to 'verification-done-trusty'. If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you! ** Tags added: verification-needed-trusty -- 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/1352056 Title: linux: kdump on Ubuntu 14.04 is not generating a dump. Status in “linux” package in Ubuntu: Fix Released Status in “linux” source package in Trusty: Fix Committed Status in “linux” source package in Utopic: Fix Released Bug description: SRU Justification: [Impact] Users of ppc64el hardware need the ability to use crashdumps to do kernel debugging. [Fix] Commit upstream and already in utopic: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=429d2e8342954d337abe370d957e78291032d867 [Test Case] Taken from: https://wiki.ubuntu.com/Kernel/CrashdumpRecipe https://help.ubuntu.com/14.04/serverguide/kernel-crash-dump.html 1) apt-get install linux-crashdump 2) increase crashdump size: sudo vim /etc/default/grub.d/kexec-tools.cfg set crashkernel=1024M sudo update-grub 3) reboot the machine 4) sudo sed -i 's/USE_KDUMP=0/USE_KDUMP=1/g' /etc/default/kdump-tools 5) kdump-config show # should return no errors 6) echo 'c' | sudo tee /proc/sysrq-trigger 7) This should crash the machine and we should kexec into another kernel to dump the core, then on the next reboot we should see a crash in /var/crash/* -- ---Problem Description--- kdump is not producing a dump on powerKVM LE P8 Ubuntu 14.04 ---uname output--- 3.13.0-30-generic ---Additional Hardware Info--- Power8 LE configuration. ---Patches Installed--- 1324544 - kdump-config load fails with vmlinux kernel (vs. vmlinuz) Machine Type = 8247-22L ---Steps to Reproduce--- Installed kdump-tools 1.5.5-2ubuntu1 and crash 7.0.3-3ubuntu3. Updated /etc/default/kdump-tools, first I updated just USE_KDUMP=1. Rebooted the node and see: root=UUID=87986483-5fec-4b4d-b22e-bf2a72096df8 ro quiet splash crashkernel=384M-:128M root@c656f2n02:~# cat /proc/sys/kernel/sysrq 1 root@c656f2n02:~# cat /proc/sys/kernel/sysrq 1 root@c656f2n02:~# ^Cnd /proc | grep sysrq root@c656f2n02:~# kdump-config status current state : ready to kdump root@c656f2n02:~# kdump-config show USE_KDUMP:1 KDUMP_SYSCTL: kernel.panic_on_oops=1 KDUMP_COREDIR:/var/crash crashkernel addr: current state:ready to kdump kexec command: /sbin/kexec -p --args-linux --command-line=root=UUID=87986483-5fec-4b4d-b22e-bf2a72096df8 ro quiet splash irqpoll maxcpus=1 nousb --initrd=/boot/initrd.img-3.13.0-30-generic /boot/vmlinux-3.13.0-30-generic root@c656f2n02:/boot/grub# cat /sys/kernel/kexec_crash_loaded 1 root@c656f2n02:/boot/grub# cat /sys/kernel/kexec_loaded 0 echo c /proc/sysrq-trigger root@c656f2n02:/var/log# echo c /proc/sysrq-trigger [ 1956.014243] SysRq : Trigger a crash [ 1956.014328] Unable to handle kernel paging request for data at address 0x [ 1956.014404] Faulting instruction address: 0xc0586c2c [ 1956.014468] Oops: Kernel access of bad area, sig: 11 [#1] [ 1956.014518] SMP NR_CPUS=2048 NUMA PowerNV [ 1956.014570] Modules linked in: ipt_MASQUERADE iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ipt_REJECT xt_CHECKSUM iptable_mangle xt_tcpudp bridge stp llc ip6table_filter ip6_tables iptable_filter ip_tables ebtable_nat ebtables x_tables autofs4 rdma_ucm(OF) ib_ucm(OF) rdma_cm(OF) iw_cm(OF) ib_ipoib(OF) ib_cm(OF) ib_uverbs(OF) ib_umad(OF) mlx5_ib(OF) mlx5_core(OF) mlx4_ib(OF) ib_sa(OF) ib_mad(OF) ib_core(OF) ib_addr(OF) mlx4_en(OF) mlx4_core(OF) compat(OF) nfsd auth_rpcgss nfs_acl nfs lockd sunrpc fscache rtc_generic powernv_rng ses enclosure ipr [ 1956.015306] CPU: 146 PID: 2522 Comm: bash Tainted: GF O 3.13.0-30-generic #54-Ubuntu [ 1956.015394] task: c03fcabda120 ti: c03fcac58000 task.ti: c03fcac58000 [ 1956.015469] NIP: c0586c2c LR: c0587b8c CTR: c0586c00 [ 1956.015543] REGS: c03fcac5b820 TRAP: 0300 Tainted: GF O (3.13.0-30-generic) [ 1956.015617] MSR: 90009033 SF,HV,EE,ME,IR,DR,RI,LE CR: 42422822 XER: 2000 [ 1956.015804] CFAR: c0009318 DAR: DSISR: 4200 SOFTE: 0 GPR00: c0587b8c c03fcac5baa0 c162e840 0063 GPR04: c2f45bd0 c2f564c8 00015ad0 c1827480 GPR08:
[Kernel-packages] [Bug 1352056] Re: linux: kdump on Ubuntu 14.04 is not generating a dump.
Just verified this in a trusty power8 KVM. ** Tags removed: verification-needed-trusty ** Tags added: verification-done-trusty -- 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/1352056 Title: linux: kdump on Ubuntu 14.04 is not generating a dump. Status in “linux” package in Ubuntu: Fix Released Status in “linux” source package in Trusty: Fix Committed Status in “linux” source package in Utopic: Fix Released Bug description: SRU Justification: [Impact] Users of ppc64el hardware need the ability to use crashdumps to do kernel debugging. [Fix] Commit upstream and already in utopic: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=429d2e8342954d337abe370d957e78291032d867 [Test Case] Taken from: https://wiki.ubuntu.com/Kernel/CrashdumpRecipe https://help.ubuntu.com/14.04/serverguide/kernel-crash-dump.html 1) apt-get install linux-crashdump 2) increase crashdump size: sudo vim /etc/default/grub.d/kexec-tools.cfg set crashkernel=1024M sudo update-grub 3) reboot the machine 4) sudo sed -i 's/USE_KDUMP=0/USE_KDUMP=1/g' /etc/default/kdump-tools 5) kdump-config show # should return no errors 6) echo 'c' | sudo tee /proc/sysrq-trigger 7) This should crash the machine and we should kexec into another kernel to dump the core, then on the next reboot we should see a crash in /var/crash/* -- ---Problem Description--- kdump is not producing a dump on powerKVM LE P8 Ubuntu 14.04 ---uname output--- 3.13.0-30-generic ---Additional Hardware Info--- Power8 LE configuration. ---Patches Installed--- 1324544 - kdump-config load fails with vmlinux kernel (vs. vmlinuz) Machine Type = 8247-22L ---Steps to Reproduce--- Installed kdump-tools 1.5.5-2ubuntu1 and crash 7.0.3-3ubuntu3. Updated /etc/default/kdump-tools, first I updated just USE_KDUMP=1. Rebooted the node and see: root=UUID=87986483-5fec-4b4d-b22e-bf2a72096df8 ro quiet splash crashkernel=384M-:128M root@c656f2n02:~# cat /proc/sys/kernel/sysrq 1 root@c656f2n02:~# cat /proc/sys/kernel/sysrq 1 root@c656f2n02:~# ^Cnd /proc | grep sysrq root@c656f2n02:~# kdump-config status current state : ready to kdump root@c656f2n02:~# kdump-config show USE_KDUMP:1 KDUMP_SYSCTL: kernel.panic_on_oops=1 KDUMP_COREDIR:/var/crash crashkernel addr: current state:ready to kdump kexec command: /sbin/kexec -p --args-linux --command-line=root=UUID=87986483-5fec-4b4d-b22e-bf2a72096df8 ro quiet splash irqpoll maxcpus=1 nousb --initrd=/boot/initrd.img-3.13.0-30-generic /boot/vmlinux-3.13.0-30-generic root@c656f2n02:/boot/grub# cat /sys/kernel/kexec_crash_loaded 1 root@c656f2n02:/boot/grub# cat /sys/kernel/kexec_loaded 0 echo c /proc/sysrq-trigger root@c656f2n02:/var/log# echo c /proc/sysrq-trigger [ 1956.014243] SysRq : Trigger a crash [ 1956.014328] Unable to handle kernel paging request for data at address 0x [ 1956.014404] Faulting instruction address: 0xc0586c2c [ 1956.014468] Oops: Kernel access of bad area, sig: 11 [#1] [ 1956.014518] SMP NR_CPUS=2048 NUMA PowerNV [ 1956.014570] Modules linked in: ipt_MASQUERADE iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ipt_REJECT xt_CHECKSUM iptable_mangle xt_tcpudp bridge stp llc ip6table_filter ip6_tables iptable_filter ip_tables ebtable_nat ebtables x_tables autofs4 rdma_ucm(OF) ib_ucm(OF) rdma_cm(OF) iw_cm(OF) ib_ipoib(OF) ib_cm(OF) ib_uverbs(OF) ib_umad(OF) mlx5_ib(OF) mlx5_core(OF) mlx4_ib(OF) ib_sa(OF) ib_mad(OF) ib_core(OF) ib_addr(OF) mlx4_en(OF) mlx4_core(OF) compat(OF) nfsd auth_rpcgss nfs_acl nfs lockd sunrpc fscache rtc_generic powernv_rng ses enclosure ipr [ 1956.015306] CPU: 146 PID: 2522 Comm: bash Tainted: GF O 3.13.0-30-generic #54-Ubuntu [ 1956.015394] task: c03fcabda120 ti: c03fcac58000 task.ti: c03fcac58000 [ 1956.015469] NIP: c0586c2c LR: c0587b8c CTR: c0586c00 [ 1956.015543] REGS: c03fcac5b820 TRAP: 0300 Tainted: GF O (3.13.0-30-generic) [ 1956.015617] MSR: 90009033 SF,HV,EE,ME,IR,DR,RI,LE CR: 42422822 XER: 2000 [ 1956.015804] CFAR: c0009318 DAR: DSISR: 4200 SOFTE: 0 GPR00: c0587b8c c03fcac5baa0 c162e840 0063 GPR04: c2f45bd0 c2f564c8 00015ad0 c1827480 GPR08: c0dfe840 0001 00015ad0 GPR12: 42422822 c7e5ff00 01002fe90648 1016e008 GPR16: 1013ad70 01002fe94648 1016fed0 1016e008 GPR20: 100c31e0 10171fc8 1016f840 GPR24: 0004 0001 c14b7dc8 GPR28: c1974c90 0063
[Kernel-packages] [Bug 1352056] Re: linux: kdump on Ubuntu 14.04 is not generating a dump.
** Branch linked: lp:ubuntu/trusty-proposed/linux-keystone -- 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/1352056 Title: linux: kdump on Ubuntu 14.04 is not generating a dump. Status in “linux” package in Ubuntu: Fix Released Status in “linux” source package in Trusty: Fix Committed Status in “linux” source package in Utopic: Fix Released Bug description: SRU Justification: [Impact] Users of ppc64el hardware need the ability to use crashdumps to do kernel debugging. [Fix] Commit upstream and already in utopic: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=429d2e8342954d337abe370d957e78291032d867 [Test Case] Taken from: https://wiki.ubuntu.com/Kernel/CrashdumpRecipe https://help.ubuntu.com/14.04/serverguide/kernel-crash-dump.html 1) apt-get install linux-crashdump 2) increase crashdump size: sudo vim /etc/default/grub.d/kexec-tools.cfg set crashkernel=1024M sudo update-grub 3) reboot the machine 4) sudo sed -i 's/USE_KDUMP=0/USE_KDUMP=1/g' /etc/default/kdump-tools 5) kdump-config show # should return no errors 6) echo 'c' | sudo tee /proc/sysrq-trigger 7) This should crash the machine and we should kexec into another kernel to dump the core, then on the next reboot we should see a crash in /var/crash/* -- ---Problem Description--- kdump is not producing a dump on powerKVM LE P8 Ubuntu 14.04 ---uname output--- 3.13.0-30-generic ---Additional Hardware Info--- Power8 LE configuration. ---Patches Installed--- 1324544 - kdump-config load fails with vmlinux kernel (vs. vmlinuz) Machine Type = 8247-22L ---Steps to Reproduce--- Installed kdump-tools 1.5.5-2ubuntu1 and crash 7.0.3-3ubuntu3. Updated /etc/default/kdump-tools, first I updated just USE_KDUMP=1. Rebooted the node and see: root=UUID=87986483-5fec-4b4d-b22e-bf2a72096df8 ro quiet splash crashkernel=384M-:128M root@c656f2n02:~# cat /proc/sys/kernel/sysrq 1 root@c656f2n02:~# cat /proc/sys/kernel/sysrq 1 root@c656f2n02:~# ^Cnd /proc | grep sysrq root@c656f2n02:~# kdump-config status current state : ready to kdump root@c656f2n02:~# kdump-config show USE_KDUMP:1 KDUMP_SYSCTL: kernel.panic_on_oops=1 KDUMP_COREDIR:/var/crash crashkernel addr: current state:ready to kdump kexec command: /sbin/kexec -p --args-linux --command-line=root=UUID=87986483-5fec-4b4d-b22e-bf2a72096df8 ro quiet splash irqpoll maxcpus=1 nousb --initrd=/boot/initrd.img-3.13.0-30-generic /boot/vmlinux-3.13.0-30-generic root@c656f2n02:/boot/grub# cat /sys/kernel/kexec_crash_loaded 1 root@c656f2n02:/boot/grub# cat /sys/kernel/kexec_loaded 0 echo c /proc/sysrq-trigger root@c656f2n02:/var/log# echo c /proc/sysrq-trigger [ 1956.014243] SysRq : Trigger a crash [ 1956.014328] Unable to handle kernel paging request for data at address 0x [ 1956.014404] Faulting instruction address: 0xc0586c2c [ 1956.014468] Oops: Kernel access of bad area, sig: 11 [#1] [ 1956.014518] SMP NR_CPUS=2048 NUMA PowerNV [ 1956.014570] Modules linked in: ipt_MASQUERADE iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ipt_REJECT xt_CHECKSUM iptable_mangle xt_tcpudp bridge stp llc ip6table_filter ip6_tables iptable_filter ip_tables ebtable_nat ebtables x_tables autofs4 rdma_ucm(OF) ib_ucm(OF) rdma_cm(OF) iw_cm(OF) ib_ipoib(OF) ib_cm(OF) ib_uverbs(OF) ib_umad(OF) mlx5_ib(OF) mlx5_core(OF) mlx4_ib(OF) ib_sa(OF) ib_mad(OF) ib_core(OF) ib_addr(OF) mlx4_en(OF) mlx4_core(OF) compat(OF) nfsd auth_rpcgss nfs_acl nfs lockd sunrpc fscache rtc_generic powernv_rng ses enclosure ipr [ 1956.015306] CPU: 146 PID: 2522 Comm: bash Tainted: GF O 3.13.0-30-generic #54-Ubuntu [ 1956.015394] task: c03fcabda120 ti: c03fcac58000 task.ti: c03fcac58000 [ 1956.015469] NIP: c0586c2c LR: c0587b8c CTR: c0586c00 [ 1956.015543] REGS: c03fcac5b820 TRAP: 0300 Tainted: GF O (3.13.0-30-generic) [ 1956.015617] MSR: 90009033 SF,HV,EE,ME,IR,DR,RI,LE CR: 42422822 XER: 2000 [ 1956.015804] CFAR: c0009318 DAR: DSISR: 4200 SOFTE: 0 GPR00: c0587b8c c03fcac5baa0 c162e840 0063 GPR04: c2f45bd0 c2f564c8 00015ad0 c1827480 GPR08: c0dfe840 0001 00015ad0 GPR12: 42422822 c7e5ff00 01002fe90648 1016e008 GPR16: 1013ad70 01002fe94648 1016fed0 1016e008 GPR20: 100c31e0 10171fc8 1016f840 GPR24: 0004 0001 c14b7dc8 GPR28: c1974c90 0063 c148d9c0 c14b8188 [ 1956.016794] NIP
[Kernel-packages] [Bug 1352056] Re: linux: kdump on Ubuntu 14.04 is not generating a dump.
** Branch linked: lp:ubuntu/precise-proposed/linux-lts-trusty -- 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/1352056 Title: linux: kdump on Ubuntu 14.04 is not generating a dump. Status in “linux” package in Ubuntu: Fix Released Status in “linux” source package in Trusty: Fix Committed Status in “linux” source package in Utopic: Fix Released Bug description: SRU Justification: [Impact] Users of ppc64el hardware need the ability to use crashdumps to do kernel debugging. [Fix] Commit upstream and already in utopic: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=429d2e8342954d337abe370d957e78291032d867 [Test Case] Taken from: https://wiki.ubuntu.com/Kernel/CrashdumpRecipe https://help.ubuntu.com/14.04/serverguide/kernel-crash-dump.html 1) apt-get install linux-crashdump 2) increase crashdump size: sudo vim /etc/default/grub.d/kexec-tools.cfg set crashkernel=1024M sudo update-grub 3) reboot the machine 4) sudo sed -i 's/USE_KDUMP=0/USE_KDUMP=1/g' /etc/default/kdump-tools 5) kdump-config show # should return no errors 6) echo 'c' | sudo tee /proc/sysrq-trigger 7) This should crash the machine and we should kexec into another kernel to dump the core, then on the next reboot we should see a crash in /var/crash/* -- ---Problem Description--- kdump is not producing a dump on powerKVM LE P8 Ubuntu 14.04 ---uname output--- 3.13.0-30-generic ---Additional Hardware Info--- Power8 LE configuration. ---Patches Installed--- 1324544 - kdump-config load fails with vmlinux kernel (vs. vmlinuz) Machine Type = 8247-22L ---Steps to Reproduce--- Installed kdump-tools 1.5.5-2ubuntu1 and crash 7.0.3-3ubuntu3. Updated /etc/default/kdump-tools, first I updated just USE_KDUMP=1. Rebooted the node and see: root=UUID=87986483-5fec-4b4d-b22e-bf2a72096df8 ro quiet splash crashkernel=384M-:128M root@c656f2n02:~# cat /proc/sys/kernel/sysrq 1 root@c656f2n02:~# cat /proc/sys/kernel/sysrq 1 root@c656f2n02:~# ^Cnd /proc | grep sysrq root@c656f2n02:~# kdump-config status current state : ready to kdump root@c656f2n02:~# kdump-config show USE_KDUMP:1 KDUMP_SYSCTL: kernel.panic_on_oops=1 KDUMP_COREDIR:/var/crash crashkernel addr: current state:ready to kdump kexec command: /sbin/kexec -p --args-linux --command-line=root=UUID=87986483-5fec-4b4d-b22e-bf2a72096df8 ro quiet splash irqpoll maxcpus=1 nousb --initrd=/boot/initrd.img-3.13.0-30-generic /boot/vmlinux-3.13.0-30-generic root@c656f2n02:/boot/grub# cat /sys/kernel/kexec_crash_loaded 1 root@c656f2n02:/boot/grub# cat /sys/kernel/kexec_loaded 0 echo c /proc/sysrq-trigger root@c656f2n02:/var/log# echo c /proc/sysrq-trigger [ 1956.014243] SysRq : Trigger a crash [ 1956.014328] Unable to handle kernel paging request for data at address 0x [ 1956.014404] Faulting instruction address: 0xc0586c2c [ 1956.014468] Oops: Kernel access of bad area, sig: 11 [#1] [ 1956.014518] SMP NR_CPUS=2048 NUMA PowerNV [ 1956.014570] Modules linked in: ipt_MASQUERADE iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ipt_REJECT xt_CHECKSUM iptable_mangle xt_tcpudp bridge stp llc ip6table_filter ip6_tables iptable_filter ip_tables ebtable_nat ebtables x_tables autofs4 rdma_ucm(OF) ib_ucm(OF) rdma_cm(OF) iw_cm(OF) ib_ipoib(OF) ib_cm(OF) ib_uverbs(OF) ib_umad(OF) mlx5_ib(OF) mlx5_core(OF) mlx4_ib(OF) ib_sa(OF) ib_mad(OF) ib_core(OF) ib_addr(OF) mlx4_en(OF) mlx4_core(OF) compat(OF) nfsd auth_rpcgss nfs_acl nfs lockd sunrpc fscache rtc_generic powernv_rng ses enclosure ipr [ 1956.015306] CPU: 146 PID: 2522 Comm: bash Tainted: GF O 3.13.0-30-generic #54-Ubuntu [ 1956.015394] task: c03fcabda120 ti: c03fcac58000 task.ti: c03fcac58000 [ 1956.015469] NIP: c0586c2c LR: c0587b8c CTR: c0586c00 [ 1956.015543] REGS: c03fcac5b820 TRAP: 0300 Tainted: GF O (3.13.0-30-generic) [ 1956.015617] MSR: 90009033 SF,HV,EE,ME,IR,DR,RI,LE CR: 42422822 XER: 2000 [ 1956.015804] CFAR: c0009318 DAR: DSISR: 4200 SOFTE: 0 GPR00: c0587b8c c03fcac5baa0 c162e840 0063 GPR04: c2f45bd0 c2f564c8 00015ad0 c1827480 GPR08: c0dfe840 0001 00015ad0 GPR12: 42422822 c7e5ff00 01002fe90648 1016e008 GPR16: 1013ad70 01002fe94648 1016fed0 1016e008 GPR20: 100c31e0 10171fc8 1016f840 GPR24: 0004 0001 c14b7dc8 GPR28: c1974c90 0063 c148d9c0 c14b8188 [ 1956.016794] NIP
[Kernel-packages] [Bug 1352056] Re: linux: kdump on Ubuntu 14.04 is not generating a dump.
** Changed in: linux (Ubuntu Trusty) Status: In Progress = Fix Committed -- 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/1352056 Title: linux: kdump on Ubuntu 14.04 is not generating a dump. Status in “linux” package in Ubuntu: Fix Released Status in “linux” source package in Trusty: Fix Committed Status in “linux” source package in Utopic: Fix Released Bug description: SRU Justification: [Impact] Users of ppc64el hardware need the ability to use crashdumps to do kernel debugging. [Fix] Commit upstream and already in utopic: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=429d2e8342954d337abe370d957e78291032d867 [Test Case] Taken from: https://wiki.ubuntu.com/Kernel/CrashdumpRecipe https://help.ubuntu.com/14.04/serverguide/kernel-crash-dump.html 1) apt-get install linux-crashdump 2) increase crashdump size: sudo vim /etc/default/grub.d/kexec-tools.cfg set crashkernel=1024M sudo update-grub 3) reboot the machine 4) sudo sed -i 's/USE_KDUMP=0/USE_KDUMP=1/g' /etc/default/kdump-tools 5) kdump-config show # should return no errors 6) echo 'c' | sudo tee /proc/sysrq-trigger 7) This should crash the machine and we should kexec into another kernel to dump the core, then on the next reboot we should see a crash in /var/crash/* -- ---Problem Description--- kdump is not producing a dump on powerKVM LE P8 Ubuntu 14.04 ---uname output--- 3.13.0-30-generic ---Additional Hardware Info--- Power8 LE configuration. ---Patches Installed--- 1324544 - kdump-config load fails with vmlinux kernel (vs. vmlinuz) Machine Type = 8247-22L ---Steps to Reproduce--- Installed kdump-tools 1.5.5-2ubuntu1 and crash 7.0.3-3ubuntu3. Updated /etc/default/kdump-tools, first I updated just USE_KDUMP=1. Rebooted the node and see: root=UUID=87986483-5fec-4b4d-b22e-bf2a72096df8 ro quiet splash crashkernel=384M-:128M root@c656f2n02:~# cat /proc/sys/kernel/sysrq 1 root@c656f2n02:~# cat /proc/sys/kernel/sysrq 1 root@c656f2n02:~# ^Cnd /proc | grep sysrq root@c656f2n02:~# kdump-config status current state : ready to kdump root@c656f2n02:~# kdump-config show USE_KDUMP:1 KDUMP_SYSCTL: kernel.panic_on_oops=1 KDUMP_COREDIR:/var/crash crashkernel addr: current state:ready to kdump kexec command: /sbin/kexec -p --args-linux --command-line=root=UUID=87986483-5fec-4b4d-b22e-bf2a72096df8 ro quiet splash irqpoll maxcpus=1 nousb --initrd=/boot/initrd.img-3.13.0-30-generic /boot/vmlinux-3.13.0-30-generic root@c656f2n02:/boot/grub# cat /sys/kernel/kexec_crash_loaded 1 root@c656f2n02:/boot/grub# cat /sys/kernel/kexec_loaded 0 echo c /proc/sysrq-trigger root@c656f2n02:/var/log# echo c /proc/sysrq-trigger [ 1956.014243] SysRq : Trigger a crash [ 1956.014328] Unable to handle kernel paging request for data at address 0x [ 1956.014404] Faulting instruction address: 0xc0586c2c [ 1956.014468] Oops: Kernel access of bad area, sig: 11 [#1] [ 1956.014518] SMP NR_CPUS=2048 NUMA PowerNV [ 1956.014570] Modules linked in: ipt_MASQUERADE iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ipt_REJECT xt_CHECKSUM iptable_mangle xt_tcpudp bridge stp llc ip6table_filter ip6_tables iptable_filter ip_tables ebtable_nat ebtables x_tables autofs4 rdma_ucm(OF) ib_ucm(OF) rdma_cm(OF) iw_cm(OF) ib_ipoib(OF) ib_cm(OF) ib_uverbs(OF) ib_umad(OF) mlx5_ib(OF) mlx5_core(OF) mlx4_ib(OF) ib_sa(OF) ib_mad(OF) ib_core(OF) ib_addr(OF) mlx4_en(OF) mlx4_core(OF) compat(OF) nfsd auth_rpcgss nfs_acl nfs lockd sunrpc fscache rtc_generic powernv_rng ses enclosure ipr [ 1956.015306] CPU: 146 PID: 2522 Comm: bash Tainted: GF O 3.13.0-30-generic #54-Ubuntu [ 1956.015394] task: c03fcabda120 ti: c03fcac58000 task.ti: c03fcac58000 [ 1956.015469] NIP: c0586c2c LR: c0587b8c CTR: c0586c00 [ 1956.015543] REGS: c03fcac5b820 TRAP: 0300 Tainted: GF O (3.13.0-30-generic) [ 1956.015617] MSR: 90009033 SF,HV,EE,ME,IR,DR,RI,LE CR: 42422822 XER: 2000 [ 1956.015804] CFAR: c0009318 DAR: DSISR: 4200 SOFTE: 0 GPR00: c0587b8c c03fcac5baa0 c162e840 0063 GPR04: c2f45bd0 c2f564c8 00015ad0 c1827480 GPR08: c0dfe840 0001 00015ad0 GPR12: 42422822 c7e5ff00 01002fe90648 1016e008 GPR16: 1013ad70 01002fe94648 1016fed0 1016e008 GPR20: 100c31e0 10171fc8 1016f840 GPR24: 0004 0001 c14b7dc8 GPR28: c1974c90 0063 c148d9c0 c14b8188 [
[Kernel-packages] [Bug 1352056] Re: linux: kdump on Ubuntu 14.04 is not generating a dump.
Hi Chris, Thanks for fixing this out. One question: [Test Case] Taken from: https://wiki.ubuntu.com/Kernel/CrashdumpRecipe [...] 2) increase crashdump size: sudo vim /etc/default/grub.d/kexec-tools.cfg set crashkernel=1024M Is there any possibility to make this value something 'per-arch? So we can set more ppc64el, and not mess w/ other arches. Like that, crashdump would work by default (at least on ppc64el), users not having to manually adjust the crashkernel size. I'd be happy to provide a patch/ideas if you think it's OK to go. (I understand it might have to be later, for the feature-freeze took over some time ago). -- 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/1352056 Title: linux: kdump on Ubuntu 14.04 is not generating a dump. Status in “linux” package in Ubuntu: Fix Released Status in “linux” source package in Trusty: Fix Committed Status in “linux” source package in Utopic: Fix Released Bug description: SRU Justification: [Impact] Users of ppc64el hardware need the ability to use crashdumps to do kernel debugging. [Fix] Commit upstream and already in utopic: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=429d2e8342954d337abe370d957e78291032d867 [Test Case] Taken from: https://wiki.ubuntu.com/Kernel/CrashdumpRecipe https://help.ubuntu.com/14.04/serverguide/kernel-crash-dump.html 1) apt-get install linux-crashdump 2) increase crashdump size: sudo vim /etc/default/grub.d/kexec-tools.cfg set crashkernel=1024M sudo update-grub 3) reboot the machine 4) sudo sed -i 's/USE_KDUMP=0/USE_KDUMP=1/g' /etc/default/kdump-tools 5) kdump-config show # should return no errors 6) echo 'c' | sudo tee /proc/sysrq-trigger 7) This should crash the machine and we should kexec into another kernel to dump the core, then on the next reboot we should see a crash in /var/crash/* -- ---Problem Description--- kdump is not producing a dump on powerKVM LE P8 Ubuntu 14.04 ---uname output--- 3.13.0-30-generic ---Additional Hardware Info--- Power8 LE configuration. ---Patches Installed--- 1324544 - kdump-config load fails with vmlinux kernel (vs. vmlinuz) Machine Type = 8247-22L ---Steps to Reproduce--- Installed kdump-tools 1.5.5-2ubuntu1 and crash 7.0.3-3ubuntu3. Updated /etc/default/kdump-tools, first I updated just USE_KDUMP=1. Rebooted the node and see: root=UUID=87986483-5fec-4b4d-b22e-bf2a72096df8 ro quiet splash crashkernel=384M-:128M root@c656f2n02:~# cat /proc/sys/kernel/sysrq 1 root@c656f2n02:~# cat /proc/sys/kernel/sysrq 1 root@c656f2n02:~# ^Cnd /proc | grep sysrq root@c656f2n02:~# kdump-config status current state : ready to kdump root@c656f2n02:~# kdump-config show USE_KDUMP:1 KDUMP_SYSCTL: kernel.panic_on_oops=1 KDUMP_COREDIR:/var/crash crashkernel addr: current state:ready to kdump kexec command: /sbin/kexec -p --args-linux --command-line=root=UUID=87986483-5fec-4b4d-b22e-bf2a72096df8 ro quiet splash irqpoll maxcpus=1 nousb --initrd=/boot/initrd.img-3.13.0-30-generic /boot/vmlinux-3.13.0-30-generic root@c656f2n02:/boot/grub# cat /sys/kernel/kexec_crash_loaded 1 root@c656f2n02:/boot/grub# cat /sys/kernel/kexec_loaded 0 echo c /proc/sysrq-trigger root@c656f2n02:/var/log# echo c /proc/sysrq-trigger [ 1956.014243] SysRq : Trigger a crash [ 1956.014328] Unable to handle kernel paging request for data at address 0x [ 1956.014404] Faulting instruction address: 0xc0586c2c [ 1956.014468] Oops: Kernel access of bad area, sig: 11 [#1] [ 1956.014518] SMP NR_CPUS=2048 NUMA PowerNV [ 1956.014570] Modules linked in: ipt_MASQUERADE iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ipt_REJECT xt_CHECKSUM iptable_mangle xt_tcpudp bridge stp llc ip6table_filter ip6_tables iptable_filter ip_tables ebtable_nat ebtables x_tables autofs4 rdma_ucm(OF) ib_ucm(OF) rdma_cm(OF) iw_cm(OF) ib_ipoib(OF) ib_cm(OF) ib_uverbs(OF) ib_umad(OF) mlx5_ib(OF) mlx5_core(OF) mlx4_ib(OF) ib_sa(OF) ib_mad(OF) ib_core(OF) ib_addr(OF) mlx4_en(OF) mlx4_core(OF) compat(OF) nfsd auth_rpcgss nfs_acl nfs lockd sunrpc fscache rtc_generic powernv_rng ses enclosure ipr [ 1956.015306] CPU: 146 PID: 2522 Comm: bash Tainted: GF O 3.13.0-30-generic #54-Ubuntu [ 1956.015394] task: c03fcabda120 ti: c03fcac58000 task.ti: c03fcac58000 [ 1956.015469] NIP: c0586c2c LR: c0587b8c CTR: c0586c00 [ 1956.015543] REGS: c03fcac5b820 TRAP: 0300 Tainted: GF O (3.13.0-30-generic) [ 1956.015617] MSR: 90009033 SF,HV,EE,ME,IR,DR,RI,LE CR: 42422822 XER: 2000 [ 1956.015804] CFAR: c0009318 DAR: DSISR: 4200 SOFTE: 0 GPR00: c0587b8c c03fcac5baa0 c162e840
[Kernel-packages] [Bug 1352056] Re: linux: kdump on Ubuntu 14.04 is not generating a dump.
@mauricfo There is an incoming patch to run kdump as a lower runlevel which may help reduce memory usage after the kexec; I'd like to see if that fixes the issue without having to bump up memory consumption to 1G. Either way feel free to track this as a separate issue. First and foremost we should get the entire stack working in utopic/trusty with this small modification; then fix this as well. Thanks! -- 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/1352056 Title: linux: kdump on Ubuntu 14.04 is not generating a dump. Status in “linux” package in Ubuntu: Fix Released Status in “linux” source package in Trusty: Fix Committed Status in “linux” source package in Utopic: Fix Released Bug description: SRU Justification: [Impact] Users of ppc64el hardware need the ability to use crashdumps to do kernel debugging. [Fix] Commit upstream and already in utopic: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=429d2e8342954d337abe370d957e78291032d867 [Test Case] Taken from: https://wiki.ubuntu.com/Kernel/CrashdumpRecipe https://help.ubuntu.com/14.04/serverguide/kernel-crash-dump.html 1) apt-get install linux-crashdump 2) increase crashdump size: sudo vim /etc/default/grub.d/kexec-tools.cfg set crashkernel=1024M sudo update-grub 3) reboot the machine 4) sudo sed -i 's/USE_KDUMP=0/USE_KDUMP=1/g' /etc/default/kdump-tools 5) kdump-config show # should return no errors 6) echo 'c' | sudo tee /proc/sysrq-trigger 7) This should crash the machine and we should kexec into another kernel to dump the core, then on the next reboot we should see a crash in /var/crash/* -- ---Problem Description--- kdump is not producing a dump on powerKVM LE P8 Ubuntu 14.04 ---uname output--- 3.13.0-30-generic ---Additional Hardware Info--- Power8 LE configuration. ---Patches Installed--- 1324544 - kdump-config load fails with vmlinux kernel (vs. vmlinuz) Machine Type = 8247-22L ---Steps to Reproduce--- Installed kdump-tools 1.5.5-2ubuntu1 and crash 7.0.3-3ubuntu3. Updated /etc/default/kdump-tools, first I updated just USE_KDUMP=1. Rebooted the node and see: root=UUID=87986483-5fec-4b4d-b22e-bf2a72096df8 ro quiet splash crashkernel=384M-:128M root@c656f2n02:~# cat /proc/sys/kernel/sysrq 1 root@c656f2n02:~# cat /proc/sys/kernel/sysrq 1 root@c656f2n02:~# ^Cnd /proc | grep sysrq root@c656f2n02:~# kdump-config status current state : ready to kdump root@c656f2n02:~# kdump-config show USE_KDUMP:1 KDUMP_SYSCTL: kernel.panic_on_oops=1 KDUMP_COREDIR:/var/crash crashkernel addr: current state:ready to kdump kexec command: /sbin/kexec -p --args-linux --command-line=root=UUID=87986483-5fec-4b4d-b22e-bf2a72096df8 ro quiet splash irqpoll maxcpus=1 nousb --initrd=/boot/initrd.img-3.13.0-30-generic /boot/vmlinux-3.13.0-30-generic root@c656f2n02:/boot/grub# cat /sys/kernel/kexec_crash_loaded 1 root@c656f2n02:/boot/grub# cat /sys/kernel/kexec_loaded 0 echo c /proc/sysrq-trigger root@c656f2n02:/var/log# echo c /proc/sysrq-trigger [ 1956.014243] SysRq : Trigger a crash [ 1956.014328] Unable to handle kernel paging request for data at address 0x [ 1956.014404] Faulting instruction address: 0xc0586c2c [ 1956.014468] Oops: Kernel access of bad area, sig: 11 [#1] [ 1956.014518] SMP NR_CPUS=2048 NUMA PowerNV [ 1956.014570] Modules linked in: ipt_MASQUERADE iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ipt_REJECT xt_CHECKSUM iptable_mangle xt_tcpudp bridge stp llc ip6table_filter ip6_tables iptable_filter ip_tables ebtable_nat ebtables x_tables autofs4 rdma_ucm(OF) ib_ucm(OF) rdma_cm(OF) iw_cm(OF) ib_ipoib(OF) ib_cm(OF) ib_uverbs(OF) ib_umad(OF) mlx5_ib(OF) mlx5_core(OF) mlx4_ib(OF) ib_sa(OF) ib_mad(OF) ib_core(OF) ib_addr(OF) mlx4_en(OF) mlx4_core(OF) compat(OF) nfsd auth_rpcgss nfs_acl nfs lockd sunrpc fscache rtc_generic powernv_rng ses enclosure ipr [ 1956.015306] CPU: 146 PID: 2522 Comm: bash Tainted: GF O 3.13.0-30-generic #54-Ubuntu [ 1956.015394] task: c03fcabda120 ti: c03fcac58000 task.ti: c03fcac58000 [ 1956.015469] NIP: c0586c2c LR: c0587b8c CTR: c0586c00 [ 1956.015543] REGS: c03fcac5b820 TRAP: 0300 Tainted: GF O (3.13.0-30-generic) [ 1956.015617] MSR: 90009033 SF,HV,EE,ME,IR,DR,RI,LE CR: 42422822 XER: 2000 [ 1956.015804] CFAR: c0009318 DAR: DSISR: 4200 SOFTE: 0 GPR00: c0587b8c c03fcac5baa0 c162e840 0063 GPR04: c2f45bd0 c2f564c8 00015ad0 c1827480 GPR08: c0dfe840 0001 00015ad0 GPR12: 42422822 c7e5ff00 01002fe90648
[Kernel-packages] [Bug 1352056] Re: linux: kdump on Ubuntu 14.04 is not generating a dump.
@arges Ok! Thanks for letting us know. -- 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/1352056 Title: linux: kdump on Ubuntu 14.04 is not generating a dump. Status in “linux” package in Ubuntu: Fix Released Status in “linux” source package in Trusty: Fix Committed Status in “linux” source package in Utopic: Fix Released Bug description: SRU Justification: [Impact] Users of ppc64el hardware need the ability to use crashdumps to do kernel debugging. [Fix] Commit upstream and already in utopic: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=429d2e8342954d337abe370d957e78291032d867 [Test Case] Taken from: https://wiki.ubuntu.com/Kernel/CrashdumpRecipe https://help.ubuntu.com/14.04/serverguide/kernel-crash-dump.html 1) apt-get install linux-crashdump 2) increase crashdump size: sudo vim /etc/default/grub.d/kexec-tools.cfg set crashkernel=1024M sudo update-grub 3) reboot the machine 4) sudo sed -i 's/USE_KDUMP=0/USE_KDUMP=1/g' /etc/default/kdump-tools 5) kdump-config show # should return no errors 6) echo 'c' | sudo tee /proc/sysrq-trigger 7) This should crash the machine and we should kexec into another kernel to dump the core, then on the next reboot we should see a crash in /var/crash/* -- ---Problem Description--- kdump is not producing a dump on powerKVM LE P8 Ubuntu 14.04 ---uname output--- 3.13.0-30-generic ---Additional Hardware Info--- Power8 LE configuration. ---Patches Installed--- 1324544 - kdump-config load fails with vmlinux kernel (vs. vmlinuz) Machine Type = 8247-22L ---Steps to Reproduce--- Installed kdump-tools 1.5.5-2ubuntu1 and crash 7.0.3-3ubuntu3. Updated /etc/default/kdump-tools, first I updated just USE_KDUMP=1. Rebooted the node and see: root=UUID=87986483-5fec-4b4d-b22e-bf2a72096df8 ro quiet splash crashkernel=384M-:128M root@c656f2n02:~# cat /proc/sys/kernel/sysrq 1 root@c656f2n02:~# cat /proc/sys/kernel/sysrq 1 root@c656f2n02:~# ^Cnd /proc | grep sysrq root@c656f2n02:~# kdump-config status current state : ready to kdump root@c656f2n02:~# kdump-config show USE_KDUMP:1 KDUMP_SYSCTL: kernel.panic_on_oops=1 KDUMP_COREDIR:/var/crash crashkernel addr: current state:ready to kdump kexec command: /sbin/kexec -p --args-linux --command-line=root=UUID=87986483-5fec-4b4d-b22e-bf2a72096df8 ro quiet splash irqpoll maxcpus=1 nousb --initrd=/boot/initrd.img-3.13.0-30-generic /boot/vmlinux-3.13.0-30-generic root@c656f2n02:/boot/grub# cat /sys/kernel/kexec_crash_loaded 1 root@c656f2n02:/boot/grub# cat /sys/kernel/kexec_loaded 0 echo c /proc/sysrq-trigger root@c656f2n02:/var/log# echo c /proc/sysrq-trigger [ 1956.014243] SysRq : Trigger a crash [ 1956.014328] Unable to handle kernel paging request for data at address 0x [ 1956.014404] Faulting instruction address: 0xc0586c2c [ 1956.014468] Oops: Kernel access of bad area, sig: 11 [#1] [ 1956.014518] SMP NR_CPUS=2048 NUMA PowerNV [ 1956.014570] Modules linked in: ipt_MASQUERADE iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ipt_REJECT xt_CHECKSUM iptable_mangle xt_tcpudp bridge stp llc ip6table_filter ip6_tables iptable_filter ip_tables ebtable_nat ebtables x_tables autofs4 rdma_ucm(OF) ib_ucm(OF) rdma_cm(OF) iw_cm(OF) ib_ipoib(OF) ib_cm(OF) ib_uverbs(OF) ib_umad(OF) mlx5_ib(OF) mlx5_core(OF) mlx4_ib(OF) ib_sa(OF) ib_mad(OF) ib_core(OF) ib_addr(OF) mlx4_en(OF) mlx4_core(OF) compat(OF) nfsd auth_rpcgss nfs_acl nfs lockd sunrpc fscache rtc_generic powernv_rng ses enclosure ipr [ 1956.015306] CPU: 146 PID: 2522 Comm: bash Tainted: GF O 3.13.0-30-generic #54-Ubuntu [ 1956.015394] task: c03fcabda120 ti: c03fcac58000 task.ti: c03fcac58000 [ 1956.015469] NIP: c0586c2c LR: c0587b8c CTR: c0586c00 [ 1956.015543] REGS: c03fcac5b820 TRAP: 0300 Tainted: GF O (3.13.0-30-generic) [ 1956.015617] MSR: 90009033 SF,HV,EE,ME,IR,DR,RI,LE CR: 42422822 XER: 2000 [ 1956.015804] CFAR: c0009318 DAR: DSISR: 4200 SOFTE: 0 GPR00: c0587b8c c03fcac5baa0 c162e840 0063 GPR04: c2f45bd0 c2f564c8 00015ad0 c1827480 GPR08: c0dfe840 0001 00015ad0 GPR12: 42422822 c7e5ff00 01002fe90648 1016e008 GPR16: 1013ad70 01002fe94648 1016fed0 1016e008 GPR20: 100c31e0 10171fc8 1016f840 GPR24: 0004 0001 c14b7dc8 GPR28: c1974c90 0063 c148d9c0 c14b8188 [ 1956.016794] NIP [c0586c2c]
[Kernel-packages] [Bug 1352056] Re: linux: kdump on Ubuntu 14.04 is not generating a dump.
SRU sent to kernel ML. -- 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/1352056 Title: linux: kdump on Ubuntu 14.04 is not generating a dump. Status in “linux” package in Ubuntu: Fix Released Status in “linux” source package in Trusty: In Progress Status in “linux” source package in Utopic: Fix Released Bug description: SRU Justification: [Impact] Users of ppc64el hardware need the ability to use crashdumps to do kernel debugging. [Fix] Commit upstream and already in utopic: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=429d2e8342954d337abe370d957e78291032d867 [Test Case] Taken from: https://wiki.ubuntu.com/Kernel/CrashdumpRecipe https://help.ubuntu.com/14.04/serverguide/kernel-crash-dump.html 1) apt-get install linux-crashdump 2) increase crashdump size: sudo vim /etc/default/grub.d/kexec-tools.cfg set crashkernel=1024M sudo update-grub 3) reboot the machine 4) sudo sed -i 's/USE_KDUMP=0/USE_KDUMP=1/g' /etc/default/kdump-tools 5) kdump-config show # should return no errors 6) echo 'c' | sudo tee /proc/sysrq-trigger 7) This should crash the machine and we should kexec into another kernel to dump the core, then on the next reboot we should see a crash in /var/crash/* -- ---Problem Description--- kdump is not producing a dump on powerKVM LE P8 Ubuntu 14.04 ---uname output--- 3.13.0-30-generic ---Additional Hardware Info--- Power8 LE configuration. ---Patches Installed--- 1324544 - kdump-config load fails with vmlinux kernel (vs. vmlinuz) Machine Type = 8247-22L ---Steps to Reproduce--- Installed kdump-tools 1.5.5-2ubuntu1 and crash 7.0.3-3ubuntu3. Updated /etc/default/kdump-tools, first I updated just USE_KDUMP=1. Rebooted the node and see: root=UUID=87986483-5fec-4b4d-b22e-bf2a72096df8 ro quiet splash crashkernel=384M-:128M root@c656f2n02:~# cat /proc/sys/kernel/sysrq 1 root@c656f2n02:~# cat /proc/sys/kernel/sysrq 1 root@c656f2n02:~# ^Cnd /proc | grep sysrq root@c656f2n02:~# kdump-config status current state : ready to kdump root@c656f2n02:~# kdump-config show USE_KDUMP:1 KDUMP_SYSCTL: kernel.panic_on_oops=1 KDUMP_COREDIR:/var/crash crashkernel addr: current state:ready to kdump kexec command: /sbin/kexec -p --args-linux --command-line=root=UUID=87986483-5fec-4b4d-b22e-bf2a72096df8 ro quiet splash irqpoll maxcpus=1 nousb --initrd=/boot/initrd.img-3.13.0-30-generic /boot/vmlinux-3.13.0-30-generic root@c656f2n02:/boot/grub# cat /sys/kernel/kexec_crash_loaded 1 root@c656f2n02:/boot/grub# cat /sys/kernel/kexec_loaded 0 echo c /proc/sysrq-trigger root@c656f2n02:/var/log# echo c /proc/sysrq-trigger [ 1956.014243] SysRq : Trigger a crash [ 1956.014328] Unable to handle kernel paging request for data at address 0x [ 1956.014404] Faulting instruction address: 0xc0586c2c [ 1956.014468] Oops: Kernel access of bad area, sig: 11 [#1] [ 1956.014518] SMP NR_CPUS=2048 NUMA PowerNV [ 1956.014570] Modules linked in: ipt_MASQUERADE iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ipt_REJECT xt_CHECKSUM iptable_mangle xt_tcpudp bridge stp llc ip6table_filter ip6_tables iptable_filter ip_tables ebtable_nat ebtables x_tables autofs4 rdma_ucm(OF) ib_ucm(OF) rdma_cm(OF) iw_cm(OF) ib_ipoib(OF) ib_cm(OF) ib_uverbs(OF) ib_umad(OF) mlx5_ib(OF) mlx5_core(OF) mlx4_ib(OF) ib_sa(OF) ib_mad(OF) ib_core(OF) ib_addr(OF) mlx4_en(OF) mlx4_core(OF) compat(OF) nfsd auth_rpcgss nfs_acl nfs lockd sunrpc fscache rtc_generic powernv_rng ses enclosure ipr [ 1956.015306] CPU: 146 PID: 2522 Comm: bash Tainted: GF O 3.13.0-30-generic #54-Ubuntu [ 1956.015394] task: c03fcabda120 ti: c03fcac58000 task.ti: c03fcac58000 [ 1956.015469] NIP: c0586c2c LR: c0587b8c CTR: c0586c00 [ 1956.015543] REGS: c03fcac5b820 TRAP: 0300 Tainted: GF O (3.13.0-30-generic) [ 1956.015617] MSR: 90009033 SF,HV,EE,ME,IR,DR,RI,LE CR: 42422822 XER: 2000 [ 1956.015804] CFAR: c0009318 DAR: DSISR: 4200 SOFTE: 0 GPR00: c0587b8c c03fcac5baa0 c162e840 0063 GPR04: c2f45bd0 c2f564c8 00015ad0 c1827480 GPR08: c0dfe840 0001 00015ad0 GPR12: 42422822 c7e5ff00 01002fe90648 1016e008 GPR16: 1013ad70 01002fe94648 1016fed0 1016e008 GPR20: 100c31e0 10171fc8 1016f840 GPR24: 0004 0001 c14b7dc8 GPR28: c1974c90 0063 c148d9c0 c14b8188 [ 1956.016794] NIP [c0586c2c] .sysrq_handle_crash+0x2c/0x40 [
[Kernel-packages] [Bug 1352056] Re: linux: kdump on Ubuntu 14.04 is not generating a dump.
FYI tested with patched kernel + fixes for kexec-tools and makedumpfile and was able to crash kernel and run crash on dump on 3.13. -- 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/1352056 Title: linux: kdump on Ubuntu 14.04 is not generating a dump. Status in “linux” package in Ubuntu: Fix Released Status in “linux” source package in Trusty: In Progress Status in “linux” source package in Utopic: Fix Released Bug description: SRU Justification: [Impact] Users of ppc64el hardware need the ability to use crashdumps to do kernel debugging. [Fix] Commit upstream and already in utopic: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=429d2e8342954d337abe370d957e78291032d867 [Test Case] Taken from: https://wiki.ubuntu.com/Kernel/CrashdumpRecipe https://help.ubuntu.com/14.04/serverguide/kernel-crash-dump.html 1) apt-get install linux-crashdump 2) increase crashdump size: sudo vim /etc/default/grub.d/kexec-tools.cfg set crashkernel=1024M sudo update-grub 3) reboot the machine 4) sudo sed -i 's/USE_KDUMP=0/USE_KDUMP=1/g' /etc/default/kdump-tools 5) kdump-config show # should return no errors 6) echo 'c' | sudo tee /proc/sysrq-trigger 7) This should crash the machine and we should kexec into another kernel to dump the core, then on the next reboot we should see a crash in /var/crash/* -- ---Problem Description--- kdump is not producing a dump on powerKVM LE P8 Ubuntu 14.04 ---uname output--- 3.13.0-30-generic ---Additional Hardware Info--- Power8 LE configuration. ---Patches Installed--- 1324544 - kdump-config load fails with vmlinux kernel (vs. vmlinuz) Machine Type = 8247-22L ---Steps to Reproduce--- Installed kdump-tools 1.5.5-2ubuntu1 and crash 7.0.3-3ubuntu3. Updated /etc/default/kdump-tools, first I updated just USE_KDUMP=1. Rebooted the node and see: root=UUID=87986483-5fec-4b4d-b22e-bf2a72096df8 ro quiet splash crashkernel=384M-:128M root@c656f2n02:~# cat /proc/sys/kernel/sysrq 1 root@c656f2n02:~# cat /proc/sys/kernel/sysrq 1 root@c656f2n02:~# ^Cnd /proc | grep sysrq root@c656f2n02:~# kdump-config status current state : ready to kdump root@c656f2n02:~# kdump-config show USE_KDUMP:1 KDUMP_SYSCTL: kernel.panic_on_oops=1 KDUMP_COREDIR:/var/crash crashkernel addr: current state:ready to kdump kexec command: /sbin/kexec -p --args-linux --command-line=root=UUID=87986483-5fec-4b4d-b22e-bf2a72096df8 ro quiet splash irqpoll maxcpus=1 nousb --initrd=/boot/initrd.img-3.13.0-30-generic /boot/vmlinux-3.13.0-30-generic root@c656f2n02:/boot/grub# cat /sys/kernel/kexec_crash_loaded 1 root@c656f2n02:/boot/grub# cat /sys/kernel/kexec_loaded 0 echo c /proc/sysrq-trigger root@c656f2n02:/var/log# echo c /proc/sysrq-trigger [ 1956.014243] SysRq : Trigger a crash [ 1956.014328] Unable to handle kernel paging request for data at address 0x [ 1956.014404] Faulting instruction address: 0xc0586c2c [ 1956.014468] Oops: Kernel access of bad area, sig: 11 [#1] [ 1956.014518] SMP NR_CPUS=2048 NUMA PowerNV [ 1956.014570] Modules linked in: ipt_MASQUERADE iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ipt_REJECT xt_CHECKSUM iptable_mangle xt_tcpudp bridge stp llc ip6table_filter ip6_tables iptable_filter ip_tables ebtable_nat ebtables x_tables autofs4 rdma_ucm(OF) ib_ucm(OF) rdma_cm(OF) iw_cm(OF) ib_ipoib(OF) ib_cm(OF) ib_uverbs(OF) ib_umad(OF) mlx5_ib(OF) mlx5_core(OF) mlx4_ib(OF) ib_sa(OF) ib_mad(OF) ib_core(OF) ib_addr(OF) mlx4_en(OF) mlx4_core(OF) compat(OF) nfsd auth_rpcgss nfs_acl nfs lockd sunrpc fscache rtc_generic powernv_rng ses enclosure ipr [ 1956.015306] CPU: 146 PID: 2522 Comm: bash Tainted: GF O 3.13.0-30-generic #54-Ubuntu [ 1956.015394] task: c03fcabda120 ti: c03fcac58000 task.ti: c03fcac58000 [ 1956.015469] NIP: c0586c2c LR: c0587b8c CTR: c0586c00 [ 1956.015543] REGS: c03fcac5b820 TRAP: 0300 Tainted: GF O (3.13.0-30-generic) [ 1956.015617] MSR: 90009033 SF,HV,EE,ME,IR,DR,RI,LE CR: 42422822 XER: 2000 [ 1956.015804] CFAR: c0009318 DAR: DSISR: 4200 SOFTE: 0 GPR00: c0587b8c c03fcac5baa0 c162e840 0063 GPR04: c2f45bd0 c2f564c8 00015ad0 c1827480 GPR08: c0dfe840 0001 00015ad0 GPR12: 42422822 c7e5ff00 01002fe90648 1016e008 GPR16: 1013ad70 01002fe94648 1016fed0 1016e008 GPR20: 100c31e0 10171fc8 1016f840 GPR24: 0004 0001 c14b7dc8 GPR28: c1974c90 0063
[Kernel-packages] [Bug 1352056] Re: linux: kdump on Ubuntu 14.04 is not generating a dump.
** Changed in: linux (Ubuntu Utopic) Status: In Progress = Fix Released ** Changed in: linux (Ubuntu Utopic) Assignee: Chris J Arges (arges) = (unassigned) ** Changed in: linux (Ubuntu Utopic) Importance: High = Medium ** Changed in: linux (Ubuntu Utopic) Importance: Medium = Undecided -- 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/1352056 Title: linux: kdump on Ubuntu 14.04 is not generating a dump. Status in “linux” package in Ubuntu: Fix Released Status in “linux” source package in Trusty: In Progress Status in “linux” source package in Utopic: Fix Released Bug description: ---Problem Description--- kdump is not producing a dump on powerKVM LE P8 Ubuntu 14.04 ---uname output--- 3.13.0-30-generic ---Additional Hardware Info--- Power8 LE configuration. ---Patches Installed--- 1324544 - kdump-config load fails with vmlinux kernel (vs. vmlinuz) Machine Type = 8247-22L ---Steps to Reproduce--- Installed kdump-tools 1.5.5-2ubuntu1 and crash 7.0.3-3ubuntu3. Updated /etc/default/kdump-tools, first I updated just USE_KDUMP=1. Rebooted the node and see: root=UUID=87986483-5fec-4b4d-b22e-bf2a72096df8 ro quiet splash crashkernel=384M-:128M root@c656f2n02:~# cat /proc/sys/kernel/sysrq 1 root@c656f2n02:~# cat /proc/sys/kernel/sysrq 1 root@c656f2n02:~# ^Cnd /proc | grep sysrq root@c656f2n02:~# kdump-config status current state : ready to kdump root@c656f2n02:~# kdump-config show USE_KDUMP:1 KDUMP_SYSCTL: kernel.panic_on_oops=1 KDUMP_COREDIR:/var/crash crashkernel addr: current state:ready to kdump kexec command: /sbin/kexec -p --args-linux --command-line=root=UUID=87986483-5fec-4b4d-b22e-bf2a72096df8 ro quiet splash irqpoll maxcpus=1 nousb --initrd=/boot/initrd.img-3.13.0-30-generic /boot/vmlinux-3.13.0-30-generic root@c656f2n02:/boot/grub# cat /sys/kernel/kexec_crash_loaded 1 root@c656f2n02:/boot/grub# cat /sys/kernel/kexec_loaded 0 echo c /proc/sysrq-trigger root@c656f2n02:/var/log# echo c /proc/sysrq-trigger [ 1956.014243] SysRq : Trigger a crash [ 1956.014328] Unable to handle kernel paging request for data at address 0x [ 1956.014404] Faulting instruction address: 0xc0586c2c [ 1956.014468] Oops: Kernel access of bad area, sig: 11 [#1] [ 1956.014518] SMP NR_CPUS=2048 NUMA PowerNV [ 1956.014570] Modules linked in: ipt_MASQUERADE iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ipt_REJECT xt_CHECKSUM iptable_mangle xt_tcpudp bridge stp llc ip6table_filter ip6_tables iptable_filter ip_tables ebtable_nat ebtables x_tables autofs4 rdma_ucm(OF) ib_ucm(OF) rdma_cm(OF) iw_cm(OF) ib_ipoib(OF) ib_cm(OF) ib_uverbs(OF) ib_umad(OF) mlx5_ib(OF) mlx5_core(OF) mlx4_ib(OF) ib_sa(OF) ib_mad(OF) ib_core(OF) ib_addr(OF) mlx4_en(OF) mlx4_core(OF) compat(OF) nfsd auth_rpcgss nfs_acl nfs lockd sunrpc fscache rtc_generic powernv_rng ses enclosure ipr [ 1956.015306] CPU: 146 PID: 2522 Comm: bash Tainted: GF O 3.13.0-30-generic #54-Ubuntu [ 1956.015394] task: c03fcabda120 ti: c03fcac58000 task.ti: c03fcac58000 [ 1956.015469] NIP: c0586c2c LR: c0587b8c CTR: c0586c00 [ 1956.015543] REGS: c03fcac5b820 TRAP: 0300 Tainted: GF O (3.13.0-30-generic) [ 1956.015617] MSR: 90009033 SF,HV,EE,ME,IR,DR,RI,LE CR: 42422822 XER: 2000 [ 1956.015804] CFAR: c0009318 DAR: DSISR: 4200 SOFTE: 0 GPR00: c0587b8c c03fcac5baa0 c162e840 0063 GPR04: c2f45bd0 c2f564c8 00015ad0 c1827480 GPR08: c0dfe840 0001 00015ad0 GPR12: 42422822 c7e5ff00 01002fe90648 1016e008 GPR16: 1013ad70 01002fe94648 1016fed0 1016e008 GPR20: 100c31e0 10171fc8 1016f840 GPR24: 0004 0001 c14b7dc8 GPR28: c1974c90 0063 c148d9c0 c14b8188 [ 1956.016794] NIP [c0586c2c] .sysrq_handle_crash+0x2c/0x40 [ 1956.016858] LR [c0587b8c] .__handle_sysrq+0xfc/0x260 [ 1956.016920] Call Trace: [ 1956.016948] [c03fcac5baa0] [10172a34] 0x10172a34 (unreliable) [ 1956.017025] [c03fcac5bb10] [c0587b8c] .__handle_sysrq+0xfc/0x260 [ 1956.017101] [c03fcac5bbd0] [c0588324] .write_sysrq_trigger+0x74/0x90 [ 1956.017190] [c03fcac5bc50] [c02dff1c] .proc_reg_write+0xac/0x110 [ 1956.017266] [c03fcac5bcf0] [c0254c00] .vfs_write+0xe0/0x260 [ 1956.017342] [c03fcac5bd90] [c02558f4] .SyS_write+0x64/0xe0 [ 1956.017418] [c03fcac5be30] [c000a158]
[Kernel-packages] [Bug 1352056] Re: linux: kdump on Ubuntu 14.04 is not generating a dump.
** Description changed: + SRU Justification: + + [Impact] + Users of ppc64el hardware need the ability to use crashdumps to do kernel debugging. + + [Fix] + Commit upstream and already in utopic: + https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=429d2e8342954d337abe370d957e78291032d867 + + [Test Case] + Taken from: + https://wiki.ubuntu.com/Kernel/CrashdumpRecipe + https://help.ubuntu.com/14.04/serverguide/kernel-crash-dump.html + + 1) apt-get install linux-crashdump + 2) reboot the machine + 3) sudo sed -i 's/USE_KDUMP=0/USE_KDUMP=1/g' /etc/default/kdump-tools + 4) kdump-config show # should return no errors + 5) echo 'c' | sudo tee /proc/sysrq-trigger + 6) This should crash the machine and we should kexec into another kernel to dump the core, then on the next reboot we should see a crash in /var/crash/* + + -- + + ---Problem Description--- kdump is not producing a dump on powerKVM LE P8 Ubuntu 14.04 - + ---uname output--- 3.13.0-30-generic - + ---Additional Hardware Info--- - Power8 LE configuration. - + Power8 LE configuration. + ---Patches Installed--- 1324544 - kdump-config load fails with vmlinux kernel (vs. vmlinuz) - - Machine Type = 8247-22L - + + Machine Type = 8247-22L + ---Steps to Reproduce--- Installed kdump-tools 1.5.5-2ubuntu1 and crash 7.0.3-3ubuntu3. Updated /etc/default/kdump-tools, first I updated just USE_KDUMP=1. Rebooted the node and see: root=UUID=87986483-5fec-4b4d-b22e-bf2a72096df8 ro quiet splash crashkernel=384M-:128M root@c656f2n02:~# cat /proc/sys/kernel/sysrq 1 root@c656f2n02:~# cat /proc/sys/kernel/sysrq 1 root@c656f2n02:~# ^Cnd /proc | grep sysrq root@c656f2n02:~# kdump-config status current state : ready to kdump root@c656f2n02:~# kdump-config show USE_KDUMP:1 KDUMP_SYSCTL: kernel.panic_on_oops=1 KDUMP_COREDIR:/var/crash crashkernel addr: current state:ready to kdump kexec command: - /sbin/kexec -p --args-linux --command-line=root=UUID=87986483-5fec-4b4d-b22e-bf2a72096df8 ro quiet splash irqpoll maxcpus=1 nousb --initrd=/boot/initrd.img-3.13.0-30-generic /boot/vmlinux-3.13.0-30-generic + /sbin/kexec -p --args-linux --command-line=root=UUID=87986483-5fec-4b4d-b22e-bf2a72096df8 ro quiet splash irqpoll maxcpus=1 nousb --initrd=/boot/initrd.img-3.13.0-30-generic /boot/vmlinux-3.13.0-30-generic root@c656f2n02:/boot/grub# cat /sys/kernel/kexec_crash_loaded 1 root@c656f2n02:/boot/grub# cat /sys/kernel/kexec_loaded 0 echo c /proc/sysrq-trigger root@c656f2n02:/var/log# echo c /proc/sysrq-trigger [ 1956.014243] SysRq : Trigger a crash [ 1956.014328] Unable to handle kernel paging request for data at address 0x [ 1956.014404] Faulting instruction address: 0xc0586c2c [ 1956.014468] Oops: Kernel access of bad area, sig: 11 [#1] [ 1956.014518] SMP NR_CPUS=2048 NUMA PowerNV [ 1956.014570] Modules linked in: ipt_MASQUERADE iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ipt_REJECT xt_CHECKSUM iptable_mangle xt_tcpudp bridge stp llc ip6table_filter ip6_tables iptable_filter ip_tables ebtable_nat ebtables x_tables autofs4 rdma_ucm(OF) ib_ucm(OF) rdma_cm(OF) iw_cm(OF) ib_ipoib(OF) ib_cm(OF) ib_uverbs(OF) ib_umad(OF) mlx5_ib(OF) mlx5_core(OF) mlx4_ib(OF) ib_sa(OF) ib_mad(OF) ib_core(OF) ib_addr(OF) mlx4_en(OF) mlx4_core(OF) compat(OF) nfsd auth_rpcgss nfs_acl nfs lockd sunrpc fscache rtc_generic powernv_rng ses enclosure ipr [ 1956.015306] CPU: 146 PID: 2522 Comm: bash Tainted: GF O 3.13.0-30-generic #54-Ubuntu [ 1956.015394] task: c03fcabda120 ti: c03fcac58000 task.ti: c03fcac58000 [ 1956.015469] NIP: c0586c2c LR: c0587b8c CTR: c0586c00 [ 1956.015543] REGS: c03fcac5b820 TRAP: 0300 Tainted: GF O (3.13.0-30-generic) [ 1956.015617] MSR: 90009033 SF,HV,EE,ME,IR,DR,RI,LE CR: 42422822 XER: 2000 [ 1956.015804] CFAR: c0009318 DAR: DSISR: 4200 SOFTE: 0 GPR00: c0587b8c c03fcac5baa0 c162e840 0063 GPR04: c2f45bd0 c2f564c8 00015ad0 c1827480 GPR08: c0dfe840 0001 00015ad0 GPR12: 42422822 c7e5ff00 01002fe90648 1016e008 GPR16: 1013ad70 01002fe94648 1016fed0 1016e008 GPR20: 100c31e0 10171fc8 1016f840 GPR24: 0004 0001 c14b7dc8 GPR28: c1974c90 0063 c148d9c0 c14b8188 [ 1956.016794] NIP [c0586c2c] .sysrq_handle_crash+0x2c/0x40 [ 1956.016858] LR [c0587b8c] .__handle_sysrq+0xfc/0x260 [ 1956.016920] Call Trace: [ 1956.016948] [c03fcac5baa0] [10172a34] 0x10172a34 (unreliable) [ 1956.017025] [c03fcac5bb10]
[Kernel-packages] [Bug 1352056] Re: linux: kdump on Ubuntu 14.04 is not generating a dump.
** Description changed: SRU Justification: [Impact] Users of ppc64el hardware need the ability to use crashdumps to do kernel debugging. [Fix] Commit upstream and already in utopic: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=429d2e8342954d337abe370d957e78291032d867 [Test Case] Taken from: https://wiki.ubuntu.com/Kernel/CrashdumpRecipe https://help.ubuntu.com/14.04/serverguide/kernel-crash-dump.html 1) apt-get install linux-crashdump - 2) reboot the machine - 3) sudo sed -i 's/USE_KDUMP=0/USE_KDUMP=1/g' /etc/default/kdump-tools - 4) kdump-config show # should return no errors - 5) echo 'c' | sudo tee /proc/sysrq-trigger - 6) This should crash the machine and we should kexec into another kernel to dump the core, then on the next reboot we should see a crash in /var/crash/* + 2) increase crashdump size: + sudo vim /etc/default/grub.d/kexec-tools.cfg + set crashkernel=1024M + sudo update-grub + 3) reboot the machine + 4) sudo sed -i 's/USE_KDUMP=0/USE_KDUMP=1/g' /etc/default/kdump-tools + 5) kdump-config show # should return no errors + 6) echo 'c' | sudo tee /proc/sysrq-trigger + 7) This should crash the machine and we should kexec into another kernel to dump the core, then on the next reboot we should see a crash in /var/crash/* -- - ---Problem Description--- kdump is not producing a dump on powerKVM LE P8 Ubuntu 14.04 ---uname output--- 3.13.0-30-generic ---Additional Hardware Info--- Power8 LE configuration. ---Patches Installed--- 1324544 - kdump-config load fails with vmlinux kernel (vs. vmlinuz) Machine Type = 8247-22L ---Steps to Reproduce--- Installed kdump-tools 1.5.5-2ubuntu1 and crash 7.0.3-3ubuntu3. Updated /etc/default/kdump-tools, first I updated just USE_KDUMP=1. Rebooted the node and see: root=UUID=87986483-5fec-4b4d-b22e-bf2a72096df8 ro quiet splash crashkernel=384M-:128M root@c656f2n02:~# cat /proc/sys/kernel/sysrq 1 root@c656f2n02:~# cat /proc/sys/kernel/sysrq 1 root@c656f2n02:~# ^Cnd /proc | grep sysrq root@c656f2n02:~# kdump-config status current state : ready to kdump root@c656f2n02:~# kdump-config show USE_KDUMP:1 KDUMP_SYSCTL: kernel.panic_on_oops=1 KDUMP_COREDIR:/var/crash crashkernel addr: current state:ready to kdump kexec command: /sbin/kexec -p --args-linux --command-line=root=UUID=87986483-5fec-4b4d-b22e-bf2a72096df8 ro quiet splash irqpoll maxcpus=1 nousb --initrd=/boot/initrd.img-3.13.0-30-generic /boot/vmlinux-3.13.0-30-generic root@c656f2n02:/boot/grub# cat /sys/kernel/kexec_crash_loaded 1 root@c656f2n02:/boot/grub# cat /sys/kernel/kexec_loaded 0 echo c /proc/sysrq-trigger root@c656f2n02:/var/log# echo c /proc/sysrq-trigger [ 1956.014243] SysRq : Trigger a crash [ 1956.014328] Unable to handle kernel paging request for data at address 0x [ 1956.014404] Faulting instruction address: 0xc0586c2c [ 1956.014468] Oops: Kernel access of bad area, sig: 11 [#1] [ 1956.014518] SMP NR_CPUS=2048 NUMA PowerNV [ 1956.014570] Modules linked in: ipt_MASQUERADE iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ipt_REJECT xt_CHECKSUM iptable_mangle xt_tcpudp bridge stp llc ip6table_filter ip6_tables iptable_filter ip_tables ebtable_nat ebtables x_tables autofs4 rdma_ucm(OF) ib_ucm(OF) rdma_cm(OF) iw_cm(OF) ib_ipoib(OF) ib_cm(OF) ib_uverbs(OF) ib_umad(OF) mlx5_ib(OF) mlx5_core(OF) mlx4_ib(OF) ib_sa(OF) ib_mad(OF) ib_core(OF) ib_addr(OF) mlx4_en(OF) mlx4_core(OF) compat(OF) nfsd auth_rpcgss nfs_acl nfs lockd sunrpc fscache rtc_generic powernv_rng ses enclosure ipr [ 1956.015306] CPU: 146 PID: 2522 Comm: bash Tainted: GF O 3.13.0-30-generic #54-Ubuntu [ 1956.015394] task: c03fcabda120 ti: c03fcac58000 task.ti: c03fcac58000 [ 1956.015469] NIP: c0586c2c LR: c0587b8c CTR: c0586c00 [ 1956.015543] REGS: c03fcac5b820 TRAP: 0300 Tainted: GF O (3.13.0-30-generic) [ 1956.015617] MSR: 90009033 SF,HV,EE,ME,IR,DR,RI,LE CR: 42422822 XER: 2000 [ 1956.015804] CFAR: c0009318 DAR: DSISR: 4200 SOFTE: 0 GPR00: c0587b8c c03fcac5baa0 c162e840 0063 GPR04: c2f45bd0 c2f564c8 00015ad0 c1827480 GPR08: c0dfe840 0001 00015ad0 GPR12: 42422822 c7e5ff00 01002fe90648 1016e008 GPR16: 1013ad70 01002fe94648 1016fed0 1016e008 GPR20: 100c31e0 10171fc8 1016f840 GPR24: 0004 0001 c14b7dc8 GPR28: c1974c90 0063 c148d9c0 c14b8188 [ 1956.016794] NIP [c0586c2c] .sysrq_handle_crash+0x2c/0x40 [ 1956.016858] LR [c0587b8c]