Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#65015 - 5700 XT panic with linux-hardened-5.4.6.a-1

Attached to Project: Arch Linux
Opened by Daniel Gray (dngray) - Thursday, 02 January 2020, 17:29 GMT
Last edited by Doug Newgard (Scimmia) - Thursday, 02 January 2020, 23:05 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I have a [Gigabyte Radeon RX 5700 XT](https://www.gigabyte.com/Graphics-Card/GV-R57XTGAMING-OC-8GD#kf) and noticed it kernel panics with linux-hardened 5.4.6.a-1. Works fine with linux 5.4.7.arch1-1

kernel: Linux agpgart interface v0.103
kernel: [drm] amdgpu kernel modesetting enabled.
kernel: Parsing CRAT table with 1 nodes
kernel: Ignoring ACPI CRAT on non-APU system
kernel: Virtual CRAT table created for CPU
kernel: Parsing CRAT table with 1 nodes
kernel: Creating topology SYSFS entries
kernel: Topology: Add CPU node
kernel: Finished initializing topology
kernel: amdgpu 0000:28:00.0: remove_conflicting_pci_framebuffers: bar 0: 0xe0000000 -> 0xefffffff
kernel: amdgpu 0000:28:00.0: remove_conflicting_pci_framebuffers: bar 2: 0xf0000000 -> 0xf01fffff
kernel: amdgpu 0000:28:00.0: remove_conflicting_pci_framebuffers: bar 5: 0xfca00000 -> 0xfca7ffff
kernel: checking generic (e0000000 300000) vs hw (e0000000 10000000)
kernel: fb0: switching to amdgpudrmfb from EFI VGA
kernel: Console: switching to colour dummy device 80x25
kernel: amdgpu 0000:28:00.0: vgaarb: deactivate vga console
kernel: [drm] initializing kernel modesetting (NAVI10 0x1002:0x731F 0x1458:0x2313 0xC1).
kernel: [drm] register mmio base: 0xFCA00000
kernel: [drm] register mmio size: 524288
kernel: [drm] set register base offset for ATHUB
kernel: [drm] set register base offset for CLKA
kernel: [drm] set register base offset for CLKA
kernel: [drm] set register base offset for CLKA
kernel: [drm] set register base offset for CLKA
kernel: [drm] set register base offset for CLKA
kernel: [drm] set register base offset for DF
kernel: [drm] set register base offset for DMU
kernel: [drm] set register base offset for GC
kernel: [drm] set register base offset for HDP
kernel: [drm] set register base offset for MMHUB
kernel: [drm] set register base offset for MP0
kernel: [drm] set register base offset for MP1
kernel: [drm] set register base offset for NBIF
kernel: [drm] set register base offset for NBIF
kernel: [drm] set register base offset for OSSSYS
kernel: [drm] set register base offset for SDMA0
kernel: [drm] set register base offset for SDMA1
kernel: [drm] set register base offset for SMUIO
kernel: [drm] set register base offset for THM
kernel: [drm] set register base offset for UVD
kernel: [drm] add ip block number 0 <nv_common>
kernel: [drm] add ip block number 1 <gmc_v10_0>
kernel: [drm] add ip block number 2 <navi10_ih>
kernel: [drm] add ip block number 3 <psp>
kernel: [drm] add ip block number 4 <smu>
kernel: [drm] add ip block number 5 <dm>
kernel: [drm] add ip block number 6 <gfx_v10_0>
kernel: [drm] add ip block number 7 <sdma_v5_0>
kernel: [drm] add ip block number 8 <vcn_v2_0>
kernel: amdgpu 0000:28:00.0: No more image in the PCI ROM
kernel: ATOM BIOS: xxx-xxx-xxx
kernel: [drm] VCN decode is enabled in VM mode
kernel: [drm] VCN encode is enabled in VM mode
kernel: [drm] VCN jpeg decode is enabled in VM mode
kernel: [drm] vm size is 262144 GB, 4 levels, block size is 9-bit, fragment size is 9-bit
kernel: amdgpu 0000:28:00.0: VRAM: 8176M 0x0000008000000000 - 0x00000081FEFFFFFF (8176M used)
kernel: amdgpu 0000:28:00.0: GART: 512M 0x0000000000000000 - 0x000000001FFFFFFF
kernel: [drm] Detected VRAM RAM=8176M, BAR=256M
kernel: [drm] RAM width 256bits GDDR6
kernel: [TTM] Zone kernel: Available graphics memory: 8171140 KiB
kernel: [TTM] Zone dma32: Available graphics memory: 2097152 KiB
kernel: [TTM] Initializing pool allocator
kernel: [TTM] Initializing DMA pool allocator
kernel: [drm] amdgpu: 8176M of VRAM memory ready
kernel: [drm] amdgpu: 8176M of GTT memory ready.
kernel: software IO TLB: Memory encryption is active and system is using DMA bounce buffers
kernel: [drm] GART: num cpu pages 131072, num gpu pages 131072
kernel: [drm] PCIE GART of 512M enabled (table at 0x0000008000300000).
kernel: [drm] use_doorbell being set to: [true]
kernel: [drm] use_doorbell being set to: [true]
kernel: [drm] Found VCN firmware Version ENC: 1.7 DEC: 4 VEP: 0 Revision: 13
kernel: [drm] PSP loading VCN firmware
kernel: amdgpu 0000:28:00.0: swiotlb buffer is full (sz: 2097152 bytes), total 32768 (slots), used 1242 (slots)
kernel: amdgpu 0000:28:00.0: overflow 0x0000800367c00000+2097152 of DMA mask fffffffffff bus mask 0
kernel: ------------[ cut here ]------------
kernel: WARNING: CPU: 5 PID: 1575 at kernel/dma/direct.c:35 report_addr+0x3c/0x70
kernel: Modules linked in: amdgpu(+) gpu_sched i2c_algo_bit ttm drm_kms_helper drm agpgart syscopyarea sysfillrect sysimgblt fb_sys_fops 8021q garp mrp stp llc rfkill ext4 crc16 mbcache jbd2 snd_hda_codec_realtek snd_hda_codec_generic edac_mce_amd ledtrig_audio snd_hda_codec_hdmi snd_hda_intel snd_intel_nhlt snd_hda_codec kvm_amd snd_hda_core snd_hwdep kvm snd_pcm snd_timer r8169 snd realtek sp5100_tco wmi_bmof irqbypass pcspkr i2c_piix4 k10temp soundcore libphy mousedev joydev input_leds evdev pinctrl_amd mac_hid wmi gpio_amdpt acpi_cpufreq ip_tables x_tables btrfs libcrc32c crc32c_generic xor raid6_pq dm_crypt dm_mod uas usb_storage hid_generic usbhid hid sd_mod crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel ahci libahci aesni_intel crypto_simd libata cryptd glue_helper ccp xhci_pci rng_core scsi_mod xhci_hcd
kernel: CPU: 5 PID: 1575 Comm: modprobe Not tainted 5.4.6.a-1-hardened #1
kernel: Hardware name: Micro-Star International Co., Ltd MS-7C02/B450 TOMAHAWK MAX (MS-7C02), BIOS 3.50 11/07/2019
kernel: RIP: 0010:report_addr+0x3c/0x70
kernel: Code: 48 89 34 24 48 8b 85 28 02 00 00 48 85 c0 74 30 4c 8b 00 b8 fe ff ff ff 49 39 c0 76 17 80 3d 86 b8 22 01 00 0f 84 4f 08 00 00 <0f> 0b 48 83 c4 08 5d 41 5c c3 48 83 bd 38 02 00 00 00 74 ec eb dd
kernel: RSP: 0018:ffff96a8005fb598 EFLAGS: 00010286
kernel: RAX: 0000000000000000 RBX: ffffeab28d9f0000 RCX: 0000000000000000
kernel: RDX: 0000000000000000 RSI: 0000000000000092 RDI: 0000000000000001
kernel: RBP: ffff8d616b8e80b0 R08: 0000000000000542 R09: 0000000000000003
kernel: R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000200000
kernel: R13: 0000000000000000 R14: ffff8d616b8e80b0 R15: 0000000000000000
kernel: FS: 00006f38b0fbe740(0000) GS:ffff8d638e940000(0000) knlGS:0000000000000000
kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
kernel: CR2: 0000077d0a42a000 CR3: 00008001f8904000 CR4: 0000000000340ee0
kernel: Call Trace:
kernel: dma_direct_map_page+0xff/0x110
kernel: ttm_populate_and_map_pages+0x167/0x230 [ttm]
kernel: ttm_tt_populate.part.0+0x28/0x70 [ttm]
kernel: ttm_tt_bind+0x52/0x60 [ttm]
kernel: ttm_bo_handle_move_mem+0x29c/0x5a0 [ttm]
kernel: ttm_bo_validate+0x142/0x160 [ttm]
kernel: ? preempt_count_add+0x68/0xa0
kernel: ttm_bo_init_reserved+0x2fc/0x3b0 [ttm]
kernel: amdgpu_bo_do_create+0x1c4/0x4f0 [amdgpu]
kernel: ? amdgpu_bo_subtract_pin_size+0x60/0x60 [amdgpu]
kernel: amdgpu_bo_create+0x49/0x230 [amdgpu]
kernel: amdgpu_bo_create_reserved+0x183/0x1e0 [amdgpu]
kernel: amdgpu_bo_create_kernel+0x3c/0xc0 [amdgpu]
kernel: amdgpu_ucode_create_bo+0x50/0x90 [amdgpu]
kernel: amdgpu_device_init.cold+0x11b2/0x17c2 [amdgpu]
kernel: amdgpu_driver_load_kms+0x53/0x1a0 [amdgpu]
kernel: drm_dev_register+0x111/0x150 [drm]
kernel: amdgpu_pci_probe+0xee/0x150 [amdgpu]
kernel: ? __pm_runtime_resume+0x4a/0x60
kernel: local_pci_probe+0x42/0x80
kernel: ? pci_match_device+0xd7/0x100
kernel: pci_device_probe+0x104/0x1a0
kernel: really_probe+0x14a/0x3c0
kernel: driver_probe_device+0xb6/0x100
kernel: device_driver_attach+0x53/0x60
kernel: __driver_attach+0x90/0x150
kernel: ? device_driver_attach+0x60/0x60
kernel: bus_for_each_dev+0x8b/0xd0
kernel: bus_add_driver+0x14d/0x1f0
kernel: driver_register+0x6d/0xc0
kernel: ? 0xffffffffc0d41000
kernel: do_one_initcall+0x5b/0x244
kernel: do_init_module+0x5c/0x230
kernel: load_module+0x2742/0x29d0
kernel: ? __do_sys_init_module+0x170/0x1a0
kernel: __do_sys_init_module+0x170/0x1a0
kernel: do_syscall_64+0x51/0x120
kernel: entry_SYSCALL_64_after_hwframe+0x44/0xa9
kernel: RIP: 0033:0x6f38b10e9d2e
kernel: Code: 48 8b 0d 55 01 0c 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 49 89 ca b8 af 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 22 01 0c 00 f7 d8 64 89 01 48
kernel: RSP: 002b:00007b06f6b750a8 EFLAGS: 00000246 ORIG_RAX: 00000000000000af
kernel: RAX: ffffffffffffffda RBX: 0000077d09109030 RCX: 00006f38b10e9d2e
kernel: RDX: 0000077ce588d358 RSI: 0000000000961659 RDI: 0000077d09ac9b70
kernel: RBP: 0000077d09ac9b70 R08: 0000077d0910802a R09: 0000000000000000
kernel: R10: 0000077d09108020 R11: 0000000000000246 R12: 0000077ce588d358
kernel: R13: 0000000000000000 R14: 0000077d09109160 R15: 0000077d09109030
kernel: ---[ end trace f65091af9be8586b ]---
kernel: amdgpu 0000:28:00.0: (-14) failed to allocate kernel bo
kernel: amdgpu 0000:28:00.0: failed to create kernel buffer for firmware.fw_buf
kernel: amdgpu 0000:28:00.0: amdgpu_device_ip_init failed
kernel: amdgpu 0000:28:00.0: Fatal error during GPU init
kernel: [drm] amdgpu: finishing device.
kernel: ------------[ cut here ]------------
kernel: WARNING: CPU: 5 PID: 1575 at drivers/gpu/drm/amd/amdgpu/amdgpu_object.c:937 amdgpu_bo_unpin.cold+0x0/0x42 [amdgpu]
kernel: Modules linked in: amdgpu(+) gpu_sched i2c_algo_bit ttm drm_kms_helper drm agpgart syscopyarea sysfillrect sysimgblt fb_sys_fops 8021q garp mrp stp llc rfkill ext4 crc16 mbcache jbd2 snd_hda_codec_realtek snd_hda_codec_generic edac_mce_amd ledtrig_audio snd_hda_codec_hdmi snd_hda_intel snd_intel_nhlt snd_hda_codec kvm_amd snd_hda_core snd_hwdep kvm snd_pcm snd_timer r8169 snd realtek sp5100_tco wmi_bmof irqbypass pcspkr i2c_piix4 k10temp soundcore libphy mousedev joydev input_leds evdev pinctrl_amd mac_hid wmi gpio_amdpt acpi_cpufreq ip_tables x_tables btrfs libcrc32c crc32c_generic xor raid6_pq dm_crypt dm_mod uas usb_storage hid_generic usbhid hid sd_mod crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel ahci libahci aesni_intel crypto_simd libata cryptd glue_helper ccp xhci_pci rng_core scsi_mod xhci_hcd
kernel: CPU: 5 PID: 1575 Comm: modprobe Tainted: G W 5.4.6.a-1-hardened #1
kernel: Hardware name: Micro-Star International Co., Ltd MS-7C02/B450 TOMAHAWK MAX (MS-7C02), BIOS 3.50 11/07/2019
kernel: RIP: 0010:amdgpu_bo_unpin.cold+0x0/0x42 [amdgpu]
kernel: Code: e9 eb a1 d9 ff 48 c7 c7 68 16 42 c1 41 89 c4 e8 7b 30 d9 e7 e9 8e a3 d9 ff 48 c7 c7 98 16 42 c1 e8 6a 30 d9 e7 e9 a2 a4 d9 ff <0f> 0b 48 8b bb c0 b0 ff ff 4c 89 e2 48 c7 c6 8a ad 45 c1 e8 a3 60
kernel: RSP: 0018:ffff96a8005fb970 EFLAGS: 00010246
kernel: RAX: 0000000000000000 RBX: ffff8d619ec84f40 RCX: 0000000000000000
kernel: RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8d6178bc2000
kernel: RBP: ffff8d619ec872c8 R08: 0000000000000000 R09: 0000000000000001
kernel: R10: 0000000000001000 R11: 0000000000000000 R12: ffff8d6178bc2000
kernel: R13: ffff8d619ec872c0 R14: ffff8d6178bc2000 R15: 0000000000000000
kernel: FS: 00006f38b0fbe740(0000) GS:ffff8d638e940000(0000) knlGS:0000000000000000
kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
kernel: CR2: 0000077d0a42a000 CR3: 00008001f8904000 CR4: 0000000000340ee0
kernel: Call Trace:
kernel: amdgpu_bo_free_kernel+0x6e/0x120 [amdgpu]
kernel: gfx_v10_0_sw_fini+0xf1/0x200 [amdgpu]
kernel: amdgpu_device_fini+0x24f/0x475 [amdgpu]
kernel: amdgpu_driver_unload_kms+0x4a/0x90 [amdgpu]
kernel: amdgpu_driver_load_kms.cold+0x39/0x5b [amdgpu]
kernel: drm_dev_register+0x111/0x150 [drm]
kernel: amdgpu_pci_probe+0xee/0x150 [amdgpu]
kernel: ? __pm_runtime_resume+0x4a/0x60
kernel: local_pci_probe+0x42/0x80
kernel: ? pci_match_device+0xd7/0x100
kernel: pci_device_probe+0x104/0x1a0
kernel: really_probe+0x14a/0x3c0
kernel: driver_probe_device+0xb6/0x100
kernel: device_driver_attach+0x53/0x60
kernel: __driver_attach+0x90/0x150
kernel: ? device_driver_attach+0x60/0x60
kernel: bus_for_each_dev+0x8b/0xd0
kernel: bus_add_driver+0x14d/0x1f0
kernel: driver_register+0x6d/0xc0
kernel: ? 0xffffffffc0d41000
kernel: do_one_initcall+0x5b/0x244
kernel: do_init_module+0x5c/0x230
kernel: load_module+0x2742/0x29d0
kernel: ? __do_sys_init_module+0x170/0x1a0
kernel: __do_sys_init_module+0x170/0x1a0
kernel: do_syscall_64+0x51/0x120
kernel: entry_SYSCALL_64_after_hwframe+0x44/0xa9
kernel: RIP: 0033:0x6f38b10e9d2e
kernel: Code: 48 8b 0d 55 01 0c 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 49 89 ca b8 af 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 22 01 0c 00 f7 d8 64 89 01 48
kernel: RSP: 002b:00007b06f6b750a8 EFLAGS: 00000246 ORIG_RAX: 00000000000000af
kernel: RAX: ffffffffffffffda RBX: 0000077d09109030 RCX: 00006f38b10e9d2e
kernel: RDX: 0000077ce588d358 RSI: 0000000000961659 RDI: 0000077d09ac9b70
kernel: RBP: 0000077d09ac9b70 R08: 0000077d0910802a R09: 0000000000000000
kernel: R10: 0000077d09108020 R11: 0000000000000246 R12: 0000077ce588d358
kernel: R13: 0000000000000000 R14: 0000077d09109160 R15: 0000077d09109030
kernel: ---[ end trace f65091af9be8586c ]---
kernel: amdgpu 0000:28:00.0: 00000000e489fbe0 unpin not necessary
kernel: ------------[ cut here ]------------
kernel: Memory manager not clean during takedown.
kernel: WARNING: CPU: 5 PID: 1575 at drivers/gpu/drm/drm_mm.c:939 drm_mm_takedown+0x23/0x30 [drm]
kernel: Modules linked in: amdgpu(+) gpu_sched i2c_algo_bit ttm drm_kms_helper drm agpgart syscopyarea sysfillrect sysimgblt fb_sys_fops 8021q garp mrp stp llc rfkill ext4 crc16 mbcache jbd2 snd_hda_codec_realtek snd_hda_codec_generic edac_mce_amd ledtrig_audio snd_hda_codec_hdmi snd_hda_intel snd_intel_nhlt snd_hda_codec kvm_amd snd_hda_core snd_hwdep kvm snd_pcm snd_timer r8169 snd realtek sp5100_tco wmi_bmof irqbypass pcspkr i2c_piix4 k10temp soundcore libphy mousedev joydev input_leds evdev pinctrl_amd mac_hid wmi gpio_amdpt acpi_cpufreq ip_tables x_tables btrfs libcrc32c crc32c_generic xor raid6_pq dm_crypt dm_mod uas usb_storage hid_generic usbhid hid sd_mod crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel ahci libahci aesni_intel crypto_simd libata cryptd glue_helper ccp xhci_pci rng_core scsi_mod xhci_hcd
kernel: CPU: 5 PID: 1575 Comm: modprobe Tainted: G W 5.4.6.a-1-hardened #1
kernel: Hardware name: Micro-Star International Co., Ltd MS-7C02/B450 TOMAHAWK MAX (MS-7C02), BIOS 3.50 11/07/2019
kernel: RIP: 0010:drm_mm_takedown+0x23/0x30 [drm]
kernel: Code: 1f 84 00 00 00 00 00 0f 1f 44 00 00 53 48 89 fb 48 83 c3 38 48 8b 03 48 39 c3 75 02 5b c3 48 c7 c7 f0 c8 b1 c0 e8 3b 33 5b e8 <0f> 0b 5b c3 66 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 41 57 49 89
kernel: RSP: 0018:ffff96a8005fb958 EFLAGS: 00010282
kernel: RAX: 0000000000000000 RBX: ffff8d615c98b638 RCX: 0000000000000000
kernel: RDX: 0000000000000002 RSI: 0000000000000092 RDI: 0000000000000001
kernel: RBP: ffff8d619ec84f40 R08: 00000000000005bf R09: 0000000000000003
kernel: R10: 0000000000000000 R11: 0000000000000001 R12: ffff8d615c98b600
kernel: R13: ffff8d615c98b6e8 R14: ffff8d619ec850b0 R15: 0000000000000170
kernel: FS: 00006f38b0fbe740(0000) GS:ffff8d638e940000(0000) knlGS:0000000000000000
kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
kernel: CR2: 0000077d0a42a000 CR3: 00008001f8904000 CR4: 0000000000340ee0
kernel: Call Trace:
kernel: amdgpu_vram_mgr_fini+0x2d/0xa0 [amdgpu]
kernel: ttm_bo_clean_mm+0xb0/0xc0 [ttm]
kernel: amdgpu_ttm_fini+0x73/0xd0 [amdgpu]
kernel: amdgpu_bo_fini+0x11/0x30 [amdgpu]
kernel: gmc_v10_0_sw_fini+0x31/0x40 [amdgpu]
kernel: amdgpu_device_fini+0x24f/0x475 [amdgpu]
kernel: amdgpu_driver_unload_kms+0x4a/0x90 [amdgpu]
kernel: amdgpu_driver_load_kms.cold+0x39/0x5b [amdgpu]
kernel: drm_dev_register+0x111/0x150 [drm]
kernel: amdgpu_pci_probe+0xee/0x150 [amdgpu]
kernel: ? __pm_runtime_resume+0x4a/0x60
kernel: local_pci_probe+0x42/0x80
kernel: ? pci_match_device+0xd7/0x100
kernel: pci_device_probe+0x104/0x1a0
kernel: really_probe+0x14a/0x3c0
kernel: driver_probe_device+0xb6/0x100
kernel: device_driver_attach+0x53/0x60
kernel: __driver_attach+0x90/0x150
kernel: ? device_driver_attach+0x60/0x60
kernel: bus_for_each_dev+0x8b/0xd0
kernel: bus_add_driver+0x14d/0x1f0
kernel: driver_register+0x6d/0xc0
kernel: ? 0xffffffffc0d41000
kernel: do_one_initcall+0x5b/0x244
kernel: do_init_module+0x5c/0x230
kernel: load_module+0x2742/0x29d0
kernel: ? __do_sys_init_module+0x170/0x1a0
kernel: __do_sys_init_module+0x170/0x1a0
kernel: do_syscall_64+0x51/0x120
kernel: entry_SYSCALL_64_after_hwframe+0x44/0xa9
kernel: RIP: 0033:0x6f38b10e9d2e
kernel: Code: 48 8b 0d 55 01 0c 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 49 89 ca b8 af 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 22 01 0c 00 f7 d8 64 89 01 48
kernel: RSP: 002b:00007b06f6b750a8 EFLAGS: 00000246 ORIG_RAX: 00000000000000af
kernel: RAX: ffffffffffffffda RBX: 0000077d09109030 RCX: 00006f38b10e9d2e
kernel: RDX: 0000077ce588d358 RSI: 0000000000961659 RDI: 0000077d09ac9b70
kernel: RBP: 0000077d09ac9b70 R08: 0000077d0910802a R09: 0000000000000000
kernel: R10: 0000077d09108020 R11: 0000000000000246 R12: 0000077ce588d358
kernel: R13: 0000000000000000 R14: 0000077d09109160 R15: 0000077d09109030
kernel: ---[ end trace f65091af9be8586d ]---
kernel: [TTM] Finalizing pool allocator
kernel: [TTM] Finalizing DMA pool allocator
kernel: [TTM] Zone kernel: Used memory at exit: 21 KiB
kernel: [TTM] Zone dma32: Used memory at exit: 0 KiB
kernel: [drm] amdgpu: ttm finalized
kernel: ------------[ cut here ]------------
kernel: sysfs group 'fw_version' not found for kobject '0000:28:00.0'
kernel: WARNING: CPU: 5 PID: 1575 at fs/sysfs/group.c:278 sysfs_remove_group+0x75/0x80
kernel: Modules linked in: amdgpu(+) gpu_sched i2c_algo_bit ttm drm_kms_helper drm agpgart syscopyarea sysfillrect sysimgblt fb_sys_fops 8021q garp mrp stp llc rfkill ext4 crc16 mbcache jbd2 snd_hda_codec_realtek snd_hda_codec_generic edac_mce_amd ledtrig_audio snd_hda_codec_hdmi snd_hda_intel snd_intel_nhlt snd_hda_codec kvm_amd snd_hda_core snd_hwdep kvm snd_pcm snd_timer r8169 snd realtek sp5100_tco wmi_bmof irqbypass pcspkr i2c_piix4 k10temp soundcore libphy mousedev joydev input_leds evdev pinctrl_amd mac_hid wmi gpio_amdpt acpi_cpufreq ip_tables x_tables btrfs libcrc32c crc32c_generic xor raid6_pq dm_crypt dm_mod uas usb_storage hid_generic usbhid hid sd_mod crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel ahci libahci aesni_intel crypto_simd libata cryptd glue_helper ccp xhci_pci rng_core scsi_mod xhci_hcd
kernel: CPU: 5 PID: 1575 Comm: modprobe Tainted: G W 5.4.6.a-1-hardened #1
kernel: Hardware name: Micro-Star International Co., Ltd MS-7C02/B450 TOMAHAWK MAX (MS-7C02), BIOS 3.50 11/07/2019
kernel: RIP: 0010:sysfs_remove_group+0x75/0x80
kernel: Code: ff 5b 48 89 ef 5d 41 5c e9 58 b8 ff ff 48 89 ef e8 20 b5 ff ff eb cc 49 8b 14 24 48 8b 33 48 c7 c7 58 4b 0e aa e8 39 4a d3 ff <0f> 0b 5b 5d 41 5c c3 0f 1f 40 00 0f 1f 44 00 00 41 54 49 89 fc 55
kernel: RSP: 0018:ffff96a8005fb9e0 EFLAGS: 00010282
kernel: RAX: 0000000000000000 RBX: ffffffffc1380d00 RCX: 0000000000000000
kernel: RDX: 0000000000000001 RSI: 0000000000000086 RDI: 0000000000000001
kernel: RBP: 0000000000000000 R08: 00000000000005fd R09: 0000000000000003
kernel: R10: 0000000000000000 R11: 0000000000000001 R12: ffff8d616b8e80b0
kernel: R13: ffff8d619ec94d78 R14: ffff8d61f6e9ba00 R15: 0000000000000000
kernel: FS: 00006f38b0fbe740(0000) GS:ffff8d638e940000(0000) knlGS:0000000000000000
kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
kernel: CR2: 0000077d0a42a000 CR3: 00008001f8904000 CR4: 0000000000340ee0
kernel: Call Trace:
kernel: amdgpu_device_fini+0x441/0x475 [amdgpu]
kernel: amdgpu_driver_unload_kms+0x4a/0x90 [amdgpu]
kernel: amdgpu_driver_load_kms.cold+0x39/0x5b [amdgpu]
kernel: drm_dev_register+0x111/0x150 [drm]
kernel: amdgpu_pci_probe+0xee/0x150 [amdgpu]
kernel: ? __pm_runtime_resume+0x4a/0x60
kernel: local_pci_probe+0x42/0x80
kernel: ? pci_match_device+0xd7/0x100
kernel: pci_device_probe+0x104/0x1a0
kernel: really_probe+0x14a/0x3c0
kernel: driver_probe_device+0xb6/0x100
kernel: device_driver_attach+0x53/0x60
kernel: __driver_attach+0x90/0x150
kernel: ? device_driver_attach+0x60/0x60
kernel: bus_for_each_dev+0x8b/0xd0
kernel: bus_add_driver+0x14d/0x1f0
kernel: driver_register+0x6d/0xc0
kernel: ? 0xffffffffc0d41000
kernel: do_one_initcall+0x5b/0x244
kernel: do_init_module+0x5c/0x230
kernel: load_module+0x2742/0x29d0
kernel: ? __do_sys_init_module+0x170/0x1a0
kernel: __do_sys_init_module+0x170/0x1a0
kernel: do_syscall_64+0x51/0x120
kernel: entry_SYSCALL_64_after_hwframe+0x44/0xa9
kernel: RIP: 0033:0x6f38b10e9d2e
kernel: Code: 48 8b 0d 55 01 0c 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 49 89 ca b8 af 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 22 01 0c 00 f7 d8 64 89 01 48
kernel: RSP: 002b:00007b06f6b750a8 EFLAGS: 00000246 ORIG_RAX: 00000000000000af
kernel: RAX: ffffffffffffffda RBX: 0000077d09109030 RCX: 00006f38b10e9d2e
kernel: RDX: 0000077ce588d358 RSI: 0000000000961659 RDI: 0000077d09ac9b70
kernel: RBP: 0000077d09ac9b70 R08: 0000077d0910802a R09: 0000000000000000
kernel: R10: 0000077d09108020 R11: 0000000000000246 R12: 0000077ce588d358
kernel: R13: 0000000000000000 R14: 0000077d09109160 R15: 0000077d09109030
kernel: ---[ end trace f65091af9be8586e ]---
kernel: amdgpu: probe of 0000:28:00.0 failed with error -12
This task depends upon

Closed by  Doug Newgard (Scimmia)
Thursday, 02 January 2020, 23:05 GMT
Reason for closing:  Duplicate
Additional comments about closing:  FS#59463
Comment by Daniel Gray (dngray) - Thursday, 02 January 2020, 17:32 GMT
The system is still responsive, but the video input becomes frozen after loading the amdgpu module. Seems to work fine with the non-hardened kernel.
Comment by loqs (loqs) - Thursday, 02 January 2020, 17:41 GMT Comment by Daniel Gray (dngray) - Thursday, 02 January 2020, 19:31 GMT
@loqs you might have been right, this might be a duplicate of those bugs. I shall test with memory encryption disabled and see if it works.
Comment by Levente Polyak (anthraxx) - Thursday, 02 January 2020, 19:37 GMT
This looks like FS#59463
please boot with mem_encrypt=off kernel cmdline setting
Comment by Daniel Gray (dngray) - Thursday, 02 January 2020, 20:01 GMT
I can confirm mem_encrypt=off makes the problem go away, what is interesting is with my cheap [Radeon R5 230 1GB](https://www.asus.com/us/Graphics-Cards/R5230SL1GD3L/) I can use mem_encrypt=on with no problems.

I had two identical computers, (Notherboard, RAM, CPU, PSU), the only thing that differed was the graphics card.

Loading...