[Nix-dev] nixos-rebuild build-vm broken boot (because of CIFS)?

Bjørn Forsman bjorn.forsman at gmail.com
Thu Feb 21 14:47:41 CET 2013


On 21 February 2013 14:24, Bjørn Forsman <bjorn.forsman at gmail.com> wrote:
> Hi,
>
> I tried to run a "nixos-rebuild build-vm" machine today and discovered
> that it failed to boot because of CIFS errors when mounting the nix
> store:
>
>   CIFS VFS: could not allocate crypto hmacsha256
>   CIFS VFS: could not setup hash structures rc -2
>   CIFS VFS: cifs_mount failed w/return code = -2
>   [...]
>   mount: mounting //10.0.2.4/store on /mnt-root/nix/store failed:
> Invalid argument

Oops, I just realized that I had boot.kernelPackages =
pkgs.linuxPackages_3_7 in configuration.nix. I commented that out and
I got a 3.2.28 kernel that does not have CIFS problems. It does have
this error though:

  waiting for device /dev/disk/by-label/nixos to appear...... (many seconds!)
  mouting /dev/disk/by-label/nixos on /...
  mount: mouting /dev/disk/by-label/nixos on /mnt-root/ failed: No
such file or directory
  An error occured in stage 1 of the boot process, which must mount
the root filesystem on '/mnt-root' and then start stage 2. Press one
of the following keys [...]

I can select 'ignore and continue' to continue, but there's clearly
something wrong here.

Best regards,
Bjørn Forsman


More information about the nix-dev mailing list