sinanqapudan Apprentice


Joined: 26 Oct 2004 Posts: 235 Location: Milan
|
Posted: Thu Mar 06, 2025 9:53 am Post subject: irq 25 handler nvkm_intr+0x0/0x200 enabled interrupts |
|
|
Hi everybody,
after the notification that my GPU will be no longer supported by x11-drivers/nvidia-drivers, I switched my system to use nouveau drivers after nvidia drivers failed to recompile with kernel 6.12.16.
After some fiddling around, I have it now mostly working, with the exception of this annoying bug: https://forums.gentoo.org/viewtopic-t-1172123.html
At first I configured nouveau drivers as a kernel module, and I got this in dmesg:
Code: | 9.740461] ------------[ cut here ]------------
[ 9.740473] irq 29 handler nvkm_intr+0x0/0x240 [nouveau] enabled interrupts
[ 9.740572] WARNING: CPU: 5 PID: 0 at kernel/irq/handle.c:161 __handle_irq_event_percpu+0x17d/0x190
[ 9.740579] Modules linked in: bnep bluetooth rtw88_8822bu rtw88_8822b rtw88_usb rtw88_core mac80211 libarc4 kvm_intel snd_usb_audio cfg80211 snd_hwdep rfkill kvm snd_usbmidi_lib sha512_ssse3 sha256_ssse3 snd_rawmidi sha1_ssse3 snd_seq_device nouveau sha1_generic drm_ttm_helper ttm gpu_sched i2c_algo_bit drm_gpuvm drm_exec drm_display_helper video backlight
[ 9.740626] CPU: 5 UID: 0 PID: 0 Comm: swapper/5 Not tainted 6.12.16-gentoonouveau #3
[ 9.740630] Hardware name: Gigabyte Technology Co., Ltd. To be filled by O.E.M./Z77X-D3H, BIOS F18g 08/13/2013
[ 9.740632] RIP: 0010:__handle_irq_event_percpu+0x17d/0x190
[ 9.740635] Code: e4 5b 44 89 e0 5d 41 5c 41 5d 41 5e c3 cc cc cc cc 48 8b 13 44 89 ee 48 c7 c7 f8 70 18 82 c6 05 bf 9b 55 01 01 e8 63 56 f9 ff <0f> 0b eb a5 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 90 90 90
[ 9.740638] RSP: 0018:ffff888606d45f68 EFLAGS: 00010292
[ 9.740641] RAX: 000000000000003f RBX: ffff88810abdb500 RCX: 0000000000000000
[ 9.740643] RDX: 0000000000010003 RSI: ffffffff82123c33 RDI: 00000000ffffffff
[ 9.740645] RBP: 0000000000000001 R08: 00000000fffeffff R09: 0000000000000001
[ 9.740646] R10: 0000000000000000 R11: ffff888606480000 R12: 0000000000000000
[ 9.740648] R13: 000000000000001d R14: ffff8881020a2200 R15: 0000000000000000
[ 9.740649] FS: 0000000000000000(0000) GS:ffff888606d40000(0000) knlGS:0000000000000000
[ 9.740652] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 9.740653] CR2: 000055a5de95f520 CR3: 000000000242a001 CR4: 00000000001726f0
[ 9.740655] Call Trace:
[ 9.740659] <IRQ>
[ 9.740660] ? __warn+0x80/0x130
[ 9.740664] ? __handle_irq_event_percpu+0x17d/0x190
[ 9.740666] ? report_bug+0x18d/0x1c0
[ 9.740669] ? handle_bug+0x53/0x90
[ 9.740672] ? exc_invalid_op+0x13/0x60
[ 9.740675] ? asm_exc_invalid_op+0x16/0x20
[ 9.740679] ? __handle_irq_event_percpu+0x17d/0x190
[ 9.740681] ? __handle_irq_event_percpu+0x17d/0x190
[ 9.740683] handle_irq_event+0x2f/0x70
[ 9.740685] handle_edge_irq+0x9e/0x200
[ 9.740690] __common_interrupt+0x60/0xe0
[ 9.740694] common_interrupt+0xb3/0xd0
[ 9.740697] </IRQ>
[ 9.740698] <TASK>
[ 9.740700] asm_common_interrupt+0x22/0x40
[ 9.740703] RIP: 0010:do_idle+0x15f/0x1a0
[ 9.740706] Code: 4c 89 ef c6 44 24 07 01 e8 de 6d 7f 00 80 7c 24 07 00 41 89 c6 74 2c e8 3f 04 06 00 4c 89 e6 4c 89 ef 44 89 f2 e8 71 c2 ff ff <4c> 89 e7 89 c6 e8 27 6e 7f 00 e9 71 ff ff ff e8 dd 26 fb ff e8 d8
[ 9.740708] RSP: 0018:ffff888100357f00 EFLAGS: 00000282
[ 9.740711] RAX: 0000000000000002 RBX: ffff88810036da00 RCX: 0000000000000002
[ 9.740712] RDX: ffff888102138000 RSI: 0000000000000005 RDI: 0000000000013880
[ 9.740714] RBP: 0000000000000005 R08: 0000000000000002 R09: 0000000000000001
[ 9.740716] R10: 0000000000000018 R11: ffff888606d6ab64 R12: ffff888102138000
[ 9.740718] R13: ffffffff825d6ba0 R14: 0000000000000002 R15: 0000000000000000
[ 9.740721] cpu_startup_entry+0x20/0x30
[ 9.740723] start_secondary+0xf2/0x100
[ 9.740727] common_startup_64+0x12c/0x138
[ 9.740731] </TASK>
[ 9.740732] ---[ end trace 0000000000000000 ]--- |
Following some unsuccessful attempts to get rid of that error, I switched to configure nouveau directly in the kernel :
Code: | --- Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)
...
<*> Nouveau (NVIDIA) cards |
Only to get this new version of the error in the dmesg:
Code: | [ 10.271754] ------------[ cut here ]------------
[ 10.271759] irq 25 handler nvkm_intr+0x0/0x200 enabled interrupts
[ 10.271767] WARNING: CPU: 3 PID: 2207 at kernel/irq/handle.c:161 __handle_irq_event_percpu+0x16a/0x170
[ 10.271772] Modules linked in: bnep bluetooth rtw88_8822bu rtw88_8822b rtw88_usb rtw88_core mac80211 kvm_intel libarc4 kvm sha512_ssse3 sha256_ssse3 cfg80211 sha1_ssse3 rfkill sha1_generic intel_cstate
[ 10.271785] CPU: 3 UID: 0 PID: 2207 Comm: X Not tainted 6.12.16-gentoo #6
[ 10.271787] Hardware name: Gigabyte Technology Co., Ltd. To be filled by O.E.M./Z77X-D3H, BIOS F18g 08/13/2013
[ 10.271789] RIP: 0010:__handle_irq_event_percpu+0x16a/0x170
[ 10.271792] Code: e4 5b 44 89 e0 5d 41 5c 41 5d 41 5e c3 cc cc cc cc 48 8b 13 44 89 ee 48 c7 c7 88 1d 47 82 c6 05 72 86 77 01 01 e8 86 66 f9 ff <0f> 0b eb b8 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
[ 10.271794] RSP: 0018:ffff888606cc5f68 EFLAGS: 00010282
[ 10.271796] RAX: 0000000000000035 RBX: ffff888100c1fd00 RCX: 0000000000000000
[ 10.271797] RDX: 0000000000010002 RSI: 0000000000000027 RDI: 00000000ffffffff
[ 10.271798] RBP: 0000000000000001 R08: ffff8886069fffa8 R09: ffff888606480000
[ 10.271799] R10: 00000000ffff0000 R11: 695f6d6b766e2072 R12: 0000000000000000
[ 10.271800] R13: 0000000000000019 R14: ffff888102036000 R15: 0000000000000000
[ 10.271802] FS: 00007fdb188ce900(0000) GS:ffff888606cc0000(0000) knlGS:0000000000000000
[ 10.271803] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 10.271804] CR2: 000055d0f0eebf08 CR3: 000000011404c006 CR4: 00000000001726f0
[ 10.271806] Call Trace:
[ 10.271808] <IRQ>
[ 10.271809] ? __handle_irq_event_percpu+0x16a/0x170
[ 10.271811] ? __warn.cold+0x93/0xed
[ 10.271815] ? __handle_irq_event_percpu+0x16a/0x170
[ 10.271817] ? report_bug+0xe6/0x170
[ 10.271819] ? console_unlock+0xbd/0x250
[ 10.271822] ? handle_bug+0x53/0x90
[ 10.271824] ? exc_invalid_op+0x13/0x60
[ 10.271826] ? asm_exc_invalid_op+0x16/0x20
[ 10.271830] ? __handle_irq_event_percpu+0x16a/0x170[url]
[ 10.271832] ? __handle_irq_event_percpu+0x16a/0x170
[ 10.271834] handle_irq_event+0x2f/0x80
[ 10.271837] handle_edge_irq+0x9e/0x200
[ 10.271839] __common_interrupt+0x60/0xe0
[ 10.271842] common_interrupt+0xb3/0xd0
[ 10.271845] </IRQ>
[ 10.271845] <TASK>
[ 10.271846] asm_common_interrupt+0x22/0x40
[ 10.271849] RIP: 0010:mutex_unlock+0xf/0x20
[ 10.271852] Code: 0f 1f 84 00 00 00 00 00 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 65 48 8b 05 78 d6 32 7e 31 d2 f0 48 0f b1 17 <75> 05 c3 cc cc cc cc e9 c5 fe ff ff 0f 1f 44 00 00 90 90 90 90 90
[ 10.271853] RSP: 0018:ffff888103377ca8 EFLAGS: 00000246
[ 10.271855] RAX: ffff8881019eda00 RBX: 0000000000000000 RCX: 0000000000004e53
[ 10.271856] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8881073d5448
[ 10.271857] RBP: ffff888103377dd0 R08: ffff8881073d6800 R09: 0000000000000000
[ 10.271858] R10: ffff888103377ca0 R11: 0000000000000000 R12: ffff888103377d38
[ 10.271859] R13: ffff888109dc4940 R14: 0000000000000000 R15: 0000000000000000
[ 10.271861] nouveau_abi16_put+0xf/0x20
[ 10.271864] nouveau_gem_ioctl_pushbuf+0x92b/0x12b0
[ 10.271867] ? __pfx_nouveau_gem_ioctl_pushbuf+0x10/0x10
[ 10.271869] drm_ioctl_kernel+0x85/0xe0
[ 10.271872] drm_ioctl+0x1ff/0x490
[ 10.271874] ? __pfx_nouveau_gem_ioctl_pushbuf+0x10/0x10
[ 10.271877] __x64_sys_ioctl+0x8d/0xb0
[ 10.271879] do_syscall_64+0x47/0x110
[ 10.271881] entry_SYSCALL_64_after_hwframe+0x76/0x7e
[ 10.271884] RIP: 0033:0x7fdb18e612cf
[ 10.271885] Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 18 48 8b 44 24 18 64 48 2b 04 25 28 00 00
[ 10.271887] RSP: 002b:00007fffab155ac0 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[ 10.271889] RAX: ffffffffffffffda RBX: 000055880ad2c8b0 RCX: 00007fdb18e612cf
[ 10.271890] RDX: 00007fffab155b70 RSI: 00000000c0406481 RDI: 000000000000000d
[ 10.271891] RBP: 00007fffab155b70 R08: 0000000000000000 R09: 0000000000000000
[ 10.271892] R10: 00000000000005a0 R11: 0000000000000246 R12: 00000000c0406481
[ 10.271893] R13: 000000000000000d R14: 000055880ad38118 R15: 000055880ad38110
[ 10.271894] </TASK>
[ 10.271895] ---[ end trace 0000000000000000 ]---
[ 13.255776] plasma-fallback (2669) used greatest stack depth: 12768 bytes left |
My emerge --info: https://bpa.st/D7CA
My kernel .config: https://paste.gentoo.zip/pNmoxfKS
Any help will be greatly appreciated. |
|