Subject: Re: bug#39671: Something appears to disable linux kernel modules from loading.

From: Ludovic Courtès <[email-masked]>
Date: Wed, 19 Feb 2020 23:11:57 +0100

Jack Hill <[email-masked]> skribis:

> On Wed, 19 Feb 2020, Ludovic Courtès wrote:
>
>> What does “cat /proc/sys/kernel/modprobe” return on the broken system?
>
> /gnu/store/daq5zs7ni529zh3xxgyhidna52wa17js-modprobe
>
> The contents of that file are:
>
> """
> #!/gnu/store/1mkkv2caiqbdbbd256c4dirfi4kwsacv-guile-2.2.6/bin/guile --no-auto-compile
> !#
> (begin (setenv "LINUX_MODULE_DIRECTORY" "/run/booted-system/kernel/lib/modules")
>        (apply execl "/run/current-system/profile/bin/modprobe"
>                     (cons "/run/current-system/profile/bin/modprobe" (cdr (command-line)))))
> """

The kernel’s lazy module loading mechanism invokes this program, which
should just work.

Does /run/current-system/profile/bin/modprobe exist?

Any hints in “dmesg” or /var/log/messages?

Thanks,
Ludo’.