From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joshua Branson via Bug reports for GNU Guix Subject: bug#39671: Something appears to disable linux kernel modules from loading. Date: Thu, 20 Feb 2020 10:55:56 -0500 Message-ID: <86v9o18d83.fsf@dismail.de> References: <86a75fqyn5.fsf@dismail.de> <87zhdel0wb.fsf@gnu.org> Reply-To: Joshua Branson Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:52465) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j4oCG-0005qi-85 for bug-guix@gnu.org; Thu, 20 Feb 2020 10:57:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j4oCE-0007Mo-VG for bug-guix@gnu.org; Thu, 20 Feb 2020 10:57:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:39690) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j4oCE-0007Mf-Ca for bug-guix@gnu.org; Thu, 20 Feb 2020 10:57:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j4oCE-00085y-Bb for bug-guix@gnu.org; Thu, 20 Feb 2020 10:57:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87zhdel0wb.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Wed, 19 Feb 2020 22:31:32 +0100") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane-mx.org@gnu.org Sender: "bug-Guix" To: 39671@debbugs.gnu.org So I just ran guix pull & reconfigure. joshua@dobby /run/booted-system/kernel/lib/modules$ guix describe Generation 36 Feb 20 2020 10:11:40 (current) jmacs 65b1737 repository URL: https://notabug.org/jbranso/guix-packages.git branch: master commit: 65b17377136095935ef6da3a836142d56fecce2b guix bf8dfe3 repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: bf8dfe3df025e4ac80cccb87497b4f072ba10e2a So I feel like Jack beat me to it, but the contents of /proc/sys/kernel/modprobe are: #+BEGIN_SRC sh $ cat /proc/sys/kernel/modprobe /gnu/store/daq5zs7ni529zh3xxgyhidna52wa17js-modprobe #+END_SRC #+BEGIN_SRC sh cat /gnu/store/daq5zs7ni529zh3xxgyhidna52wa17js-modprobe #!/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)))))~ $ #+END_SRC Then I was just poking around. #+BEGIN_SRC sh ~ $ cat /run/booted-system/kernel/lib/modules Read error: Is a directory, /run/booted-system/kernel/lib/modules ~ $ cd /run/booted-system/kernel/lib/modules /run/booted-system/kernel/lib/modules $ ls 5.4.21-gnu /run/booted-system/kernel/lib/modules $ cd 5.4.21-gnu/ /run/booted-system/kernel/lib/modules/5.4.21-gnu $ ls build modules.alias modules.builtin modules.builtin.modinfo modules.dep.bin modules.order modules.symbols source kernel modules.alias.bin modules.builtin.bin modules.dep modules.devname modules.softdep modules.symbols.bin /run/booted-system/kernel/lib/modules/5.4.21-gnu $ cat modules.order kernel/arch/x86/events/amd/power.ko kernel/arch/x86/kernel/msr.ko kernel/arch/x86/kernel/cpuid.ko kernel/arch/x86/crypto/glue_helper.ko kernel/arch/x86/crypto/des3_ede-x86_64.ko kernel/arch/x86/crypto/camellia-x86_64.ko kernel/arch/x86/crypto/blowfish-x86_64.ko kernel/arch/x86/crypto/twofish-x86_64.ko kernel/arch/x86/crypto/twofish-x86_64-3way.ko ... tons more modules... kernel/drivers/gpu/drm/i915/i915.ko kernel/drivers/net/ethernet/intel/e1000e/e1000e.ko #+END_SRC You'll notice that my i915 graphics and e1000e (ethernet) driver is listed in that directory. On my working system, these were the modules that lspci -v showed I was using: #+BEGIN_SRC sh :results output :exports both lspci -v | grep "Kernel driver in" #+END_SRC #+RESULTS: #+begin_example Kernel driver in use: i915 Kernel driver in use: e1000e Kernel driver in use: uhci_hcd Kernel driver in use: uhci_hcd Kernel driver in use: uhci_hcd Kernel driver in use: ehci-pci Kernel driver in use: snd_hda_intel Kernel driver in use: pcieport Kernel driver in use: pcieport Kernel driver in use: pcieport Kernel driver in use: pcieport Kernel driver in use: pcieport Kernel driver in use: uhci_hcd Kernel driver in use: uhci_hcd Kernel driver in use: uhci_hcd Kernel driver in use: ehci-pci Kernel driver in use: lpc_ich Kernel driver in use: ata_piix Kernel driver in use: i801_smbus Kernel driver in use: yenta_cardbus Kernel driver in use: firewire_ohci #+end_example On the broken system, I am able to load my i915 and e1000e driver, but I am not able to load yenta_cardbus. #+BEGIN_SRC sh $ sudo modprobe yenta_cardbus modprobe: FATAL: Module yenta_cardbus not found in directory /run/booted-system/kernel/lib/modules/5.4.21-gnu #+END_SRC Sorry if I'm being repetitive. I am just wanting to help. :) -- Joshua Branson Sent from Emacs and Gnus