[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#52498: [PATCH] linux-modules: Ignore EINVAL in ‘modprobe’ mode.
From: |
Leo Famulari |
Subject: |
bug#52498: [PATCH] linux-modules: Ignore EINVAL in ‘modprobe’ mode. |
Date: |
Thu, 16 Dec 2021 12:59:01 -0500 |
On Wed, Dec 15, 2021 at 01:47:04AM +0100, Tobias Geerinckx-Rice via
Guix-patches via wrote:
> Loading the framebuffer-coreboot module simply fails with EINVAL on a
> non-Corebooted system. Crashing the system with a kernel panic is not
> a reasonable reaction to loading valid modules on unsupported hardware.
> The kernel should log an error, which the user is expected to see.
>
> Bogus module names will still be fatally reported by linux-modules.drv.
>
> * gnu/build/linux-modules.scm (load-linux-module*):
> Ignore EINVAL errors when operating recursively.
Thanks, pushed as 13f13554433c9dd47503131107dfbdd8a8031832