With sys-kernel/gentoo-sources-5.4.14 iwlwifi-3168-29.ucode from sys-kernel/linux-firmware-20200122 loads correctly and wifi card works fine. With sys-kernel/gentoo-sources-5.5.0 fails
Error in dmesg: [ 3.268178] iwlwifi 0000:02:00.0: Can't parse phy_sku in B0, empty sections [ 3.268209] iwlwifi 0000:02:00.0: Failed to read NVM: -61 [ 3.268228] iwlwifi 0000:02:00.0: Collecting data: trigger 16 fired. [ 3.269571] iwlwifi 0000:02:00.0: Start IWL Error Log Dump: [ 3.269593] iwlwifi 0000:02:00.0: Status: 0x00000040, count: 6 [ 3.269624] iwlwifi 0000:02:00.0: Loaded firmware version: 29.1654887522.0 [ 3.269656] iwlwifi 0000:02:00.0: 0x00000084 | NMI_INTERRUPT_UNKNOWN [ 3.269677] iwlwifi 0000:02:00.0: 0x000002F0 | trm_hw_status0 [ 3.269692] iwlwifi 0000:02:00.0: 0x00000000 | trm_hw_status1 [ 3.269708] iwlwifi 0000:02:00.0: 0x0004171E | branchlink2 [ 3.269723] iwlwifi 0000:02:00.0: 0x000446B2 | interruptlink1 [ 3.269739] iwlwifi 0000:02:00.0: 0x0000485E | interruptlink2 [ 3.269755] iwlwifi 0000:02:00.0: 0x00000000 | data1 [ 3.269768] iwlwifi 0000:02:00.0: 0x00000080 | data2 [ 3.269781] iwlwifi 0000:02:00.0: 0x07030000 | data3 [ 3.269795] iwlwifi 0000:02:00.0: 0x00000000 | beacon time [ 3.269810] iwlwifi 0000:02:00.0: 0x000012B8 | tsf low [ 3.269824] iwlwifi 0000:02:00.0: 0x00000000 | tsf hi [ 3.269838] iwlwifi 0000:02:00.0: 0x00000000 | time gp1 [ 3.269852] iwlwifi 0000:02:00.0: 0x000012B8 | time gp2 [ 3.269866] iwlwifi 0000:02:00.0: 0x00000009 | uCode revision type [ 3.269883] iwlwifi 0000:02:00.0: 0x0000001D | uCode version major [ 3.269900] iwlwifi 0000:02:00.0: 0x62A39462 | uCode version minor [ 3.269917] iwlwifi 0000:02:00.0: 0x00000220 | hw version [ 3.269932] iwlwifi 0000:02:00.0: 0x00C89200 | board version [ 3.269958] iwlwifi 0000:02:00.0: 0x00110188 | hcmd [ 3.269971] iwlwifi 0000:02:00.0: 0x00022000 | isr0 [ 3.269984] iwlwifi 0000:02:00.0: 0x00000000 | isr1 [ 3.269997] iwlwifi 0000:02:00.0: 0x00000002 | isr2 [ 3.270010] iwlwifi 0000:02:00.0: 0x004000C0 | isr3 [ 3.270023] iwlwifi 0000:02:00.0: 0x00000000 | isr4 [ 3.270037] iwlwifi 0000:02:00.0: 0x00110188 | last cmd Id [ 3.270051] iwlwifi 0000:02:00.0: 0x00000000 | wait_event [ 3.270076] iwlwifi 0000:02:00.0: 0x000000D4 | l2p_control [ 3.270091] iwlwifi 0000:02:00.0: 0x00000000 | l2p_duration [ 3.270106] iwlwifi 0000:02:00.0: 0x00000000 | l2p_mhvalid [ 3.270121] iwlwifi 0000:02:00.0: 0x00000000 | l2p_addr_match [ 3.270137] iwlwifi 0000:02:00.0: 0x00000007 | lmpm_pmg_sel [ 3.270152] iwlwifi 0000:02:00.0: 0x16070617 | timestamp [ 3.270166] iwlwifi 0000:02:00.0: 0x00341018 | flow_handler [ 3.270196] iwlwifi 0000:02:00.0: Fseq Registers: [ 3.270215] iwlwifi 0000:02:00.0: 0x00000000 | FSEQ_ERROR_CODE [ 3.270239] iwlwifi 0000:02:00.0: 0x00000000 | FSEQ_TOP_INIT_VERSION [ 3.270260] iwlwifi 0000:02:00.0: 0x00000000 | FSEQ_CNVIO_INIT_VERSION [ 3.270287] iwlwifi 0000:02:00.0: 0x00000000 | FSEQ_OTP_VERSION [ 3.270307] iwlwifi 0000:02:00.0: 0x00000000 | FSEQ_TOP_CONTENT_VERSION [ 3.270334] iwlwifi 0000:02:00.0: 0x00000000 | FSEQ_ALIVE_TOKEN [ 3.270358] iwlwifi 0000:02:00.0: 0x00000000 | FSEQ_CNVI_ID [ 3.270382] iwlwifi 0000:02:00.0: 0x00000000 | FSEQ_CNVR_ID [ 3.270406] iwlwifi 0000:02:00.0: 0x00000000 | CNVI_AUX_MISC_CHIP [ 3.270432] iwlwifi 0000:02:00.0: 0x00000000 | CNVR_AUX_MISC_CHIP [ 3.270459] iwlwifi 0000:02:00.0: 0x00000000 | CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM [ 3.270491] iwlwifi 0000:02:00.0: 0x00000000 | CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR [ 3.270523] iwlwifi 0000:02:00.0: Firmware not running - cannot dump error [ 3.282714] iwlwifi 0000:02:00.0: Failed to run INIT ucode: -61
cat /etc/portage/savedconfig/sys-kernel/linux-firmware i915/kbl_dmc_ver1_04.bin LICENCE.i915 intel-ucode/06-9e-09 iwlwifi-3168-29.ucode LICENCE.iwlwifi_firmware nvidia/gp108/gr/sw_nonctx.bin LICENCE.nvidia regulatory.db extract of kernel .config : CONFIG_FW_LOADER=y CONFIG_FW_LOADER_PAGED_BUF=y CONFIG_EXTRA_FIRMWARE="intel-ucode/06-9e-09 iwlwifi-3168-29.ucode i915/kbl_dmc_ver1_04.bin nvidia/gp108/gr/sw_nonctx.bin" CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware" CONFIG_FW_LOADER_USER_HELPER=y
Is this still reproducible if you allow all linux-firwmare to install (no savedconfig) and make iwlwifi modular so it has access to all /lib/firmware ? This is most likely just a consequence of you hardcoding versions/filenames that are known to change over time.
(In reply to Ben Kohler from comment #3) > Is this still reproducible if you allow all linux-firwmare to install (no > savedconfig) and make iwlwifi modular so it has access to all /lib/firmware ? > > This is most likely just a consequence of you hardcoding versions/filenames > that are known to change over time. Thank you for the suggestion Ben, With USE="-savedconfig" for linux-firmware And modular configuration for iwlwifi without hardcoding the blobs in kernel config, If I do: modprobe iwlwifi I get in dmesg: [ 542.057245] cfg80211: Loading compiled-in X.509 certificates for regulatory database [ 542.059748] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' [ 542.062368] Intel(R) Wireless WiFi driver for Linux [ 542.062369] Copyright(c) 2003- 2015 Intel Corporation [ 542.062449] iwlwifi 0000:02:00.0: enabling device (0000 -> 0002) [ 542.070214] iwlwifi 0000:02:00.0: loaded firmware version 29.1654887522.0 op_mode iwlmvm [ 542.079542] iwlwifi 0000:02:00.0: Detected Intel(R) Dual Band Wireless AC 3168, REV=0x220 [ 542.099006] iwlwifi 0000:02:00.0: Can't parse phy_sku in B0, empty sections [ 542.099010] iwlwifi 0000:02:00.0: Failed to read NVM: -61 [ 542.099014] iwlwifi 0000:02:00.0: Collecting data: trigger 16 fired. [ 542.100174] iwlwifi 0000:02:00.0: Start IWL Error Log Dump: [ 542.100176] iwlwifi 0000:02:00.0: Status: 0x00000040, count: 6 [ 542.100177] iwlwifi 0000:02:00.0: Loaded firmware version: 29.1654887522.0 [ 542.100178] iwlwifi 0000:02:00.0: 0x00000084 | NMI_INTERRUPT_UNKNOWN [ 542.100179] iwlwifi 0000:02:00.0: 0x000002F0 | trm_hw_status0 [ 542.100180] iwlwifi 0000:02:00.0: 0x00000000 | trm_hw_status1 [ 542.100180] iwlwifi 0000:02:00.0: 0x0004171E | branchlink2 [ 542.100181] iwlwifi 0000:02:00.0: 0x000446B2 | interruptlink1 [ 542.100182] iwlwifi 0000:02:00.0: 0x000446B2 | interruptlink2 [ 542.100182] iwlwifi 0000:02:00.0: 0x00000000 | data1 [ 542.100183] iwlwifi 0000:02:00.0: 0x00000080 | data2 [ 542.100184] iwlwifi 0000:02:00.0: 0x07030000 | data3 [ 542.100184] iwlwifi 0000:02:00.0: 0x00000000 | beacon time [ 542.100185] iwlwifi 0000:02:00.0: 0x00001790 | tsf low [ 542.100186] iwlwifi 0000:02:00.0: 0x00000000 | tsf hi [ 542.100186] iwlwifi 0000:02:00.0: 0x00000000 | time gp1 [ 542.100187] iwlwifi 0000:02:00.0: 0x00001790 | time gp2 [ 542.100188] iwlwifi 0000:02:00.0: 0x00000009 | uCode revision type [ 542.100188] iwlwifi 0000:02:00.0: 0x0000001D | uCode version major [ 542.100189] iwlwifi 0000:02:00.0: 0x62A39462 | uCode version minor [ 542.100190] iwlwifi 0000:02:00.0: 0x00000220 | hw version [ 542.100190] iwlwifi 0000:02:00.0: 0x00C89200 | board version [ 542.100191] iwlwifi 0000:02:00.0: 0x00110188 | hcmd [ 542.100192] iwlwifi 0000:02:00.0: 0x00022000 | isr0 [ 542.100192] iwlwifi 0000:02:00.0: 0x00000000 | isr1 [ 542.100193] iwlwifi 0000:02:00.0: 0x00000002 | isr2 [ 542.100194] iwlwifi 0000:02:00.0: 0x004000C0 | isr3 [ 542.100195] iwlwifi 0000:02:00.0: 0x00000000 | isr4 [ 542.100195] iwlwifi 0000:02:00.0: 0x00110188 | last cmd Id [ 542.100196] iwlwifi 0000:02:00.0: 0x00000000 | wait_event [ 542.100197] iwlwifi 0000:02:00.0: 0x00007B43 | l2p_control [ 542.100197] iwlwifi 0000:02:00.0: 0x00000000 | l2p_duration [ 542.100198] iwlwifi 0000:02:00.0: 0x00000000 | l2p_mhvalid [ 542.100199] iwlwifi 0000:02:00.0: 0x00000000 | l2p_addr_match [ 542.100199] iwlwifi 0000:02:00.0: 0x00000007 | lmpm_pmg_sel [ 542.100200] iwlwifi 0000:02:00.0: 0x16070617 | timestamp [ 542.100201] iwlwifi 0000:02:00.0: 0x00341018 | flow_handler [ 542.100207] iwlwifi 0000:02:00.0: Fseq Registers: [ 542.100211] iwlwifi 0000:02:00.0: 0x00000000 | FSEQ_ERROR_CODE [ 542.100215] iwlwifi 0000:02:00.0: 0x00000000 | FSEQ_TOP_INIT_VERSION [ 542.100219] iwlwifi 0000:02:00.0: 0x00000000 | FSEQ_CNVIO_INIT_VERSION [ 542.100223] iwlwifi 0000:02:00.0: 0x00000000 | FSEQ_OTP_VERSION [ 542.100228] iwlwifi 0000:02:00.0: 0x00000000 | FSEQ_TOP_CONTENT_VERSION [ 542.100232] iwlwifi 0000:02:00.0: 0x00000000 | FSEQ_ALIVE_TOKEN [ 542.100236] iwlwifi 0000:02:00.0: 0x00000000 | FSEQ_CNVI_ID [ 542.100240] iwlwifi 0000:02:00.0: 0x00000000 | FSEQ_CNVR_ID [ 542.100244] iwlwifi 0000:02:00.0: 0x00000000 | CNVI_AUX_MISC_CHIP [ 542.100248] iwlwifi 0000:02:00.0: 0x00000000 | CNVR_AUX_MISC_CHIP [ 542.100252] iwlwifi 0000:02:00.0: 0x00000000 | CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM [ 542.100256] iwlwifi 0000:02:00.0: 0x00000000 | CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR [ 542.100261] iwlwifi 0000:02:00.0: Firmware not running - cannot dump error [ 542.112472] iwlwifi 0000:02:00.0: Failed to run INIT ucode: -61
It seems kernel developers are tracking the issue on: https://bugzilla.kernel.org/show_bug.cgi?id=206329 an Arch user has something similar: https://bbs.archlinux.org/viewtopic.php?id=252603
Gentoo Forums thread: https://forums.gentoo.org/viewtopic-t-1107558-start-0.html
The patch: https://patchwork.kernel.org/patch/11353871/ fixes the problem for me
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c6a2ae32e1642727dbe4f762b9fe4495cf1d616 commit 4c6a2ae32e1642727dbe4f762b9fe4495cf1d616 Author: Mike Pagano <mpagano@gentoo.org> AuthorDate: 2020-02-05 15:27:20 +0000 Commit: Mike Pagano <mpagano@gentoo.org> CommitDate: 2020-02-05 15:27:20 +0000 sys-kernel/gentoo-sources: Add iwlwifi patches for 3168 devices Bug: https://bugs.gentoo.org/706810 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Mike Pagano <mpagano@gentoo.org> sys-kernel/gentoo-sources/Manifest | 3 +++ .../gentoo-sources/gentoo-sources-5.5.2-r1.ebuild | 28 ++++++++++++++++++++++ 2 files changed, 31 insertions(+)
(In reply to Andrés Becerra Sandoval from comment #7) > The patch: > https://patchwork.kernel.org/patch/11353871/ > > fixes the problem for me I added this to gentoo-sources and released it in gentoo-sources-5.5.2-r1
(In reply to Mike Pagano from comment #9) > (In reply to Andrés Becerra Sandoval from comment #7) > > The patch: > > https://patchwork.kernel.org/patch/11353871/ > > > > fixes the problem for me > > I added this to gentoo-sources and released it in gentoo-sources-5.5.2-r1 Awesome Mike, thanks !