http://bugzilla.opensuse.org/show_bug.cgi?id=1195311 http://bugzilla.opensuse.org/show_bug.cgi?id=1195311#c1 --- Comment #1 from Aaron Puchert <aaronpuchert@alice-dsl.net> --- Now debugfs has an interesting file: /sys/kernel/debug/dri/0/radeon_gem_info. Obviously there is some fluctuation, but aggregating gives us a clear picture: $ sed 's/bo\[0x[0-9a-f]*\] *\([0-9]*\)kB *[0-9]*MB *[A-Z]* *pid *[0-9]*/\1/g' radeon_gem_info.before | paste -sd+ - | bc 87628 $ sed 's/bo\[0x[0-9a-f]*\] *\([0-9]*\)kB *[0-9]*MB *[A-Z]* *pid *[0-9]*/\1/g' radeon_gem_info.during | paste -sd+ - | bc 1392096 $ sed 's/bo\[0x[0-9a-f]*\] *\([0-9]*\)kB *[0-9]*MB *[A-Z]* *pid *[0-9]*/\1/g' radeon_gem_info.after | paste -sd+ - | bc 86888 This was a different run, but the leak was there again. Not however in radeon_gem_info, where we're pretty much back to the original state. I can attach the files, but they don't seem so interesting. Sadly playing around with this locked up my machine a couple of times (had to reboot via SysRq keys), with the journal holding this nugget: BUG: kernel NULL pointer dereference, address: 0000000000000010 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 0 P4D 0 Oops: 0000 [#1] PREEMPT SMP NOPTI CPU: 0 PID: 17577 Comm: cat Not tainted 5.16.2-1-default #1 openSUSE Tumbleweed b40a195b7ff0f3399a616c3290f963c4ad189e84 Hardware name: LENOVO 20255/Lenovo G505s, BIOS 83CN35WW(V2.05) 12/06/2013 RIP: 0010:radeon_debugfs_gem_info_show+0x4d/0xd0 [radeon] Code: 00 4c 89 f7 e8 c4 5c 18 ed 48 8b 5d 00 48 39 eb 74 7a 45 31 ff 49 c7 c5 66 a6 7f c0 48 8b 83 e0 01 00 00 49 c7 c1 66 a6 7f c0 <8b> 40 10 83 f8 02 77 21 8b 04 85 e0 22 7b c0 49 c7 c1 61 a6 7f c0 RSP: 0018:ffffaf75c1ba3cb0 EFLAGS: 00010216 RAX: 0000000000000000 RBX: ffff96e8b22f5400 RCX: 0000000000000001 RDX: 0000000000010000 RSI: ffffffffc07eccfd RDI: ffff96e78e9dd1b0 RBP: ffff96e891575cd8 R08: ffff96e78e9dd1af R09: ffffffffc07fa666 R10: ffffffffffffffff R11: ffff96e78e9dd1af R12: ffff96e8b91cae10 R13: ffffffffc07fa666 R14: ffff96e891575cb8 R15: 00000000000003d0 FS: 00007fcf1948d740(0000) GS:ffff96e9a7800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000010 CR3: 0000000203ab8000 CR4: 00000000000406f0 Call Trace: <TASK> seq_read_iter+0x11c/0x4b0 ? aa_file_perm+0x11c/0x490 seq_read+0xfd/0x140 full_proxy_read+0x53/0x80 vfs_read+0x95/0x190 ksys_read+0x5f/0xe0 do_syscall_64+0x5c/0x80 ? handle_mm_fault+0xb2/0x280 ? do_user_addr_fault+0x1d7/0x690 ? do_syscall_64+0x69/0x80 ? exc_page_fault+0x68/0x150 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fcf195ab852 Code: 18 02 00 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 90 90 64 8b 04 25 18 00 00 00 85 c0 75 10 0f 05 <48> 3d 00 f0 ff ff 77 56 c3 0f 1f 44 00 00 48 83 ec 28 48 89 54 24 RSP: 002b:00007ffccd004178 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 0000000000020000 RCX: 00007fcf195ab852 RDX: 0000000000020000 RSI: 00007fcf19167000 RDI: 0000000000000003 RBP: 00007fcf19167000 R08: 00007fcf19166010 R09: 0000000000000000 R10: 00007fcf1949a4b8 R11: 0000000000000246 R12: 0000000000020000 R13: 0000000000000003 R14: 00007ffccd004e6a R15: 0000000000020000 </TASK> Modules linked in: udp_diag tcp_diag inet_diag af_packet snd_seq snd_seq_device dmi_sysfs msr uvcvideo rtsx_usb_ms videobuf2_vmalloc memstick videobuf2_memops videobuf2_v4l2 videobuf2_common videodev mc dm_crypt essiv authenc trusted asn1_encoder tee ath9k ath9k_common ath9k_hw ath edac_mce_amd kvm_amd ccp snd_hda_codec_conexant snd_hda_codec_generic kvm ledtrig_audio mac80211 snd_hda_codec_hdmi snd_hda_intel libarc4 pktcdvd cfg80211 snd_intel_dspcfg irqbypass snd_intel_sdw_acpi ideapad_laptop snd_hda_codec sparse_keymap platform_profile snd_hda_core wmi rfkill snd_hwdep snd_pcm alx snd_timer efi_pstore pcspkr tiny_power_button joydev ac fan snd i2c_piix4 thermal k10temp mdio soundcore button acpi_cpufreq nls_iso8859_1 nls_cp437 vfat fat fuse configfs ip_tables x_tables ext4 mbcache jbd2 amdgpu iommu_v2 gpu_sched rtsx_usb_sdmmc mmc_core hid_generic rtsx_usb usbhid crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel radeon aesni_intel ohci_pci i2c_algo_bit drm_ttm_helper ttm crypto_simd xhci_pci xhci_pci_renesas drm_kms_helper cryptd wdat_wdt ehci_pci ohci_hcd syscopyarea ehci_hcd serio_raw sysfillrect xhci_hcd sysimgblt fb_sys_fops sp5100_tco cec rc_core sr_mod cdrom drm usbcore battery video sg dm_multipath dm_mod scsi_dh_rdac scsi_dh_emc scsi_dh_alua efivarfs CR2: 0000000000000010 ---[ end trace c396c07901b3cc6a ]--- ------------[ cut here ]------------ Voluntary context switch within RCU read-side critical section! WARNING: CPU: 0 PID: 17577 at kernel/rcu/tree_plugin.h:316 rcu_note_context_switch+0x56e/0x5d0 Modules linked in: udp_diag tcp_diag inet_diag af_packet snd_seq snd_seq_device dmi_sysfs msr uvcvideo rtsx_usb_ms videobuf2_vmalloc memstick videobuf2_memops videobuf2_v4l2 videobuf2_common videodev mc dm_crypt essiv authenc trusted asn1_encoder tee ath9k ath9k_common ath9k_hw ath edac_mce_amd kvm_amd ccp snd_hda_codec_conexant snd_hda_codec_generic kvm ledtrig_audio mac80211 snd_hda_codec_hdmi snd_hda_intel libarc4 pktcdvd cfg80211 snd_intel_dspcfg irqbypass snd_intel_sdw_acpi ideapad_laptop snd_hda_codec sparse_keymap platform_profile snd_hda_core wmi rfkill snd_hwdep snd_pcm alx snd_timer efi_pstore pcspkr tiny_power_button joydev ac fan snd i2c_piix4 thermal k10temp mdio soundcore button acpi_cpufreq nls_iso8859_1 nls_cp437 vfat fat fuse configfs ip_tables x_tables ext4 mbcache jbd2 amdgpu iommu_v2 gpu_sched rtsx_usb_sdmmc mmc_core hid_generic rtsx_usb usbhid crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel radeon aesni_intel ohci_pci i2c_algo_bit drm_ttm_helper ttm crypto_simd xhci_pci xhci_pci_renesas drm_kms_helper cryptd wdat_wdt ehci_pci ohci_hcd syscopyarea ehci_hcd serio_raw sysfillrect xhci_hcd sysimgblt fb_sys_fops sp5100_tco cec rc_core sr_mod cdrom drm usbcore battery video sg dm_multipath dm_mod scsi_dh_rdac scsi_dh_emc scsi_dh_alua efivarfs CPU: 0 PID: 17577 Comm: cat Tainted: G D 5.16.2-1-default #1 openSUSE Tumbleweed b40a195b7ff0f3399a616c3290f963c4ad189e84 Hardware name: LENOVO 20255/Lenovo G505s, BIOS 83CN35WW(V2.05) 12/06/2013 RIP: 0010:rcu_note_context_switch+0x56e/0x5d0 Code: 00 48 89 be 40 08 00 00 48 89 86 48 08 00 00 48 89 10 e9 40 fd ff ff 48 c7 c7 40 dd 24 ae c6 05 1a 2c de 01 01 e8 20 f8 8e 00 <0f> 0b e9 db fa ff ff c6 43 15 00 48 8b 73 20 ba 01 00 00 00 48 8b RSP: 0018:ffffaf75c1ba36c8 EFLAGS: 00010082 RAX: 0000000000000000 RBX: ffff96e9a7834640 RCX: 0000000000000027 RDX: ffff96e9a7822948 RSI: 0000000000000001 RDI: ffff96e9a7822940 RBP: ffffaf75c1ba3778 R08: 0000000000000000 R09: ffffaf75c1ba3500 R10: ffffaf75c1ba34f8 R11: ffffffffaeb58308 R12: 0000000000000000 R13: ffff96e8e975d100 R14: 0000000000000007 R15: ffff96e8e975d100 FS: 00007fcf1948d740(0000) GS:ffff96e9a7800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000010 CR3: 0000000203ab8000 CR4: 00000000000406f0 Call Trace: <TASK> __schedule+0xaf/0x10c0 ? enqueue_task_fair+0x87/0x630 ? enqueue_task+0x4b/0x140 ? _flat_send_IPI_mask+0x21/0x30 schedule+0x4b/0xc0 schedule_timeout+0x115/0x150 wait_for_completion+0x89/0xe0 virt_efi_query_variable_info+0x141/0x150 efi_query_variable_store+0x5b/0x1a0 efivar_entry_set_safe+0xbd/0x210 efi_pstore_write+0x124/0x1a0 [efi_pstore e8887364a0c84df2100f8a2427f7437b9c33b134] ? pstore_dump+0x182/0x340 pstore_dump+0x182/0x340 kmsg_dump+0x46/0x60 oops_end+0x63/0xd0 page_fault_oops+0x158/0x2a0 ? search_bpf_extables+0x5f/0x80 exc_page_fault+0x68/0x150 asm_exc_page_fault+0x1e/0x30 RIP: 0010:radeon_debugfs_gem_info_show+0x4d/0xd0 [radeon] Code: 00 4c 89 f7 e8 c4 5c 18 ed 48 8b 5d 00 48 39 eb 74 7a 45 31 ff 49 c7 c5 66 a6 7f c0 48 8b 83 e0 01 00 00 49 c7 c1 66 a6 7f c0 <8b> 40 10 83 f8 02 77 21 8b 04 85 e0 22 7b c0 49 c7 c1 61 a6 7f c0 RSP: 0018:ffffaf75c1ba3cb0 EFLAGS: 00010216 RAX: 0000000000000000 RBX: ffff96e8b22f5400 RCX: 0000000000000001 RDX: 0000000000010000 RSI: ffffffffc07eccfd RDI: ffff96e78e9dd1b0 RBP: ffff96e891575cd8 R08: ffff96e78e9dd1af R09: ffffffffc07fa666 R10: ffffffffffffffff R11: ffff96e78e9dd1af R12: ffff96e8b91cae10 R13: ffffffffc07fa666 R14: ffff96e891575cb8 R15: 00000000000003d0 seq_read_iter+0x11c/0x4b0 ? aa_file_perm+0x11c/0x490 seq_read+0xfd/0x140 full_proxy_read+0x53/0x80 vfs_read+0x95/0x190 ksys_read+0x5f/0xe0 do_syscall_64+0x5c/0x80 ? handle_mm_fault+0xb2/0x280 ? do_user_addr_fault+0x1d7/0x690 ? do_syscall_64+0x69/0x80 ? exc_page_fault+0x68/0x150 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fcf195ab852 Code: 18 02 00 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 90 90 64 8b 04 25 18 00 00 00 85 c0 75 10 0f 05 <48> 3d 00 f0 ff ff 77 56 c3 0f 1f 44 00 00 48 83 ec 28 48 89 54 24 RSP: 002b:00007ffccd004178 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 0000000000020000 RCX: 00007fcf195ab852 RDX: 0000000000020000 RSI: 00007fcf19167000 RDI: 0000000000000003 RBP: 00007fcf19167000 R08: 00007fcf19166010 R09: 0000000000000000 R10: 00007fcf1949a4b8 R11: 0000000000000246 R12: 0000000000020000 R13: 0000000000000003 R14: 00007ffccd004e6a R15: 0000000000020000 </TASK> ---[ end trace c396c07901b3cc6b ]--- Perhaps it's a different issue, but if some data structures are corrupted, it might be a symptom of the same cause. The "context switch within RCU read-side critical section" is probably just caused by the original dump and not a "real" issue. -- You are receiving this mail because: You are the assignee for the bug.