El 2025-05-17 11:50, Roman Scherer escribió:
Hello Guix, in my Asahi Guix channel I'm building a Guix system for the Asahi Linux Installer. This system uses BTRFS because that's what Asahi Linux uses and I read somewhere that BTRFS images compress better. A user of my channel reported that after doing a guix pull the system does not start anymore. After installing my usual test system on my machine I also see the issue. The logs show this: ``` GC Warning: pthread getattr_np or pthread_attr_getstack failed for main thread GC Warning: Could not open /proc/stat Welcome, this is GNU's early boot Guile. Use 'gnu.repl'. for an initrd REPL. loading kernel modules.. [ 0.798205] macsmc-rtkit 23e400000.smc: Failed to create device link (0x180) with supplier 23d0d9300.spmi:pmu@f:rtc_nvmem@d000 for /soc/smc@23e400000/rtc [ 0.798558] macsmc-rtkit 23e400000.smc: Failed to create device link (0x180) with supplier 23d0d9300.spmi:pmu@f:rtc_nvmem@d000 for /soc/smc@23e400000/feboot [ 0.7989501 macsme-rtkit 23e400000.smc: Failed to create device link (0x180) with supplier 23d0d9300.spmi:pmu@f:legacy_nvmem@9f00 for /soc/snc@23e400000/reboot Scanning for Btrfs filesystems registered: /dev/nvme0n1p5 [ 1.152327] BTRFS error (device nvme0n1p5): error allocating crc32c hash for checksum
As I can see, there is no CONFIG_CRYPTO_CRC32C is in the kernel configuration used by asahi-guix[0], which is what is needed by btrfs for crc32c checksum support. So please build kernel with that option (preferrable), or build it as kernel module, and load/include in initrd, and hopefully you'll be able to mount it. References: [0] https://codeberg.org/asahi-guix/channel/src/branch/main/modules/asahi/guix/packages/defconfig HTH -- Ashish SHUKLA | GPG: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0 "If I destroy you, what business is it of yours ?" (Dark Forest, Liu Cixin)
signature.asc
Description: PGP signature
