[Bug 396174] New: Networking cannot re-connect after suspend
https://bugzilla.novell.com/show_bug.cgi?id=396174 Summary: Networking cannot re-connect after suspend Product: openSUSE 11.0 Version: RC 1 Platform: i686 OS/Version: openSUSE 11.0 Status: NEW Severity: Major Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: mglenn@cco.state.oh.us QAContact: qa@suse.de Found By: Beta-Customer System: IBM R40 Desktop: Gnome Network devices (built-in): See attachment "hwinfo.netcard". Both wired and wireless connections are functional upon install. After the laptop resumes from Suspend mode, however, neither the wired nor wireless network devices can successfully connect anymore. System has to be restarted before network connectivity is once again available. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=396174
User mglenn@cco.state.oh.us added comment
https://bugzilla.novell.com/show_bug.cgi?id=396174#c1
--- Comment #1 from Michael Glenn
https://bugzilla.novell.com/show_bug.cgi?id=396174
User mglenn@cco.state.oh.us added comment
https://bugzilla.novell.com/show_bug.cgi?id=396174#c2
--- Comment #2 from Michael Glenn
https://bugzilla.novell.com/show_bug.cgi?id=396174
User mglenn@cco.state.oh.us added comment
https://bugzilla.novell.com/show_bug.cgi?id=396174#c3
--- Comment #3 from Michael Glenn
https://bugzilla.novell.com/show_bug.cgi?id=396174
Michael Glenn
https://bugzilla.novell.com/show_bug.cgi?id=396174
Michael Glenn
https://bugzilla.novell.com/show_bug.cgi?id=396174
Robert Vojcik
https://bugzilla.novell.com/show_bug.cgi?id=396174
User seife@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=396174#c4
Stefan Seyfried
https://bugzilla.novell.com/show_bug.cgi?id=396174
User mglenn@cco.state.oh.us added comment
https://bugzilla.novell.com/show_bug.cgi?id=396174#c5
--- Comment #5 from Michael Glenn
Another question: are we talking about suspend to RAM (called "suspend" by gnome-power-manager) or suspend to disk (called "hibernate"), or does it happen on both?
Suspend to RAM. I have not tested Suspend to Disk/Hibernate; too many traumatic experiences w/that one in the past. :} I should have the balance of your answers for you by tomorrow morning. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=396174
User mglenn@cco.state.oh.us added comment
https://bugzilla.novell.com/show_bug.cgi?id=396174#c6
Michael Glenn
1) after resuming, try connecting manually via the nm-applet menu. Does this help?
Tried it w/both NICs. On the wired NIC, the little applet icon swirled for awhile (both dots green); a mouse-over pops "Requesting a network address from the wired network....". It finally timed out w/no connection. An interesting thing: when I elect to edit the Network Connections list, the wired list contains "Auto eth1" with "never" next to it. The wireless link on the other hand, has a time next to it. With the WLAN NIC, The connection menu shows a measurable power level. On selection, the icon goes round and round as well (lower dot green, upper dot gray). A mouse-over pops "Attempting to join the wireless network 'bla-bla'". After a while, a dialog called "Secrets required by the wireless network" pops up. All the settings and the key are correct, but hitting connect just repeats the above.
2) after suspending, do "rcnetwork restart". Does this already help to bring network back?
Nope; same results as above, after NetworkManager came back up, except for a very strange Wireless Network Secrets dialog popped up instead of the normal wireless dialog. I'll attach a screenshot. The drop-down menu, btw, is null.
3) before suspend, do "rmmod e100", then suspend / resume, then do "modprobe e100". If network is not back, try "rcnetwork restart" after that.
No-go. Same symptoms. Something I then tried: I brought up the nm-applet's Network Connections list and deleted EVERYTHING, then rebooted. When I got the desktop back, I checked the Network Connections list: "Auto eth1 . . . . never" was back in it, though the wireless stayed gone. Selecting Edit on Auto eth1 shows a MAC address in the address field (it didn't have one before), and MTU now says "automatic" instead of being blank. Selecting Auto eth1 from the connection menu re-does the LAN connection, but that "never" never goes away(???). Doing a Suspend to RAM test results in a SUCCESSFUL reconnection, and ifconfig shows a valid DHCP-generated IP address. Pinging the router succeeds. Next, I opened the nm-applet and selected the local WLAN. The icon swirled for a bit (both balls green) then went back to normal; no status message. Network Connections - Wireless now shows a "Auto bla-bla . . . . now" entry, and ifconfig shows an IP address for eth0, which is interesting: where the heck did it get the WEP key? Doing a Suspend to RAM test results in BOTH NICS FAILING in the exact same way as described for #1. Just to see what would happen, with the NICs still down I then did rmmod airo: The command line *hung*. A warm reboot also hung, just after the Random Seed generation message, so I had to power-cycle the test machine to get it back. After the cold boot both NICs were back. I re-tried #3, this time testing the airo driver (the command line didn't hang on rmmod this time). Before doing the modprobe I did an ifconfig: eth1 (wired) is up. modprobe airo ran successfully, and about twenty seconds later I received a network-up message. ifconfig confirms both NICs up, ping is good. Something tells me that poor little airo is violently allergic to Suspend. :\ -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=396174
User mglenn@cco.state.oh.us added comment
https://bugzilla.novell.com/show_bug.cgi?id=396174#c7
--- Comment #7 from Michael Glenn
https://bugzilla.novell.com/show_bug.cgi?id=396174
User mglenn@cco.state.oh.us added comment
https://bugzilla.novell.com/show_bug.cgi?id=396174#c8
--- Comment #8 from Michael Glenn
https://bugzilla.novell.com/show_bug.cgi?id=396174
User seife@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=396174#c9
--- Comment #9 from Stefan Seyfried
https://bugzilla.novell.com/show_bug.cgi?id=396174
User mglenn@cco.state.oh.us added comment
https://bugzilla.novell.com/show_bug.cgi?id=396174#c10
--- Comment #10 from Michael Glenn
Ok, so the executive summary, as i digested it, is: "If you unload airo before suspend and reload it after resume, then both interfaces work fine." Is this correct?
This is correct.
(Everything else, the strange UI issues, preferring the slower connection, etc., are NetworkManager bugs that are not really related to suspend and which should be filed in separate bugreports to not mix everything up here.)
Yes; I realized this late yesterday. See Bug 396175: For some reason NetworkManager and NetControl were both trying to manage the same interfaces. :P -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=396174
User seife@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=396174#c11
Stefan Seyfried
https://bugzilla.novell.com/show_bug.cgi?id=396174
User seife@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=396174#c12
Stefan Seyfried
https://bugzilla.novell.com/show_bug.cgi?id=396174
Greg Kroah-Hartman
https://bugzilla.novell.com/show_bug.cgi?id=396174
Pavel Machek
https://bugzilla.novell.com/show_bug.cgi?id=396174
User pavel@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=396174#c13
Pavel Machek
https://bugzilla.novell.com/show_bug.cgi?id=396174
User mglenn@cco.state.oh.us added comment
https://bugzilla.novell.com/show_bug.cgi?id=396174#c14
--- Comment #14 from Michael Glenn
https://bugzilla.novell.com/show_bug.cgi?id=396174
User pavel@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=396174#c15
--- Comment #15 from Pavel Machek
https://bugzilla.novell.com/show_bug.cgi?id=396174
User mglenn@cco.state.oh.us added comment
https://bugzilla.novell.com/show_bug.cgi?id=396174#c16
--- Comment #16 from Michael Glenn
https://bugzilla.novell.com/show_bug.cgi?id=396174
User mglenn@cco.state.oh.us added comment
https://bugzilla.novell.com/show_bug.cgi?id=396174#c17
--- Comment #17 from Michael Glenn
https://bugzilla.novell.com/show_bug.cgi?id=396174
User pavel@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=396174#c18
--- Comment #18 from Pavel Machek
https://bugzilla.novell.com/show_bug.cgi?id=396174
Pavel Machek
https://bugzilla.novell.com/show_bug.cgi?id=396174
User mglenn@cco.state.oh.us added comment
https://bugzilla.novell.com/show_bug.cgi?id=396174#c19
--- Comment #19 from Michael Glenn
.... If unload/reload works, it should be possible to get it working with suspend, too.
Well, that's certainly good to hear.
.... Can you check that prev_state in airo_pci_resume is indeed != PCI_D1?
Ummmm, I think I'll pass that question on to airo's author. :\ -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=396174
User mglenn@cco.state.oh.us added comment
https://bugzilla.novell.com/show_bug.cgi?id=396174#c20
Michael Glenn
https://bugzilla.novell.com/show_bug.cgi?id=396174
User mglenn@cco.state.oh.us added comment
https://bugzilla.novell.com/show_bug.cgi?id=396174#c21
--- Comment #21 from Michael Glenn
https://bugzilla.novell.com/show_bug.cgi?id=396174
User pavel@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=396174#c22
--- Comment #22 from Pavel Machek
https://bugzilla.novell.com/show_bug.cgi?id=396174
Pavel Machek
https://bugzilla.novell.com/show_bug.cgi?id=396174
User pavel@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=396174#c23
Pavel Machek
participants (1)
-
bugzilla_noreply@novell.com