Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 592505 - Bad NetworkManager.state contents block wifi card from powering up
Summary: Bad NetworkManager.state contents block wifi card from powering up
Status: CLOSED DUPLICATE of bug 589108
Alias: None
Product: Fedora
Classification: Fedora
Component: NetworkManager
Version: 12
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Dan Williams
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2010-05-15 02:12 UTC by Richard Hitt
Modified: 2010-05-17 23:55 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2010-05-17 23:55:41 UTC

Attachments (Terms of Use)
Patch that demonstrates proof of concept described in Comment 6 (deleted)
2010-05-15 23:51 UTC, Richard Hitt
no flags Details | Diff

Description Richard Hitt 2010-05-15 02:12:02 UTC
Description of problem:
Wifi card fails to operate on reboot from failed suspend/resume on laptop;
these two commands fix instantly:
    sudo rm /var/lib/NetworkManager/NetworkManager.state
    sudo service NetworkManager restart

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

How reproducible:
Reproducible every time

Steps to Reproduce:
1. With wifi card (pcmcia) up and connection established, close laptop lid
2. After ~30s open lid and observe computer does not resume
3. Reboot and observe that wifi card (pcmcia) lights do not light
Actual results:
Wifi card fails to operate

Expected results:
Wifi card lights and operates normally

Additional info:
The laptop is a HP ze5250.

The contents of the NetworkManager.state file before removal are:
-------- start of file

-------- end of file

The contents after these two commands:
    rm /var/lib/NetworkManager/NetworkManager.state
    service NetworkManager restart
-------- start of file

-------- end of file

Comment 1 Richard Hitt 2010-05-15 02:31:15 UTC
The laptop's smolt ID is (taken without the wifi card):

Comment 2 Richard Hitt 2010-05-15 02:49:46 UTC
Another report of what seems to be my exact problem, albeit on a ThinkPad, not a HP, and on Ubuntu, not Fedora, is at this URL:

Comment 3 Richard Hitt 2010-05-15 03:15:06 UTC
Still another URL,
This one shows a fix, exactly the fix I described above, and claims
that "This bug affects 24 people", I don't know how they arrived
at that number.

Comment 4 Richard Hitt 2010-05-15 18:32:02 UTC
Another smolt of the laptop I reproduced this problem on.  This one includes the Broadcom 4318 card:
Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller
The smolt info is at:

Comment 5 Richard Hitt 2010-05-15 23:17:44 UTC
Also see Bugid 589108 comment 1, exactly the same problem and circumvention as I described above.  And note from that bug report that an alternative way to encounter this problem is with battery drain.  This happened to me too, months ago.

Comment 6 Richard Hitt 2010-05-15 23:51:54 UTC
Created attachment 414302 [details]
Patch that demonstrates proof of concept described in Comment 6

See Comment 6.  The patch is to src/main.c and adds option --force-enabled.
When the option is used, parse_state_file() forces NetworkingEnabled to be true.

Comment 7 Dan Williams 2010-05-17 23:51:59 UTC
The real fix for this is to stop using sleep/wake as the "Networking Enabled" commands, which is how they are currently wired up.  That's planned.

Comment 8 Dan Williams 2010-05-17 23:55:41 UTC

*** This bug has been marked as a duplicate of bug 589108 ***

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