After upgrade to recent kernels, the amdgpu module ends up being enormous :
[root@host:/lib/modules/6.9.12-600.fc40.x86_64/kernel]# find . -name ‘amdgpu’ -ls
368973 4 drwxr-xr-x 2 root root 4096 Jul 29 02:24 ./drivers/gpu/drm/amd/amdgpu
296071 4572 -rwxr–r-- 1 root root 4674112 Jul 28 01:00 ./drivers/gpu/drm/amd/amdgpu/amdgpu.ko.xz
That’s an XZ compressed size 4.6MB for just the amdgpu module ! The nouveau module is @ 2MB -
they both uncompress to something enourmous (> 2GB for amdgpu).
And I don’t even use it, since my system is an Intel (from /proc/cpuinfo) :
processor : 11
vendor_id : GenuineIntel
cpu family : 6
model : 158
model name : Intel(R) Core™ i7-9750H CPU @ 2.60GHz
stepping : 10
microcode : 0xf4
lspci | egrep ‘VGA|NVID’
00:02.0 VGA compatible controller: Intel Corporation CoffeeLake-H GT2 [UHD Graphics 630]
01:00.0 3D controller: NVIDIA Corporation TU117M [GeForce GTX 1650 Mobile / Max-Q] (rev a1)
My /boot/efi/EFI/ partition became too full:
ls -la ${PWD}/*$(uname -r).efi
-rwx------. 1 root root 58601472 Jul 29 02:22 /boot/efi/EFI/Linux/af19f43bc05746859621afad3f48dd99-6.9.12-600.fc40.x86_64.efi
My Boot disk :
fdisk -l /dev/nvme0n1
Disk /dev/nvme0n1: 476.94 GiB, 512110190592 bytes, 1000215216 sectors
Disk model: PC601 NVMe SK hynix 512GB
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: CD1261DD-F34B-46D4-85FE-7515E82955F7
Device Start End Sectors Size Type
/dev/nvme0n1p1 2048 370687 368640 180M EFI System
df .
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/nvme0n1p1 180224 129418 50806 72% /boot/efi
My initramfs ends up becoming huge :
-rw-------. 1 root root 175740374 Jul 30 23:34 initramfs-0-rescue-af19f43bc05746859621afad3f48dd99.img
In order to write that EFI/Linux/ file, I had to remove :
# ls -l ${PWD}/Dell/bios/recovery/
total 0
-rwx------. 1 root root 0 Jul 29 05:09 tmp.rcv
# ls -l ~/BIOS*
-rwx------. 1 root root 18922047 Mar 16 21:38 /root/BIOS_CUR.RCV
-rwx------. 1 root root 18925478 Nov 9 2023 /root/BIOS_PRE.rcv
So now after BIOS Update initiated by ‘GNOME Software’, the BIOS reset itself to defaults,
I had to redo all my BIOS settings, including the ones disabling Windows RAID and enabling
SATA AHCI Mode, to make the boot disk visible again .
Please, can you try to keep the boot kernel small - there is no reason it should need to load the GPU
just for booting - why not exclude all GPU modules from EFI boot kernel, have them loaded
by dracut from initrd if needed ?
My EFI partition is now too full to support BIOS backups, it is the first partition, all other partitions
are quite full, I can’t easily expand it / move all other partitions down, can’t the BIOS be told to
use a USB stick or something for BIOS Backups during Flash ? I don’t see how …
Every time I need to do a BIOS update now , the update will succeed, but it resets
to BIOS default settings because no settings were stored in any backup …
Thanks, Best Regards,
Jason