Bug 362421 - RHEL51:PPORT: Wireless connection disabled after resuming from S3/S4
Summary: RHEL51:PPORT: Wireless connection disabled after resuming from S3/S4
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: NetworkManager
Version: 5.1
Hardware: All
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Dan Williams
QA Contact: desktop-bugs@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-11-01 19:27 UTC by Rezwanul Kabir
Modified: 2018-10-19 20:12 UTC (History)
2 users (show)

Fixed In Version: RHBA-2008-0369
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-05-21 16:44:05 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2008:0369 0 normal SHIPPED_LIVE NetworkManager bug fix update 2008-05-20 13:36:27 UTC

Description Rezwanul Kabir 2007-11-01 19:27:27 UTC
Description of problem:

 With NetworkManager enabled in RHEL5.1, if you are connected to a wireless 
network (using ipw3945 driver) and do suspend/hibernate( S3/S4), upon resuming 
the wireless network is disabled.
 Two ways ot enable it:

 1)Click the networking icon and uncheck the "Enable Networking" box then 
recheck the  "Enable Networking" box 
 2) service NetworkManager restart




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

NetworkManager-0.6.4-6.el5.x86_64.rpm
ipw3945.ko version 1.2.0d

How reproducible:
Always


Steps to Reproduce:
1.Install RHEL5.1
2.Enable NetworkManager service 
3.Connect to a wireless network
4.Enter S3/S4 and resume
  
Actual results:

 Wireless Network disabled ( refer to nm-applet icon)

Expected results:

 Resume wireless connection

Additional info:

Comment 1 RHEL Program Management 2007-11-01 19:44:36 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 2 Dan Williams 2007-11-29 21:02:38 UTC
This seems more like a driver issue; ipw2100 doesn't seem to have a problem here
on RHEL 5.1 with suspend.  Will try to get an ipw3945 and investigate.

Comment 3 Dan Williams 2007-11-30 16:10:14 UTC
Seen on a Dell Precision M6300 with

kernel-2.6.18-53.1.4.el5
ipw3945d-1.7.22-2.el5
ipw3945-ucode-1.13-2.el5
kmod-ipw3945-1.2.0-4.8.el5


Comment 4 Dan Williams 2007-11-30 17:07:04 UTC
NM hits the ipw3945 driver too early after resume, before the driver has had the
change to talk to the regulatory daemon.  The driver returns an error because it
doesn't yet have regulatory domain information, and NM then discards the device
because it cannot get capability information from it.

Comment 5 Dan Williams 2007-11-30 20:17:36 UTC
ipw3945 takes ~3 seconds on the M6300 to become available after resume...

Comment 6 Dan Williams 2007-12-04 17:50:24 UTC
Fixes committed.

Comment 17 Rezwanul Kabir 2008-05-06 16:06:46 UTC
Dan

   Could you elaborate a bit on how this was fixed. Was it a driver + 
NetworkManager fix?
   This would help us in future debugging/understanding wireless and S3/S4 
related issues. 

   Thanks..
      --rez



Comment 18 Dan Williams 2008-05-06 17:06:54 UTC
In this particular case, the bug was specific to the ipw3945 driver because it
uses a userspace binary regulatory daemon.  After resume when processes
unfreeze, the ipw3945 driver took a few seconds (up to 3) to start talking to
the regulatory daemon.  At the same time, NM gets unfrozen and detects network
devices again.  It checks the wireless extensions support of the ipw3945 device,
which is not yet ready to service WEXT requests because it hasn't sucessfully
talked to the regulatory daemon yet, and returns an error.  Because of this
error, NM fails to detect the device as a wireless device.

NM was patched to periodically retry the WEXT support ioctl (SIOCGIWRANGE) for a
period of time to allow the ipw3945 driver to successfully initialize at resume
time.

Comment 19 errata-xmlrpc 2008-05-21 16:44:05 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2008-0369.html



Note You need to log in before you can comment on or make changes to this bug.