Bug 1440417 - Firmware for Intel(R) Dual Band Wireless AC 8260 not included on ISO
Summary: Firmware for Intel(R) Dual Band Wireless AC 8260 not included on ISO
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: lorax
Version: 26
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Brian Lane
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: RejectedBlocker AcceptedFreezeException
: 1397582 1447886 (view as bug list)
Depends On:
Blocks: F26BetaFreezeException
TreeView+ depends on / blocked
 
Reported: 2017-04-08 18:31 UTC by abrouwers
Modified: 2017-06-08 21:07 UTC (History)
22 users (show)

Fixed In Version: lorax-26.8-1 lorax-26.8-1.fc26
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-06-08 21:07:44 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Firmware listing on iso (1.61 MB, image/jpeg)
2017-04-15 12:57 UTC, abrouwers
no flags Details

Description abrouwers 2017-04-08 18:31:30 UTC
Description of problem:

I was attempting to install F26 on a new thinkpad X1, and noticed that my wifi card was not available from the installer.  Unfortunately, this laptop does not have an ethernet port built in, so it made a net install not possible (at least without an adapter).  It would be really helpful if this firmware could be included on the iso (it's available in the linux-firmware repo).

Version-Release number of selected component (if applicable):
Fedora 26 alpha (also, an updated compose from 04/07/2017)

Comment 1 Kevin Fenzi 2017-04-08 18:38:25 UTC
Moving this to linux firmware.

Comment 2 Jon Disnard 2017-04-08 18:53:58 UTC
Here is a table of device to firmware on this topic:

http://www.intel.com/content/www/us/en/support/network-and-i-o/wireless-networking/000005511.html


Looks to be covered by:
iwlwifi-8000-ucode-25.30.13.0.tgz


So next I booted the Fedora-Workstation-netinst-x86_64-26-20170404.n.0.iso (nightly) and booted into text mode installer. Press ALT+F2 to console, and inspected /lib/firmware 

Did not observe any Intel iwlwifi firmwares higher than iwlwifi-60002b-6.ucode (the highest version observed). We probably need the 8000 series firmware which is not present. 


While I'm not able to reproduce myself, do not own that hardware, I'd say there is a good chance this will be an issue for many.

Comment 3 abrouwers 2017-04-08 20:13:57 UTC
Well, it seems that fedora includes SOME updated firmware packages?  This guy eg. contains some 8xxx firmware:

https://apps.fedoraproject.org/packages/iwl7260-firmware/

So, I thought the issue might be just including more packages in the iso.

Comment 4 Peter Robinson 2017-04-10 08:17:53 UTC
> Did not observe any Intel iwlwifi firmwares higher than
> iwlwifi-60002b-6.ucode (the highest version observed). We probably need the
> 8000 series firmware which is not present. 

In the iwl7260-firmware package. Looks to have been upstream since mid Jan, packaged in Fedora since the 20170213-71 release.

commit b689306274099710f9f85eaab584604ca11ee54a
Author: Luca Coelho <luciano.coelho>
Date:   Thu Jan 12 21:28:05 2017 +0200

    iwlwifi: add -27 firmware for 3168, 7265D, 8000C and 8265
    
    Revision number: 455470
    Build number: WFFW38158_R24
    
    Signed-off-by: Luca Coelho <luciano.coelho>

There's might be a newer HW rev which hasn't had the firmware sent upstream as yet.

Comment 5 Josh Boyer 2017-04-10 10:55:53 UTC
I don't understand why this is assigned to linux-firmware.  The firmware file is packaged and available in an RPM already.  If it isn't on the ISO, that seems like a problem in the kickstart or whatever is used to compose the ISO.

Asked another way, what else can be done in the linux-firmware package itself?  Nothing that I can see...

Comment 6 Peter Robinson 2017-04-14 11:40:37 UTC
Why have you moved it to spin-kickstarts?

So the firmware should be shipped in iwl7260-firmware, which is listed in as a default in the hardware-support comps group which is in turn is pulled into all installers.

linux-firmware-20170313-72.git695f2d6d.fc26 and associated iwl7260-firmware was shipped with F-26 Alpha.

You need to provide more information, like the explicit installer that you're using, what date, and details of the hardware revision. Does it work post install or with a live image?

Comment 7 abrouwers 2017-04-14 13:14:58 UTC
Well, this comment summarizes it:

https://bugzilla.redhat.com/show_bug.cgi?id=1440417#c2

But, I booted both F26 alpha (x86_64, netinst) and a more recent nightly (also netinst), and the firmware was not on the iso.  Similar to Comment #2, I didn't see anything above the 6xxx series.

Comment 8 abrouwers 2017-04-15 12:57:06 UTC
Tried again this morning using "Fedora-Workstation-netinst-x86_64-26-20170413.n.0" - this ISO contained 7 total iwl* firmware files, again nothing exceeding the 6xxx series.  Poor cell phone image attached.

Comment 9 abrouwers 2017-04-15 12:57:48 UTC
Created attachment 1271791 [details]
Firmware listing on iso

Comment 10 Dennis Gilmore 2017-04-15 15:56:47 UTC
reassigning to lorax, its the tool that makes the network installer isos and trees. It also cleans up things that are not needed in the install environment. I guess something in lorax is either not pulling the packages in, or is overly aggressively removing firmware. As it has been established we have the firmware in linux-firmware  we need to dig into the process that make the installer. likely suspect is lorax. It would be good to know if the firmware is available and network works on a livecd.

Comment 11 abrouwers 2017-04-16 12:41:09 UTC
Grabbing a nightly F26 LIVE compose indeed provides the firmware:

[liveuser@localhost ~]$ ls -l /usr/lib/firmware/iwl*
-rw-r--r--. 1 root root  335056 Mar 13 08:27 /usr/lib/firmware/iwlwifi-1000-3.ucode
-rw-r--r--. 1 root root  337520 Mar 13 08:27 /usr/lib/firmware/iwlwifi-1000-5.ucode
-rw-r--r--. 1 root root  337572 Mar 13 08:27 /usr/lib/firmware/iwlwifi-100-5.ucode
-rw-r--r--. 1 root root  689680 Mar 13 08:27 /usr/lib/firmware/iwlwifi-105-6.ucode
-rw-r--r--. 1 root root  701228 Mar 13 08:27 /usr/lib/firmware/iwlwifi-135-6.ucode
-rw-r--r--. 1 root root  695876 Mar 13 08:27 /usr/lib/firmware/iwlwifi-2000-6.ucode
-rw-r--r--. 1 root root  707392 Mar 13 08:27 /usr/lib/firmware/iwlwifi-2030-6.ucode
-rw-r--r--. 1 root root  609892 Mar 13 08:27 /usr/lib/firmware/iwlwifi-3160-10.ucode
-rw-r--r--. 1 root root  683996 Mar 13 08:27 /usr/lib/firmware/iwlwifi-3160-12.ucode
-rw-r--r--. 1 root root  688616 Mar 13 08:27 /usr/lib/firmware/iwlwifi-3160-13.ucode
-rw-r--r--. 1 root root  918212 Mar 13 08:27 /usr/lib/firmware/iwlwifi-3160-16.ucode
-rw-r--r--. 1 root root  918268 Mar 13 08:27 /usr/lib/firmware/iwlwifi-3160-17.ucode
-rw-r--r--. 1 root root  670484 Mar 13 08:27 /usr/lib/firmware/iwlwifi-3160-7.ucode
-rw-r--r--. 1 root root  667284 Mar 13 08:27 /usr/lib/firmware/iwlwifi-3160-8.ucode
-rw-r--r--. 1 root root  669872 Mar 13 08:27 /usr/lib/firmware/iwlwifi-3160-9.ucode
-rw-r--r--. 1 root root 1384856 Mar 13 08:27 /usr/lib/firmware/iwlwifi-3168-21.ucode
-rw-r--r--. 1 root root 1028032 Mar 13 08:27 /usr/lib/firmware/iwlwifi-3168-22.ucode
-rw-r--r--. 1 root root 1032168 Mar 13 08:27 /usr/lib/firmware/iwlwifi-3168-27.ucode
-rw-r--r--. 1 root root  150100 Mar 13 08:27 /usr/lib/firmware/iwlwifi-3945-2.ucode
-rw-r--r--. 1 root root  187972 Mar 13 08:27 /usr/lib/firmware/iwlwifi-4965-2.ucode
-rw-r--r--. 1 root root  345008 Mar 13 08:27 /usr/lib/firmware/iwlwifi-5000-1.ucode
-rw-r--r--. 1 root root  353240 Mar 13 08:27 /usr/lib/firmware/iwlwifi-5000-2.ucode
-rw-r--r--. 1 root root  340696 Mar 13 08:27 /usr/lib/firmware/iwlwifi-5000-5.ucode
-rw-r--r--. 1 root root  337400 Mar 13 08:27 /usr/lib/firmware/iwlwifi-5150-2.ucode
-rw-r--r--. 1 root root  454608 Mar 13 08:27 /usr/lib/firmware/iwlwifi-6000-4.ucode
-rw-r--r--. 1 root root  444128 Mar 13 08:27 /usr/lib/firmware/iwlwifi-6000g2a-5.ucode
-rw-r--r--. 1 root root  677296 Mar 13 08:27 /usr/lib/firmware/iwlwifi-6000g2a-6.ucode
-rw-r--r--. 1 root root  460236 Mar 13 08:27 /usr/lib/firmware/iwlwifi-6000g2b-5.ucode
-rw-r--r--. 1 root root  679436 Mar 13 08:27 /usr/lib/firmware/iwlwifi-6000g2b-6.ucode
-rw-r--r--. 1 root root  463692 Mar 13 08:27 /usr/lib/firmware/iwlwifi-6050-4.ucode
-rw-r--r--. 1 root root  469780 Mar 13 08:27 /usr/lib/firmware/iwlwifi-6050-5.ucode
-rw-r--r--. 1 root root  672352 Mar 13 08:27 /usr/lib/firmware/iwlwifi-7260-10.ucode
-rw-r--r--. 1 root root  782300 Mar 13 08:27 /usr/lib/firmware/iwlwifi-7260-12.ucode
-rw-r--r--. 1 root root  786920 Mar 13 08:27 /usr/lib/firmware/iwlwifi-7260-13.ucode
-rw-r--r--. 1 root root 1049284 Mar 13 08:27 /usr/lib/firmware/iwlwifi-7260-16.ucode
-rw-r--r--. 1 root root 1049340 Mar 13 08:27 /usr/lib/firmware/iwlwifi-7260-17.ucode
-rw-r--r--. 1 root root  683236 Mar 13 08:27 /usr/lib/firmware/iwlwifi-7260-7.ucode
-rw-r--r--. 1 root root  679780 Mar 13 08:27 /usr/lib/firmware/iwlwifi-7260-8.ucode
-rw-r--r--. 1 root root  680508 Mar 13 08:27 /usr/lib/firmware/iwlwifi-7260-9.ucode
-rw-r--r--. 1 root root  736844 Mar 13 08:27 /usr/lib/firmware/iwlwifi-7265-10.ucode
-rw-r--r--. 1 root root  880604 Mar 13 08:27 /usr/lib/firmware/iwlwifi-7265-12.ucode
-rw-r--r--. 1 root root  885224 Mar 13 08:27 /usr/lib/firmware/iwlwifi-7265-13.ucode
-rw-r--r--. 1 root root 1180356 Mar 13 08:27 /usr/lib/firmware/iwlwifi-7265-16.ucode
-rw-r--r--. 1 root root 1180412 Mar 13 08:27 /usr/lib/firmware/iwlwifi-7265-17.ucode
-rw-r--r--. 1 root root  690452 Mar 13 08:27 /usr/lib/firmware/iwlwifi-7265-8.ucode
-rw-r--r--. 1 root root  697828 Mar 13 08:27 /usr/lib/firmware/iwlwifi-7265-9.ucode
lrwxrwxrwx. 1 root root      21 Mar 13 08:27 /usr/lib/firmware/iwlwifi-7265D-10.ucode -> iwlwifi-7265-10.ucode
-rw-r--r--. 1 root root 1002800 Mar 13 08:27 /usr/lib/firmware/iwlwifi-7265D-12.ucode
-rw-r--r--. 1 root root 1008692 Mar 13 08:27 /usr/lib/firmware/iwlwifi-7265D-13.ucode
-rw-r--r--. 1 root root 1384500 Mar 13 08:27 /usr/lib/firmware/iwlwifi-7265D-16.ucode
-rw-r--r--. 1 root root 1383604 Mar 13 08:27 /usr/lib/firmware/iwlwifi-7265D-17.ucode
-rw-r--r--. 1 root root 1385368 Mar 13 08:27 /usr/lib/firmware/iwlwifi-7265D-21.ucode
-rw-r--r--. 1 root root 1028376 Mar 13 08:27 /usr/lib/firmware/iwlwifi-7265D-22.ucode
-rw-r--r--. 1 root root 1032452 Mar 13 08:27 /usr/lib/firmware/iwlwifi-7265D-27.ucode
-rw-r--r--. 1 root root 1745176 Mar 13 08:27 /usr/lib/firmware/iwlwifi-8000C-13.ucode
-rw-r--r--. 1 root root 2351636 Mar 13 08:27 /usr/lib/firmware/iwlwifi-8000C-16.ucode
-rw-r--r--. 1 root root 2394060 Mar 13 08:27 /usr/lib/firmware/iwlwifi-8000C-21.ucode
-rw-r--r--. 1 root root 2120860 Mar 13 08:27 /usr/lib/firmware/iwlwifi-8000C-22.ucode
-rw-r--r--. 1 root root 2227284 Mar 13 08:27 /usr/lib/firmware/iwlwifi-8000C-27.ucode
-rw-r--r--. 1 root root 2389968 Mar 13 08:27 /usr/lib/firmware/iwlwifi-8265-21.ucode
-rw-r--r--. 1 root root 1811984 Mar 13 08:27 /usr/lib/firmware/iwlwifi-8265-22.ucode
-rw-r--r--. 1 root root 2234528 Mar 13 08:27 /usr/lib/firmware/iwlwifi-8265-27.ucode

Comment 12 Brian Lane 2017-04-17 15:25:56 UTC
(In reply to Dennis Gilmore from comment #10)
> reassigning to lorax, its the tool that makes the network installer isos and
> trees. It also cleans up things that are not needed in the install
> environment. I guess something in lorax is either not pulling the packages
> in, or is overly aggressively removing firmware. As it has been established
> we have the firmware in linux-firmware  we need to dig into the process that
> make the installer. likely suspect is lorax. It would be good to know if the
> firmware is available and network works on a livecd.

I need to see the relevant build logs. runtime-install.tmpl has this:

    installpkg --optional *-firmware --except alsa* --except midisport-firmware \                                                                                                
                           --except crystalhd-firmware --except ivtv-firmware \                                                                                                  
                           --except cx18-firmware --except iscan-firmware \                                                                                                      
                           --except uhd-firmware --except lulzbot-marlin-firmware                                                                                                
    installpkg b43-openfwwf

so it should have everything needed for wireless cards.

Comment 13 Dennis Gilmore 2017-04-18 14:45:07 UTC
this is the remaining log from the Alpha compose
https://kojipkgs.fedoraproject.org/compose/26/Fedora-26-20170329.1/logs/x86_64/buildinstall-Everything.x86_64.log

The koji logs have all been cleaned up
https://kojipkgs.fedoraproject.org/compose/branched/Fedora-26-20170417.n.0/logs/x86_64/buildinstall-Everything.x86_64.log
is a nightly from yesterday. there is some extra logs https://koji.fedoraproject.org/koji/taskinfo?taskID=19040129 for the next 12 days

Comment 14 Brian Lane 2017-04-18 17:06:57 UTC
2017-04-17 09:45:37,132: installpkg *-firmware failed: no package matched
installpkg *-firmware failed: no package matched

means that there are no firmware files in the repo it is using for the build:

file:///mnt/koji/compose/branched/Fedora-26-20170417.n.0/work/x86_64/repo

If I run lorax (using a f26 mock and https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/) it includes the firmware.

You can also look at the list of packages downloaded and see that no *firmware packages are listed.

Comment 15 Dennis Gilmore 2017-04-18 19:21:24 UTC
cp /mnt/koji/compose/branched/Fedora-26-20170417.n.0/work/x86_64/repo/repodata/35458183113a94a83e14f6ad2094361ff4d815c0645bc14c695bfbddc0f2ce14-primary.xml.gz . &&gunzip 35458183113a94a83e14f6ad2094361ff4d815c0645bc14c695bfbddc0f2ce14-primary.xml.gz &&grep "firmware</name>" 35458183113a94a83e14f6ad2094361ff4d815c0645bc14c695bfbddc0f2ce14-primary.xml
  <name>alsa-firmware</name>
  <name>alsa-firmware</name>
  <name>alsa-tools-firmware</name>
  <name>alsa-tools-firmware</name>
  <name>atmel-firmware</name>
  <name>atmel-firmware</name>
  <name>bfa-firmware</name>
  <name>bfa-firmware</name>
  <name>crystalhd-firmware</name>
  <name>ipw2100-firmware</name>
  <name>ipw2100-firmware</name>
  <name>ipw2200-firmware</name>
  <name>ipw2200-firmware</name>
  <name>iscan-firmware</name>
  <name>iscan-firmware</name>
  <name>ivtv-firmware</name>
  <name>ivtv-firmware</name>
  <name>iwl100-firmware</name>
  <name>iwl1000-firmware</name>
  <name>iwl105-firmware</name>
  <name>iwl135-firmware</name>
  <name>iwl2000-firmware</name>
  <name>iwl2030-firmware</name>
  <name>iwl3160-firmware</name>
  <name>iwl3945-firmware</name>
  <name>iwl4965-firmware</name>
  <name>iwl5000-firmware</name>
  <name>iwl5150-firmware</name>
  <name>iwl6000-firmware</name>
  <name>iwl6000g2a-firmware</name>
  <name>iwl6000g2b-firmware</name>
  <name>iwl6050-firmware</name>
  <name>iwl7260-firmware</name>
  <name>libertas-sd8686-firmware</name>
  <name>libertas-sd8787-firmware</name>
  <name>libertas-usb8388-firmware</name>
  <name>libertas-usb8388-olpc-firmware</name>
  <name>linux-firmware</name>
  <name>linux-firmware</name>
  <name>lulzbot-marlin-firmware</name>
  <name>lulzbot-marlin-firmware</name>
  <name>midisport-firmware</name>
  <name>midisport-firmware</name>
  <name>sigrok-firmware</name>
  <name>uhd-firmware</name>
  <name>zd1211-firmware</name>
  <name>zd1211-firmware</name>


firmware is all in that repo

The "installpkg *-firmware failed: no package matched" message has been there for as long as I can remember. we have some firmware in the runtime. just not all of it. if thet install toally failed there would be no firmware at all

Comment 16 Brian Lane 2017-04-18 20:59:46 UTC
I don't know what's going on then. I ran it here against rawhide Everything and

1) installpkg *-firmware didn't give me an error.
2) *-firmware packages are listed when fetching the rpms
3) firmware is in the boot.iso

So there's something going on with the environment in koji, or your repodata is incorrect, because according to the logs it clearly isn't downloading the rpms.

Comment 17 Brian Lane 2017-05-26 22:03:02 UTC
*** Bug 1447886 has been marked as a duplicate of this bug. ***

Comment 18 Brian Lane 2017-05-26 23:55:24 UTC
Work around/improvement: https://github.com/rhinstaller/lorax/pull/213


What's been happening is this: The repodata used for the compose is different from the repodata in places like dl.fedoraproject.org, in this particular case it includes sigrok-firmware which doesn't actually exist as an rpm, it produces several others. It is listed in the 

lorax's *-firmware search matched sigrok-firmware, but when it tried to install it, it fails. And because the list of expanded -firmware packages was a set() it was random as to which -firmware packages would be selected for installation before hitting the failure -- this is why different results were being seen from night to night.

The above patch works around this by continuing to install the rest of the expanded glob when it hits an error (when using installpkg --optional), and it logs the exact package names that fail, not the original glob.

Comment 19 Brian Lane 2017-05-30 15:29:12 UTC
*** Bug 1397582 has been marked as a duplicate of this bug. ***

Comment 20 Brian Lane 2017-05-30 15:29:16 UTC
*** Bug 1430649 has been marked as a duplicate of this bug. ***

Comment 21 Petr Schindler 2017-05-30 16:26:23 UTC
Discussed at 2017-05-30 blocker review meeting: [1]. 

This bug was rejected as blocker and accepted as freeze exception: We're not convinced this bug affects enough people to be a blocker, but we would consider a fix during freeze to remedy this issue.

[1] https://meetbot-raw.fedoraproject.org/fedora-blocker-review/2017-05-30/

Comment 22 Fedora Update System 2017-05-30 19:01:05 UTC
lorax-26.8-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-2c70da042c

Comment 23 Fedora Update System 2017-06-01 03:18:52 UTC
lorax-26.8-1.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-2c70da042c

Comment 24 Dennis Gilmore 2017-06-06 20:32:44 UTC
clearing needinfo

Comment 25 Fedora Update System 2017-06-08 21:07:44 UTC
lorax-26.8-1.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.