[Kernel-packages] [Bug 1468605] Re: Kdump boot fails due to Kernel OOPS @tpm_ibmvtpm_probe (PowerVM)

2016-03-23 Thread Luciano Chavez
** Changed in: kexec-tools (Ubuntu)
   Status: New => Fix Released

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

Title:
  Kdump boot fails due to Kernel OOPS @tpm_ibmvtpm_probe (PowerVM)

Status in kexec-tools package in Ubuntu:
  Fix Released

Bug description:
  == Comment: #0 - SACHIN P. SANT  - 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:0x800 memsz:24641536
  segment[1].mem:0x978 memsz:65536
  segment[2].mem:0x979 memsz:65536
  segment[3].mem:0x97a memsz:65536
  segment[4].mem:0x97b memsz:20971520
  segment[5].mem:0xec7 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 
0x0010
  [0.877232] Faulting instruction address: 0xc863a044
  [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: c00086bc ti: c00086c0 task.ti: 
c00086c0
  [0.877280] NIP: c863a044 LR: c8639f54 CTR: 
003fd734
  [0.877288] REGS: c00086c03580 TRAP: 0300   Not tainted  
(3.19.0-18-generic)
  [0.877294] MSR: 80019033   CR: 24002022  
XER: 2010
  [0.877314] CFAR: c8639f60 DAR: 0010 DSISR: 4000 
SOFTE: 1 
  GPR00: 24002022 c00086c03800 c944c760 0100 
  GPR04: fff00500   0010 
  GPR08: 0008  0001  
  GPR12: fff0 ce7f4800 c800bdd8  
  GPR16:     
  GPR20:     
  GPR24:  c00086dece00 c8a86cb0 fff0 
  GPR28:  c000823c9848 c0008608ad00 c000823c9800 
  [0.877409] NIP [c863a044] tpm_ibmvtpm_probe+0x2e4/0x580
  [0.877417] LR [c8639f54] tpm_ibmvtpm_probe+0x1f4/0x580
  [0.877423] Call Trace:
  [0.877430] [c00086c03800] [c8639e6c] 
tpm_ibmvtpm_probe+0x10c/0x580 (unreliable)
  [0.877442] [c00086c038a0] [c8033a1c] vio_bus_probe+0x1bc/0x480
  [0.877451] [c00086c03940] [c864b15c] 
driver_probe_device+0xec/0x470
  [0.877461] [c00086c039d0] [c864b69c] 
__driver_attach+0x11c/0x120
  [0.877469] [c00086c03a10] [c864817c] 
bus_for_each_dev+0x9c/0x110
  [0.877478] [c00086c03a60] [c864a8fc] driver_attach+0x3c/0x60
  [0.877486] [c00086c03a90] [c864a2d8] 
bus_add_driver+0x208/0x320
  [0.877495] [c00086c03b20] [c864c31c] 
driver_register+0x9c/0x180
  [0.877504] [c00086c03b90] [c80322f8] 
__vio_register_driver+0x78/0xc0
  [0.877513] [c00086c03c10] [c8df6de8] 
ibmvtpm_module_init+0x2c/0x40
  [0.877523] [c00086c03c30] [c800b4bc] 
do_one_initcall+0x11c/0x270
  [0.877532] [c00086c03d00] [c8da4100] 
kernel_init_freeable+0x264/0x34c
  [0.877543] [c00086c03dc0] [c800bdfc] kernel_init+0x2c/0x130
  [0.877553] [c00086c03e30] [c800956c] 
ret_from_kernel_thread+0x5c/0x70
  [0.877561] Instruction dump:
  [0.877567] 38e0 f8410018 7d2c4b78 4e800421 e8410018 4bfffea0 6042 
38600064 
  [0.877583] 4bb04c35 6000 e93e0008 38600100 <80890010> 4ba46121 
6000 7c6907b4 
  [0.877607] ---[ end trace c0064a96755f8f13 ]---
  [0.881558] 
  [2.881696] Kernel panic - not syncing: Attempted to kill init! 
exitcode=0x000b
  [2.881696] 
  [2.885423] ---[ end Kernel panic - not syncing: Attempted to kill init! 
exitcode=0x000b
  [ 

[Kernel-packages] [Bug 1468605] Re: Kdump boot fails due to Kernel OOPS @tpm_ibmvtpm_probe (PowerVM)

2015-06-25 Thread Brian Murray
** Package changed: ubuntu = kexec-tools (Ubuntu)

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

Title:
  Kdump boot fails due to Kernel OOPS @tpm_ibmvtpm_probe (PowerVM)

Status in kexec-tools package in Ubuntu:
  New

Bug description:
  == Comment: #0 - SACHIN P. SANT ss...@in.ibm.com - 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:0x800 memsz:24641536
  segment[1].mem:0x978 memsz:65536
  segment[2].mem:0x979 memsz:65536
  segment[3].mem:0x97a memsz:65536
  segment[4].mem:0x97b memsz:20971520
  segment[5].mem:0xec7 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 
0x0010
  [0.877232] Faulting instruction address: 0xc863a044
  [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: c00086bc ti: c00086c0 task.ti: 
c00086c0
  [0.877280] NIP: c863a044 LR: c8639f54 CTR: 
003fd734
  [0.877288] REGS: c00086c03580 TRAP: 0300   Not tainted  
(3.19.0-18-generic)
  [0.877294] MSR: 80019033 SF,EE,ME,IR,DR,RI,LE  CR: 24002022  
XER: 2010
  [0.877314] CFAR: c8639f60 DAR: 0010 DSISR: 4000 
SOFTE: 1 
  GPR00: 24002022 c00086c03800 c944c760 0100 
  GPR04: fff00500   0010 
  GPR08: 0008  0001  
  GPR12: fff0 ce7f4800 c800bdd8  
  GPR16:     
  GPR20:     
  GPR24:  c00086dece00 c8a86cb0 fff0 
  GPR28:  c000823c9848 c0008608ad00 c000823c9800 
  [0.877409] NIP [c863a044] tpm_ibmvtpm_probe+0x2e4/0x580
  [0.877417] LR [c8639f54] tpm_ibmvtpm_probe+0x1f4/0x580
  [0.877423] Call Trace:
  [0.877430] [c00086c03800] [c8639e6c] 
tpm_ibmvtpm_probe+0x10c/0x580 (unreliable)
  [0.877442] [c00086c038a0] [c8033a1c] vio_bus_probe+0x1bc/0x480
  [0.877451] [c00086c03940] [c864b15c] 
driver_probe_device+0xec/0x470
  [0.877461] [c00086c039d0] [c864b69c] 
__driver_attach+0x11c/0x120
  [0.877469] [c00086c03a10] [c864817c] 
bus_for_each_dev+0x9c/0x110
  [0.877478] [c00086c03a60] [c864a8fc] driver_attach+0x3c/0x60
  [0.877486] [c00086c03a90] [c864a2d8] 
bus_add_driver+0x208/0x320
  [0.877495] [c00086c03b20] [c864c31c] 
driver_register+0x9c/0x180
  [0.877504] [c00086c03b90] [c80322f8] 
__vio_register_driver+0x78/0xc0
  [0.877513] [c00086c03c10] [c8df6de8] 
ibmvtpm_module_init+0x2c/0x40
  [0.877523] [c00086c03c30] [c800b4bc] 
do_one_initcall+0x11c/0x270
  [0.877532] [c00086c03d00] [c8da4100] 
kernel_init_freeable+0x264/0x34c
  [0.877543] [c00086c03dc0] [c800bdfc] kernel_init+0x2c/0x130
  [0.877553] [c00086c03e30] [c800956c] 
ret_from_kernel_thread+0x5c/0x70
  [0.877561] Instruction dump:
  [0.877567] 38e0 f8410018 7d2c4b78 4e800421 e8410018 4bfffea0 6042 
38600064 
  [0.877583] 4bb04c35 6000 e93e0008 38600100 80890010 4ba46121 
6000 7c6907b4 
  [0.877607] ---[ end trace c0064a96755f8f13 ]---
  [0.881558] 
  [2.881696] Kernel panic - not syncing: Attempted to kill init! 
exitcode=0x000b
  [2.881696] 
  [2.885423] ---[ end Kernel panic - not syncing: Attempted to kill init! 
exitcode=0x000b
  [2.885423]

  == Comment: #6 - HON