Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 231485 - net-wireless/iwl4965-ucode version bump request
Summary: net-wireless/iwl4965-ucode version bump request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Saleem Abdulrasool (RETIRED)
URL: http://intellinuxwireless.org/?n=down...
Whiteboard:
Keywords:
: 233287 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-07-11 07:01 UTC by Brian Johnson
Modified: 2008-08-16 13:33 UTC (History)
9 users (show)

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


Attachments
Ebuild for the new iwl4965 firmware. (iwl4965-ucode-228.57.1.21.ebuild,747 bytes, text/plain)
2008-07-18 16:03 UTC, nietonfir
Details
Slotted ebuild for iwl4965-ucode ABI-1. (iwl4965-ucode-228.57.1.21.ebuild,922 bytes, text/plain)
2008-07-18 19:11 UTC, nietonfir
Details
Slotted ebuild for iwl4965-ucode ABI-2. (iwl4965-ucode-228.57.2.21.ebuild,922 bytes, text/plain)
2008-07-18 19:13 UTC, nietonfir
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Johnson 2008-07-11 07:01:59 UTC
There have been three updated microcode images for iwl4965 (including one very recently):

iwlwifi-4965-ucode-228.57.2.21.tgz on 07-07-08 00:17:06 	
iwlwifi-4965-ucode-228.57.1.21.tgz on 07-03-08 18:33:46 	
iwlwifi-5000-ucode-5.4.A.11.tar.gz on 06-10-08 19:46:21

Current version in portage is:

iwlwifi-4965-ucode-4.44.1.20.tgz on 11-27-07 17:46:05

This microcode image may fix bug #218565 which many people are facing.

Reproducible: Always

Steps to Reproduce:
Comment 1 Brian Johnson 2008-07-11 07:04:08 UTC
Edit, I apologize. One of them is for iwlwifi-5000. This is obviously not the same as iwl4965. Either way, it should be added to so those with that card aren't left out. :)
Comment 2 nietonfir 2008-07-18 16:03:29 UTC
Created attachment 160735 [details]
Ebuild for the new iwl4965 firmware.

Updated the ebuild to install the new firmware. (-1 ABI)

It seems to me that there will be ABI change somewhere (maybe in the kernel's iwlwifi stack), this could be the reason why there's no ebuild in portage.

download it to "/usr/local/portage/net-wireless/iwl-4965-ucode/", digest and off you go.

Nevertheless add it to portage please!
Comment 3 Brian Johnson 2008-07-18 16:11:05 UTC
(In reply to comment #2)
> It seems to me that there will be ABI change somewhere (maybe in the kernel's
> iwlwifi stack), this could be the reason why there's no ebuild in portage.

The ABI change to the kernel has not been implemented yet, and will likely be in 2.6.27.x kernels. However, it's specifically for the newer microcode image released on 7/7/2008 (iwlwifi-4965-ucode-228.57.2.21) hence the ".2"

However, there is still a newer microcode for all current kernels <=2.6.26, released on the 3rd of July: iwlwifi-4965-ucode-228.57.1.21
Comment 4 Brian Johnson 2008-07-18 16:13:10 UTC
Actually, on the same topic. Since these versions of the microcode image are not interchangeable, can we get them slotted, please?
Comment 5 nietonfir 2008-07-18 19:11:42 UTC
Created attachment 160747 [details]
Slotted ebuild for iwl4965-ucode ABI-1.

Slotted ebuild for the ABI-1 version of iwl4965-ucode.

Having both versions of the firmware installed seems not to cause any harm (for the moment). If a future kernel prefers the new firmware over the old one, then the ebuilds should be ok.
Comment 6 nietonfir 2008-07-18 19:13:27 UTC
Created attachment 160749 [details]
Slotted ebuild for iwl4965-ucode ABI-2.
Comment 7 Carsten Lohrke (RETIRED) gentoo-dev 2008-07-29 16:31:33 UTC
*** Bug 233287 has been marked as a duplicate of this bug. ***
Comment 8 jieryn 2008-07-29 17:58:32 UTC
Two week ping, is anyone working on this?
Comment 9 Donnie Berkholz (RETIRED) gentoo-dev 2008-08-09 08:42:38 UTC
This would be good to get going. I booted into 2.6.27-rc2 and had no wireless.
Comment 10 Hanno Böck gentoo-dev 2008-08-13 22:54:09 UTC
For now I've added the .1 ebuild without slotting, I think the .27 can wait till 2.6.27 is released.
Comment 11 Tony Vroon (RETIRED) gentoo-dev 2008-08-15 22:07:15 UTC
With thanks to peper for allowing me to, I've tested this and added a slotted ABI 2 firmware for IWL4965. Note that I have skipped over the IWL5000 firmware for now, I need to have my 5300AGN card so I can test. Few more days and technically a separate matter.
Anyhow, all done :)
Comment 12 Michal Špondr 2008-08-16 12:12:45 UTC
(In reply to comment #0)
> This microcode image may fix bug #218565 which many people are facing.

I have the newest net-wireless/iwl4965-ucode-228.57.2.21 installed (using vanilla kernel 2.6.25.9 on ~amd64) and after re-modprobe of iwl4965 module I still get:
# LC_ALL=C ifconfig wlan0 up
SIOCSIFFLAGS: No such file or directory

So even this ucode version doesn't solve my problem. 
Comment 13 Michal Špondr 2008-08-16 12:14:16 UTC
I almost forgot: dmesg printouts this message:
ACPI: PCI Interrupt 0000:04:00.0[A] -> GSI 17 (level, low) -> IRQ 17
iwl4965: iwlwifi-4965-1.ucode firmware file req failed: Reason -2
iwl4965: Could not read microcode: -2
Comment 14 Michal Špondr 2008-08-16 12:36:37 UTC
If I make a symlink in /lib/firmware
ln -s iwlwifi-4965-2.ucode iwlwifi-4965-1.ucode
and remodprobe iwl4965, I get the same as before:
# LC_ALL=C ifconfig wlan0 up
SIOCSIFFLAGS: No such device
# dmesg |tail -n 2
ACPI: PCI Interrupt 0000:04:00.0[A] -> GSI 17 (level, low) -> IRQ 17
iwl4965: Radio disabled by HW RF Kill switch
Comment 15 Michal Špondr 2008-08-16 12:59:55 UTC
Eh... I'm sorry for previous spamming, I forgot to switch on a wifi switch on my laptop. :->

However I still can't connect or get any info about wifi networks. After I modprobe the iwl4965 driver, dmesg outputs:
iwl4965: Error sending REPLY_SCAN_CMD: time out after 500ms.
iwl4965: TX Power requested while scanning!
iwl4965: Microcode SW error detected.  Restarting 0x2000000.
Comment 16 nietonfir 2008-08-16 13:33:23 UTC
(In reply to comment #15)
> Eh... I'm sorry for previous spamming, I forgot to switch on a wifi switch on
> my laptop. :->
> 
> However I still can't connect or get any info about wifi networks. After I
> modprobe the iwl4965 driver, dmesg outputs:
> iwl4965: Error sending REPLY_SCAN_CMD: time out after 500ms.
> iwl4965: TX Power requested while scanning!
> iwl4965: Microcode SW error detected.  Restarting 0x2000000.
> 

You should have read the previous posts here:
"The ABI change to the kernel has not been implemented yet, and will likely be
in 2.6.27.x kernels. However, it's specifically for the newer microcode image
released on 7/7/2008 (iwlwifi-4965-ucode-228.57.2.21) hence the ".2"

However, there is still a newer microcode for all current kernels <=2.6.26,
released on the 3rd of July: iwlwifi-4965-ucode-228.57.1.21"

And as your dmesg output states, you need a "-1" firmware version, not a "-2", so emerge =iwlwifi-4965-ucode-228.1.21.

And you write in your first post "it doesn't solve my problem". What kind of problem? Either search for it or post a new bug plz as this one is just for the version bump and already marked as "resolved fixed". Thank you. ;)

Back2Topic:
Slotting doesn't solve the problem, eg I'm still on the last stable version, and if I would upgrade, I would directly get the -2 version, which one can't use with a kernel <2.6.27 (see previous posts). I think a kernel check in the ebuild should be done and according to the installed kernel the appropriate firmware version gets installed.