Skip to content

linuxKernel.packages.linux_rpi{3, 02w}: Module AHCI not found in folder #391617

@Lite5h4dow

Description

@Lite5h4dow

Nixpkgs version

  • Unstable (25.05)

Describe the bug

while attempting to build the image for a rpi02w i get the following error when building with Linux kernel modules set to linuxPackages_rpi02w or linuxPackages_rpi3

Steps to reproduce

build SDImage for aarch64-linux with rpi3 or rpi02w kernel enabled.

Expected behaviour

build success

Screenshots

No response

Relevant log output

error: builder for '/nix/store/fipcc05q3ah4mlih8b4b7jmi7k9ylllq-linux-rpi-6.6.51-stable_20241008-modules-shrunk.drv' failed with exit code 1;
       last 7 log lines:
       > kernel version is 6.6.51
       > root module: ext2
       >   copying dependency: /nix/store/9n6qpj65yyxdir8y3w2ind4jdkqrp3s8-linux-rpi-6.6.51-stable_20241008-modules/lib/modules/6.6.51/kernel/fs/ext2/ext2.ko.xz
       > root module: ext4
       >   builtin dependency: ext4
       > root module: ahci
       > modprobe: FATAL: Module ahci not found in directory /nix/store/9n6qpj65yyxdir8y3w2ind4jdkqrp3s8-linux-rpi-6.6.51-stable_20241008-modules/lib/modules/6.6.51
       For full logs, run 'nix log /nix/store/fipcc05q3ah4mlih8b4b7jmi7k9ylllq-linux-rpi-6.6.51-stable_20241008-modules-shrunk.drv'.
error: 1 dependencies of derivation '/nix/store/f34v5ncc9pikb9jz9cm7619z29xsy2a6-initrd-linux-rpi-6.6.51-stable_20241008.drv' failed to build
error: 1 dependencies of derivation '/nix/store/0hcznr73md8g9vzc4h3axj1cqb33k9ga-nixos-system-nixos-sd-card-25.05.20250315.c80f6a7.drv' failed to build
error: 1 dependencies of derivation '/nix/store/320vs2hnjh5paqq08lirhppln90fmjcl-ext4-fs.img.zst.drv' failed to build
error: 1 dependencies of derivation '/nix/store/8by2qsk1fpc4g8s5vb3vzvd31f564jza-nixos-image-sd-card-25.05.20250315.c80f6a7-aarch64-linux.img.zst.drv' failed to build

Additional context

steps to replicate:
git clone https://git.litelot.us/litelotus/.nixos/
commit hash: b015e182b60ab9fd25042c32453e6a1caa857e51

nix build ./#images.rpi02w or nix build ./#images.rpi3

System metadata

  • system: "x86_64-linux"
  • host os: Linux 6.13.5, NixOS, 25.05 (Warbler), 25.05.20250315.c80f6a7
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Lix, like Nix) 2.91.1 System type: x86_64-linux Additional system types: aarch64-linux, i686-linux, riscv64-linux Features: gc, signed-caches System configuration file: /etc/nix/nix.conf User configuration files: /home/lotus/.config/nix/nix.conf:/nix/store/2i64l5k8v6y7xkill809bisrsjrw6z0r-stylix-kde-config/nix/nix.conf:/etc/xdg/nix/nix.conf:/home/lotus/.nix-profile/etc/xdg/nix/nix.conf:/nix/profile/etc/xdg/nix/nix.conf:/home/lotus/.local/state/nix/profile/etc/xdg/nix/nix.conf:/etc/profiles/per-user/lotus/etc/xdg/nix/nix.conf:/nix/var/nix/profiles/default/etc/xdg/nix/nix.conf:/run/current-system/sw/etc/xdg/nix/nix.conf Store directory: /nix/store State directory: /nix/var/nix Data directory: /nix/store/riqr33jgc60nsk8w2d0blq17y8skp0yn-lix-2.91.1/share
  • nixpkgs: /nix/store/b19xi89pgm1arig3l9xqn1h81zjd1j91-source

Notify maintainers

@TredwellGit
@K900
@Ma27
@NeQuissimus
@alyssais
@thoughtpolice


Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)

I assert that this issue is relevant for Nixpkgs

Is this issue important to you?

Add a 👍 reaction to issues you find important.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions