Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 732852 - sys-kernel/gentoo-sources: always print loaded firmware name patch
Summary: sys-kernel/gentoo-sources: always print loaded firmware name patch
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
Depends on:
Reported: 2020-07-16 07:20 UTC by Georgy Yakovlev
Modified: 2020-08-11 16:25 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---

0001-always-print-firmware-file-name.patch (0001-always-print-firmware-file-name.patch,850 bytes, patch)
2020-07-16 07:20 UTC, Georgy Yakovlev
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Georgy Yakovlev gentoo-dev 2020-07-16 07:20:49 UTC
Created attachment 649432 [details, diff]

Very simple patch I've been running for more than a year. Does not require a rebase, and helps a lot with figuring out which exactly FW file is needed.

By default linux does not print the filename. With this patch it does.

here's an example dmesg

[    2.739040] Loading firmware: amdgpu/polaris10_mc.bin
[    2.740303] Loading firmware: amdgpu/polaris10_pfp_2.bin
[    2.740306] Loading firmware: amdgpu/polaris10_me_2.bin
[    2.740308] Loading firmware: amdgpu/polaris10_ce_2.bin
[    2.740311] Loading firmware: amdgpu/polaris10_rlc.bin
[    2.740321] Loading firmware: amdgpu/polaris10_mec_2.bin
[    2.740323] Loading firmware: amdgpu/polaris10_mec2_2.bin
[    2.742261] Loading firmware: amdgpu/polaris10_sdma.bin
[    2.742264] Loading firmware: amdgpu/polaris10_sdma1.bin
[    2.742400] Loading firmware: amdgpu/polaris10_uvd.bin
[    2.745343] Loading firmware: amdgpu/polaris10_vce.bin
[   15.720945] Loading firmware: cxgb4/t5fw.bin
[   16.421347] Loading firmware: cxgb4/t5-config.txt

very easy to see what kernel tries to load.
Comment 1 Thomas Deutschmann gentoo-dev Security 2020-08-11 16:25:51 UTC
See also: