• [gentoo-user] dmesg on boot - is this behind my crashes?

    From Wols Lists@21:1/5 to All on Sun Jan 23 17:30:01 2022
    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 $

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael@21:1/5 to All on Sun Jan 23 16:33:26 2022
    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.
    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmHtg1cACgkQseqq9sKV Zxl4kQ/+PdOvFS0duh7YLlFlFBXaGj8b0fNcCos/F7nqo2u0CdL3rx2CvztV5Nw7 BcfB5FYi/N4Rz350xhl/Viu9niUTB9w3U9gzvzbn6QZAJXCQR21G/3n6IBQPMfkc uKsFNFkXfUpqDfGFkj07fRhk6dIIyeFn5xOJD5ufxg9Q2Jd3ArcSRNCwYRknBBrY DLldGPp1aOnL/WIe/lva+cufaDtDQ44Ec3DCRx2Sc/fhdCcPMqUjWpXYOhhgp6Zb 2ggigX1mnm72KRRfSl+7RDRd78yEhpIAsM+qeN2PtmZU1oUJlo/QIDT+Pmt6eXUZ ZFmGth+5neSqtBilUybqMgBIYViePKm2Co1+67d5zXOIdLQbN1FZhXFVeWfX8gKV CZaai2YPth9QC8OKc1wczIiTyAdlwqWM/JE0SB4HZaNCETWZ24ACskBwgXQP/XHE D4+1aLcECkP2eE7zOePohmsaqr4YApYq/zJBsIjpRI1u1pZquQNavq5hDBdZ7/rz Gbps85oEqD4U+S0gwUBvbv3ntbPRIyFwQqZmmHOVPIeF0babu2zdrXN9S2a6uYTN UHuII6wUXwn76TWhcGerRaSH03dol7WoAI2O+NGGJKGQA7WNoTG1EKQfWXADF+Yf fMVz7uXaw4p46EHKFtOp9bNsGDwbguwtiH8qx1NQNcYJQMmref8=
    =u7hF
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Adam Carter@21:1/5 to All on Tue Feb 1 23:30:02 2022

    [ 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.

    <div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
    [   12.260700] Buffer I/O error on dev dm-5, logical block 33554416, <br> async page read<br>
    [   12.262882] Buffer I/O error on dev dm-3, logical block 33554416, <br> async page read<br></blockquote><div><br></div><div>Might be worth check the status of the disks with smartctl, something like;<br></div><div>smartctl -a /dev/sda | egrep &#39;(^ID|Reallocated_Sector_C|Reported_Uncorrectable_Er|Command_Timeout|Current_
    Pending_Sect|Offline_Uncorre)&#39;</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
    [   61.464558] ------------[ cut here ]------------<br>
    [   61.464579] WARNING: CPU: 0 PID: 1447 at sound/hda/hdac_bus.c:72 <br> snd_hdac_bus_exit+0x3b/0x50<br>
    [   61.464610] Modules linked in: radeon i2c_algo_bit drm_kms_helper <br> syscopyarea sysfillrect sysimgblt fb_sys_fops ttm vboxnetflt(O) <br> vboxnetadp(O) vboxdrv(O) drm<br>
    [   61.464669] CPU: 0 PID: 1447 Comm: kworker/0:11 Tainted: G <br>
    O      5.10.76-gentoo-r1 #1<br></blockquote><div><br></div><div> First thing i&#39;d do is update to the latest kernel (5.10.96) and emerge @x11-module-rebuild as the issue may already be fixed.<br></div></div></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)