GNU bug report logs - #30604
[PATCH 0/4] Load Linux module only when supported hardware is present.

Previous Next

Package: guix-patches;

Reported by: Danny Milosavljevic <dannym <at> scratchpost.org>

Date: Sun, 25 Feb 2018 11:47:02 UTC

Severity: important

Tags: patch

Full log


Message #382 received at 30604 <at> debbugs.gnu.org (full text, mbox):

From: Danny Milosavljevic <dannym <at> scratchpost.org>
To: ludo <at> gnu.org (Ludovic Courtès)
Cc: 30604 <at> debbugs.gnu.org
Subject: Re: [bug#30604] [PATCH v11 5/6] linux-initrd: Provide our own
 'modprobe' program.
Date: Tue, 13 Mar 2018 13:28:02 +0100
[Message part 1 (text/plain, inline)]
> I’m using this on the bare metal.  \o/

Hehe nice!

> -          (let ((modules (matching-modules alias %known-aliases)))
> +          ;; Look up ALIAS in %KNOWN-ALIASES first, and then, if it fails,
> +          ;; assume that ALIAS is a module name (some modules such as
> +          ;; 'dm-crypt' don't have an alias.)  Note that
> +          ;; 'kmod_module_new_from_lookup' uses a different search order.

I also wondered about the resolution order :)

At least module dependencies can't be aliases.

> +          (let ((modules (match (matching-modules alias %known-aliases)
> +                           (()  (list alias))
> +                           (lst lst))))

Yeah, same happened to me.  Did the same (back then in "resolve-alias").

So should be fine.

> Something annoying is that my external USB keyboard doesn’t work while
> in the initrd (when I type my passphrase).

Did it work before?  I remember that Andreas had a similar problem before all this.

Did you implement globs with [0-9] yet?  I remember there were some USB devices
using those :)

What's the modalias of your usb keyboard?

Does your initrd's modules.alias contain any patterns that are supposed to match?

(You can look into those via 
  cat initrd | gunzip -cd |cpio -i

- it will unpack)
[Message part 2 (application/pgp-signature, inline)]

This bug report was last modified 5 years and 305 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.