[Bug 287165] drm/pseudofs panic in radeonkms.ko

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 30 May 2025 21:39:37 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287165

--- Comment #8 from Marek Zarychta <zarychtam@plan-b.pwste.edu.pl> ---
(In reply to Steve Kargl from comment #7)
I am sorry, I am not to judge whether the upgrade procedure is 100% or 101%
correct. I am trying to help here since the graphics are similar. 

Driven by curiosity, I have just upgraded to the most recent CURRENT, replaced
drm-61-kmod with drm-66-kmod, rebooted using UEFI and then BIOS methods, and
everything seems to work fine. TBH, my upgrade procedure is simplified:
installkernel and installworld (over NFS), etcupdate, pkg upgrade, portupgrade
drm-66-kmod and then reboot. 

Please let me paste excerpts from the dmesg below - there are a few errors,
they are similar but not fatal. 

What I have noticed, when booting from UEFI the screen is blank for short
period of time (still in text mode), when booting with BIOS method, only the
resolution changes, but the screen doesn't go blank during boot.

From dmesg(8), this time booted from legacy BIOS:
[drm] radeon kernel modesetting enabled.
drmn0: <drmn> on vgapci0
vgapci0: child drmn0 requested pci_enable_io
vgapci0: child drmn0 requested pci_enable_io
sysctl_add_oid: can't re-use a leaf (hw.dri.debug)!
[drm] initializing kernel modesetting (CAICOS 0x1002:0x6778 0x1028:0x2120
0x00).
[drm ERROR :radeon_atombios_init] Unable to find PCI I/O BAR; using MMIO for
ATOM IIO
ATOM BIOS: C26411
drmn0: VRAM: 1024M 0x0000000000000000 - 0x000000003FFFFFFF (1024M used)
drmn0: GTT: 1024M 0x0000000040000000 - 0x000000007FFFFFFF
[drm] Detected VRAM RAM=1024M, BAR=256M
[drm] RAM width 64bits DDR
[drm] radeon: 1024M of VRAM memory ready
[drm] radeon: 1024M of GTT memory ready.
[drm] Loading CAICOS Microcode
radeon/CAICOS_pfp.bin: could not load binary firmware
/boot/firmware/radeon/CAICOS_pfp.bin either
CAICOS_pfp.bin: could not load binary firmware /boot/firmware/CAICOS_pfp.bin
either
radeon_CAICOS_pfp.bin: could not load binary firmware
/boot/firmware/radeon_CAICOS_pfp.bin either
drmn0: successfully loaded firmware image 'radeon/CAICOS_pfp.bin'
radeon/CAICOS_me.bin: could not load binary firmware
/boot/firmware/radeon/CAICOS_me.bin either
CAICOS_me.bin: could not load binary firmware /boot/firmware/CAICOS_me.bin
either
radeon_CAICOS_me.bin: could not load binary firmware
/boot/firmware/radeon_CAICOS_me.bin either
drmn0: successfully loaded firmware image 'radeon/CAICOS_me.bin'
radeon/BTC_rlc.bin: could not load binary firmware
/boot/firmware/radeon/BTC_rlc.bin either
BTC_rlc.bin: could not load binary firmware /boot/firmware/BTC_rlc.bin either
radeon_BTC_rlc.bin: could not load binary firmware
/boot/firmware/radeon_BTC_rlc.bin either
drmn0: successfully loaded firmware image 'radeon/BTC_rlc.bin'
radeon/CAICOS_mc.bin: could not load binary firmware
/boot/firmware/radeon/CAICOS_mc.bin either
CAICOS_mc.bin: could not load binary firmware /boot/firmware/CAICOS_mc.bin
either
radeon_CAICOS_mc.bin: could not load binary firmware
/boot/firmware/radeon_CAICOS_mc.bin either
drmn0: successfully loaded firmware image 'radeon/CAICOS_mc.bin'
radeon/CAICOS_smc.bin: could not load binary firmware
/boot/firmware/radeon/CAICOS_smc.bin either
CAICOS_smc.bin: could not load binary firmware /boot/firmware/CAICOS_smc.bin
either
radeon_CAICOS_smc.bin: could not load binary firmware
/boot/firmware/radeon_CAICOS_smc.bin either
drmn0: successfully loaded firmware image 'radeon/CAICOS_smc.bin'
[drm] Internal thermal controller without fan control
[drm] radeon: dpm initialized
radeon/SUMO_uvd.bin: could not load binary firmware
/boot/firmware/radeon/SUMO_uvd.bin either
SUMO_uvd.bin: could not load binary firmware /boot/firmware/SUMO_uvd.bin either
radeon_SUMO_uvd.bin: could not load binary firmware
/boot/firmware/radeon_SUMO_uvd.bin either
drmn0: successfully loaded firmware image 'radeon/SUMO_uvd.bin'
[drm] GART: num cpu pages 262144, num gpu pages 262144
[drm] enabling PCIE gen 2 link speeds, disable with radeon.pcie_gen2=0
[drm] PCIE GART of 1024M enabled (table at 0x0000000000162000).
drmn0: WB enabled
drmn0: fence driver on ring 0 use gpu addr 0x0000000040000c00
drmn0: fence driver on ring 3 use gpu addr 0x0000000040000c0c
drmn0: fence driver on ring 5 use gpu addr 0x0000000000072118
drmn0: radeon: MSI limited to 32-bit
drmn0: radeon: using MSI.
[drm] radeon: irq initialized.
[drm] ring test on 0 succeeded in 3 usecs
[drm] ring test on 3 succeeded in 8 usecs
[drm] ring test on 5 succeeded in 2 usecs
[drm] UVD initialized successfully.
[drm] ib test on ring 0 succeeded in 0 usecs
[drm] ib test on ring 3 succeeded in 0 usecs
[drm] ib test on ring 5 succeeded
lkpi_iicbb0: <LinuxKPI I2CBB> on drmn0

(...)

[drm] Radeon Display Connectors
[drm] Connector 0:
[drm]   DP-1
[drm]   HPD2
[drm]   DDC: 0x6460 0x6460 0x6464 0x6464 0x6468 0x6468 0x646c 0x646c
[drm]   Encoders:
[drm]     DFP1: INTERNAL_UNIPHY1
[drm] Connector 1:
[drm]   DVI-I-1
[drm]   HPD4
[drm]   DDC: 0x6450 0x6450 0x6454 0x6454 0x6458 0x6458 0x645c 0x645c
[drm]   Encoders:
[drm]     DFP2: INTERNAL_UNIPHY
[drm]     CRT1: INTERNAL_KLDSCP_DAC1
[drm] Initialized radeon 2.50.0 20080528 for drmn0 on minor 0
[drm] fb mappable at 0xE0363000
[drm] vram apper at 0xE0000000
[drm] size 7299072
[drm] fb depth is 24
[drm]    pitch is 6912
VT: Replacing driver "vga" with new "drmfb".
start FB_INFO:
height=1024 width=1280 depth=32
pbase=0xe0363000 vbase=0xfffff800e0363000
name=drmn0 id=radeondrmfb flags=0x0 stride=6912
end FB_INFO

-- 
You are receiving this mail because:
You are the assignee for the bug.