[ppc64le] Kdump kernel crash during eeh_pseries_init() function.

Solution Verified - Updated -

Issue

  • Kdump test fails at pseries_eeh_get_pe_config_addr.isra.0 or eeh_pseries_init with below stack traces.
[    0.027752] BUG: Kernel NULL pointer dereference on write at 0x00000268
[    0.027760] Faulting instruction address: 0xc000000008104b54
[    0.027768] Oops: Kernel access of bad area, sig: 11 [#1]
[    0.027774] LE PAGE_SIZE=64K MMU=Hash SMP NR_CPUS=2048 NUMA pSeries
[    0.027783] Modules linked in:
[    0.027790] CPU: 246 PID: 1 Comm: swapper/246 Not tainted 5.14.0-70.13.1.el9_0.ppc64le #1
[    0.027800] NIP:  c000000008104b54 LR: c00000000a023bfc CTR: 00000000006db41c
[    0.027809] REGS: c0000000126df820 TRAP: 0380   Not tainted  (5.14.0-70.13.1.el9_0.ppc64le)
[    0.027817] MSR:  8000000002009033 <SF,VEC,EE,ME,IR,DR,RI,LE>  CR: 4800028f  XER: 00000004
[    0.027840] CFAR: c000000008104aa0 IRQMASK: 0
[    0.027840] GPR00: c00000000a023bfc c0000000126dfac0 c00000000aa47c00 000000000000004d
[    0.027840] GPR04: 0000000000000004 0000000000000000 c0000000126dfb2c 0000000000000000
[    0.027840] GPR08: 00000000fffeffff 000000000000004d 0000000000000001 0000000000000000
[    0.027840] GPR12: c0000000f5ffffa8 c00000000ade4000 c000000008012748 0000000000000000
[    0.027840] GPR16: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[    0.027840] GPR20: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[    0.027840] GPR24: c00000000a003834 0000000000000004 c0000000092f9a18 c00000000a091948
[    0.027840] GPR28: 0000000000000000 c00000000a555858 0000000000000000 0000000000000000
[    0.027942] NIP [c000000008104b54] pseries_eeh_get_pe_config_addr.isra.0+0xf4/0x1b0
[    0.027955] LR [c00000000a023bfc] eeh_pseries_init+0x2ec/0x360
[    0.027966] Call Trace:
[    0.027970] [c0000000126dfac0] [c0000000092f9a18] __param_initcall_debug+0x0/0x28 (unreliable)
[    0.027985] [c0000000126dfb50] [c00000000a023bfc] eeh_pseries_init+0x2ec/0x360
[    0.027997] [c0000000126dfbd0] [c000000008012140] do_one_initcall+0x60/0x2c0
[    0.028008] [c0000000126dfca0] [c00000000a005340] do_initcalls+0x13c/0x190
[    0.028019] [c0000000126dfd50] [c00000000a005670] kernel_init_freeable+0x240/0x2b4
[    0.028030] [c0000000126dfdb0] [c000000008012770] kernel_init+0x30/0x1a0
[    0.028041] [c0000000126dfe10] [c00000000800cd64] ret_from_kernel_thread+0x5c/0x64
[    0.028051] Instruction dump:
[    0.028057] ebc1fff0 4e800020 60000000 7c0802a6 fbe10088 7c7f07b4 39400001 7d2307b4
[    0.028075] 38800004 38c1006c 7fe7fb78 f80100a0 <e9050268> 38a00002 79090020 79080022
[    0.028096] ---[ end trace 7f80c88f2d97c63c ]---
[    0.031500]
[    1.031505] Kernel panic - not syncing: Fatal exception
[    1.049042] Rebooting in 10 seconds..

Environment

  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9
  • ppc64le

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content