Bug 2213474 - nouveau driver crashes since kernel 6.3.4
Summary: nouveau driver crashes since kernel 6.3.4
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 38
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-06-08 09:12 UTC by Thomas
Modified: 2023-07-03 11:57 UTC (History)
18 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Thomas 2023-06-08 09:12:39 UTC
When booting into a kernel version 6.3.4 or 6.3.5, the machine crashes pretty fast.  This did not happen with a 6.2 kernel.  It occurs on a system with NVidia graphics:

01:00.0 VGA compatible controller: NVIDIA Corporation GM107 [GeForce GTX 750 Ti] (rev a2)

Stack trace:

Jun 07 21:18:21 laphroaig kernel: general protection fault, probably for non-canonical address 0x776aaa6547ad17e6: 0000>
Jun 07 21:18:21 laphroaig kernel: CPU: 2 PID: 1063 Comm: Xorg Not tainted 6.3.5-200.fc38.x86_64 #1
Jun 07 21:18:21 laphroaig kernel: Hardware name: Gigabyte Technology Co., Ltd. To be filled by O.E.M./990FXA-UD3, BIOS >
Jun 07 21:18:21 laphroaig kernel: RIP: 0010:__kmem_cache_alloc_node+0x1ba/0x320
Jun 07 21:18:21 laphroaig kernel: Code: 2b 14 25 28 00 00 00 0f 85 74 01 00 00 48 83 c4 18 5b 5d 41 5c 41 5d 41 5e 41 5>
Jun 07 21:18:21 laphroaig kernel: RSP: 0018:ffffad580179f870 EFLAGS: 00010202
Jun 07 21:18:21 laphroaig kernel: RAX: 776aaa6547ad17e6 RBX: 0000000000000cc0 RCX: 0000000000000052
Jun 07 21:18:21 laphroaig kernel: RDX: 0000000010326002 RSI: 0000000000000cc0 RDI: 776aaa6547ad17b6
Jun 07 21:18:21 laphroaig kernel: RBP: 0000000000000cc0 R08: 00000000000390c0 R09: 000000000000001a
Jun 07 21:18:21 laphroaig kernel: R10: 0000000040000000 R11: 0000000000000000 R12: 0000000000000000
Jun 07 21:18:21 laphroaig kernel: R13: 00000000ffffffff R14: 0000000000000052 R15: ffff9f7a80043600
Jun 07 21:18:21 laphroaig kernel: FS:  00007f1f23c35ac0(0000) GS:ffff9f7dafc80000(0000) knlGS:0000000000000000
Jun 07 21:18:21 laphroaig kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jun 07 21:18:21 laphroaig kernel: CR2: 00007f1f23801008 CR3: 000000012549a000 CR4: 00000000000006e0
Jun 07 21:18:21 laphroaig kernel: Call Trace:
Jun 07 21:18:21 laphroaig kernel:  <TASK>
Jun 07 21:18:21 laphroaig kernel:  ? die_addr+0x36/0x90
Jun 07 21:18:21 laphroaig kernel:  ? exc_general_protection+0x1be/0x420
Jun 07 21:18:21 laphroaig kernel:  ? asm_exc_general_protection+0x26/0x30
Jun 07 21:18:21 laphroaig kernel:  ? __kmem_cache_alloc_node+0x1ba/0x320
Jun 07 21:18:21 laphroaig kernel:  ? nvif_object_ctor+0x7f/0x190 [nouveau]
Jun 07 21:18:21 laphroaig kernel:  ? nvif_object_ctor+0x7f/0x190 [nouveau]
Jun 07 21:18:21 laphroaig kernel:  __kmalloc+0x4d/0x150
Jun 07 21:18:21 laphroaig kernel:  nvif_object_ctor+0x7f/0x190 [nouveau]
Jun 07 21:18:21 laphroaig kernel:  nvif_mem_ctor_type+0xdc/0x1b0 [nouveau]
Jun 07 21:18:21 laphroaig kernel:  nouveau_mem_vram+0xc8/0x170 [nouveau]
Jun 07 21:18:21 laphroaig kernel:  nouveau_vram_manager_new+0x97/0xc0 [nouveau]
Jun 07 21:18:21 laphroaig kernel:  ? dma_resv_reserve_fences+0x65/0x210
Jun 07 21:18:21 laphroaig kernel:  ttm_resource_alloc+0x3b/0x80 [ttm]
Jun 07 21:18:21 laphroaig kernel:  ttm_bo_mem_space+0x88/0x230 [ttm]
Jun 07 21:18:21 laphroaig kernel:  ttm_bo_validate+0xbf/0x160 [ttm]
Jun 07 21:18:21 laphroaig kernel:  ttm_bo_init_reserved+0x14e/0x1c0 [ttm]
Jun 07 21:18:21 laphroaig kernel:  ttm_bo_init_validate+0x5a/0xe0 [ttm]
Jun 07 21:18:21 laphroaig kernel:  ? __pfx_nouveau_bo_del_ttm+0x10/0x10 [nouveau]
Jun 07 21:18:21 laphroaig kernel:  nouveau_bo_init+0x6b/0x80 [nouveau]
Jun 07 21:18:21 laphroaig kernel:  ? __pfx_nouveau_bo_del_ttm+0x10/0x10 [nouveau]
Jun 07 21:18:21 laphroaig kernel:  nouveau_gem_new+0x84/0xe0 [nouveau]
Jun 07 21:18:21 laphroaig kernel:  nouveau_gem_ioctl_new+0x59/0x100 [nouveau]
Jun 07 21:18:21 laphroaig kernel:  ? __pfx_nouveau_gem_ioctl_new+0x10/0x10 [nouveau]
Jun 07 21:18:21 laphroaig kernel:  drm_ioctl_kernel+0xcd/0x170
Jun 07 21:18:21 laphroaig kernel:  drm_ioctl+0x26d/0x4b0
Jun 07 21:18:21 laphroaig kernel:  ? __pfx_nouveau_gem_ioctl_new+0x10/0x10 [nouveau]
Jun 07 21:18:21 laphroaig kernel:  nouveau_drm_ioctl+0x5a/0xb0 [nouveau]
Jun 07 21:18:21 laphroaig kernel:  __x64_sys_ioctl+0x94/0xd0
Jun 07 21:18:21 laphroaig kernel:  do_syscall_64+0x60/0x90
Jun 07 21:18:21 laphroaig kernel:  ? handle_mm_fault+0x11e/0x310
Jun 07 21:18:21 laphroaig kernel:  ? do_user_addr_fault+0x1e0/0x720
Jun 07 21:18:21 laphroaig kernel:  ? exc_page_fault+0x7c/0x180
Jun 07 21:18:21 laphroaig kernel:  entry_SYSCALL_64_after_hwframe+0x72/0xdc
Jun 07 21:18:21 laphroaig kernel: RIP: 0033:0x7f1f242fbedd
Jun 07 21:18:21 laphroaig kernel: Code: 04 25 28 00 00 00 48 89 45 c8 31 c0 48 8d 45 10 c7 45 b0 10 00 00 00 48 89 45 b>
Jun 07 21:18:21 laphroaig kernel: RSP: 002b:00007ffdf4056cf0 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
Jun 07 21:18:21 laphroaig kernel: RAX: ffffffffffffffda RBX: 0000557883b67a70 RCX: 00007f1f242fbedd
Jun 07 21:18:21 laphroaig kernel: RDX: 00007ffdf4056da0 RSI: 00000000c0306480 RDI: 0000000000000012
Jun 07 21:18:21 laphroaig kernel: RBP: 00007ffdf4056d40 R08: 0000000000000080 R09: 0000000000000001
Jun 07 21:18:21 laphroaig kernel: R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffdf4056da0
Jun 07 21:18:21 laphroaig kernel: R13: 00000000c0306480 R14: 0000000000000012 R15: 00007ffdf4056e60
Jun 07 21:18:21 laphroaig kernel:  </TASK>
Jun 07 21:18:21 laphroaig kernel: Modules linked in: snd_seq_dummy snd_hrtimer nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 n>
Jun 07 21:18:21 laphroaig kernel: ---[ end trace 0000000000000000 ]---
Jun 07 21:18:21 laphroaig kernel: RIP: 0010:__kmem_cache_alloc_node+0x1ba/0x320
Jun 07 21:18:21 laphroaig kernel: Code: 2b 14 25 28 00 00 00 0f 85 74 01 00 00 48 83 c4 18 5b 5d 41 5c 41 5d 41 5e 41 5>
Jun 07 21:18:21 laphroaig kernel: RSP: 0018:ffffad580179f870 EFLAGS: 00010202
Jun 07 21:18:21 laphroaig kernel: RAX: 776aaa6547ad17e6 RBX: 0000000000000cc0 RCX: 0000000000000052
Jun 07 21:18:21 laphroaig kernel: RDX: 0000000010326002 RSI: 0000000000000cc0 RDI: 776aaa6547ad17b6
Jun 07 21:18:21 laphroaig kernel: RBP: 0000000000000cc0 R08: 00000000000390c0 R09: 000000000000001a
Jun 07 21:18:21 laphroaig kernel: R10: 0000000040000000 R11: 0000000000000000 R12: 0000000000000000
Jun 07 21:18:21 laphroaig kernel: R13: 00000000ffffffff R14: 0000000000000052 R15: ffff9f7a80043600
Jun 07 21:18:21 laphroaig kernel: FS:  00007f1f23c35ac0(0000) GS:ffff9f7dafc80000(0000) knlGS:0000000000000000
Jun 07 21:18:21 laphroaig kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jun 07 21:18:21 laphroaig kernel: CR2: 00007f1f23801008 CR3: 000000012549a000 CR4: 00000000000006e0
Jun 07 21:18:22 laphroaig kernel: general protection fault, probably for non-canonical address 0x776aaa6547ad17e6: 0000>
Jun 07 21:18:22 laphroaig kernel: CPU: 2 PID: 659 Comm: systemd-oomd Tainted: G      D            6.3.5-200.fc38.x86_64>
Jun 07 21:18:22 laphroaig kernel: Hardware name: Gigabyte Technology Co., Ltd. To be filled by O.E.M./990FXA-UD3, BIOS >
Jun 07 21:18:22 laphroaig kernel: RIP: 0010:__kmem_cache_alloc_node+0x1ba/0x320
Jun 07 21:18:22 laphroaig kernel: Code: 2b 14 25 28 00 00 00 0f 85 74 01 00 00 48 83 c4 18 5b 5d 41 5c 41 5d 41 5e 41 5>
Jun 07 21:18:22 laphroaig kernel: RSP: 0018:ffffad5800687b00 EFLAGS: 00010202
Jun 07 21:18:22 laphroaig kernel: RAX: 776aaa6547ad17e6 RBX: 0000000000000dc0 RCX: 0000000000000048
Jun 07 21:18:22 laphroaig kernel: RDX: 0000000010336002 RSI: 0000000000000dc0 RDI: 776aaa6547ad17b6
Jun 07 21:18:22 laphroaig kernel: RBP: 0000000000000dc0 R08: 00000000000390c0 R09: ffff9f7a890d5e10
Jun 07 21:18:22 laphroaig kernel: R10: ffffad5800687bd8 R11: 0000000000000000 R12: 0000000000000000
Jun 07 21:18:22 laphroaig kernel: R13: 00000000ffffffff R14: 0000000000000048 R15: ffff9f7a80043600
Jun 07 21:18:22 laphroaig kernel: FS:  00007fed95638940(0000) GS:ffff9f7dafc80000(0000) knlGS:0000000000000000
Jun 07 21:18:22 laphroaig kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jun 07 21:18:22 laphroaig kernel: CR2: 00007f65146e1000 CR3: 000000010741c000 CR4: 00000000000006e0
Jun 07 21:18:22 laphroaig kernel: Call Trace:
Jun 07 21:18:22 laphroaig kernel:  <TASK>
Jun 07 21:18:22 laphroaig kernel:  ? die_addr+0x36/0x90
Jun 07 21:18:22 laphroaig kernel:  ? exc_general_protection+0x1be/0x420
Jun 07 21:18:22 laphroaig kernel:  ? is_bpf_text_address+0x22/0x30
Jun 07 21:18:22 laphroaig kernel:  ? asm_exc_general_protection+0x26/0x30
Jun 07 21:18:22 laphroaig kernel:  ? __kmem_cache_alloc_node+0x1ba/0x320
Jun 07 21:18:22 laphroaig kernel:  ? kernfs_fop_open+0x31a/0x390
Jun 07 21:18:22 laphroaig kernel:  kmalloc_trace+0x2a/0xa0
Jun 07 21:18:22 laphroaig kernel:  kernfs_fop_open+0x31a/0x390
Jun 07 21:18:22 laphroaig kernel:  ? __pfx_kernfs_fop_open+0x10/0x10
Jun 07 21:18:22 laphroaig kernel:  do_dentry_open+0x1e5/0x410
Jun 07 21:18:22 laphroaig kernel:  path_openat+0xaf2/0x1140
Jun 07 21:18:22 laphroaig kernel:  ? get_vfs_caps_from_disk+0x8c/0x1f0
Jun 07 21:18:22 laphroaig kernel:  do_filp_open+0xb3/0x160
Jun 07 21:18:22 laphroaig kernel:  do_sys_openat2+0xaf/0x170
Jun 07 21:18:22 laphroaig kernel:  __x64_sys_openat+0x57/0xa0
Jun 07 21:18:22 laphroaig kernel:  do_syscall_64+0x60/0x90
Jun 07 21:18:22 laphroaig kernel:  ? __rseq_handle_notify_resume+0xa5/0x4e0
Jun 07 21:18:22 laphroaig kernel:  ? mntput_no_expire+0x4a/0x250
Jun 07 21:18:22 laphroaig kernel:  ? exit_to_user_mode_prepare+0x188/0x1f0
Jun 07 21:18:22 laphroaig kernel:  ? syscall_exit_to_user_mode+0x1b/0x40
Jun 07 21:18:22 laphroaig kernel:  ? do_syscall_64+0x6c/0x90
Jun 07 21:18:22 laphroaig kernel:  ? syscall_exit_to_user_mode+0x1b/0x40
Jun 07 21:18:22 laphroaig kernel:  ? do_syscall_64+0x6c/0x90
Jun 07 21:18:22 laphroaig kernel:  ? do_syscall_64+0x6c/0x90
Jun 07 21:18:22 laphroaig kernel:  entry_SYSCALL_64_after_hwframe+0x72/0xdc
Jun 07 21:18:22 laphroaig kernel: RIP: 0033:0x7fed95922e45
Jun 07 21:18:22 laphroaig kernel: Code: 83 e2 40 75 50 89 f0 f7 d0 a9 00 00 41 00 74 45 80 3d a6 b7 0d 00 00 74 60 89 d>
Jun 07 21:18:22 laphroaig kernel: RSP: 002b:00007fff98c9c5a0 EFLAGS: 00000202 ORIG_RAX: 0000000000000101
Jun 07 21:18:22 laphroaig kernel: RAX: ffffffffffffffda RBX: 0000000000080000 RCX: 00007fed95922e45
Jun 07 21:18:22 laphroaig kernel: RDX: 0000000000080000 RSI: 000055a7959850f0 RDI: 00000000ffffff9c
Jun 07 21:18:22 laphroaig kernel: RBP: 00007fff98c9c610 R08: 0000000000000008 R09: 0000000000000001
Jun 07 21:18:22 laphroaig kernel: R10: 0000000000000000 R11: 0000000000000202 R12: 000055a7959850f0
Jun 07 21:18:22 laphroaig kernel: R13: 00007fed95cac87f R14: 00007fed95cac87f R15: 0000000000000001
Jun 07 21:18:22 laphroaig kernel:  </TASK>
Jun 07 21:18:22 laphroaig kernel: Modules linked in: snd_seq_dummy snd_hrtimer nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 n>
Jun 07 21:18:22 laphroaig kernel: ---[ end trace 0000000000000000 ]---
Jun 07 21:18:22 laphroaig kernel: RIP: 0010:__kmem_cache_alloc_node+0x1ba/0x320
Jun 07 21:18:22 laphroaig kernel: Code: 2b 14 25 28 00 00 00 0f 85 74 01 00 00 48 83 c4 18 5b 5d 41 5c 41 5d 41 5e 41 5>
Jun 07 21:18:22 laphroaig kernel: RSP: 0018:ffffad580179f870 EFLAGS: 00010202
Jun 07 21:18:22 laphroaig kernel: RAX: 776aaa6547ad17e6 RBX: 0000000000000cc0 RCX: 0000000000000052
Jun 07 21:18:22 laphroaig kernel: RDX: 0000000010326002 RSI: 0000000000000cc0 RDI: 776aaa6547ad17b6
Jun 07 21:18:22 laphroaig kernel: RBP: 0000000000000cc0 R08: 00000000000390c0 R09: 000000000000001a
Jun 07 21:18:22 laphroaig kernel: R10: 0000000040000000 R11: 0000000000000000 R12: 0000000000000000
Jun 07 21:18:22 laphroaig kernel: R13: 00000000ffffffff R14: 0000000000000052 R15: ffff9f7a80043600
Jun 07 21:18:22 laphroaig kernel: FS:  00007fed95638940(0000) GS:ffff9f7dafc80000(0000) knlGS:0000000000000000
Jun 07 21:18:22 laphroaig kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jun 07 21:18:22 laphroaig kernel: CR2: 00007f65146e1000 CR3: 000000010741c000 CR4: 00000000000006e0
Jun 07 21:18:22 laphroaig systemd[1]: systemd-oomd.service: Main process exited, code=killed, status=11/SEGV
Jun 07 21:18:22 laphroaig systemd[1]: systemd-oomd.service: Failed with result 'signal'.


Reproducible: Always

Steps to Reproduce:
1. Boot into Kernel 6.3.5
2. Login using lightdm into xfce
3. Start arbitrary X11 program
Actual Results:  
System crashes

Comment 1 James Boyle 2023-06-25 23:37:08 UTC
Hello,
After updating to the 6.3.5 or 6.3.6 kernels, my system (Lenovo ThinkPad P50, NVidia Quadro M2000M, Fedora 38, kernel 6.3.8-200.fc38.x86_64, nouveau, MATE desktop) hangs every time when I open either Chromium or VLC.  Other graphical programs such as Minecraft and Firefox work without issue.  The mouse cursor moves as expected, but nothing is clickable and no control key combinations (ctrl-alt-f5, etc.) work either.  I have not tried a remote login after the system hangs.

The hang does not occur after switching from nouveau to kmod-nvidia on the same version of kernel.  I prefer the nouveau driver because it handles multiple displays better, but will use the proprietary driver in the mean time.

Jun 25 16:42:34 diziet kernel: nouveau 0000:01:00.0: Enabling HDA controller
Jun 25 16:42:39 diziet kernel: nouveau 0000:01:00.0: DRM: Moving pinned object 000000000fd9718b!
Jun 25 16:42:39 diziet kernel: BUG: kernel NULL pointer dereference, address: 000000000000000c
Jun 25 16:42:39 diziet kernel: #PF: supervisor read access in kernel mode
Jun 25 16:42:39 diziet kernel: #PF: error_code(0x0000) - not-present page
Jun 25 16:42:39 diziet kernel: PGD 0 P4D 0 
Jun 25 16:42:39 diziet kernel: Oops: 0000 [#1] PREEMPT SMP PTI
Jun 25 16:42:39 diziet kernel: CPU: 1 PID: 1726 Comm: Xorg Not tainted 6.3.6-200.fc38.x86_64 #1
Jun 25 16:42:39 diziet kernel: Hardware name: LENOVO 20ENCTO1WW/20ENCTO1WW
Jun 25 16:42:39 diziet kernel: RIP: 0010:nouveau_gem_prime_get_sg_table+0x14/0x20 [nouveau]
Jun 25 16:42:39 diziet kernel: Code: cc cc 0f 1f 40 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 0f 1f 44 00 00 48 8b 87 78 01 00 00 48 8b 7f 08 <8b> 50 0c 48 8b 30 e9 f1 00 42 df 90 90 90 90 9
0 90 90 90 90 90 90
Jun 25 16:42:39 diziet kernel: RSP: 0018:ffffa12984bb37b0 EFLAGS: 00010282
Jun 25 16:42:39 diziet kernel: RAX: 0000000000000000 RBX: ffff89793eafa840 RCX: 0000000000000000
Jun 25 16:42:39 diziet kernel: RDX: ffff897950664f00 RSI: 0000000000000000 RDI: ffff8978d4a94000
Jun 25 16:42:39 diziet kernel: RBP: 0000000000000000 R08: 0000000000000a81 R09: ffff8978d015b530
Jun 25 16:42:39 diziet kernel: R10: ffff8978c453e000 R11: 0000000000000001 R12: ffff89793eafa840
Jun 25 16:42:39 diziet kernel: R13: 0000000000000038 R14: 0000000000000a81 R15: ffff8978f9969b80
Jun 25 16:42:39 diziet kernel: FS:  00007fb943547ac0(0000) GS:ffff89803f680000(0000) knlGS:0000000000000000
Jun 25 16:42:39 diziet kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jun 25 16:42:39 diziet kernel: CR2: 000000000000000c CR3: 0000000109fe6006 CR4: 00000000003706e0
Jun 25 16:42:39 diziet kernel: DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Jun 25 16:42:39 diziet kernel: DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Jun 25 16:42:39 diziet kernel: Call Trace:
Jun 25 16:42:39 diziet kernel: <TASK>
Jun 25 16:42:39 diziet kernel: ? __die+0x23/0x70
Jun 25 16:42:39 diziet kernel: ? page_fault_oops+0x171/0x4e0
Jun 25 16:42:39 diziet kernel: ? nvkm_vmm_unref_pdes+0x109/0x1f0 [nouveau]
Jun 25 16:42:39 diziet kernel: ? exc_page_fault+0x7c/0x180
Jun 25 16:42:39 diziet kernel: ? asm_exc_page_fault+0x26/0x30
Jun 25 16:42:39 diziet kernel: ? nouveau_gem_prime_get_sg_table+0x14/0x20 [nouveau]
Jun 25 16:42:39 diziet kernel: drm_gem_map_dma_buf+0x30/0xb0
Jun 25 16:42:39 diziet kernel: __map_dma_buf+0x1e/0x90
Jun 25 16:42:39 diziet kernel: dma_buf_map_attachment+0x85/0xe0
Jun 25 16:42:39 diziet kernel: i915_gem_object_get_pages_dmabuf+0x22/0x70 [i915]
Jun 25 16:42:39 diziet kernel: __i915_gem_object_get_pages+0x38/0x50 [i915]
Jun 25 16:42:39 diziet kernel: i915_vma_pin_ww+0x6f1/0xa10 [i915]
Jun 25 16:42:39 diziet kernel: ? i915_active_acquire_preallocate_barrier+0x23e/0x350 [i915]
Jun 25 16:42:39 diziet kernel: eb_validate_vmas+0x1af/0xa10 [i915]
Jun 25 16:42:39 diziet kernel: i915_gem_do_execbuffer+0x1134/0x28f0 [i915]
Jun 25 16:42:39 diziet kernel: ? ttwu_queue_wakelist+0xef/0x110
Jun 25 16:42:39 diziet kernel: i915_gem_execbuffer2_ioctl+0x11f/0x280 [i915]
Jun 25 16:42:39 diziet kernel: ? __pfx_i915_gem_execbuffer2_ioctl+0x10/0x10 [i915]
Jun 25 16:42:39 diziet kernel: drm_ioctl_kernel+0xca/0x170
Jun 25 16:42:39 diziet kernel: drm_ioctl+0x26d/0x4b0
Jun 25 16:42:39 diziet kernel: ? __pfx_i915_gem_execbuffer2_ioctl+0x10/0x10 [i915]
Jun 25 16:42:39 diziet kernel: __x64_sys_ioctl+0x91/0xd0
Jun 25 16:42:39 diziet kernel: do_syscall_64+0x5d/0x90
Jun 25 16:42:39 diziet kernel: ? __x64_sys_ioctl+0xac/0xd0
Jun 25 16:42:39 diziet kernel: ? syscall_exit_to_user_mode+0x1b/0x40
Jun 25 16:42:39 diziet kernel: ? do_syscall_64+0x6c/0x90
Jun 25 16:42:39 diziet kernel: ? do_syscall_64+0x6c/0x90
Jun 25 16:42:39 diziet kernel: entry_SYSCALL_64_after_hwframe+0x72/0xdc
Jun 25 16:42:39 diziet kernel: RIP: 0033:0x7fb943c11edd
Jun 25 16:42:39 diziet kernel: Code: 04 25 28 00 00 00 48 89 45 c8 31 c0 48 8d 45 10 c7 45 b0 10 00 00 00 48 89 45 b8 48 8d 45 d0 48 89 45 c0 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 1a 48 8b 45 c8 64 48 2b 04 25 28 00 00 00
Jun 25 16:42:39 diziet kernel: RSP: 002b:00007ffc7a898700 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
Jun 25 16:42:39 diziet kernel: RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fb943c11edd
Jun 25 16:42:39 diziet kernel: RDX: 00007ffc7a8987b0 RSI: 0000000040406469 RDI: 000000000000000f
Jun 25 16:42:39 diziet kernel: RBP: 00007ffc7a898750 R08: 0000560f38776708 R09: 0000000000000000
Jun 25 16:42:39 diziet kernel: R10: 0000000000000000 R11: 0000000000000246 R12: 000000000000000f
Jun 25 16:42:39 diziet kernel: R13: 00007ffc7a8987b0 R14: 0000560f38d5fca0 R15: 00007fb941724000
Jun 25 16:42:39 diziet kernel: </TASK>
Jun 25 16:42:39 diziet kernel: Modules linked in: snd_seq_dummy snd_hrtimer xt_CHECKSUM xt_MASQUERADE xt_conntrack ipt_REJECT nf_nat_tftp nf_conntrack_tftp nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct bridge nft_chain_nat 8021q garp mrp stp llc nf_tables ebtable_nat ebtable_broute ip6table_nat ip6table_mangle ip6table_raw ip6table_security iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 iptable_mangle iptable_raw iptable_security ip_set nfnetlink ebtable_filter ebtables ip6table_filter ip6_tables iptable_filter ip_tables qrtr sunrpc snd_soc_avs snd_soc_hda_codec snd_hda_ext_core snd_soc_core snd_compress ac97_bus snd_pcm_dmaengine snd_hda_codec_hdmi rmi_smbus rmi_core iwlmvm mac80211 intel_rapl_msr libarc4 intel_rapl_common intel_tcc_cooling mei_hdcp x86_pkg_temp_thermal mei_pxp mei_wdt iTCO_wdt intel_powerclamp intel_pmc_bxt iwlwifi coretemp iTCO_vendor_support ee1004 kvm_intel snd_ctl_led kvm snd_hda_codec_realtek snd_hda_codec_generic irqbypass
Jun 25 16:42:39 diziet kernel: snd_hda_intel vfat snd_intel_dspcfg fat rapl uvcvideo cfg80211 uvc intel_cstate videobuf2_vmalloc videobuf2_memops snd_intel_sdw_acpi btusb videobuf2_v4l2 snd_hda_codec btrtl intel_wmi_thunderbolt intel_uncore btbcm i2c_i801 i2c_smbus videobuf2_common btintel btmtk snd_hda_core think_lmi videodev pcspkr firmware_attributes_class mc thinkpad_acpi bluetooth wmi_bmof snd_hwdep snd_seq snd_seq_device ledtrig_audio snd_pcm mei_me mei intel_pch_thermal platform_profile snd_timer rfkill ie31200_edac snd soundcore joydev loop zram dm_crypt mmc_block i915 nouveau rtsx_pci_sdmmc mmc_core hid_logitech_hidpp crct10dif_pclmul crc32_pclmul crc32c_intel polyval_clmulni polyval_generic nvme e1000e ghash_clmulni_intel sha512_ssse3 hid_logitech_dj rtsx_pci nvme_core drm_ttm_helper mxm_wmi drm_buddy i2c_algo_bit drm_disp
lay_helper nvme_common cec ttm video wmi serio_raw scsi_dh_rdac scsi_dh_emc scsi_dh_alua fuse dm_multipath
Jun 25 16:42:39 diziet kernel: CR2: 000000000000000c
Jun 25 16:42:39 diziet kernel: ---[ end trace 0000000000000000 ]---
Jun 25 16:42:39 diziet kernel: RIP: 0010:nouveau_gem_prime_get_sg_table+0x14/0x20 [nouveau]
Jun 25 16:42:39 diziet kernel: Code: cc cc 0f 1f 40 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 0f 1f 44 00 00 48 8b 87 78 01 00 00 48 8b 7f 08 <8b> 50 0c 48 8b 30 e9 f1 00 42 df 90 90 90 90 90 90 90 90 90 90 90
Jun 25 16:42:39 diziet kernel: RSP: 0018:ffffa12984bb37b0 EFLAGS: 00010282
Jun 25 16:42:39 diziet kernel: RAX: 0000000000000000 RBX: ffff89793eafa840 RCX: 0000000000000000
Jun 25 16:42:39 diziet kernel: RDX: ffff897950664f00 RSI: 0000000000000000 RDI: ffff8978d4a94000
Jun 25 16:42:39 diziet kernel: RBP: 0000000000000000 R08: 0000000000000a81 R09: ffff8978d015b530
Jun 25 16:42:39 diziet kernel: R10: ffff8978c453e000 R11: 0000000000000001 R12: ffff89793eafa840
Jun 25 16:42:39 diziet kernel: R13: 0000000000000038 R14: 0000000000000a81 R15: ffff8978f9969b80
Jun 25 16:42:39 diziet kernel: FS:  00007fb943547ac0(0000) GS:ffff89803f680000(0000) knlGS:0000000000000000
Jun 25 16:42:39 diziet kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jun 25 16:42:39 diziet kernel: CR2: 000000000000000c CR3: 0000000109fe6006 CR4: 00000000003706e0
Jun 25 16:42:39 diziet kernel: DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Jun 25 16:42:39 diziet kernel: DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Jun 25 16:42:39 diziet kernel: note: Xorg[1726] exited with irqs disabled

Comment 2 Hans de Goede 2023-06-26 08:54:44 UTC
kernel 6.3.9 has a couple of fixes for recent nouveau issues and this is available in updates-testing now.

Please give kernel 6.3.9 a try:

sudo dnf --enablerepo=updates-testing update 'kernel*'

Comment 3 James Boyle 2023-06-26 21:34:05 UTC
The crash/hang does not occur with kernel 6.3.9 on my Lenovo ThinkPad P50, NVidia Quadro M2000M.

$ uname -a
Linux diziet.reple.at 6.3.9-200.fc38.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jun 21 19:47:58 UTC 2023 x86_64 GNU/Linux
$ lsmod |grep nouveau
nouveau              3420160  1
drm_ttm_helper         16384  1 nouveau
mxm_wmi                16384  1 nouveau
i2c_algo_bit           20480  2 i915,nouveau
drm_display_helper    208896  2 i915,nouveau
ttm                   102400  3 drm_ttm_helper,i915,nouveau
video                  73728  3 thinkpad_acpi,i915,nouveau
wmi                    45056  6 video,intel_wmi_thunderbolt,wmi_bmof,think_lmi,mxm_wmi,nouveau
$ rpm -qa |grep nouv
xorg-x11-drv-nouveau-1.0.17-5.fc38.x86_64

Thank you!


Note You need to log in before you can comment on or make changes to this bug.