Launchpad has imported 22 comments from the remote bug at
https://bugzilla.redhat.com/show_bug.cgi?id=466136.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2008-10-08T16:43:14+00:00 August wrote:

Description of problem:

I regularly use my laptop with two wireless networks in different
locations. When I suspend the laptop while it is connected to network
"A," then resume it within the range of network "B," NetworkManager
usually made an immediate connection to network "B."

With the latest update, NetworkManager instead attempts to connect to
network "A," which is over 10 miles away. Failing at this, it will
prompt me for network secrets; clicking "Cancel" in this dialog box will
cause it to connect to network "B" as was previously its practice.

Version-Release number of selected component (if applicable):

NetworkManager version: 0.7.0-0.11.svn4022.4.fc9.x86_64
Wireless driver: iwl3945

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/336055/comments/0

------------------------------------------------------------------------
On 2008-10-20T02:37:37+00:00 Dan wrote:

This isn't an issue with NM actually, but something either in the
supplicant or the drivers.  This bug has been around for a long time but
I've traced it to layers below NM.

What's your kernel version, and what version of wpa_supplicant do you
have on the machine?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/336055/comments/1

------------------------------------------------------------------------
On 2008-10-20T05:14:22+00:00 August wrote:

kernel-2.6.26.5-45.fc9.x86_64

wpa_supplicant-0.6.3-6.fc9.x86_64

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/336055/comments/2

------------------------------------------------------------------------
On 2009-01-19T06:54:18+00:00 Kevin wrote:

I am seeing this as well.

kernel-2.6.27.9-73.fc9.x86_64
wpa_supplicant-0.6.4-2.fc9.x86_64

iwl3945 as well.

Lately networking is disabled after returning from a suspend.  Re-
enabling networking seems to work.

In the past I have also seen the system restore to the previous
connection (which was 20+ miles away) and continue to think it was
connected until I again suspended, then return to the original location
and resumed.  Upon resume, NM usually had to prompt me for the network
password (which was preloaded into the dialogue box) which I had to
select CONNECT before it would reconnect me.

Shouldn't NM automatically restore the previous connection if it is
still available?

If it helps, I've disabled HW scanning when loading the iwl3945 module
as it helps me make a connection more reliably upon the initial system
boot-up:

options iwl3945 disable_hw_scan=1

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/336055/comments/3

------------------------------------------------------------------------
On 2009-01-19T07:44:33+00:00 Craig wrote:

also chipping in here...

no supplicant but using NM and wireless, suspend to disk and upon
wakeup, network manager wireless connections are disabled until I
'service restart NetworkManager'

Fedora 10, Acer Aspire One (some Intel wireless chipset)

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/336055/comments/4

------------------------------------------------------------------------
On 2009-02-14T19:59:23+00:00 Dan wrote:

(In reply to comment #3)
> I am seeing this as well.
> 
> kernel-2.6.27.9-73.fc9.x86_64
> wpa_supplicant-0.6.4-2.fc9.x86_64
> 
> iwl3945 as well.
> 
> Lately networking is disabled after returning from a suspend.  Re-enabling
> networking seems to work.

Kevin: this is a pm-utils issue caused by a dbus bug; see
https://bugzilla.redhat.com/show_bug.cgi?id=477964 .

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/336055/comments/5

------------------------------------------------------------------------
On 2009-02-14T20:05:18+00:00 Dan wrote:

For the original bug where NM tries to connect to an access point that's
clearly not present, that's actually a kernel bug which I traced down
this week.  The drivers weren't correctly aging scan results from before
suspend, thus when NM woke up all the APs from before suspend looked
like they had been seen less than 10 seconds ago.  These patches were
submitted to the kernel this past week and should get into Fedora fairly
soon; though we may need to backport them to recent kernels.

http://marc.info/?l=linux-wireless&m=123439060131140&w=2  (mac80211-based cards)
http://marc.info/?l=linux-wireless&m=123437688107698&w=2  (ipw2100 & ipw2200)

These patches should cover most cards in use today.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/336055/comments/6

------------------------------------------------------------------------
On 2009-02-25T20:17:26+00:00 John wrote:

I don't see a practical way to backport this (at least the
cfg80211/mac80211 bits) to anything earlier than 2.6.30.  The patch
depends on cfg80211 PM ops support and cfg80211-based scanning.  It
could be rewritten, but it would require either layering violations or
work-arounds, all to produce a one-off patch for an aging kernel.  I
just can't justify the time.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/336055/comments/7

------------------------------------------------------------------------
On 2009-02-25T20:44:58+00:00 Dan wrote:

I'll do the backport for mac80211 if you like.  When I looked at it I
didn't think it would be that bad in mac80211, but I may have been
wrong.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/336055/comments/8

------------------------------------------------------------------------
On 2009-02-25T21:00:48+00:00 John wrote:

I'm happy for you to do that if you are interested.

The way I read it, you'd need to backport "cfg80211: add PM hooks"
(which is trivial), then either backport all the cfg80211 scanning
(yuk!) or add something to cfg80211_ops to notify mac80211 of
suspend/resume events.  Given the later, then you'll need to reformulate
our aging changes around bss->last_update.

Of course, YMMV...maybe you see something I missed! :-)

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/336055/comments/9

------------------------------------------------------------------------
On 2009-02-26T03:29:22+00:00 Dan wrote:

Created attachment 333269
patch against 2.6.27.15 from F-9 updates as of 2009-02-25

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/336055/comments/10

------------------------------------------------------------------------
On 2009-02-26T03:30:58+00:00 Dan wrote:

Created attachment 333270
patch against 2.6.28.2 from F-9 package CVS as of 2009-02-25

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/336055/comments/11

------------------------------------------------------------------------
On 2009-02-26T03:31:40+00:00 Dan wrote:

Created attachment 333271
patch against 2.6.29-rc6 from F-10 package CVS as of 2009-02-25

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/336055/comments/12

------------------------------------------------------------------------
On 2009-02-26T03:33:34+00:00 Dan wrote:

I hope the 2.6.29-rc6 patch that I did against the F-10 package CVS
kernel will work for devel too; looks like Rawhide is using 2.6.29-rc6
as well.  Let me know if you find issues; I tested the patches using
ath5k and suspend-to-disk.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/336055/comments/13

------------------------------------------------------------------------
On 2009-02-26T03:40:09+00:00 Dan wrote:

Created attachment 333273
patch against 2.6.29-rc6 from F-10 package CVS as of 2009-02-25

remove some debugging stuff that got left in the previous version of
this patch

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/336055/comments/14

------------------------------------------------------------------------
On 2009-02-26T03:41:05+00:00 Dan wrote:

If these look OK I'll do the ipw2x00 patches too.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/336055/comments/15

------------------------------------------------------------------------
On 2009-02-26T12:19:08+00:00 Dan wrote:

Created attachment 333319
ipw2x00 scan age patch against 2.6.28.2 from F-9 package CVS

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/336055/comments/16

------------------------------------------------------------------------
On 2009-02-26T12:20:09+00:00 Dan wrote:

Created attachment 333320
ipw2x00 scan age patch against 2.6.29-rc6 from F-10 package CVS

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/336055/comments/17

------------------------------------------------------------------------
On 2009-02-26T20:19:40+00:00 John wrote:

Hey, looks great.  I've pushed them into the current stable of Fedora
kernels...thanks!

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/336055/comments/18

------------------------------------------------------------------------
On 2009-03-24T22:55:34+00:00 Fedora wrote:

kernel-2.6.27.21-78.2.41.fc9 has been submitted as an update for Fedora 9.
http://admin.fedoraproject.org/updates/kernel-2.6.27.21-78.2.41.fc9

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/336055/comments/24

------------------------------------------------------------------------
On 2009-03-25T16:01:56+00:00 Fedora wrote:

kernel-2.6.27.21-78.2.41.fc9 has been pushed to the Fedora 9 testing 
repository.  If problems still persist, please make note of it in this bug 
report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing-newkey update kernel'.  You can 
provide feedback for this update here: 
http://admin.fedoraproject.org/updates/F9/FEDORA-2009-2989

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/336055/comments/25

------------------------------------------------------------------------
On 2009-04-02T17:22:01+00:00 Fedora wrote:

kernel-2.6.27.21-78.2.41.fc9 has been pushed to the Fedora 9 stable
repository.  If problems still persist, please make note of it in this
bug report.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/336055/comments/27


** Changed in: linux (Fedora)
   Importance: Unknown => Low

** Bug watch added: Red Hat Bugzilla #477964
   https://bugzilla.redhat.com/show_bug.cgi?id=477964

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/336055

Title:
  Wifi driver fixes for age scan

Status in linux package in Ubuntu:
  Fix Released
Status in pm-utils package in Ubuntu:
  Fix Released
Status in linux source package in Jaunty:
  Fix Released
Status in pm-utils source package in Jaunty:
  Fix Released
Status in linux package in Fedora:
  Fix Released

Bug description:
  SRU justification:

  Impact: The houskeeping of the wireless stack does not account for the
  time spent in suspend. So after resume it will think the AP's from the
  last scan are still valid and tries to reconnect to the one connected
  to before suspended.

  Fix: Account for the time spent in suspend when resuming. Patch taken
  from https://bugzilla.redhat.com/attachment.cgi?id=333270 and tested
  by the reported. (Had been withdrawn from pre-release inclusion as it
  changes the ABI)

  Testcase: Connect to an access point, suspend, move away and resume.

  ---

  When you resume from suspend the wifi drivers get confused and
  network-manager continues to show the access points from when you
  suspended the laptop. Dan Williams has fixes for this.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/336055/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to