v6.11-rc4 amdgpu regression from v6.10.0

Alex Deucher alexdeucher at gmail.com
Mon Aug 19 14:12:58 UTC 2024


On Mon, Aug 19, 2024 at 9:55 AM Andrew Worsley <amworsley at gmail.com> wrote:
>
> The v6.11-rc4 linux hangs during amdgpu start up where as the v6.10.0
> is fine. I had to take a photo of the screen (see attachment) from
> which I generated
> the following summary:
>
>     Booting linux v6.11-rc4 :
> ...
> amdgpu: Virtual CRAT table created for CPU
> amdgpu: Topology: Add CPU node
> initializing kernel modesetting (IP DISCOVERY 0x1002:0x15BF 0xF111:0x0005 0xC2).
> register mmio base: 0x90500000
> register mmio size: 524288
> add ip block number 0 <soc21_common>
> add ip block number 1 <gmc_v11_0>
> add ip block number 2 <ih_v6_0>
> add ip block number 3 <psp>
> add ip block number 4 <smu>
> add ip block number 5 <dm>
> add ip block number 6 <gfx_v11_0>
> add ip block number 7 <sdma_v6_0>
> add ip block number 8 <vcn_v4_0>
> add ip block number 9 <jpeg_v4_0>
> add ip block number 10 <mes_v11_0>
> amdgpu 0000:c1:00.0: amdgpu: Fetched VBIOS from VFCT
> amdgpu: ATOM BIOS: 113-PHXGENERIC-001
> amdgpu 0000:c1:00.0: Direct firmware load for
> amdgpu/gc_11_0_1_mes_2.bin failed with error -2
> amdgpu 0000:c1:00.0: amdgpu: try to fall back to amdgpu/gc_11_0_1_mes.bin

-2 is -ENOENT which means the driver was not able to find the
firmware.  I suspect you either didn't include the firmware in your
kernel image (if you are building the driver in), or didn't include
the firmware in your initrd (if the driver was built as a module).

Alex

>
>   *** Hangs with this displayed on the console ****
>     - have to power off computer to recover
>
> Perfectly successful boot with v6.10.0 kernel :
>
> [    2.478302] [drm] amdgpu kernel modesetting enabled.
> [    2.485206] amdgpu: Virtual CRAT table created for CPU
> [    2.485817] amdgpu: Topology: Add CPU node
> [    2.486525] [drm] initializing kernel modesetting (IP DISCOVERY
> 0x1002:0x15BF 0xF111:0x0005 0xC2).
> [    2.487225] [drm] register mmio base: 0x90500000
> [    2.487809] [drm] register mmio size: 524288
> [    2.492629] [drm] add ip block number 0 <soc21_common>
> [    2.493310] [drm] add ip block number 1 <gmc_v11_0>
> [    2.493973] [drm] add ip block number 2 <ih_v6_0>
> [    2.494617] [drm] add ip block number 3 <psp>
> [    2.495255] [drm] add ip block number 4 <smu>
> [    2.495880] [drm] add ip block number 5 <dm>
> [    2.496499] [drm] add ip block number 6 <gfx_v11_0>
> [    2.497114] [drm] add ip block number 7 <sdma_v6_0>
> [    2.497717] [drm] add ip block number 8 <vcn_v4_0>
> [    2.498313] [drm] add ip block number 9 <jpeg_v4_0>
> [    2.498899] [drm] add ip block number 10 <mes_v11_0>
> [    2.499479] amdgpu 0000:c1:00.0: amdgpu: Fetched VBIOS from VFCT
> [    2.500063] amdgpu: ATOM BIOS: 113-PHXGENERIC-001
> [    2.501760] [drm] VCN(0) encode/decode are enabled in VM mode
> [    2.502588] amdgpu 0000:c1:00.0: [drm:jpeg_v4_0_early_init
> [amdgpu]] JPEG decode is enabled in VM mode
> [    2.503426] amdgpu 0000:c1:00.0: Direct firmware load for
> amdgpu/gc_11_0_1_mes_2.bin failed with error -2
> [    2.504043] [drm] try to fall back to amdgpu/gc_11_0_1_mes.bin
> [    2.505117] Console: switching to colour dummy device 80x25
> [    2.505144] amdgpu 0000:c1:00.0: vgaarb: deactivate vga console
> [    2.505147] amdgpu 0000:c1:00.0: amdgpu: Trusted Memory Zone (TMZ)
> feature enabled
> [    2.505193] [drm] vm size is 262144 GB, 4 levels, block size is
> 9-bit, fragment size is 9-bit
> [    2.505218] amdgpu 0000:c1:00.0: amdgpu: VRAM: 2048M
> 0x0000008000000000 - 0x000000807FFFFFFF (2048M used)
> [    2.505223] amdgpu 0000:c1:00.0: amdgpu: GART: 512M
> 0x00007FFF00000000 - 0x00007FFF1FFFFFFF
> [    2.505237] [drm] Detected VRAM RAM=2048M, BAR=2048M
> [    2.505240] [drm] RAM width 128bits DDR5
> [    2.505418] [drm] amdgpu: 2048M of VRAM memory ready
> [    2.505422] [drm] amdgpu: 31048M of GTT memory ready.
> [    2.505436] [drm] GART: num cpu pages 131072, num gpu pages 131072
> [    2.505600] [drm] PCIE GART of 512M enabled (table at 0x000000807FD00000).
> [    2.506246] [drm] Loading DMUB firmware via PSP: version=0x08000500
> [    2.506550] [drm] Found VCN firmware Version ENC: 1.10 DEC: 5 VEP:
> 0 Revision: 0
> [    2.506558] amdgpu 0000:c1:00.0: amdgpu: Will use PSP to load VCN firmware
> [    2.531970] amdgpu 0000:c1:00.0: amdgpu: reserve 0x4000000 from
> 0x8078000000 for PSP TMR


More information about the amd-gfx mailing list