public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] dmesg on boot - is this behind my crashes?
@ 2022-01-23 16:20 Wols Lists
  2022-01-23 16:33 ` Michael
  2022-02-01 22:21 ` Adam Carter
  0 siblings, 2 replies; 3+ messages in thread
From: Wols Lists @ 2022-01-23 16:20 UTC (permalink / raw
  To: gentoo-user

I've got a slightly unstable system, and I'm beginning to get a feel 
that it's something to do with my Radeon graphics card. I've got a Ryzen 
3 processor, so I'm not using onboard graphics. Output attached - can 
anybody give me any clues? There's what looks like a crash where it says 
"cut here", and the intel sound driver is unhappy ...

Cheers,
Wol

[    9.784205] systemd[1]: Finished Remount Root and Kernel File Systems.
[    9.784454] systemd[1]: Condition check resulted in First Boot Wizard 
being skipped.
[    9.808757] systemd[1]: Condition check resulted in Rebuild Hardware 
Database being skipped.
[    9.809256] systemd[1]: Starting Load/Save Random Seed...
[    9.809469] systemd[1]: Condition check resulted in Create System 
Users being skipped.
[    9.809870] systemd[1]: Starting Create Static Device Nodes in /dev...
[    9.839386] vboxdrv: loading out-of-tree module taints kernel.
[    9.841225] vboxdrv: Found 4 processor cores
[    9.857287] vboxdrv: TSC mode is Invariant, tentative frequency 
3493435186 Hz
[    9.857351] vboxdrv: Successfully loaded version 6.1.28 r147628 
(interface 0x00320000)
[    9.873100] systemd[1]: Condition check resulted in Update is 
Completed being skipped.
[    9.873669] systemd[1]: Starting Record System Boot/Shutdown in UTMP...
[    9.873990] systemd[1]: Started Journal Service.
[    9.938060] VBoxNetAdp: Successfully started.
[    9.959986] VBoxNetFlt: Successfully started.
[   10.109799] systemd-journald[1071]: Received client request to flush 
runtime journal.
[   10.270589] systemd-journald[1071]: File 
/var/log/journal/053db4036a25efc6f8d2186a603c3f79/system.journal 
corrupted or uncleanly shut down, renaming and replacing.
[   12.260700] Buffer I/O error on dev dm-5, logical block 33554416, 
async page read
[   12.262882] Buffer I/O error on dev dm-3, logical block 33554416, 
async page read
[   12.401372] r8169 0000:08:00.0 enp8s0: renamed from eth0
[   12.583888] Loading firmware: rtl_nic/rtl8168h-2.fw
[   12.825283] Generic FE-GE Realtek PHY r8169-0-800:00: attached PHY 
driver [Generic FE-GE Realtek PHY] (mii_bus:phy_addr=r8169-0-800:00, 
irq=IGNORE)
[   12.966102] Adding 67108860k swap on /dev/sda2.  Priority:1 extents:1 
across:67108860k
[   12.990798] r8169 0000:08:00.0 enp8s0: Link is Down
[   13.212665] [drm] radeon kernel modesetting enabled.
[   13.212768] radeon 0000:09:00.0: vgaarb: deactivate vga console
[   13.213438] Console: switching to colour dummy device 80x25
[   13.213656] [drm] initializing kernel modesetting (RV710 
0x1002:0x954F 0x1043:0x02A8 0x00).
[   13.213717] ATOM BIOS:
[   13.214123] radeon 0000:09:00.0: VRAM: 512M 0x0000000000000000 - 
0x000000001FFFFFFF (512M used)
[   13.214127] radeon 0000:09:00.0: GTT: 1024M 0x0000000020000000 - 
0x000000005FFFFFFF
[   13.214131] [drm] Detected VRAM RAM=512M, BAR=256M
[   13.214133] [drm] RAM width 64bits DDR
[   13.214172] [TTM] Zone  kernel: Available graphics memory: 16404706 KiB
[   13.214175] [TTM] Zone   dma32: Available graphics memory: 2097152 KiB
[   13.214177] [TTM] Initializing pool allocator
[   13.214181] [TTM] Initializing DMA pool allocator
[   13.214193] [drm] radeon: 512M of VRAM memory ready
[   13.214195] [drm] radeon: 1024M of GTT memory ready.
[   13.214202] [drm] Loading RV710 Microcode
[   13.214204] Loading firmware: radeon/RV710_pfp.bin
[   13.386412] Loading firmware: radeon/RV710_me.bin
[   13.433615] Loading firmware: radeon/R700_rlc.bin
[   13.433836] Loading firmware: radeon/RV710_smc.bin
[   13.434823] [drm] Internal thermal controller without fan control
[   13.435486] [drm] radeon: dpm initialized
[   13.435489] Loading firmware: radeon/RV710_uvd.bin
[   13.471544] [drm] GART: num cpu pages 262144, num gpu pages 262144
[   13.472432] [drm] enabling PCIE gen 2 link speeds, disable with 
radeon.pcie_gen2=0
[   13.483464] [drm] PCIE GART of 1024M enabled (table at 
0x000000000014C000).
[   13.483490] radeon 0000:09:00.0: WB enabled
[   13.483493] radeon 0000:09:00.0: fence driver on ring 0 use gpu addr 
0x0000000020000c00
[   13.483495] radeon 0000:09:00.0: fence driver on ring 3 use gpu addr 
0x0000000020000c0c
[   13.483686] radeon 0000:09:00.0: fence driver on ring 5 use gpu addr 
0x000000000005c598
[   13.483853] radeon 0000:09:00.0: radeon: MSI limited to 32-bit
[   13.483889] radeon 0000:09:00.0: radeon: using MSI.
[   13.483912] [drm] radeon: irq initialized.
[   13.530078] [drm] ring test on 0 succeeded in 1 usecs
[   13.530084] [drm] ring test on 3 succeeded in 2 usecs
[   13.706180] [drm] ring test on 5 succeeded in 1 usecs
[   13.706185] [drm] UVD initialized successfully.
[   13.706260] [drm] ib test on ring 0 succeeded in 0 usecs
[   13.706279] [drm] ib test on ring 3 succeeded in 0 usecs
[   14.360113] [drm] ib test on ring 5 succeeded
[   14.360313] [drm] Radeon Display Connectors
[   14.360316] [drm] Connector 0:
[   14.360317] [drm]   VGA-1
[   14.360319] [drm]   DDC: 0x7e40 0x7e40 0x7e44 0x7e44 0x7e48 0x7e48 
0x7e4c 0x7e4c
[   14.360320] [drm]   Encoders:
[   14.360322] [drm]     CRT2: INTERNAL_KLDSCP_DAC2
[   14.360323] [drm] Connector 1:
[   14.360324] [drm]   HDMI-A-1
[   14.360325] [drm]   HPD1
[   14.360326] [drm]   DDC: 0x7e50 0x7e50 0x7e54 0x7e54 0x7e58 0x7e58 
0x7e5c 0x7e5c
[   14.360328] [drm]   Encoders:
[   14.360329] [drm]     DFP1: INTERNAL_UNIPHY
[   14.360330] [drm] Connector 2:
[   14.360331] [drm]   DVI-I-1
[   14.360332] [drm]   HPD4
[   14.360334] [drm]   DDC: 0x7f10 0x7f10 0x7f14 0x7f14 0x7f18 0x7f18 
0x7f1c 0x7f1c
[   14.360335] [drm]   Encoders:
[   14.360336] [drm]     CRT1: INTERNAL_KLDSCP_DAC1
[   14.360338] [drm]     DFP2: INTERNAL_UNIPHY2
[   14.435425] snd_hda_codec_hdmi hdaudioC0D0: HDMI ATI/AMD: no speaker 
allocation for ELD
[   14.435442] snd_hda_codec_hdmi hdaudioC0D0: HDMI ATI/AMD: no speaker 
allocation for ELD
[   14.445179] [drm] fb mappable at 0xE034D000
[   14.445182] [drm] vram apper at 0xE0000000
[   14.445184] [drm] size 8294400
[   14.445185] [drm] fb depth is 24
[   14.445187] [drm]    pitch is 7680
[   14.445342] fbcon: radeondrmfb (fb0) is primary device
[   14.446236] Console: switching to colour frame buffer device 240x67
[   14.449392] radeon 0000:09:00.0: [drm] fb0: radeondrmfb frame buffer 
device
[   14.454145] [drm] Initialized radeon 2.50.0 20080528 for 0000:09:00.0 
on minor 0
[   14.885103] Adding 67108860k swap on /dev/sdc2.  Priority:1 extents:1 
across:67108860k
[   16.607530] r8169 0000:08:00.0 enp8s0: Link is Up - 1Gbps/Full - flow 
control off
[   16.607571] IPv6: ADDRCONF(NETDEV_CHANGE): enp8s0: link becomes ready
[   18.343345] sh (1256) used greatest stack depth: 12992 bytes left
[   18.932755] systemd-udevd (1112) used greatest stack depth: 12552 
bytes left
[   24.936420] md/raid:md127: device dm-10 operational as raid disk 2
[   24.937378] md/raid:md127: device dm-9 operational as raid disk 1
[   24.938328] md/raid:md127: device dm-8 operational as raid disk 0
[   24.939430] md/raid:md127: raid level 5 active with 3 out of 3 
devices, algorithm 2
[   24.986579] md127: detected capacity change from 0 to 5619725369344
[   27.169915] EXT4-fs (dm-11): 2 orphan inodes deleted
[   27.170874] EXT4-fs (dm-11): recovery complete
[   27.264355] EXT4-fs (dm-11): mounted filesystem with ordered data 
mode. Opts: (null)
[   61.464425] snd_hda_intel 0000:0b:00.3: Cannot probe codecs, giving up
[   61.464558] ------------[ cut here ]------------
[   61.464579] WARNING: CPU: 0 PID: 1447 at sound/hda/hdac_bus.c:72 
snd_hdac_bus_exit+0x3b/0x50
[   61.464610] Modules linked in: radeon i2c_algo_bit drm_kms_helper 
syscopyarea sysfillrect sysimgblt fb_sys_fops ttm vboxnetflt(O) 
vboxnetadp(O) vboxdrv(O) drm
[   61.464669] CPU: 0 PID: 1447 Comm: kworker/0:11 Tainted: G 
O      5.10.76-gentoo-r1 #1
[   61.464701] Hardware name: To Be Filled By O.E.M. To Be Filled By 
O.E.M./B450 Gaming K4, BIOS P3.90 12/12/2019
[   61.464739] Workqueue: events azx_probe_work
[   61.464756] RIP: 0010:snd_hdac_bus_exit+0x3b/0x50
[   61.464774] Code: 75 19 48 8b 57 58 48 8d 47 58 48 39 c2 75 1b 48 81 
c7 f8 02 00 00 e9 e4 b2 77 ff 0f 0b 48 8b 57 58 48 8d 47 58 48 39 c2 74 
e5 <0f> 0b 48 81 c7 f8 02 00 00 e9 c7 b2 77 ff 0f 1f 80 00 00 00 00 41
[   61.464841] RSP: 0018:ffff941940d33e88 EFLAGS: 00010206
[   61.464860] RAX: ffff8a6f05002880 RBX: ffff8a6f05002828 RCX: 
000000008020001e
[   61.464886] RDX: ffff8a6f052a1af8 RSI: 0000000000000001 RDI: 
ffff8a6f05002828
[   61.464911] RBP: ffff8a6f05002e90 R08: 0000000000000000 R09: 
0000000000000001
[   61.464936] R10: ffff8a6f050a6100 R11: 0000000000000000 R12: 
ffff8a75fe829880
[   61.464961] R13: 0000000000000000 R14: ffff8a75fe82d800 R15: 
0000000000000000
[   61.464987] FS:  0000000000000000(0000) GS:ffff8a75fe800000(0000) 
knlGS:0000000000000000
[   61.465016] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   61.465037] CR2: 000055a1ba3c997c CR3: 0000000103c54000 CR4: 
00000000003506f0
[   61.465062] Call Trace:
[   61.465073]  azx_free+0xcf/0x1d0
[   61.465096]  process_one_work+0x1cf/0x360
[   61.465111]  worker_thread+0x48/0x3c0
[   61.465125]  ? rescuer_thread+0x390/0x390
[   61.465140]  kthread+0x116/0x130
[   61.465152]  ? __kthread_bind_mask+0x60/0x60
[   61.465169]  ret_from_fork+0x22/0x30
[   61.465182] ---[ end trace ba7e254e6c701850 ]---
[  127.562555] systemd-journald[1071]: File 
/var/log/journal/053db4036a25efc6f8d2186a603c3f79/user-1000.journal 
corrupted or uncleanly shut down, renaming and replacing.
[  127.752386] xauth (1611) used greatest stack depth: 12424 bytes left
[  176.527986] EXT4-fs (dm-13): mounted filesystem with ordered data 
mode. Opts: (null)
[  178.163161] EXT4-fs (dm-14): mounted filesystem with ordered data 
mode. Opts: (null)
[ 1000.504858] kworker/dying (42) used greatest stack depth: 12320 bytes 
left
[ 7562.479834] kworker/dying (3091) used greatest stack depth: 12296 
bytes left
anthony@thewolery ~/gitstuff/ScarletDME/Sphinx/docs $


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] dmesg on boot - is this behind my crashes?
  2022-01-23 16:20 [gentoo-user] dmesg on boot - is this behind my crashes? Wols Lists
@ 2022-01-23 16:33 ` Michael
  2022-02-01 22:21 ` Adam Carter
  1 sibling, 0 replies; 3+ messages in thread
From: Michael @ 2022-01-23 16:33 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 3391 bytes --]

On Sunday, 23 January 2022 16:20:25 GMT Wols Lists wrote:
> I've got a slightly unstable system, and I'm beginning to get a feel
> that it's something to do with my Radeon graphics card. I've got a Ryzen
> 3 processor, so I'm not using onboard graphics. Output attached - can
> anybody give me any clues? There's what looks like a crash where it says
> "cut here", and the intel sound driver is unhappy ...
> 
> Cheers,
> Wol

Yes, it seems this is a HD_Audio codec problem.  Have a look here - search for 
azx:

https://www.kernel.org/doc/html/latest/sound/alsa-configuration.html


> [   61.464425] snd_hda_intel 0000:0b:00.3: Cannot probe codecs, giving up  
> [   61.464558] ------------[ cut here ]------------
> [   61.464579] WARNING: CPU: 0 PID: 1447 at sound/hda/hdac_bus.c:72
> snd_hdac_bus_exit+0x3b/0x50
> [   61.464610] Modules linked in: radeon i2c_algo_bit drm_kms_helper
> syscopyarea sysfillrect sysimgblt fb_sys_fops ttm vboxnetflt(O)
> vboxnetadp(O) vboxdrv(O) drm
> [   61.464669] CPU: 0 PID: 1447 Comm: kworker/0:11 Tainted: G
> O      5.10.76-gentoo-r1 #1
> [   61.464701] Hardware name: To Be Filled By O.E.M. To Be Filled By
> O.E.M./B450 Gaming K4, BIOS P3.90 12/12/2019
> [   61.464739] Workqueue: events azx_probe_work
> [   61.464756] RIP: 0010:snd_hdac_bus_exit+0x3b/0x50
> [   61.464774] Code: 75 19 48 8b 57 58 48 8d 47 58 48 39 c2 75 1b 48 81
> c7 f8 02 00 00 e9 e4 b2 77 ff 0f 0b 48 8b 57 58 48 8d 47 58 48 39 c2 74
> e5 <0f> 0b 48 81 c7 f8 02 00 00 e9 c7 b2 77 ff 0f 1f 80 00 00 00 00 41
> [   61.464841] RSP: 0018:ffff941940d33e88 EFLAGS: 00010206
> [   61.464860] RAX: ffff8a6f05002880 RBX: ffff8a6f05002828 RCX:
> 000000008020001e
> [   61.464886] RDX: ffff8a6f052a1af8 RSI: 0000000000000001 RDI:
> ffff8a6f05002828
> [   61.464911] RBP: ffff8a6f05002e90 R08: 0000000000000000 R09:
> 0000000000000001
> [   61.464936] R10: ffff8a6f050a6100 R11: 0000000000000000 R12:
> ffff8a75fe829880
> [   61.464961] R13: 0000000000000000 R14: ffff8a75fe82d800 R15:
> 0000000000000000
> [   61.464987] FS:  0000000000000000(0000) GS:ffff8a75fe800000(0000)
> knlGS:0000000000000000
> [   61.465016] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
> [   61.465037] CR2: 000055a1ba3c997c CR3: 0000000103c54000 CR4:
> 00000000003506f0
> [   61.465062] Call Trace:
> [   61.465073]  azx_free+0xcf/0x1d0
> [   61.465096]  process_one_work+0x1cf/0x360
> [   61.465111]  worker_thread+0x48/0x3c0
> [   61.465125]  ? rescuer_thread+0x390/0x390
> [   61.465140]  kthread+0x116/0x130
> [   61.465152]  ? __kthread_bind_mask+0x60/0x60
> [   61.465169]  ret_from_fork+0x22/0x30
> [   61.465182] ---[ end trace ba7e254e6c701850 ]---
> [  127.562555] systemd-journald[1071]: File
> /var/log/journal/053db4036a25efc6f8d2186a603c3f79/user-1000.journal
> corrupted or uncleanly shut down, renaming and replacing.
> [  127.752386] xauth (1611) used greatest stack depth: 12424 bytes left
> [  176.527986] EXT4-fs (dm-13): mounted filesystem with ordered data
> mode. Opts: (null)
> [  178.163161] EXT4-fs (dm-14): mounted filesystem with ordered data
> mode. Opts: (null)
> [ 1000.504858] kworker/dying (42) used greatest stack depth: 12320 bytes
> left
> [ 7562.479834] kworker/dying (3091) used greatest stack depth: 12296
> bytes left
> anthony@thewolery ~/gitstuff/ScarletDME/Sphinx/docs $

You could try compiling audio as modules and modprobing them for additional 
info/options.

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] dmesg on boot - is this behind my crashes?
  2022-01-23 16:20 [gentoo-user] dmesg on boot - is this behind my crashes? Wols Lists
  2022-01-23 16:33 ` Michael
@ 2022-02-01 22:21 ` Adam Carter
  1 sibling, 0 replies; 3+ messages in thread
From: Adam Carter @ 2022-02-01 22:21 UTC (permalink / raw
  To: Gentoo User

[-- Attachment #1: Type: text/plain, Size: 944 bytes --]

>
> [   12.260700] Buffer I/O error on dev dm-5, logical block 33554416,
> async page read
> [   12.262882] Buffer I/O error on dev dm-3, logical block 33554416,
> async page read
>

Might be worth check the status of the disks with smartctl, something like;
smartctl -a /dev/sda | egrep
'(^ID|Reallocated_Sector_C|Reported_Uncorrectable_Er|Command_Timeout|Current_Pending_Sect|Offline_Uncorre)'


> [   61.464558] ------------[ cut here ]------------
> [   61.464579] WARNING: CPU: 0 PID: 1447 at sound/hda/hdac_bus.c:72
> snd_hdac_bus_exit+0x3b/0x50
> [   61.464610] Modules linked in: radeon i2c_algo_bit drm_kms_helper
> syscopyarea sysfillrect sysimgblt fb_sys_fops ttm vboxnetflt(O)
> vboxnetadp(O) vboxdrv(O) drm
> [   61.464669] CPU: 0 PID: 1447 Comm: kworker/0:11 Tainted: G
> O      5.10.76-gentoo-r1 #1
>

 First thing i'd do is update to the latest kernel (5.10.96) and emerge
@x11-module-rebuild as the issue may already be fixed.

[-- Attachment #2: Type: text/html, Size: 1407 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-02-01 22:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-23 16:20 [gentoo-user] dmesg on boot - is this behind my crashes? Wols Lists
2022-01-23 16:33 ` Michael
2022-02-01 22:21 ` Adam Carter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox