← Back to team overview

kernel-packages team mailing list archive

[Bug 1468605] [NEW] Kdump boot fails due to Kernel OOPS @tpm_ibmvtpm_probe (PowerVM)

 

You have been subscribed to a public bug:

== Comment: #0 - SACHIN P. SANT <ssant@xxxxxxxxxx> - 2015-06-04 06:03:17 ==
---Steps to Reproduce---
1) Using latest daily ISO install 14.04.02 as a Power VM guest. The LPAR has vTPM functionality enabled.
2) Upgrade the kernel to 3.19 level (3.19.0-18-generic)
3) Configure kdump. A fix is required to configure kdump. Refer to defect (https://bugzilla.linux.ibm.com/show_bug.cgi?id=125712)

# kdump-config load
Modified cmdline:BOOT_IMAGE=/boot/vmlinux-3.19.0-18-generic root=UUID=3ea23bcf-7269-432f-bacc-f82c6cdd774e ro splash quiet vt.handoff=7 irqpoll maxcpus=1 nousb elfcorehdr=155200K 
segment[0].mem:0x8000000 memsz:24641536
segment[1].mem:0x9780000 memsz:65536
segment[2].mem:0x9790000 memsz:65536
segment[3].mem:0x97a0000 memsz:65536
segment[4].mem:0x97b0000 memsz:20971520
segment[5].mem:0xec70000 memsz:262144
 * loaded kdump kernel

# cat /proc/cmdline 
BOOT_IMAGE=/boot/vmlinux-3.19.0-18-generic root=UUID=3ea23bcf-7269-432f-bacc-f82c6cdd774e ro splash quiet crashkernel=2G-4G:320M,4G-32G:512M,32G-64G:1024M,64G-128G:2048M,128G-:4096M vt.handoff=7
#

4) Trigger a crash. Kdump boot fails with a kernel panic

I'm in purgatory
 -> smp_release_cpus()
spinning_secondaries = 0
 <- smp_release_cpus()
 <- setup_system()
[    0.877197] Unable to handle kernel paging request for data at address 0x00000010
[    0.877232] Faulting instruction address: 0xc00000000863a044
[    0.877241] Oops: Kernel access of bad area, sig: 11 [#1]
[    0.877246] SMP NR_CPUS=2048 NUMA pSeries
[    0.877255] Modules linked in:
[    0.877264] CPU: 8 PID: 1 Comm: swapper/8 Not tainted 3.19.0-18-generic #18~14.04.1-Ubuntu
[    0.877273] task: c000000086bc0000 ti: c000000086c00000 task.ti: c000000086c00000
[    0.877280] NIP: c00000000863a044 LR: c000000008639f54 CTR: 00000000003fd734
[    0.877288] REGS: c000000086c03580 TRAP: 0300   Not tainted  (3.19.0-18-generic)
[    0.877294] MSR: 8000000100009033 <SF,EE,ME,IR,DR,RI,LE>  CR: 24002022  XER: 20000010
[    0.877314] CFAR: c000000008639f60 DAR: 0000000000000010 DSISR: 40000000 SOFTE: 1 
GPR00: 0000000024002022 c000000086c03800 c00000000944c760 0000000000000100 
GPR04: fffffff000000500 0000000000000000 0000000000000000 0000000000000010 
GPR08: 0000000000000008 0000000000000000 0000000000000001 0000000000000000 
GPR12: fffffffffffffff0 c00000000e7f4800 c00000000800bdd8 0000000000000000 
GPR16: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 
GPR20: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 
GPR24: 0000000000000000 c000000086dece00 c000000008a86cb0 fffffffffffffff0 
GPR28: 0000000000000000 c0000000823c9848 c00000008608ad00 c0000000823c9800 
[    0.877409] NIP [c00000000863a044] tpm_ibmvtpm_probe+0x2e4/0x580
[    0.877417] LR [c000000008639f54] tpm_ibmvtpm_probe+0x1f4/0x580
[    0.877423] Call Trace:
[    0.877430] [c000000086c03800] [c000000008639e6c] tpm_ibmvtpm_probe+0x10c/0x580 (unreliable)
[    0.877442] [c000000086c038a0] [c000000008033a1c] vio_bus_probe+0x1bc/0x480
[    0.877451] [c000000086c03940] [c00000000864b15c] driver_probe_device+0xec/0x470
[    0.877461] [c000000086c039d0] [c00000000864b69c] __driver_attach+0x11c/0x120
[    0.877469] [c000000086c03a10] [c00000000864817c] bus_for_each_dev+0x9c/0x110
[    0.877478] [c000000086c03a60] [c00000000864a8fc] driver_attach+0x3c/0x60
[    0.877486] [c000000086c03a90] [c00000000864a2d8] bus_add_driver+0x208/0x320
[    0.877495] [c000000086c03b20] [c00000000864c31c] driver_register+0x9c/0x180
[    0.877504] [c000000086c03b90] [c0000000080322f8] __vio_register_driver+0x78/0xc0
[    0.877513] [c000000086c03c10] [c000000008df6de8] ibmvtpm_module_init+0x2c/0x40
[    0.877523] [c000000086c03c30] [c00000000800b4bc] do_one_initcall+0x11c/0x270
[    0.877532] [c000000086c03d00] [c000000008da4100] kernel_init_freeable+0x264/0x34c
[    0.877543] [c000000086c03dc0] [c00000000800bdfc] kernel_init+0x2c/0x130
[    0.877553] [c000000086c03e30] [c00000000800956c] ret_from_kernel_thread+0x5c/0x70
[    0.877561] Instruction dump:
[    0.877567] 38e00000 f8410018 7d2c4b78 4e800421 e8410018 4bfffea0 60420000 38600064 
[    0.877583] 4bb04c35 60000000 e93e0008 38600100 <80890010> 4ba46121 60000000 7c6907b4 
[    0.877607] ---[ end trace c0064a96755f8f13 ]---
[    0.881558] 
[    2.881696] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[    2.881696] 
[    2.885423] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[    2.885423]

== Comment: #6 - HON CHING LO <lo1@xxxxxxxxxx> - 2015-06-04 16:39:23 ==
The patch was sent upstream and under review.  I'll post the commit as soon as it's available.

== Comment: #9 - HON CHING LO <lo1@xxxxxxxxxx> - 2015-06-08 15:42:40 ==
Upstream submission for the patch:

https://sourceforge.net/p/tpmdd/mailman/message/34136266/

** Affects: kexec-tools (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: architecture-ppc64le bot-comment bugnameltc-125877 severity-critical targetmilestone-inin14043
-- 
Kdump boot fails due to Kernel OOPS @tpm_ibmvtpm_probe (PowerVM)
https://bugs.launchpad.net/bugs/1468605
You received this bug notification because you are a member of Kernel Packages, which is subscribed to kexec-tools in Ubuntu.