Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#80269 - boot failure: mkinitcpio non deterministically does not copy some modules

Attached to Project: Arch Linux
Opened by Roland Ruckerbauer (ruabmbua) - Thursday, 16 November 2023, 12:32 GMT
Last edited by Toolybird (Toolybird) - Thursday, 16 November 2023, 19:17 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
I have had this problem now for a couple of months. It seems, that sometimes when mkinitcpio pacman hooks are executed, the resulting
image does not contain some files it should. Most notably for me, nvme related drivers are not added. This means, that sometimes
after pacman -Syu update, the system can not boot any more. The usual fix is to just use the fallback initramfs, and execute
mkinitcpio -P -v.
I have not yet managed to catch mkinitcpio red handed, when a wrong image was generated. It only seems to happen sometimes when
executed as a pacman hook.
Config files on my system are all default, except on added module.

I have verified that the following files / modules are missing when the bug is triggered:

* nvme, nvme_core, nvme_common
* xhci_pci, xhci_pci_renesas
* all of usr/lib/firmware/amdgpu
* all of usr/lib/modules/6.6.1-arch1-1/kernel/drivers/gpu/drm/amd/

Additional info:
* mkinitcpio version 36-1
* mkinitcpio config only has MODULES(amd_pstate) changed

Steps to reproduce:
Just update with pacman.

Result:
Sometimes after rebooting the system can not boot.
This task depends upon

Closed by  Toolybird (Toolybird)
Thursday, 16 November 2023, 19:17 GMT
Reason for closing:  Upstream
Additional comments about closing:  But hopefully fixed in 37-1.
Comment by Doug Newgard (Scimmia) - Thursday, 16 November 2023, 13:20 GMT Comment by Toolybird (Toolybird) - Thursday, 16 November 2023, 19:16 GMT
It should be better in 37-1 (has just hit [core]). If not, please report "upstream" to the mkinitcpio devs in the Arch GitLab instance.

Loading...