Skip to main content
Topic: Radeon drivers fails to be loaded after kernel-level reboot (Read 233 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Radeon drivers fails to be loaded after kernel-level reboot

Good evening,

I've got a problem with Radeon driver.
After doing kexec reboot (without going through POST BIOS message while rebooting), Linux kernel fails to load radeon driver.

kexec-reboot script:
Code: [Select]
reuse=--reuse-cmdline
kernel="${kernel:-$(uname -r)}"

if [ -f "/boot/vmlinuz-linux" ]; then
kargs="/boot/vmlinuz-linux --initrd=/boot/initramfs-linux.img"
else
kargs="/boot/vmlinuz-$(kernel) --initrd=/boot/initramfs-$(kernel).img"
fi

kexec -l -t bzImage $kargs $reuse --append="$*" && \
    openrc-shutdown -K 0

Trace error log:
Code: [Select]
May 27 19:46:57 [email protected] kernel: Can't enable IRQ/MSI because no handler is installed
May 27 19:46:57 [email protected] kernel: WARNING: CPU: 0 PID: 12324 at drivers/gpu/drm/radeon/cik.c:7026 cik_irq_set+0xab9/0xad0 [radeon]
May 27 19:46:57 [email protected] kernel: Modules linked in: tls tcp_diag udp_diag inet_diag iptable_mangle ipt_REJECT nf_reject_ipv4 nf_conntrack_netlink xt_nat xt_addrtype xt_mark xt_comment iptable_nat fuse veth sit tunnel4 ip_tunnel xt_REDIRECT xt_MASQUERADE ip6table_nat nf_nat xt_tcpmss ip6table_mangle ip6t_REJECT nf_reject_ipv6 xt_connlimit nf_conncount xt_tcpudp xt_limit xt_multiport ip6table_filter ip6_tables ip_set_hash_net xt_set ip_set nfnetlink xt_conntrack nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c iptable_filter ip_tables x_tables bridge stp llc tcp_htcp vfat fat edac_mce_amd kvm_amd ccp kvm rtl8192ee irqbypass btcoexist rtl_pci crct10dif_pclmul snd_hda_codec_realtek crc32_pclmul snd_hda_codec_generic snd_hda_codec_hdmi ledtrig_audio rtlwifi polyval_clmulni snd_hda_intel polyval_generic gf128mul uvcvideo snd_intel_dspcfg ghash_clmulni_intel vboxnetflt(OE) huawei_cdc_ncm snd_usb_audio mac80211 cdc_wdm vboxnetadp(OE) videobuf2_vmalloc cdc_ncm snd_usbmidi_lib snd_intel_sdw_acpi sha512_ssse3 uvc snd_hda_codec aesni_intel
May 27 19:46:57 [email protected] kernel:  vboxdrv(OE) cdc_ether snd_rawmidi libarc4 snd_hda_core crypto_simd snd_aloop hp_wmi usbnet snd_hwdep option videobuf2_memops snd_seq_device sparse_keymap cryptd psmouse pcspkr mii platform_profile usb_wwan snd_pcm videobuf2_v4l2 joydev mousedev cfg80211 videobuf2_common v4l2loopback_dc(OE) snd_timer videodev tg3 sp5100_tco snd mc rfkill crypto_user wmi_bmof k10temp fam15h_power i2c_piix4 soundcore libphy tpm_infineon mac_hid acpi_cpufreq ext4 crc32c_generic crc16 mbcache jbd2 amdgpu drm_buddy gpu_sched sr_mod cdrom usbhid radeon drm_ttm_helper serio_raw atkbd ttm libps2 vivaldi_fmap i2c_algo_bit drm_display_helper uas crc32c_intel usb_storage i8042 xhci_pci cec video serio xhci_pci_renesas wmi
May 27 19:46:57 [email protected] kernel: CPU: 0 PID: 12324 Comm: Xorg Tainted: G        W  OE      6.3.2-artix1-1 #1 f2cdb60fd70118f809a5d8bf6306691bd2ed8187
May 27 19:46:57 [email protected] kernel: RIP: 0010:cik_irq_set+0xab9/0xad0 [radeon]
May 27 19:46:57 [email protected] kernel: Code: 51 f7 ff ff 81 4c 24 24 00 00 00 04 e9 44 f7 ff ff 81 4c 24 24 00 00 00 04 e9 27 f7 ff ff 48 c7 c7 b0 d0 6a c0 e8 c7 0d 6a d9 <0f> 0b b8 ea ff ff ff e9 7d fa ff ff 66 66 2e 0f 1f 84 00 00 00 00
May 27 19:46:57 [email protected] kernel: RSP: 0018:ffffa9a103d3fbc8 EFLAGS: 00010086
May 27 19:46:57 [email protected] kernel: RAX: 0000000000000000 RBX: ffff974509eac000 RCX: 0000000000000027
May 27 19:46:57 [email protected] kernel: RDX: ffff974a18a21688 RSI: 0000000000000001 RDI: ffff974a18a21680
May 27 19:46:57 [email protected] kernel: RBP: 0000000000000000 R08: 0000000000000000 R09: ffffa9a103d3fa58
May 27 19:46:57 [email protected] kernel: R10: 0000000000000003 R11: ffffffff9bac7fe8 R12: 0000000000000097
May 27 19:46:57 [email protected] kernel: R13: ffff974509eadba4 R14: ffff9745087b894c R15: 0000000000000000
May 27 19:46:57 [email protected] kernel: FS:  00007f9c15117440(0000) GS:ffff974a18a00000(0000) knlGS:0000000000000000
May 27 19:46:57 [email protected] kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
May 27 19:46:57 [email protected] kernel: CR2: 00007f2c9510c0a0 CR3: 0000000285534000 CR4: 00000000000506f0
May 27 19:46:57 [email protected] kernel: Call Trace:
May 27 19:46:57 [email protected] kernel:  <TASK>
May 27 19:46:57 [email protected] kernel:  radeon_enable_vblank_kms+0x54/0x90 [radeon 9e9a9606efcef27b3444a4e5f18a181a23b236ef]
May 27 19:46:57 [email protected] kernel:  drm_vblank_enable+0xdd/0x180
May 27 19:46:57 [email protected] kernel:  drm_vblank_get+0x9a/0xe0
May 27 19:46:57 [email protected] kernel:  drm_wait_vblank_ioctl+0xe6/0x720
May 27 19:46:57 [email protected] kernel:  ? __pfx_drm_wait_vblank_ioctl+0x10/0x10
May 27 19:46:57 [email protected] kernel:  drm_ioctl_kernel+0xcd/0x170
May 27 19:46:57 [email protected] kernel:  drm_ioctl+0x26d/0x4b0
May 27 19:46:57 [email protected] kernel:  ? __pfx_drm_wait_vblank_ioctl+0x10/0x10
May 27 19:46:57 [email protected] kernel:  radeon_drm_ioctl+0x4d/0x80 [radeon 9e9a9606efcef27b3444a4e5f18a181a23b236ef]
May 27 19:46:57 [email protected] kernel:  __x64_sys_ioctl+0x94/0xd0
May 27 19:46:57 [email protected] kernel:  do_syscall_64+0x60/0x90
May 27 19:46:57 [email protected] kernel:  ? do_syscall_64+0x6c/0x90
May 27 19:46:57 [email protected] kernel:  ? do_syscall_64+0x6c/0x90
May 27 19:46:57 [email protected] kernel:  ? exit_to_user_mode_prepare+0x123/0x1e0
May 27 19:46:57 [email protected] kernel:  entry_SYSCALL_64_after_hwframe+0x72/0xdc
May 27 19:46:57 [email protected] kernel: RIP: 0033:0x7f9c14de457f
May 27 19:46:57 [email protected] kernel: Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 18 48 8b 44 24 18 64 48 2b 04 25 28 00 00
May 27 19:46:57 [email protected] kernel: RSP: 002b:00007fff43d55ee0 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
May 27 19:46:57 [email protected] kernel: RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007f9c14de457f
May 27 19:46:57 [email protected] kernel: RDX: 00007fff43d55fe0 RSI: 00000000c018643a RDI: 0000000000000012
May 27 19:46:57 [email protected] kernel: RBP: 00000000000caee7 R08: 0000000000000000 R09: 000055d267a24fa0
May 27 19:46:57 [email protected] kernel: R10: 00007fff43da8080 R11: 0000000000000246 R12: 00007fff43d55fe0
May 27 19:46:57 [email protected] kernel: R13: 0000000000000012 R14: 00000000c018643a R15: 000055d267a23460
May 27 19:46:57 [email protected] kernel:  </TASK>
May 27 19:46:57 [email protected] kernel: ---[ end trace 0000000000000000 ]---

uname -r:
Code: [Select]
6.3.2-artix1-1

Init system - OpenRC