Comment 16 for bug 1946303

Revision history for this message
Salvatore Gabriele La Greca (gabriele97) wrote :

I updated to day to Pop OS! 22.04 (based on Ubuntu 22.04) and I am pretty sure that the bug I am going to present you now is related to the one mentioned in this thread.

I can't suspend my laptop anymore after the update. I tried both with nvidia drivers 470 and 515. What happens is that if I try to suspend, the system shows some dmesg log and stays there forever. Using another TTY i got the full dmesg log: https://pastebin.com/1ki2pmFK.

There are three things that took my attention:

[ 56.240577] pcieport 0000:00:1c.0: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[ 56.240579] pcieport 0000:00:1c.0: device [8086:a112] error status/mask=00000001/00002000
[ 56.240581] pcieport 0000:00:1c.0: [ 0] RxErr

[ 60.021424] BUG: kernel NULL pointer dereference, address: 0000000000000000

[ 60.021663] <TASK>
[ 60.021671] ? _main_loop+0x140/0x140 [nvidia_uvm]
[ 60.021720] nv_kthread_q_flush+0x1a/0x70 [nvidia_uvm]
[ 60.021765] uvm_suspend+0xae/0x1f0 [nvidia_uvm]
[ 60.021817] uvm_suspend_entry.part.0+0x6e/0xa0 [nvidia_uvm]
[ 60.021872] uvm_suspend_entry+0x24/0x30 [nvidia_uvm]
[ 60.021920] nv_uvm_suspend+0x33/0x50 [nvidia]
[ 60.022523] nv_set_system_power_state+0x2e9/0x3d0 [nvidia]
[ 60.023035] nv_procfs_write_suspend+0xe9/0x180 [nvidia]
[ 60.023553] proc_reg_write+0x5b/0xa0
[ 60.023567] vfs_write+0xb8/0x280
[ 60.023580] ksys_write+0x67/0xe0
[ 60.023587] __x64_sys_write+0x19/0x20
[ 60.023595] do_syscall_64+0x5c/0x80
[ 60.023605] ? do_syscall_64+0x69/0x80
[ 60.023613] ? syscall_exit_to_user_mode+0x26/0x50
[ 60.023626] ? __x64_sys_close+0x11/0x50
[ 60.023635] ? do_syscall_64+0x69/0x80
[ 60.023643] ? ksys_dup3+0xab/0x110
[ 60.023654] ? exit_to_user_mode_prepare+0x37/0xb0
[ 60.023667] ? syscall_exit_to_user_mode+0x26/0x50
[ 60.023679] ? do_syscall_64+0x69/0x80
[ 60.023687] entry_SYSCALL_64_after_hwframe+0x44/0xae
[ 60.023697] RIP: 0033:0x7f9156b14a37

[ 60.101307] note: nvidia-sleep.sh[4753] exited with preempt_count 1

I tried to disable the three systemd services but when I try I get the following errors:

Stopping disk
NVRM: GPU 0000:05:00.0: PreserveVideoMemoryAllocations module parameter is set. System Power Management attempted without driver procfs suspend interface. Please refer to the 'Configuring Power Management Support' section >
PM: pci_pm_suspend(): nv_pmops_suspend+0x0/0x20 [nvidia] returns -5
PM: dpm_run_callback(): pci_pm_suspend+0x0/0x160 returns -5
nvidia 0000:05:00.0: PM: failed to suspend async: error -5`