Bug 2222357

Summary: [abrt] radeon_bo_unref: WARNING: CPU: 3 PID: 1864 at drivers/gpu/drm/ttm/ttm_bo.c:353 ttm_bo_release+0x332/0x350 [ttm] [radeon]
Product: [Fedora] Fedora Reporter: Ranari <jura.fiala>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 38CC: acaringi, adscvr, airlied, alciregi, bskeggs, hdegoede, hpa, jarodwilson, josef, jura.fiala, kernel-maint, lgoncalv, linville, masami256, mchehab, ptalbert, steved
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/d588c3a8bf2142b03bf68bab8e6201c7a741923
Whiteboard: abrt_hash:71bb2f39936121649a6ce215bfa15f9dde46ba4c;VARIANT_ID=workstation;
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-05-28 13:27:07 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: dmesg none

Description Ranari 2023-07-12 15:30:31 UTC
Description of problem:
After updating the clean install, the whole X environment crashes (freezes).. can login but the interface freezes after login. This is a fundamental error.

Additional info:
reporter:       libreport-2.17.11
WARNING: CPU: 3 PID: 1864 at drivers/gpu/drm/ttm/ttm_bo.c:353 ttm_bo_release+0x332/0x350 [ttm]
Modules linked in: uinput snd_seq_dummy snd_hrtimer nf_conntrack_netbios_ns nf_conntrack_broadcast nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip_set nf_tables nfnetlink rfkill saa7134_alsa qrtr tda1004x saa7134_dvb videobuf2_dvb dvb_core sunrpc binfmt_misc snd_hda_codec_realtek tda827x snd_hda_codec_generic ledtrig_audio tda8290 edac_mce_amd tuner snd_hda_intel snd_intel_dspcfg snd_intel_sdw_acpi snd_hda_codec snd_hda_core ccp saa7134 snd_usb_audio uvcvideo snd_usbmidi_lib kvm snd_rawmidi tveeprom snd_hwdep videobuf2_dma_sg videobuf2_vmalloc snd_seq videobuf2_memops videobuf2_v4l2 irqbypass snd_seq_device videobuf2_common snd_pcm fam15h_power videodev i2c_piix4 snd_timer snd mc wmi_bmof soundcore pcspkr k10temp acpi_cpufreq asus_atk0110 loop zram amdgpu iommu_v2 drm_buddy gpu_sched radeon ata_generic crct10dif_pclmul crc32_pclmul crc32c_intel
 uas polyval_clmulni pata_acpi drm_ttm_helper polyval_generic ttm usb_storage video ghash_clmulni_intel drm_display_helper sha512_ssse3 serio_raw alx pata_atiixp sp5100_tco cec mdio wmi ip6_tables ip_tables fuse
CPU: 3 PID: 1864 Comm: gnome-shell Not tainted 6.2.9-300.fc38.x86_64 #1
Hardware name: System manufacturer System Product Name/M5A78L-M LX3, BIOS 1401    05/05/2016
RIP: 0010:ttm_bo_release+0x332/0x350 [ttm]
Code: 00 e8 f2 76 6f e8 48 8b 43 e8 eb a7 be 03 00 00 00 e8 d2 fa 3e e8 e9 d6 fd ff ff e8 d8 51 6f e8 e9 cc fd ff ff 4c 89 e0 eb 89 <0f> 0b 48 83 7b 20 00 0f 84 06 fd ff ff 0f 0b e9 ff fc ff ff 0f 0b
RSP: 0018:ffff984ac1f1fc08 EFLAGS: 00010202
RAX: 0000000000000000 RBX: ffff892903db09e0 RCX: 0000000000000000
RDX: 0000000000000002 RSI: 0000000000000000 RDI: ffff892903db09e0
RBP: ffff892903db0878 R08: 0000000000000000 R09: 000000000040003a
R10: ffff892907dc5268 R11: ffff984ac1f1fc60 R12: ffff89290af4c6f0
R13: ffff892905564a58 R14: ffff892905564a40 R15: 000000000000000e
FS:  00007fa0d6848600(0000) GS:ffff892a17180000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f9981912288 CR3: 0000000139474000 CR4: 00000000000406e0
Call Trace:
 <TASK>
 radeon_bo_unref+0x1a/0x30 [radeon]
 radeon_gem_object_free+0x30/0x50 [radeon]
 drm_gem_handle_delete+0x8c/0xd0
 ? __pfx_drm_gem_close_ioctl+0x10/0x10
 drm_ioctl_kernel+0xc9/0x170
 drm_ioctl+0x235/0x410
 ? __pfx_drm_gem_close_ioctl+0x10/0x10
 radeon_drm_ioctl+0x49/0x80 [radeon]
 __x64_sys_ioctl+0x90/0xd0
 do_syscall_64+0x5b/0x80
 ? __x64_sys_ioctl+0xa8/0xd0
 ? syscall_exit_to_user_mode+0x17/0x40
 ? do_syscall_64+0x67/0x80
 ? syscall_exit_to_user_mode+0x17/0x40
 ? do_syscall_64+0x67/0x80
 ? syscall_exit_to_user_mode+0x17/0x40
 ? do_syscall_64+0x67/0x80
 ? __irq_exit_rcu+0x3d/0x140
 entry_SYSCALL_64_after_hwframe+0x72/0xdc
RIP: 0033:0x7fa0d6528edd
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
RSP: 002b:00007ffdfba4a6f0 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00005608479c6330 RCX: 00007fa0d6528edd
RDX: 00007ffdfba4a798 RSI: 0000000040086409 RDI: 000000000000000c
RBP: 00007ffdfba4a740 R08: 0000000000000003 R09: 01598852c8a92abe
R10: 00007ffdfbbe2080 R11: 0000000000000246 R12: 00007ffdfba4a798
R13: 0000000040086409 R14: 000000000000000c R15: 00005608479e5f20
 </TASK>

Potential duplicate: bug 2142419

Comment 1 Ranari 2023-07-12 15:30:37 UTC
Created attachment 1975392 [details]
File: dmesg

Comment 2 Ranari 2023-07-12 16:01:06 UTC
Description of problem:
Nemožnost ovládání x prostÅedí

Version-Release number of selected component:
kernel-core-6.3.12-200.fc38

Additional info:
reporter:       libreport-2.17.11
kernel:         6.3.12-200.fc38.x86_64
crash_function: ttm_bo_release
reason:         WARNING: CPU: 0 PID: 1873 at drivers/gpu/drm/ttm/ttm_bo.c:326 ttm_bo_release+0x289/0x2e0 [ttm] [ttm]
type:           Kerneloops
cmdline:        BOOT_IMAGE=(hd2,gpt1)/vmlinuz-6.3.12-200.fc38.x86_64 root=UUID=f9213303-387f-4440-9966-25ef8f514055 ro rootflags=subvol=root00 resume=/dev/mapper/fedora-swap rd.lvm.lv=fedora/swap rhgb quiet
package:        kernel-core-6.3.12-200.fc38
runlevel:       N 5
comment:        Nemožnost ovládání x prostÅedí

Truncated backtrace:
WARNING: CPU: 0 PID: 1873 at drivers/gpu/drm/ttm/ttm_bo.c:326 ttm_bo_release+0x289/0x2e0 [ttm]
Modules linked in: uinput snd_seq_dummy snd_hrtimer nf_conntrack_netbios_ns nf_conntrack_broadcast nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip_set rfkill nf_tables nfnetlink qrtr sunrpc binfmt_misc snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio snd_hda_intel snd_intel_dspcfg snd_intel_sdw_acpi snd_usb_audio snd_hda_codec snd_hda_core snd_usbmidi_lib snd_rawmidi snd_hwdep edac_mce_amd uvcvideo snd_seq uvc videobuf2_vmalloc videobuf2_memops snd_seq_device videobuf2_v4l2 ccp videobuf2_common snd_pcm kvm videodev snd_timer mc irqbypass snd soundcore pcspkr wmi_bmof k10temp fam15h_power i2c_piix4 acpi_cpufreq asus_atk0110 loop zram amdgpu iommu_v2 drm_buddy gpu_sched radeon crct10dif_pclmul drm_ttm_helper crc32_pclmul ttm crc32c_intel polyval_clmulni ata_generic video pata_acpi uas polyval_generic ghash_clmulni_intel i2c_algo_bit usb_storage sha512_ssse3 serio_raw
 pata_atiixp sp5100_tco drm_display_helper alx cec mdio wmi ip6_tables ip_tables fuse
CPU: 0 PID: 1873 Comm: gnome-shell Not tainted 6.3.12-200.fc38.x86_64 #1
Hardware name: System manufacturer System Product Name/M5A78L-M LX3, BIOS 1401    05/05/2016
RIP: 0010:ttm_bo_release+0x289/0x2e0 [ttm]
Code: 49 8b b4 24 40 08 00 00 48 83 c4 38 48 8d 53 30 bf 00 20 00 00 5b 5d 41 5c 41 5d 41 5e e9 6f f2 d7 ed 4c 89 e7 e9 64 fe ff ff <0f> 0b 48 83 7b 20 00 0f 84 af fd ff ff 0f 0b e9 a8 fd ff ff c7 43
RSP: 0018:ffffa27b8204bca0 EFLAGS: 00010202
RAX: 0000000000000000 RBX: ffff88cb480dfde0 RCX: 0000000000000000
RDX: 0000000000000001 RSI: 0000000000000000 RDI: ffff88cb480dfde0
RBP: ffff88cb480dfc78 R08: 0000000000000286 R09: 000000008040003f
R10: ffff88cb8e824b90 R11: ffffa27b8204bcf8 R12: ffff88cb498886f0
R13: ffff88cb46cd2858 R14: ffff88cb46cd2840 R15: 0000000000000040
FS:  00007f61eaf34600(0000) GS:ffff88cc57000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000557584452df8 CR3: 000000013b1dc000 CR4: 00000000000406f0
Call Trace:
 <TASK>
 ? ttm_bo_release+0x289/0x2e0 [ttm]
 ? __warn+0x81/0x130
 ? ttm_bo_release+0x289/0x2e0 [ttm]
 ? report_bug+0x171/0x1a0
 ? handle_bug+0x3c/0x80
 ? exc_invalid_op+0x17/0x70
 ? asm_exc_invalid_op+0x1a/0x20
 ? ttm_bo_release+0x289/0x2e0 [ttm]
 radeon_bo_unref+0x1e/0x30 [radeon]
 radeon_gem_object_free+0x34/0x60 [radeon]
 drm_gem_handle_delete+0x90/0xd0
 ? __pfx_drm_gem_close_ioctl+0x10/0x10
 drm_ioctl_kernel+0xcd/0x170
 drm_ioctl+0x26d/0x4b0
 ? __pfx_drm_gem_close_ioctl+0x10/0x10
 radeon_drm_ioctl+0x4d/0x80 [radeon]
 __x64_sys_ioctl+0x94/0xd0
 do_syscall_64+0x60/0x90
 ? exc_page_fault+0x7c/0x180
 entry_SYSCALL_64_after_hwframe+0x72/0xdc
RIP: 0033:0x7f61eab24edd
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
RSP: 002b:00007ffcd6ae47c0 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000561766844cf0 RCX: 00007f61eab24edd
RDX: 00007ffcd6ae4868 RSI: 0000000040086409 RDI: 000000000000000c
RBP: 00007ffcd6ae4810 R08: 0000000000000011 R09: 07a6047fc669478a
R10: 00007ffcd6bee080 R11: 0000000000000246 R12: 00007ffcd6ae4868
R13: 0000000040086409 R14: 000000000000000c R15: 0000561763f35640
 </TASK>

Comment 3 Ranari 2023-07-13 07:27:07 UTC
I noticed that if I immediately put CTRL + ALT+F2 on the login screen and log in using the console and start startx, I generally manage to get the system working (in the xorg environment) But not always, sometimes I have to CTRL + ALT + F4 to he achieved that. Why? Where is your mistake?

Comment 4 Aoife Moloney 2024-05-28 13:27:07 UTC
Fedora Linux 38 entered end-of-life (EOL) status on 2024-05-21.

Fedora Linux 38 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.