David Wright composed on 2023-02-04 22:43 (UTC-0600): > The other problem for your initrds is that both the amdgpu and radeon > directories are being included, presumably because, according to your > dracut post, both the amdgpu.ko and radeon.ko modules are included > (and I think you implied they're not even necessary). Can you figure > out what the dracut initrd is replacing them with, if anything. The .kos are only needed when early drm is desired. When BIOS video is adequate to task, I can wait for KMS graphics to engage after switchroot, and keep initrds smaller and thus faster loading.
# lspci -nnk | grep -A2 VGA 01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Oland [Radeon HD 8570 / R5 430 OEM / R7 240/340 / Radeon 520 OEM] [1002:6611] Subsystem: Dell Radeon R5 240 OEM [1028:210b] Kernel driver in use: amdgpu # cat /proc/cmdline ro noresume mitigations=auto consoleblank=0 plymouth.enable=0 radeon.si_support=0 amdgpu.si_support=1 vga=791 video=1440x900@60 # ls -gG .initrd.img-6.0* -rw-r--r-- 1 27584982 Dec 27 04:54 .initrd.img-6.0.0-6-amd641 # made with update-initramfs -rw-r--r-- 1 14805618 Feb 4 00:20 .initrd.img-6.0.0-6-amd642 # made with dracut # lsinitramfs -l .initrd.img-6.0.0-6-amd641 | grep drm drwxr-xr-x 7 root root 0 Dec 27 04:52 usr/lib/modules/6.0.0-6-amd64/kernel/drivers/gpu/drm drwxr-xr-x 3 root root 0 Dec 27 04:52 usr/lib/modules/6.0.0-6-amd64/kernel/drivers/gpu/drm/amd drwxr-xr-x 2 root root 0 Dec 27 04:52 usr/lib/modules/6.0.0-6-amd64/kernel/drivers/gpu/drm/amd/amdgpu -rw-r--r-- 1 root root 18860427 Dec 9 00:54 usr/lib/modules/6.0.0-6-amd64/kernel/drivers/gpu/drm/amd/amdgpu/amdgpu.ko drwxr-xr-x 2 root root 0 Dec 27 04:52 usr/lib/modules/6.0.0-6-amd64/kernel/drivers/gpu/drm/display -rw-r--r-- 1 root root 395731 Dec 9 00:54 usr/lib/modules/6.0.0-6-amd64/kernel/drivers/gpu/drm/display/drm_display_helper.ko -rw-r--r-- 1 root root 1210187 Dec 9 00:54 usr/lib/modules/6.0.0-6-amd64/kernel/drivers/gpu/drm/drm.ko -rw-r--r-- 1 root root 26115 Dec 9 00:54 usr/lib/modules/6.0.0-6-amd64/kernel/drivers/gpu/drm/drm_buddy.ko -rw-r--r-- 1 root root 446123 Dec 9 00:54 usr/lib/modules/6.0.0-6-amd64/kernel/drivers/gpu/drm/drm_kms_helper.ko -rw-r--r-- 1 root root 22643 Dec 9 00:54 usr/lib/modules/6.0.0-6-amd64/kernel/drivers/gpu/drm/drm_ttm_helper.ko drwxr-xr-x 2 root root 0 Dec 27 04:52 usr/lib/modules/6.0.0-6-amd64/kernel/drivers/gpu/drm/radeon -rw-r--r-- 1 root root 3431419 Dec 9 00:54 usr/lib/modules/6.0.0-6-amd64/kernel/drivers/gpu/drm/radeon/radeon.ko drwxr-xr-x 2 root root 0 Dec 27 04:52 usr/lib/modules/6.0.0-6-amd64/kernel/drivers/gpu/drm/scheduler -rw-r--r-- 1 root root 99603 Dec 9 00:54 usr/lib/modules/6.0.0-6-amd64/kernel/drivers/gpu/drm/scheduler/gpu-sched.ko drwxr-xr-x 2 root root 0 Dec 27 04:52 usr/lib/modules/6.0.0-6-amd64/kernel/drivers/gpu/drm/ttm -rw-r--r-- 1 root root 192283 Dec 9 00:54 usr/lib/modules/6.0.0-6-amd64/kernel/drivers/gpu/drm/ttm/ttm.ko # lsinitramfs -l .initrd.img-6.0.0-6-amd642 | grep drm drwxr-xr-x 2 root root 0 Feb 4 00:19 usr/lib/modules/6.0.0-6-amd64/kernel/drivers/gpu/drm -rw-r--r-- 1 root root 1210187 Dec 9 00:54 usr/lib/modules/6.0.0-6-amd64/kernel/drivers/gpu/drm/drm.ko # -- Evolution as taught in public schools is, like religion, based on faith, not based on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata