[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1024796: Debian stable kernel oopses when loading accelerated / 3D rendered content in Firefox, Xorg fully locks and system soft-locks



Package: src:linux
Version: 5.10.0-19
Severity: normal

I'm experiencing some issues with stable kernel and nouveau driver.

sm01@stt008:~$ uname -a
Linux stt008 5.10.0-19-amd64 #1 SMP Debian 5.10.149-2 (2022-10-21) x86_64 GNU/Linux

I can trigger the lock by getting this site that loads a 3-D map¹. The 
error is recurring: as soon as I land into the page, X stops responding 
(can't move the mouse). Although SSH session is allowed and system is 
somehow operative. 

It's just X that fully and badly breaks (see some logs below).

I know I'm using an old VGA card (nouveau driver is the only driver I 
can use for this chipset, nvidia does not even support it) but it still 
makes its job pretty well, so how can I avoid this soft kernel locks 
that forces me to a system restart with a higher chance of unsaved 
documents are lost?

Thanks for any tip.

¹https://www.ufd.es/en/service-status

Cheers!

-- 
Camaleón

Logs from journalctl:

nov 20 11:52:13 stt008 kernel: nouveau 0000:04:00.0: Xorg[514]: failed to idle channel 2 [Xorg[514]]
nov 20 11:52:28 stt008 kernel: nouveau 0000:04:00.0: Xorg[514]: failed to idle channel 2 [Xorg[514]]
nov 20 11:52:35 stt008 sshd[9989]: Accepted password for root from 192.168.0.3 port 50668 ssh2
nov 20 11:52:35 stt008 sshd[9989]: pam_unix(sshd:session): session opened for user root(uid=0) by (uid=0)
nov 20 11:52:35 stt008 systemd[1]: Started Session 8 of user root.
nov 20 11:52:35 stt008 systemd-logind[473]: New session 8 of user root.
nov 20 11:52:43 stt008 kernel: nouveau 0000:04:00.0: Xorg[514]: failed to idle channel 1 [Xorg[514]]
nov 20 11:52:58 stt008 kernel: nouveau 0000:04:00.0: Xorg[514]: failed to idle channel 1 [Xorg[514]]
nov 20 11:52:58 stt008 sshd[9894]: pam_unix(sshd:session): session closed for user root
nov 20 11:52:58 stt008 systemd[1]: lightdm.service: State 'stop-sigterm' timed out. Killing.
nov 20 11:52:58 stt008 sshd[9894]: pam_systemd(sshd:session): Failed to release session: Interrupted system call
nov 20 11:52:58 stt008 systemd[1]: lightdm.service: Killing process 479 (lightdm) with signal SIGKILL.
nov 20 11:52:58 stt008 systemd[1]: lightdm.service: Killing process 500 (gdbus) with signal SIGKILL.
nov 20 11:52:58 stt008 systemd[1]: lightdm.service: Killing process 575 (Xorg:disk$3) with signal SIGKILL.
nov 20 11:52:58 stt008 systemd[1]: lightdm.service: Main process exited, code=killed, status=9/KILL
nov 20 11:52:58 stt008 systemd[1]: lightdm.service: Killing process 575 (Xorg:disk$3) with signal SIGKILL.
nov 20 11:52:58 stt008 systemd-logind[473]: Session 6 logged out. Waiting for processes to exit.
nov 20 11:52:58 stt008 systemd[1]: session-6.scope: Succeeded.
nov 20 11:52:58 stt008 systemd-logind[473]: Removed session 6.
nov 20 11:52:59 stt008 systemd[1]: lightdm.service: Failed with result 'timeout'.
nov 20 11:52:59 stt008 systemd[1]: Stopped Light Display Manager.
nov 20 11:52:59 stt008 systemd[1]: lightdm.service: Triggering OnFailure= dependencies.
nov 20 11:52:59 stt008 systemd[1]: lightdm.service: Failed to enqueue OnFailure= job, ignoring: Unit plymouth-quit.service not found.
nov 20 11:52:59 stt008 systemd[1]: lightdm.service: Consumed 7min 6.493s CPU time.
nov 20 11:52:59 stt008 systemd[1]: Starting Light Display Manager...
nov 20 11:52:59 stt008 lightdm[10002]: Error getting user list from org.freedesktop.Accounts: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Accounts was not provided by any .service files
nov 20 11:52:59 stt008 systemd[1]: Started Light Display Manager.
nov 20 11:53:01 stt008 kernel: ------------[ cut here ]------------
nov 20 11:53:01 stt008 kernel: nouveau 0000:04:00.0: timeout
nov 20 11:53:01 stt008 kernel: WARNING: CPU: 3 PID: 10007 at drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c:1220 nv04_gr_idle+0xc4/0x120 [nouveau]
nov 20 11:53:01 stt008 kernel: Modules linked in: snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio snd_hda_intel snd_intel_dspcfg soundwire_intel soundwire_generic_allocation snd_soc_core snd_compress soundwire_cadence snd_hda_c>
nov 20 11:53:01 stt008 kernel:  scsi_mod video button
nov 20 11:53:01 stt008 kernel: CPU: 3 PID: 10007 Comm: Xorg Not tainted 5.10.0-19-amd64 #1 Debian 5.10.149-2
nov 20 11:53:01 stt008 kernel: Hardware name: Supermicro C2SBX/C2SBX, BIOS 1.2a       12/19/2008
nov 20 11:53:01 stt008 kernel: RIP: 0010:nv04_gr_idle+0xc4/0x120 [nouveau]
nov 20 11:53:01 stt008 kernel: Code: 8b 40 10 48 8b 78 10 4c 8b 6f 50 4d 85 ed 75 03 4c 8b 2f e8 ee 61 bd f3 4c 89 ea 48 c7 c7 75 f0 54 c0 48 89 c6 e8 e4 36 e4 f3 <0f> 0b 41 8b 44 24 48 85 c0 75 04 31 c0 eb 9f 48 8b 7b 78 48 81 c7
nov 20 11:53:01 stt008 kernel: RSP: 0018:ffffb3ba810eb9f8 EFLAGS: 00010082
nov 20 11:53:01 stt008 kernel: RAX: 0000000000000000 RBX: ffff9d93031e4800 RCX: ffff9d9437d9ca08
nov 20 11:53:01 stt008 kernel: RDX: 00000000ffffffd8 RSI: 0000000000000027 RDI: ffff9d9437d9ca00
nov 20 11:53:01 stt008 kernel: RBP: 00000000ffffbfff R08: 0000000000000000 R09: ffffb3ba810eb818
nov 20 11:53:01 stt008 kernel: R10: ffffb3ba810eb810 R11: ffffffffb50cb448 R12: ffff9d9304eb8880
nov 20 11:53:01 stt008 kernel: R13: ffff9d93009eb270 R14: ffff9d9437de6400 R15: 0000000000000000
nov 20 11:53:01 stt008 kernel: FS:  00007f50d7199a40(0000) GS:ffff9d9437d80000(0000) knlGS:0000000000000000
nov 20 11:53:01 stt008 kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
nov 20 11:53:01 stt008 kernel: CR2: 000055e89005d000 CR3: 00000001097c4000 CR4: 00000000000406e0
nov 20 11:53:01 stt008 kernel: Call Trace:
nov 20 11:53:01 stt008 kernel:  nv40_gr_tile+0x48/0x270 [nouveau]
nov 20 11:53:01 stt008 kernel:  nvkm_fb_tile_prog+0x35/0x60 [nouveau]
nov 20 11:53:01 stt008 kernel:  nouveau_bo_move+0x445/0x5a0 [nouveau]
nov 20 11:53:01 stt008 kernel:  ttm_bo_handle_move_mem+0xb4/0x470 [ttm]
nov 20 11:53:01 stt008 kernel:  ttm_bo_validate+0x159/0x170 [ttm]
nov 20 11:53:01 stt008 kernel:  ttm_bo_init_reserved+0x2ac/0x330 [ttm]
nov 20 11:53:01 stt008 kernel:  ttm_bo_init+0x6d/0xf0 [ttm]
nov 20 11:53:01 stt008 kernel:  ? nouveau_bo_move+0x5a0/0x5a0 [nouveau]
nov 20 11:53:01 stt008 kernel:  nouveau_bo_init+0xaf/0xd0 [nouveau]
nov 20 11:53:01 stt008 kernel:  ? nouveau_bo_move+0x5a0/0x5a0 [nouveau]
nov 20 11:53:01 stt008 kernel:  nouveau_gem_new+0x75/0xe0 [nouveau]
nov 20 11:53:01 stt008 kernel:  ? nouveau_gem_new+0xe0/0xe0 [nouveau]
nov 20 11:53:01 stt008 kernel:  nouveau_gem_ioctl_new+0x53/0x100 [nouveau]
nov 20 11:53:01 stt008 kernel:  ? nouveau_gem_new+0xe0/0xe0 [nouveau]
nov 20 11:53:01 stt008 kernel:  drm_ioctl_kernel+0xae/0x100 [drm]
nov 20 11:53:01 stt008 kernel:  drm_ioctl+0x224/0x3c0 [drm]
nov 20 11:53:01 stt008 kernel:  ? nouveau_gem_new+0xe0/0xe0 [nouveau]
nov 20 11:53:01 stt008 kernel:  nouveau_drm_ioctl+0x55/0xb0 [nouveau]
nov 20 11:53:01 stt008 kernel:  __x64_sys_ioctl+0x8b/0xc0
nov 20 11:53:01 stt008 kernel:  do_syscall_64+0x33/0x80
nov 20 11:53:01 stt008 kernel:  entry_SYSCALL_64_after_hwframe+0x61/0xc6
nov 20 11:53:01 stt008 kernel: RIP: 0033:0x7f50d76016b7
nov 20 11:53:01 stt008 kernel: Code: 00 00 00 48 8b 05 d9 c7 0d 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d a9 c7 0d 00 f7 d8 64 89 01 48
nov 20 11:53:01 stt008 kernel: RSP: 002b:00007fffdf7cf3a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
nov 20 11:53:01 stt008 kernel: RAX: ffffffffffffffda RBX: 00007fffdf7cf400 RCX: 00007f50d76016b7
nov 20 11:53:01 stt008 kernel: RDX: 00007fffdf7cf400 RSI: 00000000c0306480 RDI: 0000000000000010
nov 20 11:53:01 stt008 kernel: RBP: 00000000c0306480 R08: 0000000000000000 R09: 00007f50d76debe0
nov 20 11:53:01 stt008 kernel: R10: 000055e89003f900 R11: 0000000000000246 R12: 00007fffdf7cf400
nov 20 11:53:01 stt008 kernel: R13: 0000000000000010 R14: 000055e8900413d0 R15: 0000000000020000
nov 20 11:53:01 stt008 kernel: ---[ end trace af2df948cc0ed038 ]---
nov 20 11:53:01 stt008 kernel: nouveau 0000:04:00.0: gr: idle timed out with status 00020001
nov 20 11:53:03 stt008 kernel: ------------[ cut here ]------------
nov 20 11:53:03 stt008 kernel: nouveau 0000:04:00.0: timeout
nov 20 11:53:03 stt008 kernel: WARNING: CPU: 3 PID: 10007 at drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c:1220 nv04_gr_idle+0xc4/0x120 [nouveau]
nov 20 11:53:03 stt008 kernel: Modules linked in: snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio snd_hda_intel snd_intel_dspcfg soundwire_intel soundwire_generic_allocation snd_soc_core snd_compress soundwire_cadence snd_hda_c>
nov 20 11:53:03 stt008 kernel:  scsi_mod video button
nov 20 11:53:03 stt008 kernel: CPU: 3 PID: 10007 Comm: Xorg Tainted: G        W         5.10.0-19-amd64 #1 Debian 5.10.149-2
nov 20 11:53:03 stt008 kernel: Hardware name: Supermicro C2SBX/C2SBX, BIOS 1.2a       12/19/2008
nov 20 11:53:03 stt008 kernel: RIP: 0010:nv04_gr_idle+0xc4/0x120 [nouveau]
nov 20 11:53:03 stt008 kernel: Code: 8b 40 10 48 8b 78 10 4c 8b 6f 50 4d 85 ed 75 03 4c 8b 2f e8 ee 61 bd f3 4c 89 ea 48 c7 c7 75 f0 54 c0 48 89 c6 e8 e4 36 e4 f3 <0f> 0b 41 8b 44 24 48 85 c0 75 04 31 c0 eb 9f 48 8b 7b 78 48 81 c7
nov 20 11:53:03 stt008 kernel: RSP: 0018:ffffb3ba810eb9f8 EFLAGS: 00010082
nov 20 11:53:03 stt008 kernel: RAX: 0000000000000000 RBX: ffff9d93031e4800 RCX: ffff9d9437d9ca08
nov 20 11:53:03 stt008 kernel: RDX: 00000000ffffffd8 RSI: 0000000000000027 RDI: ffff9d9437d9ca00
nov 20 11:53:03 stt008 kernel: RBP: 00000000ffffbfff R08: 0000000000000000 R09: ffffb3ba810eb818
nov 20 11:53:03 stt008 kernel: R10: ffffb3ba810eb810 R11: ffffffffb50cb448 R12: ffff9d9304eb8880
nov 20 11:53:03 stt008 kernel: R13: ffff9d93009eb270 R14: ffff9d9437de6400 R15: 0000000000000000
nov 20 11:53:03 stt008 kernel: FS:  00007f50d7199a40(0000)GS:ffff9d9437d80000(0000) knlGS:0000000000000000
nov 20 11:53:03 stt008 kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
nov 20 11:53:03 stt008 kernel: CR2: 00007f50d6d7b003 CR3: 00000001097c4000 CR4: 00000000000406e0
nov 20 11:53:03 stt008 kernel: Call Trace:
nov 20 11:53:03 stt008 kernel:  nv40_gr_tile+0x48/0x270 [nouveau]
nov 20 11:53:03 stt008 kernel:  nvkm_fb_tile_prog+0x35/0x60 [nouveau]
nov 20 11:53:03 stt008 kernel:  nouveau_bo_move+0x4f2/0x5a0 [nouveau]
nov 20 11:53:03 stt008 kernel:  ttm_bo_handle_move_mem+0xb4/0x470 [ttm]
nov 20 11:53:03 stt008 kernel:  ttm_bo_validate+0x159/0x170 [ttm]
nov 20 11:53:03 stt008 kernel:  ttm_bo_init_reserved+0x2ac/0x330 [ttm]
nov 20 11:53:03 stt008 kernel:  ttm_bo_init+0x6d/0xf0 [ttm]
nov 20 11:53:03 stt008 kernel:  ? nouveau_bo_move+0x5a0/0x5a0 [nouveau]
nov 20 11:53:03 stt008 kernel:  nouveau_bo_init+0xaf/0xd0 [nouveau]
nov 20 11:53:03 stt008 kernel:  ? nouveau_bo_move+0x5a0/0x5a0 [nouveau]
nov 20 11:53:03 stt008 kernel:  nouveau_gem_new+0x75/0xe0 [nouveau]
nov 20 11:53:03 stt008 kernel:  ? nouveau_gem_new+0xe0/0xe0 [nouveau]
nov 20 11:53:03 stt008 kernel:  nouveau_gem_ioctl_new+0x53/0x100 [nouveau]
nov 20 11:53:03 stt008 kernel:  ? nouveau_gem_new+0xe0/0xe0 [nouveau]
nov 20 11:53:03 stt008 kernel:  drm_ioctl_kernel+0xae/0x100 [drm]
nov 20 11:53:03 stt008 kernel:  drm_ioctl+0x224/0x3c0 [drm]
nov 20 11:53:03 stt008 kernel:  ? nouveau_gem_new+0xe0/0xe0 [nouveau]
nov 20 11:53:03 stt008 kernel:  nouveau_drm_ioctl+0x55/0xb0 [nouveau]
nov 20 11:53:03 stt008 kernel:  __x64_sys_ioctl+0x8b/0xc0
nov 20 11:53:03 stt008 kernel:  do_syscall_64+0x33/0x80
nov 20 11:53:03 stt008 kernel:  entry_SYSCALL_64_after_hwframe+0x61/0xc6
nov 20 11:53:03 stt008 kernel: RIP: 0033:0x7f50d76016b7
nov 20 11:53:03 stt008 kernel: Code: 00 00 00 48 8b 05 d9 c7 0d 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d a9 c7 0d 00 f7 d8 64 89 01 48
nov 20 11:53:03 stt008 kernel: RSP: 002b:00007fffdf7cf3e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
nov 20 11:53:03 stt008 kernel: RAX: ffffffffffffffda RBX: 00007fffdf7cf440 RCX: 00007f50d76016b7
nov 20 11:53:03 stt008 kernel: RDX: 00007fffdf7cf440 RSI: 00000000c0306480 RDI: 0000000000000010
nov 20 11:53:03 stt008 kernel: RBP: 00000000c0306480 R08: 0000000000000000 R09: 00007f50d76debe0
nov 20 11:53:03 stt008 kernel: R10: 000055e890040890 R11: 0000000000000246 R12: 00007fffdf7cf440
nov 20 11:53:03 stt008 kernel: R13: 0000000000000010 R14: 000055e8900413d0 R15: 0000000000000000
nov 20 11:53:03 stt008 kernel: ---[ end trace af2df948cc0ed039 ]---
nov 20 11:53:03 stt008 kernel: nouveau 0000:04:00.0: gr: idle timed out with status 00020001
nov 20 11:53:33 stt008 kernel: nouveau 0000:04:00.0: DRM: 0xD68D: Parsing digital output script table
nov 20 11:53:33 stt008 lightdm[10023]: Error getting user list from org.freedesktop.Accounts: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Accounts was not provided by any .service files
nov 20 11:53:33 stt008 lightdm[10023]: pam_unix(lightdm-autologin:session): session opened for user sm01(uid=1000) by (uid=0)

(...)

nov 23 20:06:13 stt008 kernel: nouveau 0000:04:00.0: gr: intr 00100000 [ERROR] nsource 00010000 [DMA_VTX_PROTECTION] nstatus 04000000 [PROTECTION_FAULT] ch 4 [00109000 Renderer[28542]] subc 7 class 4097 mthd 1824 data ff004865
nov 23 20:07:28 stt008 kernel: nouveau 0000:04:00.0: Renderer[28542]: failed to idle channel 4 [Renderer[28542]]
nov 23 20:07:43 stt008 kernel: nouveau 0000:04:00.0: Renderer[28542]: failed to idle channel 4 [Renderer[28542]]
nov 23 20:07:58 stt008 kernel: nouveau 0000:04:00.0: xfce4-session[588]: failed to idle channel 3 [xfce4-session[588]]
nov 23 20:08:13 stt008 kernel: nouveau 0000:04:00.0: xfce4-session[588]: failed to idle channel 3 [xfce4-session[588]]
nov 23 20:08:28 stt008 kernel: nouveau 0000:04:00.0: Xorg[510]: failed to idle channel 2 [Xorg[510]]
nov 23 20:08:43 stt008 kernel: nouveau 0000:04:00.0: Xorg[510]: failed to idle channel 2 [Xorg[510]]
nov 23 20:08:58 stt008 kernel: nouveau 0000:04:00.0: Xorg[510]: failed to idle channel 1 [Xorg[510]]
nov 23 20:09:13 stt008 kernel: nouveau 0000:04:00.0: Xorg[510]: failed to idle channel 1 [Xorg[510]]


Reply to: