WARNING: CPU: 5 PID: 1464 at drivers/gpu/drm/ttm/ttm_bo.c:326 ttm_bo_release+0x27e/0x2d0 [ttm]
Thomas Zimmermann
tzimmermann at suse.de
Tue Jun 6 07:34:47 UTC 2023
Hi
Am 05.06.23 um 18:36 schrieb Deucher, Alexander:
[...]
>> [ 17.217468] Call Trace:
>> [ 17.217470] <TASK>
>> [ 17.217472] ? __warn+0x97/0x160
>> [ 17.217476] ? ttm_bo_release+0x27e/0x2d0 [ttm]
>> [ 17.217481] ? report_bug+0x1ec/0x200
>> [ 17.217487] ? handle_bug+0x3c/0x70
>> [ 17.217490] ? exc_invalid_op+0x1f/0x90
>> [ 17.217493] ? preempt_count_sub+0xb5/0x100
>> [ 17.217496] ? asm_exc_invalid_op+0x16/0x20
>> [ 17.217500] ? ttm_bo_release+0x27e/0x2d0 [ttm]
>> [ 17.217505] ? ttm_resource_move_to_lru_tail+0x1ab/0x1d0 [ttm]
>> [ 17.217511] radeon_bo_unref+0x1a/0x30 [radeon]
>> [ 17.217547] radeon_gem_object_free+0x20/0x30 [radeon]
>> [ 17.217579] radeon_fbdev_fb_destroy+0x57/0x90 [radeon]
>> [ 17.217616] unregister_framebuffer+0x72/0x110
>> [ 17.217620] drm_client_dev_unregister+0x6d/0xe0
>> [ 17.217623] drm_dev_unregister+0x2e/0x90
>> [ 17.217626] drm_put_dev+0x26/0x90
>> [ 17.217628] pci_device_remove+0x44/0xc0
This might be fallout from the recent conversion to the drm_client
infrastructure. Maybe a double unref.
Best regards
Thomas
>> [ 17.217631] really_probe+0x257/0x340
>> [ 17.217635] __driver_probe_device+0x73/0x120
>> [ 17.217638] driver_probe_device+0x2c/0xb0
>> [ 17.217641] __driver_attach+0xa0/0x150
>> [ 17.217643] ? __pfx___driver_attach+0x10/0x10
>> [ 17.217646] bus_for_each_dev+0x67/0xa0
>> [ 17.217649] bus_add_driver+0x10e/0x210
>> [ 17.217651] driver_register+0x5c/0x120
>> [ 17.217653] ? __pfx_radeon_module_init+0x10/0x10 [radeon]
>> [ 17.217681] do_one_initcall+0x44/0x220
>> [ 17.217684] ? kmalloc_trace+0x37/0xc0
>> [ 17.217688] do_init_module+0x64/0x240
>> [ 17.217691] __do_sys_finit_module+0xb2/0x100
>> [ 17.217694] do_syscall_64+0x3b/0x90
>> [ 17.217697] entry_SYSCALL_64_after_hwframe+0x72/0xdc
>> [ 17.217700] RIP: 0033:0x7f319feaa5a9
>> [ 17.217702] Code: 08 89 e8 5b 5d c3 66 2e 0f 1f 84 00 00 00 00 00 90 48
>> 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48>
>> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 27 08 0d 00 f7 d8 64 89 01 48
>> [ 17.217706] RSP: 002b:00007ffc6bf3e7f8 EFLAGS: 00000246 ORIG_RAX:
>> 0000000000000139
>> [ 17.217709] RAX: ffffffffffffffda RBX: 00005607204f3170 RCX:
>> 00007f319feaa5a9
>> [ 17.217710] RDX: 0000000000000000 RSI: 00007f31a002eefd RDI:
>> 0000000000000018
>> [ 17.217712] RBP: 00007f31a002eefd R08: 0000000000000000 R09:
>> 00005607204f1860
>> [ 17.217714] R10: 0000000000000018 R11: 0000000000000246 R12:
>> 0000000000020000
>> [ 17.217716] R13: 0000000000000000 R14: 0000560720522450 R15:
>> 0000560720255899
>> [ 17.217718] </TASK>
>> [ 17.217719] ---[ end trace 0000000000000000 ]---
>> [ 17.233548] BUG: kernel NULL pointer dereference, address:
>> 00000000000000f8
>> [ 17.233550] #PF: supervisor read access in kernel mode
>> [ 17.233552] #PF: error_code(0x0000) - not-present page
>> [ 17.233553] PGD 0 P4D 0
>> [ 17.233555] Oops: 0000 [#1] PREEMPT SMP
>> [ 17.233557] CPU: 5 PID: 1464 Comm: systemd-udevd Tainted: G W
>> 6.4.0-rc4+ #1
>> [ 17.233559] Hardware name: Micro-Star International Co., Ltd. MS-
>> 7A38/B450M PRO-VDH MAX (MS-7A38), BIOS B.G0 07/26/2022
>> [ 17.233561] RIP: 0010:atombios_crtc_disable+0x3f/0x2f0 [radeon]
>> [ 17.233584] Code: ec 48 48 8b 07 48 8b 58 38 e8 cd fc ff ff 48 8b 85 80 00
>> 00 00 48 8b 80 a8 00 00 00 48 85 c0 74 71 4c 8b a0 a8 00 00 00 31 f6 <49>
>> 8b bc 24 f8 00 00 00 4d 8d 6c 24 88 e8 6f 7c 4a e1 83 f8 fc 0f
>> [ 17.233586] RSP: 0018:ffffc9000095fa78 EFLAGS: 00010246
>> [ 17.233588] RAX: ffff888104228600 RBX: ffff888104a7c000 RCX:
>> 0000000000000005
>> [ 17.233590] RDX: 0000000000000000 RSI: 0000000000000000 RDI:
>> ffff888104a7de10
>> [ 17.233591] RBP: ffff88810528d000 R08: 0000000000000c24 R09:
>> 0000000000030002
>> [ 17.233592] R10: 0000000000000000 R11: 0000000000000000 R12:
>> 0000000000000000
>> [ 17.233594] R13: ffff88810528b2a8 R14: 0000000000000000 R15:
>> ffff88810528b000
>> [ 17.233595] FS: 00007f319fcbb8c0(0000) GS:ffff88881a540000(0000)
>> knlGS:0000000000000000
>> [ 17.233597] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
>> [ 17.233598] CR2: 00000000000000f8 CR3: 000000010373d000 CR4:
>> 0000000000750ee0
>> [ 17.233600] PKRU: 55555554
>> [ 17.233601] Call Trace:
>> [ 17.233602] <TASK>
>> [ 17.233603] ? __die+0x2d/0x80
>> [ 17.233606] ? page_fault_oops+0x15e/0x450
>> [ 17.233609] ? __pfx_cail_reg_read+0x10/0x10 [radeon]
>> [ 17.233629] ? __pfx_cail_reg_write+0x10/0x10 [radeon]
>> [ 17.233647] ? __pfx_cail_reg_read+0x10/0x10 [radeon]
>> [ 17.233665] ? __pfx_cail_reg_write+0x10/0x10 [radeon]
>> [ 17.233683] ? atom_put_dst+0x544/0x580 [radeon]
>> [ 17.233704] ? exc_page_fault+0x464/0x8a0
>> [ 17.233706] ? asm_exc_page_fault+0x22/0x30
>> [ 17.233709] ? atombios_crtc_disable+0x3f/0x2f0 [radeon]
>> [ 17.233728] ? atombios_crtc_disable+0x23/0x2f0 [radeon]
>> [ 17.233746] ? radeon_atom_encoder_dpms_avivo+0x8b/0x270 [radeon]
>> [ 17.233780] ? radeon_atom_encoder_dpms+0xd2/0x1d0 [radeon]
>> [ 17.233806] __drm_helper_disable_unused_functions+0x81/0xe0
>> [drm_kms_helper]
>> [ 17.233817] drm_crtc_helper_set_config+0x63c/0x980 [drm_kms_helper]
>> [ 17.233824] ? _raw_spin_unlock+0x15/0x40
>> [ 17.233827] ? d_walk+0x1be/0x2b0
>> [ 17.233830] ? preempt_count_sub+0xb5/0x100
>> [ 17.233832] radeon_crtc_set_config+0x4c/0x120 [radeon]
>> [ 17.233857] __drm_mode_set_config_internal+0x8f/0x140
>> [ 17.233861] drm_helper_force_disable_all+0x8e/0xc0 [drm_kms_helper]
>> [ 17.233869] radeon_modeset_fini+0x7f/0xb0 [radeon]
>> [ 17.233890] radeon_driver_unload_kms+0x36/0xa0 [radeon]
>> [ 17.233911] drm_dev_unregister+0x5c/0x90
>> [ 17.233913] drm_put_dev+0x26/0x90
>> [ 17.233914] pci_device_remove+0x44/0xc0
>> [ 17.233916] really_probe+0x257/0x340
>> [ 17.233918] __driver_probe_device+0x73/0x120
>> [ 17.233920] driver_probe_device+0x2c/0xb0
>> [ 17.233923] __driver_attach+0xa0/0x150
>> [ 17.233925] ? __pfx___driver_attach+0x10/0x10
>> [ 17.233927] bus_for_each_dev+0x67/0xa0
>> [ 17.233928] bus_add_driver+0x10e/0x210
>> [ 17.233930] driver_register+0x5c/0x120
>> [ 17.233932] ? __pfx_radeon_module_init+0x10/0x10 [radeon]
>> [ 17.233951] do_one_initcall+0x44/0x220
>> [ 17.233953] ? kmalloc_trace+0x37/0xc0
>> [ 17.233955] do_init_module+0x64/0x240
>> [ 17.233957] __do_sys_finit_module+0xb2/0x100
>> [ 17.233959] do_syscall_64+0x3b/0x90
>> [ 17.233961] entry_SYSCALL_64_after_hwframe+0x72/0xdc
>> [ 17.233963] RIP: 0033:0x7f319feaa5a9
>> [ 17.233965] Code: 08 89 e8 5b 5d c3 66 2e 0f 1f 84 00 00 00 00 00 90 48
>> 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48>
>> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 27 08 0d 00 f7 d8 64 89 01 48
>> [ 17.233968] RSP: 002b:00007ffc6bf3e7f8 EFLAGS: 00000246 ORIG_RAX:
>> 0000000000000139
>> [ 17.233970] RAX: ffffffffffffffda RBX: 00005607204f3170 RCX:
>> 00007f319feaa5a9
>> [ 17.233971] RDX: 0000000000000000 RSI: 00007f31a002eefd RDI:
>> 0000000000000018
>> [ 17.233972] RBP: 00007f31a002eefd R08: 0000000000000000 R09:
>> 00005607204f1860
>> [ 17.233974] R10: 0000000000000018 R11: 0000000000000246 R12:
>> 0000000000020000
>> [ 17.233975] R13: 0000000000000000 R14: 0000560720522450 R15:
>> 0000560720255899
>> [ 17.233977] </TASK>
>> [ 17.233978] Modules linked in: edac_mce_amd radeon(+) drm_ttm_helper
>> ttm video drm_suballoc_helper drm_display_helper kvm irqbypass
>> drm_kms_helper syscopyarea crc32_pclmul sysfillrect sha512_ssse3 sysimgblt
>> sha512_generic cfbfillrect cfbimgblt wmi_bmof aesni_intel cfbcopyarea
>> crypto_simd cryptd k10temp acpi_cpufreq wmi dm_mod
>> [ 17.233988] Dumping ftrace buffer:
>> [ 17.233993] (ftrace buffer empty)
>> [ 17.233994] CR2: 00000000000000f8
>> [ 17.233995] ---[ end trace 0000000000000000 ]---
>> [ 17.233996] RIP: 0010:atombios_crtc_disable+0x3f/0x2f0 [radeon]
>> [ 17.234017] Code: ec 48 48 8b 07 48 8b 58 38 e8 cd fc ff ff 48 8b 85 80 00
>> 00 00 48 8b 80 a8 00 00 00 48 85 c0 74 71 4c 8b a0 a8 00 00 00 31 f6 <49>
>> 8b bc 24 f8 00 00 00 4d 8d 6c 24 88 e8 6f 7c 4a e1 83 f8 fc 0f
>> [ 17.234020] RSP: 0018:ffffc9000095fa78 EFLAGS: 00010246
>> [ 17.234021] RAX: ffff888104228600 RBX: ffff888104a7c000 RCX:
>> 0000000000000005
>> [ 17.234023] RDX: 0000000000000000 RSI: 0000000000000000 RDI:
>> ffff888104a7de10
>> [ 17.234024] RBP: ffff88810528d000 R08: 0000000000000c24 R09:
>> 0000000000030002
>> [ 17.234025] R10: 0000000000000000 R11: 0000000000000000 R12:
>> 0000000000000000
>> [ 17.234027] R13: ffff88810528b2a8 R14: 0000000000000000 R15:
>> ffff88810528b000
>> [ 17.234028] FS: 00007f319fcbb8c0(0000) GS:ffff88881a540000(0000)
>> knlGS:0000000000000000
>> [ 17.234030] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
>> [ 17.234031] CR2: 00000000000000f8 CR3: 000000010373d000 CR4:
>> 0000000000750ee0
>> [ 17.234033] PKRU: 55555554
>> [ 17.234034] note: systemd-udevd[1464] exited with irqs disabled
>> [ 17.282192] Adding 15624188k swap on /dev/sda1. Priority:-2 extents:1
>> across:15624188k SS
>> [ 17.287243] EXT4-fs (sda2): re-mounted b522b1ae-f9dc-4183-be36-
>> d06ce4b0fec6 r/w. Quota mode: disabled.
>> [ 17.377499] EXT4-fs (sdb1): mounted filesystem 5bb158ff-89fa-4860-
>> 9c06-772eef540132 r/w with ordered data mode. Quota mode: disabled.
>> [ 17.377534] /dev/home1: Can't open blockdev
>> [ 17.523358] NET: Registered PF_INET6 protocol family
>> [ 17.523513] Segment Routing with IPv6
>> [ 17.523517] In-situ OAM (IOAM) with IPv6
>> [ 19.738875] r8169 0000:25:00.0 eth0: Link is Up - 1Gbps/Full - flow control
>> rx/tx
>> [ 19.738892] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
>>
>> --
>> Regards/Gruss,
>> Boris.
>>
>> https://people.kernel.org/tglx/notes-about-netiquette
--
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Frankenstrasse 146, 90461 Nuernberg, Germany
GF: Ivo Totev, Andrew Myers, Andrew McDonald, Boudien Moerman
HRB 36809 (AG Nuernberg)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20230606/1535c37e/attachment-0001.sig>
More information about the dri-devel
mailing list