Bug 258546 - graphics/gpu-firmware-kmod: radeon: ring test failed (scratch(0x15E4)=0xCAFEDEAD)
Summary: graphics/gpu-firmware-kmod: radeon: ring test failed (scratch(0x15E4)=0xCAFED...
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Johannes M Dieterich
Depends on:
Reported: 2021-09-16 21:12 UTC by Nick Briggs
Modified: 2022-09-21 01:20 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (jmd)

Contents of /var/log/messages showing radeon failure on reboot (12.11 KB, text/plain)
2021-09-16 21:12 UTC, Nick Briggs
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Briggs 2021-09-16 21:12:20 UTC
Created attachment 227951 [details]
Contents of /var/log/messages showing radeon failure on reboot

Since updating to FreeBSD 13.0 RELEASE (currently FreeBSD 13.0-RELEASE-p4) from FreeBSD 12.2 RELEASE I've been getting failures on boot when loading boot/modules/radeon_R100_cp_bin.ko (from gpu-firmware-kmod-g20210330)

[drm] Loading R100 Microcode
drmn0: successfully loaded firmware image 'radeon/R100_cp.bin'
[drm] radeon: ring at 0x0000000040001000
[drm ERROR :r100_ring_test] radeon: ring test failed (scratch(0x15E4)=0xCAFEDEAD)
[drm ERROR :r100_cp_init] radeon: cp isn't working (-22).
drmn0: failed initializing CP (-22).
drmn0: Disabling GPU acceleration
[drm ERROR :r100_cp_fini] Wait for CP idle timeout, shutting down CP.
[drm] radeon: cp finalized

This is an (old) HP/Compaq nc4010 laptop.
Comment 1 Graham Perrin freebsd_committer 2021-09-19 15:53:23 UTC
(In reply to Nick Briggs from comment #0)

> … HP/Compaq nc4010 …

pciconf -lv | grep -B 3 -A 2 display
Comment 2 Nick Briggs 2021-09-19 15:54:38 UTC
vgapci0@pci0:1:5:0:	class=0x030000 rev=0x00 hdr=0x00 vendor=0x1002 device=0x4337 subvendor=0x0e11 subdevice=0x005a
    vendor     = 'Advanced Micro Devices, Inc. [AMD/ATI]'
    device     = 'RS200M [Radeon IGP 330M/340M/345M/350M]'
    class      = display
    subclass   = VGA
Comment 3 Nick Briggs 2022-05-07 00:51:20 UTC
Updated to the firmware in the packages released today… still a problem
Comment 4 Nick Briggs 2022-09-21 01:20:39 UTC
Now on 13.1-RELEASE-p2, with

Name    : gpu-firmware-radeon-kmod-r100-20220511
Comment : Firmware modules for r100 Radeon GPUs
Repo    : FreeBSD
Filename: boot/modules/radeon_R100_cp_bin.ko


Name    : drm-510-kmod-5.10.113_6
Comment : DRM drivers modules
Repo    : FreeBSD
Filename: boot/modules/radeonkms.ko

and this is still a problem.