Skip to content

Wait for modules loading completion before switching to userspace #120

Closed
@hxss

Description

Boot fails when I add amdgpu module in booster.yaml

modules:
  -*,amdgpu,nvme,ext4,serio_raw,atkbd,xhci_pci,i8042,wmi,video,crc32c_generic,crc32c_intel

The last message I see on boot screen is Switching to the userspace now., wherein keyboard doesn't work.
Journalctl shows this errors:

$ jrc -kb -1 -o short-precise -p warning
Dec 18 14:09:22.016768 hp kernel: amdgpu 0000:04:00.0: loading /lib/firmware/amdgpu/green_sardine_sdma.bin failed with error -4
Dec 18 14:09:22.016838 hp kernel: amdgpu 0000:04:00.0: Direct firmware load for amdgpu/green_sardine_sdma.bin failed with error -4
Dec 18 14:09:22.016848 hp kernel: [drm:sdma_v4_0_early_init [amdgpu]] *ERROR* sdma_v4_0: Failed to load firmware "amdgpu/green_sardine_sdma.bin"
Dec 18 14:09:22.016856 hp kernel: [drm:sdma_v4_0_early_init [amdgpu]] *ERROR* Failed to load sdma firmware!
Dec 18 14:09:22.016864 hp kernel: [drm:amdgpu_device_init.cold [amdgpu]] *ERROR* early_init of IP block <sdma_v4_0> failed -4
Dec 18 14:09:22.016918 hp kernel: amdgpu 0000:04:00.0: amdgpu: Fatal error during GPU init
Dec 18 14:09:22.016974 hp kernel: amdgpu: probe of 0000:04:00.0 failed with error -4

The file /lib/firmware/amdgpu/green_sardine_sdma.bin exists on disk, but I don't see any mention of it in logs when loading into mkinitcpio with amdgpu.

Kernel: x86_64 Linux 5.15.6-zen2-1-zen
CPU: AMD Ryzen 7 5800U with Radeon Graphics @ 16x 1.9GHz
GPU: [integrated] [AMD/ATI] Cezanne (rev c1)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions