** Changed in: linux (Ubuntu Bionic) 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/1770849 Title: Ubuntu 18.04 kernel crashed while in degraded mode Status in The Ubuntu-power-systems project: In Progress Status in linux package in Ubuntu: In Progress Status in linux source package in Bionic: Fix Committed Bug description: == SRU Justification == IBM reports a kernel crash with Bionic while in degraded mode(Degraded cores). IBM created a patch to resolve this bug and has submitted it upstream: https://lists.ozlabs.org/pipermail/linuxppc-dev/2018-May/172835.html The patch has not landed in mainline as of yet, so it is being submitted as a SAUCE patch. == Fix == UBUNTU: SAUCE: powerpc/perf: Fix memory allocation for core-imc based on num_possible_cpus() == Regression Potential == Low. Limited to powerpc. == Test Case == A test kernel was built with this patch and tested by the original bug reporter. The bug reporter states the test kernel resolved the bug. kernel crash The system is going down NOW! Sent SIGTERM to all processes Sent SIGKILL to all processes [ 64.713154] kexec_core: Starting new kernel [ 156.281504630,5] OPAL: Switch to big-endian OS [ 158.440263459,5] OPAL: Switch to little-endian OS [ 1.889211] Unable to handle kernel paging request for data at address 0x678e549df9e2878c [ 1.889289] Faulting instruction address: 0xc00000000038aa30 [ 1.889344] Oops: Kernel access of bad area, sig: 11 [#1] [ 1.889386] LE SMP NR_CPUS=2048 NUMA PowerNV [ 1.889432] Modules linked in: [ 1.889468] CPU: 3 PID: 1 Comm: swapper/0 Not tainted 4.15.0-20-generic #21-Ubuntu [ 1.889545] NIP: c00000000038aa30 LR: c00000000038aa1c CTR: 0000000000000000 [ 1.889608] REGS: c000003fed193840 TRAP: 0380 Not tainted (4.15.0-20-generic) [ 1.889670] MSR: 9000000000009033 <SF,HV,EE,ME,IR,DR,RI,LE> CR: 28000884 XER: 20040000 [ 1.889742] CFAR: c000000000016e1c SOFTE: 1 [ 1.889742] GPR00: c00000000038a914 c000003fed193ac0 c0000000016eae00 0000000000000001 [ 1.889742] GPR04: c000003fd754c7f8 000000000000002c 0000000000000001 000000000000002b [ 1.889742] GPR08: 678e549df9e28874 0000000000000000 0000000000000000 fffffffffffffffe [ 1.889742] GPR12: 0000000028000888 c00000000fa82100 c00000000000d3b8 0000000000000000 [ 1.889742] GPR16: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [ 1.889742] GPR20: 0000000000000000 0000000000000000 0000000000000000 a78e54a22eb64f8c [ 1.889742] GPR24: c000003fd754c800 678e549df9e2878c 0000000000000300 c0000000002bd05c [ 1.889742] GPR28: c000003fed01ea00 00000000014080c0 c000003fd754c800 c000003fed01ea00 [ 1.890286] NIP [c00000000038aa30] kmem_cache_alloc_trace+0x2d0/0x330 [ 1.890340] LR [c00000000038aa1c] kmem_cache_alloc_trace+0x2bc/0x330 [ 1.890391] Call Trace: [ 1.890416] [c000003fed193ac0] [c00000000038a914] kmem_cache_alloc_trace+0x1b4/0x330 (unreliable) [ 1.890491] [c000003fed193b30] [c0000000002bd05c] pmu_dev_alloc+0x3c/0x170 [ 1.890547] [c000003fed193bb0] [c0000000010e3210] perf_event_sysfs_init+0x8c/0xf0 [ 1.890611] [c000003fed193c40] [c00000000000d144] do_one_initcall+0x64/0x1d0 [ 1.890676] [c000003fed193d00] [c0000000010b4400] kernel_init_freeable+0x280/0x374 [ 1.890740] [c000003fed193dc0] [c00000000000d3d4] kernel_init+0x24/0x160 [ 1.890795] [c000003fed193e30] [c00000000000b528] ret_from_kernel_thread+0x5c/0xb4 [ 1.890857] Instruction dump: [ 1.890909] 7c97ba78 fb210038 38a50001 7f19ba78 fb290000 f8aa0000 4bc8c3f1 60000000 [ 1.890978] 7fb8b840 419e0028 e93f0022 e91f0140 <7d59482a> 7d394a14 7d4a4278 7fa95040 [ 1.891050] ---[ end trace 41b3fe7a827f3888 ]--- [ 2.900027] [ 3.900175] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b [ 3.900175] [ 4.71868[ 175.340944355,5] OPAL: Reboot request... 2] Rebooting in 10 seconds.. This fix is needed to resolve the crash https://lists.ozlabs.org/pipermail/linuxppc-dev/2018-May/172835.html To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-power-systems/+bug/1770849/+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