You are not logged in.

#1 2025-10-12 20:52:45

Cbhihe
Member
Registered: 2017-04-09
Posts: 242

[SOLVED] ERROR: module not found: 'crc32c_generic' (6.17-arch1-1)

Just conducted a full system update and noticed an error message ERROR: module not found: 'crc32c_generic'

> sudo pacman -Syu
...
...
:: Retrieving packages...                                                                                                                                                                                                                      
...
...
==> Starting build: '6.17.1-arch1-1'                                                                                                                                                                                                           
  -> Running build hook: [base]                                                                                                                                                                                                                
  -> Running build hook: [udev]                                                                                                                                                                                                                
  -> Running build hook: [modconf]                                                                                                                                                                                                             
  -> Running build hook: [keyboard]                                                                                                                                                                                                            
  -> Running build hook: [keymap]                                                                                                                                                                                                              
  -> Running build hook: [consolefont]                                                                                                                                                                                                         
  -> Running build hook: [block]                                                                                                                                                                                                               
  -> Running build hook: [resume]                                                                                                                                                                                                              
  -> Running build hook: [filesystems]                                                                                                                                                                                                         
  -> Running build hook: [fsck]                                                                                                                                                                                                                
==> ERROR: module not found: 'crc32c_generic'                                                                                                                                                                                                  
==> Generating module dependencies                                                                                                                                                                                                             
==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux-fallback.img'                                                                                                                                                              
==> WARNING: errors were encountered during the build. The image may not be complete.                                                                                                                                                          
error: command failed to execute correctly                                                                                                                                                                                                     
(12/17) Reloading system bus configuration...                                                                                                                                                                                                  
(13/17) Registering Haskell modules
... 
...

So I tried a minimal reinstall to cause an initcpio image rebuild: /boot/initramfs-linux.img

> sudo pacman -Syu linux linux-headers                                                                                                                                                           
:: Synchronizing package databases...                                                                                  
 core is up to date                                                                                                    
 extra                                        8.0 MiB  5.19 MiB/s 00:02 [########################################] 100%
warning: linux-6.17.1.arch1-1 is up to date -- reinstalling                                                            
warning: linux-headers-6.17.1.arch1-1 is up to date -- reinstalling                                                    
:: Starting full system upgrade...                                                                                     
resolving dependencies...                                                                                              
looking for conflicting packages...                                                                                    
                                                                                                                       
Package (6)             Old Version     New Version     Net Change  Download Size                                      
                                                                                                                       
extra/kcoreaddons       6.18.0-2        6.19.0-1          0.00 MiB       0.71 MiB                                      
extra/kguiaddons        6.18.0-3        6.19.0-1          0.01 MiB       0.19 MiB                                      
extra/seabios           1.17.0-1        1.17.0-2          0.00 MiB       0.17 MiB                                      
extra/telegram-desktop  6.2.2-1         6.2.3-1           0.00 MiB      39.48 MiB                                      
core/linux              6.17.1.arch1-1  6.17.1.arch1-1    0.00 MiB                                                     
core/linux-headers      6.17.1.arch1-1  6.17.1.arch1-1    0.00 MiB                                                     
                                                                                                                       
Total Download Size:    40.55 MiB                                                                                      
Total Installed Size:  513.76 MiB                                                                                      
Net Upgrade Size:        0.01 MiB                                                                                      
                                                                                                                       
:: Proceed with installation? [Y/n]                                                                                    
:: Retrieving packages...                                                                                              
 kguiaddons-6.19.0-1-x86_64                 198.4 KiB   603 KiB/s 00:00 [########################################] 100%
 seabios-1.17.0-2-any                       169.6 KiB   482 KiB/s 00:00 [########################################] 100%
 kcoreaddons-6.19.0-1-x86_64                723.6 KiB  1707 KiB/s 00:00 [########################################] 100%
 telegram-desktop-6.2.3-1-x86_64             39.5 MiB  9.87 MiB/s 00:04 [########################################] 100%
 Total (4/4)                                 40.5 MiB  10.0 MiB/s 00:04 [########################################] 100%
(6/6) checking keys in keyring                                          [########################################] 100%
(6/6) checking package integrity                                        [########################################] 100%
(6/6) loading package files                                             [########################################] 100%
(6/6) checking for file conflicts                                       [########################################] 100%
(6/6) checking available disk space                                     [########################################] 100%
:: Processing package changes...                                                                                       
(1/6) reinstalling linux                                                [########################################] 100%
(2/6) reinstalling linux-headers                                        [########################################] 100%
(3/6) upgrading kcoreaddons                                             [########################################] 100%
(4/6) upgrading kguiaddons                                              [########################################] 100%
(5/6) upgrading seabios                                                 [########################################] 100%
(6/6) upgrading telegram-desktop                                        [########################################] 100%
:: Running post-transaction hooks...                                                                                   
(1/8) Arming ConditionNeedsUpdate...                                                                                   
(2/8) Updating the MIME type database...                                                                               
(3/8) Updating module dependencies...                                                                                  
(4/8) Updating linux initcpios...                                                                                      
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'                                              
==> Using configuration file: '/etc/mkinitcpio.conf'                                                                   
  -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img                                       
==> Starting build: '6.17.1-arch1-1'                                                                                   
  -> Running build hook: [base]      
  -> Running build hook: [udev]  
  -> Running build hook: [autodetect]                                                                                  
  -> Running build hook: [modconf]
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
  -> Running build hook: [block]
  -> Running build hook: [resume]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> ERROR: module not found: 'crc32c_generic'
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux.img'
==> WARNING: errors were encountered during the build. The image may not be complete.
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
==> Using configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
==> Starting build: '6.17.1-arch1-1'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
  -> Running build hook: [block]
  -> Running build hook: [resume]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> ERROR: module not found: 'crc32c_generic'
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux-fallback.img'
==> WARNING: errors were encountered during the build. The image may not be complete.
error: command failed to execute correctly
(5/8) Updating icon theme caches...
(6/8) Updating NVIDIA module in initcpio
(7/8) Keep current and previous installed pkg version in cache.
removed '/var/cache/pacman/pkg/kguiaddons-6.18.0-1-x86_64.pkg.tar.zst'
removed '/var/cache/pacman/pkg/kguiaddons-6.18.0-1-x86_64.pkg.tar.zst.sig'
removed '/var/cache/pacman/pkg/telegram-desktop-6.1.4-1-x86_64.pkg.tar.zst'
removed '/var/cache/pacman/pkg/telegram-desktop-6.1.4-1-x86_64.pkg.tar.zst.sig'
removed '/var/cache/pacman/pkg/seabios-1.16.3-1-any.pkg.tar.zst'
removed '/var/cache/pacman/pkg/seabios-1.16.3-1-any.pkg.tar.zst.sig'
removed '/var/cache/pacman/pkg/kcoreaddons-6.18.0-1-x86_64.pkg.tar.zst'
removed '/var/cache/pacman/pkg/kcoreaddons-6.18.0-1-x86_64.pkg.tar.zst.sig'

==> finished: 4 packages removed (disk space saved: 40.22 MiB)
(8/8) Updating the desktop file MIME type cache...

All partitions' FS are ext4 (save EFi and swap, no `btrfs' on that host).

I also went looking for traces of  the missing module:

> find /usr/lib/modules/$(uname -r) -name '*crc32c*' 
/usr/lib/modules/6.17.1-arch1-1/build/include/linux/crc32c.h

> sudo mkinticpio -Pv     # output does not show any error other than "==> ERROR: module not found: 'crc32c_generic'  "

> sudo lsinitcpio /boot/initramfs-linux.img | grep crc32
usr/lib/modules/6.17.1-arch1-1/kernel/crypto/crc32-cryptoapi.ko.zst
usr/bin/crc32

I thought the crc32c_generic module was part of the mainline kernel and I did not see any announcement about it on the Arch home page.
I am obviously missing something........ x-(

**EDIT**:

> sudo tune2fs -l /dev/nvme0n1p8 | grep features
Filesystem features:      has_journal ext_attr resize_inode dir_index filetype needs_recovery extent 64bit flex_bg sparse_super large_file huge_file dir_nlink extra_isize metadata_csum
+[11/619]3.13.7 ~ \> zcat /proc/config.gz | grep CONFIG_CRYPTO_CRC32C
CONFIG_CRYPTO_CRC32C=y

so that host's system is not crazy, it does need crc32c to do its metadata checksum. But if crc32c  is ineed included in the kernel (therefore not needed as a kernel module) why on earth does it complain loudly about some missing crc32c ?
Am I doing something wrong here or is it on kernel 6.17.1-arch1-1 ?

Last edited by Cbhihe (2025-10-13 06:22:24)


I like strawberries, therefore I'm not a bot.

Offline

#2 2025-10-12 21:46:25

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 24,802

Re: [SOLVED] ERROR: module not found: 'crc32c_generic' (6.17-arch1-1)

Works fine here (doesn't pop up a warning), check/post your mkinitcpio.conf do you explicitly include it there for some reason?

Offline

#3 2025-10-12 22:02:16

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 69,074

Re: [SOLVED] ERROR: module not found: 'crc32c_generic' (6.17-arch1-1)

modinfo crc32c_generic

It's built-in, just remove it from the MODULES array in your mkinitcpio.conf?

Offline

#4 2025-10-13 06:21:30

Cbhihe
Member
Registered: 2017-04-09
Posts: 242

Re: [SOLVED] ERROR: module not found: 'crc32c_generic' (6.17-arch1-1)

Yes, It was on ME not on kernel 6.17-arch1-1 (would have been surprising).
I cleaned up mkinitcpio.conf ('crc32c_generic' was included in a long MODULE= line and somehow I did not see it staring me in the face last night.)
Rebuilt initramfs. All is well.

Last edited by Cbhihe (2025-10-13 06:23:53)


I like strawberries, therefore I'm not a bot.

Offline

Board footer

Powered by FluxBB