summary refs log tree commit diff
path: root/pkgs/development/compilers
diff options
context:
space:
mode:
authoraszlig <aszlig@nix.build>2018-04-12 15:38:16 +0200
committeraszlig <aszlig@nix.build>2018-04-12 15:43:53 +0200
commitde581b99cabc8af056aa718fd1585fdced58b757 (patch)
tree89cd7779c014aec7ff3524fa9f0029f6201cd4ce /pkgs/development/compilers
parent2112768fe697c459b2e34d5b8ba1d61a5fbed975 (diff)
downloadnixlib-de581b99cabc8af056aa718fd1585fdced58b757.tar
nixlib-de581b99cabc8af056aa718fd1585fdced58b757.tar.gz
nixlib-de581b99cabc8af056aa718fd1585fdced58b757.tar.bz2
nixlib-de581b99cabc8af056aa718fd1585fdced58b757.tar.lz
nixlib-de581b99cabc8af056aa718fd1585fdced58b757.tar.xz
nixlib-de581b99cabc8af056aa718fd1585fdced58b757.tar.zst
nixlib-de581b99cabc8af056aa718fd1585fdced58b757.zip
kernel: Fix running kernels *with* modules
Pull request #38470 added support for running/building kernels without
modules. This got merged in 38e04bbf29fe3b6af26b3505a42ce5871aeac17d but
unfortunately while this works perfectly on kernels without modules it
also makes sure that *every* kernel gets no modules.

So all of our VM tests fail since that merge with something like this:

machine# loading module loop...
machine# modprobe: FATAL: Module loop not found in directory /lib/modules/4.14.33
machine# loading module vfat...
machine# modprobe: FATAL: Module vfat not found in directory /lib/modules/4.14.33
machine# loading module nls_cp437...
machine# modprobe: FATAL: Module nls_cp437 not found in directory /lib/modules/4.14.33
machine# loading module nls_iso8859-1...
machine# modprobe: FATAL: Module nls_iso8859-1 not found in directory /lib/modules/4.14.33
machine# loading module fuse...
machine# modprobe: FATAL: Module fuse not found in directory /lib/modules/4.14.33
machine# loading module dm_mod...
machine# modprobe: FATAL: Module dm_mod not found in directory /lib/modules/4.14.33

I shortly tested this against the "misc" VM test and the test is working
again.

In the long term (and I currently don't have time for this) it would be
better to also have a VM test which tests a kernel without modules.

Signed-off-by: aszlig <aszlig@nix.build>
Cc: @roberth, @7c6f434c
Diffstat (limited to 'pkgs/development/compilers')
0 files changed, 0 insertions, 0 deletions