On Wed, Jun 11, 2014 at 1:06 PM, poma
<pomidorabelisima(a)gmail.com> wrote:
> On 11.06.2014 13:33, Josh Boyer wrote:
>>
>> On Wed, Jun 11, 2014 at 12:35:36PM +0200, poma wrote:
>>>
>>> On 11.06.2014 10:18, poma wrote:
>>>>
>>>> On 11.06.2014 04:34, Richard Shaw wrote:
>>>>>
>>>>> On Tue, Jun 10, 2014 at 6:09 PM, poma
<pomidorabelisima(a)gmail.com>
>>>>> wrote:
>>>>>
>>>>>> Firmware, kernel module or userspace? :)
>>>>>>
>>>>>
>>>>> # uname -r
>>>>> 3.14.5-200.fc20.x86_64
>>>>>
>>>>> No clue on firmware, I'm not exactly sure how to check which is
being
>>>>> loaded...
>>>>>
>>>>>
>>>>> Did you mention an exact hardware in question?
>>>>>>
>>>>>>
>>>>>
>>>>> 02:00.0 Network controller: Intel Corporation Centrino Advanced-N
6235
>>>>> (rev
>>>>> 24)
>>>>> Subsystem: Intel Corporation Centrino Advanced-N 6235 AGN
>>>>> Flags: bus master, fast devsel, latency 0, IRQ 48
>>>>> Memory at f0200000 (64-bit, non-prefetchable) [size=8K]
>>>>> Capabilities: [c8] Power Management version 3
>>>>> Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
>>>>> Capabilities: [e0] Express Endpoint, MSI 00
>>>>> Capabilities: [100] Advanced Error Reporting
>>>>> Capabilities: [140] Device Serial Number c8-f7-33-ff-ff-f4-2d-ba
>>>>> Kernel driver in use: iwlwifi
>>>>> Kernel modules: iwlwifi
>>>>>
>>>>>
>>>>> BTW how are you sure RF environment ain't changed?
>>>>>>
>>>>>>
>>>>>
>>>>> Nothing new has come in or left the house since the problem...
>>>>>
>>>>> Thanks,
>>>>> Richard
>>>>
>>>>
>>>>
>>>> - KERNEL:
>>>> $ curl -s
https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.14.6
>>>> | grep iwlwifi
>>>>
>>>> So pick up kernel-3.14.6-200.fc20.x86_64.rpm
>>>>
http://koji.fedoraproject.org/koji/buildinfo?buildID=531773
>>>>
>>>> You can also try with kernel-core-3.15.0-1.fc21.x86_64.rpm
>>>>
http://alt.fedoraproject.org/pub/alt/rawhide-kernel-nodebug/x86_64/
>>>>
>>>>
>>>> - FIRMWARE:
>>>> $ modinfo -F firmware iwlwifi
>>>>
>>>> # yum --enablerepo updates-testing install iwl6000g2b-firmware
>>>>
>>>> $ rpm -qf /usr/lib/firmware/iwlwifi-6000g2b-6.ucode
>>>> iwl6000g2b-firmware-17.168.5.2-38.fc20.noarch
>>>>
>>>> According to
>>>>
http://wireless.kernel.org/en/users/Drivers/iwlwifi#Firmware
>>>> Intel® Centrino® Advanced-N 6235 goes with
>>>> iwlwifi-6000g2b-ucode-18.168.6.1.tgz
>>>> i.e. iwlwifi-6000g2b-6.ucode
>>>> also stated within firmware itself:
>>>>
>>>>
https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/...
>>>> "IWL.6000g2b.fw.v18.168.6.1.build.0"
>>>>
>>>> However in Fedora it is packaged as "17" i.e.
>>>> iwl6000g2b-firmware-17.168.5.2-38.fc20.noarch
>>
>>
>> Probably because I forgot to increment the version number.
>>
>>>> Josh, do these two firmwares should be in their own packages as
"18"?
>>
>>
>> No.
>>
>>>>
>>>> Intel® Centrino® Advanced-N 6235 - iwlwifi-6000g2b-ucode-18.168.6.1
>>>> i.e. iwlwifi-6000g2b-6.ucode - "IWL.6000g2b fw v18.168.6.1 build
0"
>>>> in iwl6000g2b-firmware-18.168.6.1-1.f$releasever.noarch.rpm
>>>>
>>>> and
>>>>
>>>> Intel® Centrino® Advanced-N 6205 - iwlwifi-6000g2a-ucode-18.168.6.1
>>>> i.e. iwlwifi-6000g2a-6.ucode - "IWL.6000g2a fw v18.168.6.1 build
0"
>>>> in iwl6000g2a-firmware-18.168.6.1-1.f$releasever.noarch.rpm
>>>
>>>
>>> e.g.
>>>
>>> - Intel® Centrino® Advanced-N 6235
>>>
>>> 1. Rename
>>> iwl6000g2b-firmware-17.168.5.2-38.fc20.noarch
>>> to
>>> iwl6000g2b5-firmware-17.168.5.2-38.fc20.noarch
>>> /usr/lib/firmware/iwlwifi-6000g2b-5.ucode
>>>
>>> 2. Create
>>> iwl6000g2b6-firmware-18.168.6.1-1.f20.noarch.rpm
>>> /usr/lib/firmware/iwlwifi-6000g2b-6.ucode
>>>
>>>
>>> - Intel® Centrino® Advanced-N 6205
>>>
>>> 3. Rename
>>> iwl6000g2a-firmware-17.168.5.3-38.fc20.noarch
>>> to
>>> iwl6000g2a5-firmware-17.168.5.3-38.fc20.noarch
>>> /usr/lib/firmware/iwlwifi-6000g2a-5.ucode
>>>
>>> 4. Create
>>> iwl6000g2a6-firmware-18.168.6.1-1.f20.noarch.rpm
>>> /usr/lib/firmware/iwlwifi-6000g2a-6.ucode
>>
>>
>> No. That's really pointless work and makes the linux-firmware package
>> even more complicated that it already is.
>>
>> The firmware is getting installed and it's correct. Most times people
>> don't need to worry about which firmware they have, and if they do they
>> can consult the WHENCE file installed in /usr/share/doc/linux-firmware/.
>>
>> josh
>>
>
> IF I correctly understood
>
http://wireless.kernel.org/en/users/Drivers/iwlwifi#Firmware
> Fedora is shipping at least one unnecessary firmware version compared to the
> kernels used,
> e.g. for
> Intel® Centrino® Advanced-N 6205
> IS required only iwlwifi-6000g2a-6.ucode - kernel 3.2+
> and NOT iwlwifi-6000g2a-5.ucode - kernel 2.6.35+
Fedora ships whatever is in the upstream linux-firmware git repo in
the linux-firmware package. It's stand-alone. We don't tie it to the
kernel versions in Fedora. People do strange things like running
their own kernels on top of a Fedora OS install all the time.
josh
Someone's always talking about how to reduce the burden on the packages, but it seems
that this is not the case.
These people should be able to download a firmware tarball for themselves when they are
already using ancient kernels. :)
Sugway!
poma