Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How 2 cleaner iwlwifi dmesg? [Solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3712

PostPosted: Sat Aug 27, 2011 9:43 am    Post subject: How 2 cleaner iwlwifi dmesg? [Solved] Reply with quote

Hi dear all,

System works fine despite dmesg outputs as follows:
Code:
iwlagn 0000:03:00.0: request for firmware file 'iwlwifi-5000-5.ucode' failed.
iwlagn 0000:03:00.0: request for firmware file 'iwlwifi-5000-4.ucode' failed.
iwlagn 0000:03:00.0: request for firmware file 'iwlwifi-5000-3.ucode' failed.
iwlagn 0000:03:00.0: Firmware has old API version. Expected v5, got v2. New firmware can be obtained from http://www.intellinuxwireless.org.
iwlagn 0000:03:00.0: loaded firmware version 8.24.2.12

Is there anyway to have kernel avoid the 3 failing requests, directly loading the correct version?

Thanks for your attention.


Last edited by CaptainBlood on Sat Aug 27, 2011 7:05 pm; edited 2 times in total
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10619
Location: Somewhere over Atlanta, Georgia

PostPosted: Sat Aug 27, 2011 10:06 am    Post subject: Reply with quote

Have you tried something radical like maybe making the firmware that the driver is requesting available? I see that the version in Portage is what you're loading but the dmesg messages give you all the hints you need to download the requested version.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3712

PostPosted: Sat Aug 27, 2011 12:11 pm    Post subject: Reply with quote

Thanks for the tip ... :) which I've applied by: un-emerging former driver, installing new (but older version) then rebooted.
Now dmesg outputs as follows:
Code:
iwlagn 0000:03:00.0: request for firmware file 'iwlwifi-5000-5.ucode' failed.
iwlagn 0000:03:00.0: request for firmware file 'iwlwifi-5000-4.ucode' failed.
iwlagn 0000:03:00.0: request for firmware file 'iwlwifi-5000-3.ucode' failed.
iwlagn 0000:03:00.0: request for firmware file 'iwlwifi-5000-2.ucode' failed.
iwlagn 0000:03:00.0: Firmware has old API version. Expected v5, got v1. New firmware can be obtained from http://www.intellinuxwireless.org.
iwlagn 0000:03:00.0: loaded firmware version 5.4.1.16
which is a bit intringuing :?.

Since I noticed that package swapping has replaced
Code:
/lib/firmware/iwlwifi-5000-2.ucode
by
Code:
/lib/firmware/iwlwifi-5000-1.ucode
I'm now wondering if what seems to be a two steps driver loading is the expected behavior ... at least from a portage point of view.

Having both drivers packages installed brings back to initial dmesg output.

Maybe an initrd could help. (must admit I've always succeded to escape from it)...

In the end I'm wondering whether if
Quote:
New firmware can be obtained from http://www.intellinuxwireless.org.
the right path to follow?

Thanks for your attention and support
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10619
Location: Somewhere over Atlanta, Georgia

PostPosted: Sat Aug 27, 2011 12:53 pm    Post subject: Reply with quote

Just looked and the file "iwlwifi-5000-ucode-8.83.5.1-1.tgz", downloadable from the stated web site does indeed contain the file "iwlwifi-5000-5.ucode". Now, what this also means is that the net-wireless/iwl5000-ucode package in Portage is out of date. Perhaps you should file a bug asking for it to be bumped.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3712

PostPosted: Sat Aug 27, 2011 5:44 pm    Post subject: Reply with quote

Well, stated site was almost unreachable for the last hours ... :evil:
But I finally made it. 8)
Indeed a iwlwifi-5000-ucode-8.83.5.1-1.tgz is downloadable there. :)
I mainly contains a .ucode file which I placed in /lib/firmware. :wink:
At next reboot dmesg doesn't complaint anymore. :D
And the µcode is newer indeed. Didn't check masked iwl5000-ucode in this regard though. :P

Despite the issue is technically cleared, one question remains:
What is the benefit of having iwl-5000 µcode loaded the way the use of the portage package implies? :?
i.e. why does it place a 'starter' version of ucode in /lib/firmware despite a newer package seems loaded in the end?

I feel lazy about filling a bug report for something that isn't really one. It would be more a request for some internal explanation, and I already got shooted down for doing so on another subject. So ...

Thanks for your attention, interest and support.
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10619
Location: Somewhere over Atlanta, Georgia

PostPosted: Sat Aug 27, 2011 5:54 pm    Post subject: Reply with quote

Whoops. My bad. The net-wireless/iwl5000-ucode-8.83.5.1 package is already in portage in the testing branch. The most Gentooish way to solve this problem is to unmask that and emerge that. No bug is warranted.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3712

PostPosted: Sat Aug 27, 2011 6:17 pm    Post subject: Reply with quote

Silly me as well.

I realised I got confused between the package name, the installed package name, and the µcode version declared in dmesg. :twisted:
My apologise for making so much noise about so little.

Guess it's time to revert to classical Gentooish update and close the subject. :lol:

Thanks for your attention, interest and support.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum