!DBFhtjpqmJNENpLDOv:nixos.org

NixOS systemd

607 Members
NixOS ❤️ systemd172 Servers

Load older messages


SenderMessageTime
23 Jan 2025
@matthewcroughan:defenestrate.itmatthewcroughan > modprobe: FATAL: Module ahci not found in directory /nix/store/9hkr7vxlp2a59w3r3khn695hc85azg9m-linux-6.12.4-asahi-modules/lib/modules/6.12.4-asahi 02:11:26
@matthewcroughan:defenestrate.itmatthewcroughan;_;02:11:28
@matthewcroughan:defenestrate.itmatthewcroughanfix one, break another 02:11:34
@elvishjerricco:matrix.orgElvishJerriccothere's some easy way to ignore missing modules02:11:49
@matthewcroughan:defenestrate.itmatthewcroughan calling it ignoreMissingKernelModules would have made things too easy 02:12:22
@matthewcroughan:defenestrate.itmatthewcroughan have to call it allowImperativeAuxiliaryModules instead 02:12:31
@elvishjerricco:matrix.orgElvishJerriccoit's not some convenient option. You have to do some silly overlay02:14:20
@elvishjerricco:matrix.orgElvishJerricco
nixpkgs.overlays = [(self: super: {
  makeModulesClosure = x: super.makeModulesClosure (x // { allowMissing = true; });
})];
02:14:48
@elvishjerricco:matrix.orgElvishJerriccoshould probably just have a nixos option to allow missing in the stage 1 module02:15:00
@matthewcroughan:defenestrate.itmatthewcroughancould be made into an option 02:15:00
@matthewcroughan:defenestrate.itmatthewcroughan └─sdb2 squashfs 4.0 02:15:33
@matthewcroughan:defenestrate.itmatthewcroughan lsblk -f reports this on my laptop 02:15:36
@matthewcroughan:defenestrate.itmatthewcroughanI guess the label went missing 02:15:40
@matthewcroughan:defenestrate.itmatthewcroughanthat's why it's waiting forever02:15:43
@matthewcroughan:defenestrate.itmatthewcroughan
        "store" = {
          storePaths = [ config.system.build.toplevel ];
          stripNixStorePrefix = true;
          repartConfig = {
            Type = "linux-generic";
            Label = "nix-store";
            Format = "squashfs";
            Minimize = "guess";
          };

02:15:54
@matthewcroughan:defenestrate.itmatthewcroughanthough the repartConfig is indeed there 02:16:00
@matthewcroughan:defenestrate.itmatthewcroughan does squashfs/btrfs not support Label in repartConfig? 02:16:08
@matthewcroughan:defenestrate.itmatthewcroughanAh nvm, on my laptop I can see the /dev/disk/by-partlabel (not by-label)02:16:58
@matthewcroughan:defenestrate.itmatthewcroughan cd-dvd/iso-image.nix hasboot.initrd.availableKernelModules = [ "squashfs" "iso9660" "uas" "overlay" ] 02:18:23
@matthewcroughan:defenestrate.itmatthewcroughan * cd-dvd/iso-image.nix has boot.initrd.availableKernelModules = [ "squashfs" "iso9660" "uas" "overlay" ] 02:18:29
@matthewcroughan:defenestrate.itmatthewcroughanMust be one of those I'm missing 02:18:33
@matthewcroughan:defenestrate.itmatthewcroughan if this works, then nixos/modules/tasks/filesystems/squashfs.nix should be fixed to include those 02:19:29
@matthewcroughan:defenestrate.itmatthewcroughan * if this works, then nixos/modules/tasks/filesystems/squashfs.nix should be fixed to include those when present in the boot.initrd.supportedFilesystesm 02:19:41
@matthewcroughan:defenestrate.itmatthewcroughan * if this works, then nixos/modules/tasks/filesystems/squashfs.nix should be fixed to include those when present in the boot.initrd.supportedFilesystems 02:19:43
@elvishjerricco:matrix.orgElvishJerricco matthewcroughan: I know what it is 02:20:38
@elvishjerricco:matrix.orgElvishJerriccowait02:20:41
@elvishjerricco:matrix.orgElvishJerriccono02:20:42
@elvishjerricco:matrix.orgElvishJerriccono I don't02:20:44
@elvishjerricco:matrix.orgElvishJerricco I was going to say you need the loop module, but then your issue would be the mount itself failing, not waiting indefinitely on the device to appear 02:21:03
@elvishjerricco:matrix.orgElvishJerriccoAnyway waiting on the device itself shouldn't depend on any FS driver; that's just straight up block device stuff02:21:25

Show newer messages


Back to Room ListRoom Version: 6