I have the same problem, slightly different hardware: > **Hardware:** Lenovo ThinkPad X1 Extreme (Gen 1), machine type 20MFCTO1WW, > BIOS > N2EET65W 1.47. GPU: NVIDIA GeForce GTX 1050 Ti with Max-Q Design (Pascal). > > **Software:** Ubuntu 26.04 LTS (resolute), upgraded from 25.10. Kernel > 7.0.0-15-generic. nvidia-driver-580 580.142-0ubuntu3 (proprietary.
The crash is in `freeze_processes` -> `static_key_slow_inc` -> `__jump_label_patch`, patching a static-key site inside `nvidia_modeset` (`nvkms_kthread_q_callback`) where the kernel finds a JMP instead of the expected NOP. This matches the upstream root-cause analysis in NVIDIA/open-gpu-kernel-modules issue #1095 (NVIDIA's DKMS build skips objtool, so static_branch sites are never converted to NOPs; kernel >= 6.0 no longer fixes this up at module load time). [...] > Kernel trace: > > ``` > kernel: PM: suspend entry (deep) > kernel: jump_label: Fatal kernel bug, unexpected op at > nvkms_kthread_q_callback+0x8e/0x1a0 [nvidia_modeset] [0000000007220e8b] (e9 > 9b 00 00 00 != 0f 1f 44 00 00)) size:5 type:1 > kernel: ------------[ cut here ]------------ > kernel: kernel BUG at arch/x86/kernel/jump_label.c:73! > kernel: Oops: invalid opcode: 0000 [#1] SMP PTI > kernel: CPU: 4 UID: 0 PID: 2012 Comm: systemd-sleep Tainted: P W OE > 7.0.0-15-generic #15-Ubuntu PREEMPT(lazy) > kernel: Tainted: [P]=PROPRIETARY_MODULE, [W]=WARN, [O]=OOT_MODULE, > [E]=UNSIGNED_MODULE > kernel: Hardware name: LENOVO 20MFCTO1WW/20MFCTO1WW, BIOS N2EET65W (1.47 ) > 06/18/2024 > kernel: RIP: 0010:__jump_label_patch.cold+0x24/0x26 > kernel: Call Trace: > kernel: <TASK> > kernel: arch_jump_label_transform_queue+0x37/0x90 > kernel: __jump_label_update+0x47/0x100 > kernel: jump_label_update+0x5c/0x110 > kernel: static_key_slow_inc_cpuslocked+0x53/0xa0 > kernel: static_key_slow_inc+0x1f/0x40 > kernel: freeze_processes+0xd1/0xe0 > kernel: enter_state+0xe0/0x610 > kernel: pm_suspend+0x49/0x90 > kernel: state_store+0x2e/0x60 > kernel: kobj_attr_store+0x12/0x40 > kernel: sysfs_kf_write+0x74/0x90 > kernel: kernfs_fop_write_iter+0x161/0x210 > kernel: vfs_write+0x25b/0x490 > kernel: ksys_write+0x71/0xf0 > kernel: __x64_sys_write+0x19/0x30 > kernel: x64_sys_call+0x22f/0x2390 > kernel: do_syscall_64+0x115/0x5a0 > kernel: entry_SYSCALL_64_after_hwframe+0x76/0x7e > kernel: </TASK> > kernel: ---[ end trace 0000000000000000 ]--- > systemd[1]: systemd-suspend.service: Main process exited, code=killed, > status=11/SEGV > systemd[1]: systemd-suspend.service: Failed with result 'signal'. > ``` -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2149963 Title: kernel 7.0.0-14 hangs on s2idle resume with nvidia-open on RTX 50-series (Blackwell); 6.17.0-22 works on same hw To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2149963/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
