Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 666452 - sys-kernel/linux-firmware-20180825 - firmware load for iwlwifi-7260-17.ucode fails
Summary: sys-kernel/linux-firmware-20180825 - firmware load for iwlwifi-7260-17.ucode ...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Chí-Thanh Christopher Nguyễn
URL:
Whiteboard:
Keywords:
: 666586 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-09-18 06:11 UTC by Stefan Valouch
Modified: 2018-09-20 08:39 UTC (History)
4 users (show)

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


Attachments
emerge --info (emerge--info,5.84 KB, text/plain)
2018-09-18 06:11 UTC, Stefan Valouch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Valouch 2018-09-18 06:11:15 UTC
Created attachment 547142 [details]
emerge --info

Current stable sys-kernel/linux-firmware-20180825 seems to contain broken firmware for intels iwl7260. The wifi device does not show up when the iwlwifi module is loaded. Said module prints the following to dmesg:

[45556.405315] Intel(R) Wireless WiFi driver for Linux
[45556.405315] Copyright(c) 2003- 2015 Intel Corporation
[45556.421315] pcieport 0000:00:1c.5: Enabling MPC IRBNCE
[45556.421323] pcieport 0000:00:1c.5: Intel PCH root port ACS workaround enabled
[45556.422383] iwlwifi 0000:03:00.0: invalid uCode magic: 0X0
[45556.422438] iwlwifi 0000:03:00.0: no suitable firmware found!
[45556.422440] iwlwifi 0000:03:00.0: iwlwifi-7260-17 is required
[45556.422441] iwlwifi 0000:03:00.0: check git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git

Manually unpacking the previous version 20180730 and overwriting the ucode at /lib/firmware/iwlwifi-7260-17.ucode with this older version makes it work:

[45689.975073] Intel(R) Wireless WiFi driver for Linux
[45689.975074] Copyright(c) 2003- 2015 Intel Corporation
[45689.991621] pcieport 0000:00:1c.5: Enabling MPC IRBNCE
[45689.991625] pcieport 0000:00:1c.5: Intel PCH root port ACS workaround enabled
[45689.992957] iwlwifi 0000:03:00.0: loaded firmware version 17.948900127.0 op_mode iwlmvm
[45690.027240] iwlwifi 0000:03:00.0: Detected Intel(R) Dual Band Wireless N 7260, REV=0x144
[45690.029308] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[45690.029572] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[45690.235155] ieee80211 phy0: Selected rate control algorithm 'iwl-mvm-rs'
Comment 1 Thomas Deutschmann (RETIRED) gentoo-dev 2018-09-19 18:04:21 UTC
Are you sure? This file wasn't touched: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/log/iwlwifi-7260-17.ucode


> vm-gentoo-x64 ~ # stat  /var/tmp/portage/sys-kernel/linux-firmware-20180730/image/lib/firmware/iwlwifi-7260-17.ucode
>   File: /var/tmp/portage/sys-kernel/linux-firmware-20180730/image/lib/firmware/iwlwifi-7260-17.ucode
>   Size: 1049340         Blocks: 2056       IO Block: 4096   regular file
> Device: fe02h/65026d    Inode: 316450      Links: 1
> Access: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (    0/    root)
> Access: 2018-09-19 20:00:45.211892065 +0200
> Modify: 2018-09-19 20:00:43.669873449 +0200
> Change: 2018-09-19 20:00:43.669873449 +0200
>  Birth: -
> vm-gentoo-x64 ~ # stat  /var/tmp/portage/sys-kernel/linux-firmware-20180825/image/lib/firmware/iwlwifi-7260-17.ucode
>   File: /var/tmp/portage/sys-kernel/linux-firmware-20180825/image/lib/firmware/iwlwifi-7260-17.ucode
>   Size: 1049340         Blocks: 2064       IO Block: 4096   regular file
> Device: fe02h/65026d    Inode: 408623      Links: 1
> Access: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (    0/    root)
> Access: 2018-09-19 20:01:08.620174664 +0200
> Modify: 2018-09-19 20:01:06.929154249 +0200
> Change: 2018-09-19 20:01:06.929154249 +0200
>  Birth: -
> vm-gentoo-x64 ~ # sha1sum /var/tmp/portage/sys-kernel/linux-firmware-20180730/image/lib/firmware/iwlwifi-7260-17.ucode
> f40b193104409511d713d071256fd78859a1b2fa  /var/tmp/portage/sys-kernel/linux-firmware-20180730/image/lib/firmware/iwlwifi-7260-17.ucode
> vm-gentoo-x64 ~ # sha1sum /var/tmp/portage/sys-kernel/linux-firmware-20180825/image/lib/firmware/iwlwifi-7260-17.ucode
> f40b193104409511d713d071256fd78859a1b2fa  /var/tmp/portage/sys-kernel/linux-firmware-20180825/image/lib/firmware/iwlwifi-7260-17.ucode
> 

Please double check your installation. Maybe "/lib/firmware/iwlwifi-7260-17.ucode" wasn't installed on your system for some reason or got broken...
Comment 2 Thomas Deutschmann (RETIRED) gentoo-dev 2018-09-20 08:39:21 UTC
*** Bug 666586 has been marked as a duplicate of this bug. ***