LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 12-02-2011, 03:53 PM   #1
kev40293
LQ Newbie
 
Registered: Aug 2011
Distribution: Gentoo
Posts: 9

Rep: Reputation: Disabled
Iwlagn module fails to associate after suspend in new 3.0+ kernels.


On my laptop i have a built in Centrino wireless 1000 wifi adapter that uses the iwlagn driver. up through kernel 2.6.38, i am able to suspend my laptop and resume without problems. When i update to a newer kernel, 2.6.39 2.6.40 or 3.0 and higher, upon resume the device fails to associate with the previous access point. It complains that it cannot flush all fifo queues(or pipes cant remember which) and that direct probing fails. It scans properly, and i can attempt to connect however it always fails. I have tried stopping and restarting the network, unloading and reloading the module, after suspend, and unloading before and reloading after, and still no luck. I'm running gentoo on my laptop but i have confirmed that it is not a bug with gentoo since i have confirmed the same behavior on fedora with a 3.0+ kernel. Also, i have tried it with different access points so its not a network problem, and i ruled out a bug in NetworkManager because I have confirmed its failure to associate with both wpa_gui (wpa_supplicant) and wicd. I'm wondering if anyone else has had the same problem, or if anyone knows a way to fix it, or has any other suggestions of what to try. I've done searches on this subject and havent seen any results with the new kernel, so possibly its a simple fix that i've overlooked?

Any help is appreciated.
 
Old 12-08-2011, 03:10 PM   #2
genedsmith
LQ Newbie
 
Registered: Dec 2011
Posts: 6

Rep: Reputation: Disabled
Yes, I have exactly the same problem. Laptop is hp pavilion dv7-6195us. I have reported this to both Ubuntu and Fedora bugzilla and, as suggested by Ubuntu, to LKML. There seemed to be a lot of interest at first on LKML but, so far, no additional responses or actions. Here is the link to my LKML post that also links into the bugzilla reports:
(remove spaces)
https:// lkml. org / lkml /2011 /10/26/6
I suspect that this dv7 is not used by many linux users. (It also uses a ton of power, 50w plus, in linux but hardly any in windows.)

-gene
 
Old 12-08-2011, 03:43 PM   #3
kev40293
LQ Newbie
 
Registered: Aug 2011
Distribution: Gentoo
Posts: 9

Original Poster
Rep: Reputation: Disabled
well I think i've narrowed the problem down to the wireless card/driver iwlagn. know for a fact that it was revised between kernel 2.6.38 and 2.6.39. It was merged with the iwlcore module, or at least the functions were. At some point i may try to compile the old version of iwlagn with the 3.0 kernel and see if that makes a difference.

What wireless do you have? mine is an intel centrino wireless-N 1000. I'm curious to see if its the module problem or just hardware specific.
 
Old 12-08-2011, 04:41 PM   #4
genedsmith
LQ Newbie
 
Registered: Dec 2011
Posts: 6

Rep: Reputation: Disabled
Mine is same type as yours. My hardware details can be seen here:
https://bugs.launchpad.net/ubuntu/+s...ux/+bug/880648
e.g.,
0d:00.0 Network controller: Intel Corporation Centrino Wireless-N 1000
Subsystem: Intel Corporation Centrino Wireless-N 1000 BGN
Flags: bus master, fast devsel, latency 0, IRQ 53
Memory at c4500000 (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 8c-a9-82-ff-ff-a0-f4-7a
Kernel driver in use: iwlagn
Kernel modules: iwlagn

Glad you are looking at this! What type of laptop is yours?
 
Old 12-14-2011, 10:15 PM   #5
genedsmith
LQ Newbie
 
Registered: Dec 2011
Posts: 6

Rep: Reputation: Disabled
https://lkml.org/lkml/2011/12/12/256

wwguy in above thread suggested a fix that works for me.

-gene
 
Old 12-14-2011, 11:26 PM   #6
kev40293
LQ Newbie
 
Registered: Aug 2011
Distribution: Gentoo
Posts: 9

Original Poster
Rep: Reputation: Disabled
excellent, i can confirm that it works for me as well. also, if you save a .conf file in /etc/modprobe.d with bt_coex_active=0 then it will auto load on resume so you dont have to add the option when you modprobe, if you haven't done this already. Thanks for the help. and thanks to wwguy as well.
 
Old 12-14-2011, 11:36 PM   #7
genedsmith
LQ Newbie
 
Registered: Dec 2011
Posts: 6

Rep: Reputation: Disabled
Glad it worked for you too. Yes, I also created an /etc/modprobe.d file called iwlagn.conf containing the single line

options iwlagn bt_coex_active=N

so I don't have to manually run the modprobe commands.
 
Old 01-01-2012, 05:59 PM   #8
genedsmith
LQ Newbie
 
Registered: Dec 2011
Posts: 6

Rep: Reputation: Disabled
Unfortunately the latest f16 kernel, 3.1.6-1.fc.x86_64, breaks it again and can't reconnect wifi after sleep without a complete reboot. Still works with older kernels, e.g., 3.1.5-6 and 3.1.5-2.
 
Old 01-31-2012, 05:22 PM   #9
kev40293
LQ Newbie
 
Registered: Aug 2011
Distribution: Gentoo
Posts: 9

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by genedsmith View Post
Unfortunately the latest f16 kernel, 3.1.6-1.fc.x86_64, breaks it again and can't reconnect wifi after sleep without a complete reboot. Still works with older kernels, e.g., 3.1.5-6 and 3.1.5-2.
for the options change the module name to iwlwifi. it doesnt seem to load the iwlagn module anymore for me, though my kernel is 3.2
I think it might be the same problem for you.
 
Old 01-31-2012, 09:10 PM   #10
genedsmith
LQ Newbie
 
Registered: Dec 2011
Posts: 6

Rep: Reputation: Disabled
Yes, found out about this a while back but forgot to write back about what I found. Thanks for posting the solution.
Re: https://lkml.org/lkml/2012/1/7/119
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Do I need iwlagn module for Lenovo T400? redss Linux - Wireless Networking 1 07-07-2010 05:12 PM
Intel 3945ABG card fails to associate with the AP nuxrl Linux - Networking 3 02-09-2010 07:34 AM
wireless adapter fails to associate only with some networks cdhUW Linux - Newbie 2 01-13-2008 08:42 PM
hibernate/suspend oddities on different kernels BCarey Linux - Laptop and Netbook 1 05-05-2007 04:27 PM
Interface will not associate after dhcpcd fails bulldozer Linux - Wireless Networking 0 11-25-2006 01:49 PM


All times are GMT -5. The time now is 03:46 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration