Skip to content

Instantly share code, notes, and snippets.

@FliegendeWurst
Last active September 5, 2023 06:29
Show Gist options
  • Save FliegendeWurst/f125722e0cdeb8b31d80e74a38369f83 to your computer and use it in GitHub Desktop.
Save FliegendeWurst/f125722e0cdeb8b31d80e74a38369f83 to your computer and use it in GitHub Desktop.
a strange kernel warning (this is fixed in 5.10.194)
[ 401.519960] ------------[ cut here ]------------
[ 401.519993] WARNING: CPU: 0 PID: 1041 at include/linux/dma-fence.h:475 amdgpu_sync_keep_later+0x76/0xc0 [amdgpu]
[ 401.519994] Modules linked in: snd_seq_dummy snd_hrtimer snd_seq af_packet ip6_tables xt_conntrack ip6t_rpfilter ipt_rpfilter xt_pkttype ip6t_REJECT nf_reject_ipv6 ipt_REJECT nf_reject_ipv4 xt_tcpudp nft_compat amdgpu nft_counter cfg80211 rfkill 8021q nf_tables nfnetlink sch_fq_codel snd_hda_codec_realtek uinput snd_hda_codec_generic atkbd libps2 serio ledtrig_audio snd_hda_codec_hdmi snd_hda_intel snd_intel_dspcfg soundwire_intel soundwire_generic_allocation soundwire_cadence snd_hda_codec iommu_v2 gpu_sched snd_hda_core snd_usb_audio ttm soundwire_bus edac_mce_amd wmi_bmof snd_soc_core snd_usbmidi_lib drm_kms_helper snd_compress snd_hwdep edac_core ac97_bus snd_rawmidi snd_pcm_dmaengine snd_seq_device snd_pcm crc32_pclmul ghash_clmulni_intel nls_iso8859_1 aesni_intel r8169 snd_timer libaes crypto_simd i2c_algo_bit nls_cp437 cryptd snd realtek fb_sys_fops glue_helper syscopyarea mdio_devres vfat sysfillrect fat i2c_piix4 rapl sysimgblt k10temp libphy soundcore wmi input_leds led_class
[ 401.520014] evdev mousedev joydev mac_hid pinctrl_amd tiny_power_button button acpi_cpufreq loop xt_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c br_netfilter veth tun tap macvlan bridge stp llc hid_microsoft_ergonomic(O) nct6775 hwmon_vid v4l2loopback(O) videodev mc kvm_amd ccp rng_core kvm drm irqbypass fuse agpgart backlight deflate i2c_core configfs efi_pstore efivarfs dmi_sysfs ip_tables x_tables autofs4 ext4 crc32c_generic crc16 mbcache jbd2 hid_generic usbhid hid sr_mod cdrom ahci libahci xhci_pci xhci_pci_renesas libata nvme xhci_hcd nvme_core crc32c_intel t10_pi crc_t10dif crct10dif_generic crct10dif_pclmul crct10dif_common rtc_cmos dm_mod usb_storage usbcore usb_common scsi_mod
[ 401.520035] CPU: 0 PID: 1041 Comm: X:cs0 Tainted: G W O 5.10.193 #1-NixOS
[ 401.520036] Hardware name: Micro-Star International Co., Ltd. MS-7C37/X570-A PRO (MS-7C37), BIOS H.D4 04/09/2021
[ 401.520067] RIP: 0010:amdgpu_sync_keep_later+0x76/0xc0 [amdgpu]
[ 401.520070] Code: 39 48 85 db 74 19 48 8d 7b 38 b8 01 00 00 00 f0 0f c1 43 38 85 c0 74 41 8d 50 01 09 c2 78 0f 48 89 5d 00 5b 5d c3 cc cc cc cc <0f> 0b eb bc be 01 00 00 00 e8 1c 40 a1 e1 eb e5 be 03 00 00 00 e8
[ 401.520070] RSP: 0018:ffffbab1c150fbb0 EFLAGS: 00010283
[ 401.520071] RAX: ffffffffa44c4340 RBX: ffff96729739d6c0 RCX: 0000000000000050
[ 401.520071] RDX: 0000000000000000 RSI: ffff96729739d6c0 RDI: ffff9674911c3cf8
[ 401.520072] RBP: ffff9674911c3cf8 R08: ffff9672ab0e19c0 R09: 0000000000000000
[ 401.520073] R10: ffff9672a0f00000 R11: ffff9672ab0e19b8 R12: ffff9672a0f00000
[ 401.520079] R13: ffff9674911c1438 R14: ffff9672a0f091e0 R15: 0000000000000000
[ 401.520079] FS: 00007f3942a926c0(0000) GS:ffff96912ea00000(0000) knlGS:0000000000000000
[ 401.520080] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 401.520080] CR2: 00007fe264154000 CR3: 0000000122060000 CR4: 0000000000750ef0
[ 401.520081] PKRU: 55555554
[ 401.520081] Call Trace:
[ 401.520084] ? __warn+0x81/0x100
[ 401.520114] ? amdgpu_sync_keep_later+0x76/0xc0 [amdgpu]
[ 401.520117] ? report_bug+0x99/0xc0
[ 401.520118] ? handle_bug+0x39/0x90
[ 401.520119] ? exc_invalid_op+0x13/0x60
[ 401.520120] ? asm_exc_invalid_op+0x12/0x20
[ 401.520151] ? amdgpu_sync_keep_later+0x76/0xc0 [amdgpu]
[ 401.520183] amdgpu_sync_vm_fence+0x1e/0x40 [amdgpu]
[ 401.520214] amdgpu_cs_ioctl+0x1531/0x1d80 [amdgpu]
[ 401.520246] ? amdgpu_cs_find_mapping+0x110/0x110 [amdgpu]
[ 401.520253] drm_ioctl_kernel+0xb4/0x100 [drm]
[ 401.520259] drm_ioctl+0x22d/0x410 [drm]
[ 401.520290] ? amdgpu_cs_find_mapping+0x110/0x110 [amdgpu]
[ 401.520320] amdgpu_drm_ioctl+0x4a/0x80 [amdgpu]
[ 401.520323] __x64_sys_ioctl+0x8d/0xd0
[ 401.520324] do_syscall_64+0x30/0x40
[ 401.520325] entry_SYSCALL_64_after_hwframe+0x62/0xc7
[ 401.520328] RIP: 0033:0x7f394d80429f
[ 401.520329] 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
[ 401.520330] RSP: 002b:00007f3942a918c0 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[ 401.520331] RAX: ffffffffffffffda RBX: 00007f3942a91a58 RCX: 00007f394d80429f
[ 401.520331] RDX: 00007f3942a91980 RSI: 00000000c0186444 RDI: 0000000000000015
[ 401.520332] RBP: 00007f3942a91980 R08: 00007f3942a91ab0 R09: 00007f3942a91960
[ 401.520333] R10: 0000000000000003 R11: 0000000000000246 R12: 00000000c0186444
[ 401.520334] R13: 0000000000000015 R14: 000000000125ffe0 R15: 000000000135bdd0
[ 401.520335] ---[ end trace 376b7da992798073 ]---
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment