Devuan bug report logs - #812
Firmware is not found by kernel anymore as it is moved to /usr

Package: devuan-project; Maintainer for devuan-project is Devuan Developers <devuan-dev@lists.dyne.org>;

Affects: sed, kmod, firmware-realtek, netcat-traditional, linux-headers-6.6.8-amd64, initramfs-tools-core

Reported by: Klaus Ethgen <Klaus@ethgen.de>

Date: Mon, 4 Dec 2023 09:00:01 UTC

Severity: grave

Merged with 813, 821, 823, 826, 827, 828

Done: Mark Hindley <mark@hindley.org.uk>

Full log


Message #31 received at 812@bugs.devuan.org (full text, mbox, reply):

Received: (at 812) by bugs.devuan.org; 6 Dec 2023 16:55:50 +0000
Return-Path: <svante.signell@gmail.com>
Delivered-To: bugs@devuan.org
Received: from email.devuan.org [2a01:4f8:a0:3284::74ca:8ad2]
	by doc.devuan.org with IMAP (fetchmail-6.4.16)
	for <debbugs@localhost> (single-drop); Wed, 06 Dec 2023 16:55:50 +0000 (UTC)
Received: from email.devuan.org
	by email.devuan.org with LMTP
	id yqIDK3incGVBfQAAmSBk0A
	(envelope-from <svante.signell@gmail.com>)
	for <bugs@devuan.org>; Wed, 06 Dec 2023 16:55:20 +0000
Received: by email.devuan.org (Postfix, from userid 109)
	id A52B0647; Wed,  6 Dec 2023 16:55:20 +0000 (UTC)
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on email.devuan.org
X-Spam-Level: 
X-Spam-Status: No, score=-5.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_HI,SPF_PASS autolearn=ham
	autolearn_force=no version=3.4.6
Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2a00:1450:4864:20::136; helo=mail-lf1-x136.google.com; envelope-from=svante.signell@gmail.com; receiver=<UNKNOWN> 
Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136])
	by email.devuan.org (Postfix) with ESMTPS id A4E1959
	for <812@bugs.devuan.org>; Wed,  6 Dec 2023 16:55:19 +0000 (UTC)
Received: by mail-lf1-x136.google.com with SMTP id 2adb3069b0e04-50c02628291so2759761e87.0
        for <812@bugs.devuan.org>; Wed, 06 Dec 2023 08:55:19 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20230601; t=1701881719; x=1702486519; darn=bugs.devuan.org;
        h=mime-version:user-agent:content-transfer-encoding:organization
         :references:in-reply-to:date:to:reply-to:from:subject:message-id
         :from:to:cc:subject:date:message-id:reply-to;
        bh=yzqzKlIWp9HFphHVWLFKmROUByNpofgEduVQFaxx6Pg=;
        b=cXIKF4GTFcfSZHvf9s0mryFYpsz3Cl+XIw2SVgxIFPaz9kfxDekCaH0PjBy0z02n6W
         moqG9yNxmfwx2oi6r7rW/guCHaSW6Q27HciXz+iO6x/QyComSpjFelZiT04qvEW8jRzc
         ZVYOM857PmL0YDjPRdKesQ4tQLdOS8ydKsJ2UVforxluuh3sfRP2+y5T1QomuVjWiSoN
         Kj68a7hOEWB97I0DMMP0lxwtD7ACnLdn85aQ+LJbDxkDDGFSIORADcGO59CKXp80MMYi
         T9I9OhczzP2SWtYCJQCQq2uiToPhrus7wZvjC6J9Sf1vd0/06QAS8ZIVesMDAGjHr1JQ
         b6pA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20230601; t=1701881719; x=1702486519;
        h=mime-version:user-agent:content-transfer-encoding:organization
         :references:in-reply-to:date:to:reply-to:from:subject:message-id
         :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
        bh=yzqzKlIWp9HFphHVWLFKmROUByNpofgEduVQFaxx6Pg=;
        b=HTtzSTJ6ZHac0XDi9S3NrycVXsEhmHmd4UYH+sg+Fqihm9dSGvvY5sVOEbVpnAdGQJ
         uw6+/zH6nGUMmVuaLrZGiYGnQ+q5ZuJEU/5LYLM1BIS9tM206t6xL+O5plkS3xmAfSwf
         ygZc/8p3Htvq/eOBRuxOfLGJhhmckAqWfhuMChMSaEZL3AUUGXMlWkm8TV2apgUCifix
         R5qOg/58ui377MZrgDISqBlue+aPtj+C70GnCTJBEZbqa993yTcIZGl4P2KkukWiFuZP
         S9xitEXg4M2dw+BOJWtRMlwWaUWAoxgO3iIYgTUV2WvI3Iqs7qPKgNiOr3kdrprk5Fvb
         35Ag==
X-Gm-Message-State: AOJu0Yz0s6FlvtOJMr7fi+i8A6f1608nfQPxreKO9rkfvzc3rl5Ewxe4
	k1pfJ184QI7CGx1l0kj4Bek=
X-Google-Smtp-Source: AGHT+IHoIjWpJWxSUusubfmdu/3VSJ+JRtoZGP+hcyX5cxlMrdL4Wx0KeFul5PH85dSU+J6pIpNcRA==
X-Received: by 2002:ac2:5e34:0:b0:50c:1bd:198d with SMTP id o20-20020ac25e34000000b0050c01bd198dmr638664lfg.80.1701881718499;
        Wed, 06 Dec 2023 08:55:18 -0800 (PST)
Received: from G3620.lan (178-78-231-178.customers.ownit.se. [178.78.231.178])
        by smtp.gmail.com with ESMTPSA id m12-20020ac24acc000000b0050bc6ab211dsm1909021lfp.208.2023.12.06.08.55.17
        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
        Wed, 06 Dec 2023 08:55:17 -0800 (PST)
Message-ID: <98a129196291fdc8fc65330d1e27474dbbdd427a.camel@gmail.com>
Subject: Re: [devuan-dev] bug#812: Firmware is not found by kernel anymore
 as it is moved to /usr
From: Svante Signell <svante.signell@gmail.com>
Reply-To: svante.signell@gmail.com
To: Mark Hindley <mark@hindley.org.uk>, 812@bugs.devuan.org, devuan
	developers internal list
	 <devuan-dev@lists.dyne.org>, Klaus Ethgen <Klaus@ethgen.de>
Date: Wed, 06 Dec 2023 17:55:30 +0100
In-Reply-To: <ZW8e5SgOBeRnxO7R@hindley.org.uk>
References: <ZW2UbXhvWK9wRCRH@ikki.ethgen.ch>
	 <ZW2UbXhvWK9wRCRH@ikki.ethgen.ch> <ZW8e5SgOBeRnxO7R@hindley.org.uk>
Organization: Home
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
User-Agent: Evolution 3.46.4-2 
MIME-Version: 1.0
On Tue, 2023-12-05 at 13:00 +0000, Mark Hindley wrote:
> Control: reassign -1 devuan-project
> Control: forcemerge 810 -1
> Control: affects -1 firmware-realtek
> 
> Klaus,
> 
> On Mon, Dec 04, 2023 at 09:57:17AM +0100, Klaus Ethgen wrote:
> > Package: firmware-realtek
> > Version: 20230625-1
> > Severity: critical
> > 
> > After update from 20230515-3, the kernel is no longer able to find the
> > firmware as debian moved it to /usr.
> 
> As you have identified, this is a result of Debian's implementation of merged
> /usr.
> 
> Reassigning and merging.

Hi Mark and Klaus,

Seems like the simple solution to firmware files moved from /lib to /usr/lib is
to modify the eudev (udev) rule to search both in /lib and /usr/lib. I have not
yet found out which program/rule does the actual installation of these firmware
files. Maybe you know?

Examples:
apt-file show firmware-realtek
firmware-realtek: /usr/lib/firmware/...

apt-file show firmware-linux-free
firmware-linux-free: /lib/firmware/...

apt-file show firmware-atheros
firmware-atheros: /usr/lib/firmware/...

apt-file show firmware-amd-graphics
firmware-amd-graphics: /usr/lib/firmware/...


Send a report that this bug log contains spam.


Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Mon Nov 25 04:34:44 2024;