Packages

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bug Report
  • Category Stable
  • Assigned To
    Emulatorman
  • Operating System Hyperbola GNU/Linux-libre
  • Severity Critical
  • Priority Medium
  • Reported Version Milky Way v0.3
  • Due in Version Starfix
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Packages
Opened by fablamar78 - 24/09/2019
Last edited by Emulatorman - 27/09/2019

FS#1420 - [mkinitcpio] crc32c_generic module missing with regular HOOK

With latest 0.3 hyperbola, with the (simple) following partitioning :

/ (ext4)
/swap

The standard HOOK in /etc/mkinitcpio.conf

"HOOKS="base udev autodetect modconf block filesystems keyboard fsck"

fails to include crc32c_generic module, resulting in non bootable system.

The generated fallback initramfs include it though.

The issue was not present with 0.2.9, with the exact same partitioning.

Closed by  Emulatorman
27.09.2019 01:01
Reason for closing:  Fixed

@Robert Alessi
Thanks. But this was not needed before. I still have a machine with Hyperbola 0.2.9, with the same partitioning and I don't have to manually add crc32c_generic module.
I noticed that if one add lvm2 hook, this hook picks up crc32c module and add it to initramfs. But the default HOOK line doesn't. it only includes crc16.

@fablamar
Interesting, as I use lvm2, I now understand why I could complete the migration to 0.3 without having this issue.

@Robert Alessi
Exactly, I noticed it only yesterday because I was installing the new 0.3 iso on a family laptop which only uses one big ext4 partition & swap, without lvm2.
On my laptop, I use lvm2 so the crc32c was picked up correctly.

Not related to the present bug report (I should open one for it)
→ I also noticed I can't load any module through :

/etc/conf.d/modules
modules="loop"
modules="snd-aloop"

They all fail to load.
And all of that is happening on a fresh 0.3 install.. This again was working previously.

@André Silva :

Thanks for the fix !

https://git.hyperbola.info:50100/packages/core.git/commit/mkinitcpio?id=e18629ecd5ec0f7bef51c2febb65da88b8d6b718

I tried it and it works fine. The following HOOKS :
HOOKS="base udev autodetect modconf block filesystems keyboard fsck"

correctly includes crc32 in initramfs now.

@fablamar
I have "

modules="loop acpi_call"

in

/etc/conf.d/modules

and

lsmod | grep loop

confirms that "loop" is actually loaded. Otherwise I wouldn't be able to switch from one console to another. Don't you think it may be related to the same issue?

Date User Effort (H:M)
watch my effort tracking timers

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing