Gentoo Archives: gentoo-user

From: Ian Zimmerman <itz@××××××××××××.org>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: AMD microcode updates - where are they?!
Date: Mon, 15 Jul 2019 21:18:30
Message-Id: 20190715211812.62rhlceuxghzmwku@matica.foolinux.mooo.com
In Reply to: [gentoo-user] Re: AMD microcode updates - where are they?! by Ian Zimmerman
1 UH-OH, Self-followup:
2
3 On 2019-07-14 21:30, Ian Zimmerman wrote:
4
5 > I find it odd that there is apparently no central way to track which
6 > firmwares are being loaded without a debugging kernel.
7 >
8 > The relevant messages in linux/drivers/base/firmware_loader/main.c are
9 > all dev_dbg(), which as I understand does nothing on a non-debug kernel.
10 > Even the message printed when the firmware file is missing is of that
11 > type.
12 >
13 > I guess I could turn on the userspace helper, set it to some script that
14 > just logs every request and fails, and then remove the whole
15 > /lib/firmware tree, but that is a _really_ round-about way.
16
17 Solved with a kernel patch:
18
19 --- a/drivers/base/firmware_loader/main.c 2019-07-13 23:01:15.000000000 -0700
20 +++ b/drivers/base/firmware_loader/main.c 2019-07-14 23:33:22.348028910 -0700
21 @@ -336,7 +336,7 @@
22 path);
23 continue;
24 }
25 - dev_dbg(device, "direct-loading %s\n", fw_priv->fw_name);
26 + pr_notice("direct-loading firmware %s\n", fw_priv->fw_name);
27 fw_priv->size = size;
28 fw_state_done(fw_priv);
29 break;
30
31
32 --
33 Please don't Cc: me privately on mailing lists and Usenet,
34 if you also post the followup to the list or newsgroup.
35 To reply privately _only_ on Usenet and on broken lists
36 which rewrite From, fetch the TXT record for no-use.mooo.com.

Replies

Subject Author
Re: [gentoo-user] Re: AMD microcode updates - where are they?! Mick <michaelkintzios@×××××.com>