Skip to content

u/CF_Tony

In this archive from Jul 2019 to Jul 2019

0
posts
4
comments
0
media
28
score

Top comments

Same problems here. Ever since I've upgraded my machine to Kernel 5.2 I get random freezes, sometimes only a few minutes after boot, sometimes a few hours after boot.

I've scanned through the System logs and caught a Kernel Panic around the time of freeze caused by the amdgpu module.

I've temporarily installed the Mainline Kernel which doesn't seem to have this problem (running it for 2 days now).

2 points

The Mainline Kernel is the Vanilla Linux kernel directly from Torvalds & Friends without any third party patches applied. The standard Arch Linux Kernel is not completely vanilla, it has some Arch specific patches in it. You can get the mainline kernel from the AUR: https://aur.archlinux.org/packages/linux-mainline

Although I have to say that in the meantime where I've posted this comment, I did freeze with the Mainline Kernel as well. It just took longer.

For now I've downgraded to the Arch Kernel 5.1 (which doesn't have any kind of freezes) and hope that this issue gets eventually fixed.

1 points

I have the exact same problem, I checked the System logs and it turns out something in the amdgpu Kernel Module is segfaulting (access at Address 0), causing a Kernel Panic.

Before 5.2 everything was fine.

I'm running on the 5.2 Mainline Kernel right now which somehow doesn't have this issue. I really hope that this does get fixed soon. As much fun as it is to compile your own Kernel it still takes quite some time.

​

EDIT:

Here is the full Kernel Panic for anyone who is interested:

 BUG: kernel NULL pointer dereference, address: 00000000000002b4
 #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: 2 PID: 19623 Comm: kworker/u16:5 Tainted: G           OE     5.2.0-arch2-1-ARCH #1
 Hardware name: System manufacturer System Product Name/M5A78L-M LX V2, BIOS 1701    11/18/2016
 Workqueue: events_unbound commit_work [drm_kms_helper]
 RIP: 0010:dc_stream_log+0x6/0xb0 [amdgpu]
 Code: 04 00 00 49 8b bc 02 80 02 00 00 48 8b 07 48 8b 40 50 e8 1d a5 66 cd b8 01 00 00 00 c3 0f 1f 80 00 00 00 00 0f 1f 44 00 00 53 <8b> 86 b4 02 00 00 48 89 f3 48 89 f2 8b 8e 10 01 00 00 bf 04 00 00
 RSP: 0018:ffffb5fc07b43af0 EFLAGS: 00010202
 RAX: 0000000000000000 RBX: ffff96f118001000 RCX: 0000000000000002
 RDX: ffffffffc0e1b710 RSI: 0000000000000000 RDI: ffff96f118001000
 RBP: ffff96ee3f330000 R08: ffff96ee3f330000 R09: 0000000000000000
 R10: ffff96ee3f330000 R11: 0000000000000000 R12: 0000000000000001
 R13: ffffb5fc07b43d58 R14: ffff96f11834cff0 R15: 0000000000000000
 FS:  0000000000000000(0000) GS:ffff96f127a80000(0000) knlGS:0000000000000000
 CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
 CR2: 00000000000002b4 CR3: 000000041313c000 CR4: 00000000000406e0
 Call Trace:
  dc_commit_state+0x9a/0x5a0 [amdgpu]
  ? dm_plane_helper_cleanup_fb+0xa3/0x120 [amdgpu]
  amdgpu_dm_atomic_commit_tail+0xc5d/0x1a10 [amdgpu]
  ? __switch_to_asm+0x40/0x70
  ? __switch_to_asm+0x34/0x70
  ? __switch_to_asm+0x40/0x70
  ? __switch_to_asm+0x34/0x70
  ? __switch_to_asm+0x40/0x70
  ? __switch_to_asm+0x34/0x70
  ? __switch_to_asm+0x40/0x70
  ? __switch_to_asm+0x34/0x70
  ? __switch_to_asm+0x40/0x70
  ? _raw_spin_unlock_irq+0x1d/0x30
  ? finish_task_switch+0x84/0x2d0
  ? commit_tail+0x3c/0x70 [drm_kms_helper]
  commit_tail+0x3c/0x70 [drm_kms_helper]
  process_one_work+0x1d1/0x3e0
  worker_thread+0x4a/0x3d0
  kthread+0xfb/0x130
  ? process_one_work+0x3e0/0x3e0
  ? kthread_park+0x90/0x90
  ret_from_fork+0x22/0x40
 Modules linked in: dm_crypt algif_skcipher af_alg fuse dm_mod hwmon_vid xfs btrfs xor edac_mce_amd kvm_amd raid6_pq libcrc32c ccp amdgpu rng_core kvm snd_hda_codec_hdmi input_leds mousedev irqbypass snd_hda_codec_realtek snd_hda_codec_generic amd_iommu_v2 ledtrig_audio gpu_sched i2c_algo_bit snd_hda_intel ttm snd_hda_codec drm_kms_helper snd_hda_core snd_hwdep drm snd_pcm snd_timer agpgart crct10dif_pclmul crc32_pclmul ghash_clmulni_intel snd soundcore syscopyarea sysfillrect sysimgblt fb_sys_fops r8169 aesni_intel aes_x86_64 sp5100_tco crypto_simd cryptd wmi_bmof wmi glue_helper realtek libphy ppdev i2c_piix4 k10temp fam15h_power evdev pcspkr parport_pc parport pcc_cpufreq mac_hid asus_atk0110 acpi_cpufreq vboxnetflt(OE) vboxnetadp(OE) vboxpci(OE) vboxdrv(OE) sg crypto_user ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 hid_generic usbhid hid uas usb_storage sd_mod sr_mod cdrom ohci_pci ata_generic pata_acpi ahci libahci pata_atiixp crc32c_intel libata ehci_pci
  ehci_hcd scsi_mod ohci_hcd
 CR2: 00000000000002b4
 ---[ end trace 8fcf1ae8e7edcabd ]---
 RIP: 0010:dc_stream_log+0x6/0xb0 [amdgpu]
 Code: 04 00 00 49 8b bc 02 80 02 00 00 48 8b 07 48 8b 40 50 e8 1d a5 66 cd b8 01 00 00 00 c3 0f 1f 80 00 00 00 00 0f 1f 44 00 00 53 <8b> 86 b4 02 00 00 48 89 f3 48 89 f2 8b 8e 10 01 00 00 bf 04 00 00
 RSP: 0018:ffffb5fc07b43af0 EFLAGS: 00010202
 RAX: 0000000000000000 RBX: ffff96f118001000 RCX: 0000000000000002
 RDX: ffffffffc0e1b710 RSI: 0000000000000000 RDI: ffff96f118001000
 RBP: ffff96ee3f330000 R08: ffff96ee3f330000 R09: 0000000000000000
 R10: ffff96ee3f330000 R11: 0000000000000000 R12: 0000000000000001
 R13: ffffb5fc07b43d58 R14: ffff96f11834cff0 R15: 0000000000000000
 FS:  0000000000000000(0000) GS:ffff96f127a80000(0000) knlGS:0000000000000000
 CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
 CR2: 00000000000002b4 CR3: 000000041313c000 CR4: 00000000000406e0
1 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.