Bug 1224368

Summary: RCU not on for: amd_e400_idle+0x4/0x30
Product: [openSUSE] openSUSE Tumbleweed Reporter: WEI GAO <wegao>
Component: KernelAssignee: openSUSE Kernel Bugs <kernel-bugs>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: tiwai, wegao
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description WEI GAO 2024-05-16 12:47:45 UTC
run opensuse-Tumbleweed-x86_64-20240514-DVD@64bit-with-ltp.qcow2 with following qemu parameter.
qemu-system-x86_64 -smp cores=4 -m 1024 -s  -nodefaults -device virtio-rng-pci -nographic -serial mon:stdio -display none \
-drive file=$1,if=virtio \
-device e1000,netdev=net0 -netdev user,id=net0,hostfwd=tcp::5555-:22

susetest:/sys/kernel/debug/tracing # echo function_graph > current_tracer
[  271.226973][    T0] ------------[ cut here ]------------
[  271.229804][    T0] RCU not on for: amd_e400_idle+0x4/0x30
[  271.229804][    T0] WARNING: CPU: 0 PID: 0 at include/linux/trace_recursion.h:162 prepare_ftrace_return+0x15e/0x170
[  271.229804][    T0] Modules linked in: joydev st sr_mod cdrom nls_iso8859_1 nls_cp437 exfat vfat fat bcachefs lz4_compress lz4hc_compress xfs ext4 mbcacg
[  271.229804][    T0] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 6.8.9-1-default #1 openSUSE Tumbleweed bdefa5c8548782cd7f40c96ed6ab2e9359be7133
[  271.229804][    T0] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.15.0-6-gb1b30830-rebuilt.opensuse.org 04/01/2014
[  271.229804][    T0] RIP: 0010:prepare_ftrace_return+0x15e/0x170
[  271.229804][    T0] Code: 8b 04 25 40 a1 03 00 48 81 a0 08 23 00 00 ff ff fe ff eb a2 4c 89 e6 48 c7 c7 57 30 7b 8e c6 05 eb a6 00 02 01 e8 02 36 03 00 0
[  271.229804][    T0] RSP: 0018:ffffffff8f003d90 EFLAGS: 00000082
[  271.229804][    T0] RAX: 0000000000000000 RBX: ffffffff8f003e78 RCX: 0000000000000027
[  271.229804][    T0] RDX: 00000000000a414d RSI: 0000000000000001 RDI: ffff9b67bea27800
[  271.229804][    T0] RBP: ffffffff8f003db8 R08: 0000000000000000 R09: ffffffff8f003c38
[  271.229804][    T0] R10: ffffffff8f003c30 R11: 0000000000000003 R12: ffffffff8d2552b4
[  271.229804][    T0] R13: 0000000000000000 R14: ffffffff8f010980 R15: 0000000000000000
[  271.229804][    T0] FS:  0000000000000000(0000) GS:ffff9b67bea00000(0000) knlGS:0000000000000000
[  271.229804][    T0] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  271.229804][    T0] CR2: 000055f646b2ba80 CR3: 0000000004acc000 CR4: 00000000000006f0
[  271.229804][    T0] Call Trace:
[  271.229804][    T0]  <TASK>
[  271.229804][    T0]  ? prepare_ftrace_return+0x15e/0x170
[  271.229804][    T0]  ? ftrace_stub_direct_tramp+0x20/0x20
[  271.229804][    T0]  ? __warn+0x81/0x130
[  271.229804][    T0]  ? prepare_ftrace_return+0x15e/0x170
[  271.229804][    T0]  ? report_bug+0x171/0x1a0
[  271.229804][    T0]  ? handle_bug+0x3c/0x80
[  271.229804][    T0]  ? exc_invalid_op+0x17/0x70
[  271.229804][    T0]  ? asm_exc_invalid_op+0x1a/0x20
[  271.229804][    T0]  ? amd_e400_idle+0x4/0x30
[  271.229804][    T0]  ? prepare_ftrace_return+0x15e/0x170
[  271.229804][    T0]  joydev_init+0x8b/0xff0 [joydev 0a00000089e2ffff000000002000000000000000]
[  271.229804][    T0]  ? amd_e400_idle+0x9/0x30
[  271.229804][    T0]  amd_e400_idle+0x9/0x30
[  271.229804][    T0]  default_idle_call+0x2c/0xe0
[  271.229804][    T0]  do_idle+0x226/0x270
[  271.229804][    T0]  cpu_startup_entry+0x2a/0x30
[  271.229804][    T0]  rest_init+0xd0/0xd0
[  271.229804][    T0]  arch_call_rest_init+0xe/0x30
[  271.229804][    T0]  start_kernel+0x70b/0xa60
[  271.229804][    T0]  x86_64_start_reservations+0x18/0x30
[  271.229804][    T0]  x86_64_start_kernel+0x96/0xa0
[  271.229804][    T0]  secondary_startup_64_no_verify+0x184/0x18b
[  271.229804][    T0]  </TASK>
[  271.229804][    T0] ---[ end trace 0000000000000000 ]---
Comment 1 WEI GAO 2024-05-16 13:10:01 UTC
Start with debug_pagealloc mode on.
*Advanced options for openSUSE Tumbleweed (debug_pagealloc=on)              │
Comment 2 Takashi Iwai 2024-05-17 13:05:22 UTC
Could you retest with 6.9 kernel in OBS Kernel:stable repo?
amd_e400_idle() is already gone there.
Comment 3 WEI GAO 2024-05-22 02:00:06 UTC
Test on following kernel in obs, indeed not exist dump info anymore.
susetest:/sys/kernel/debug/tracing # uname -r
6.9.1-2.g39b3bcb-default
Comment 4 Takashi Iwai 2024-05-22 06:48:12 UTC
Thanks for confirmation.  As TW will take 6.9.1 soon later, let's close.