[Bug 222529] New: wireless network is broken after resume
https://bugzilla.novell.com/show_bug.cgi?id=222529 Summary: wireless network is broken after resume Product: SUSE Linux 10.1 Version: Final Platform: i686 OS/Version: SuSE Linux 10.1 Status: NEW Severity: Normal Priority: P5 - None Component: Mobile Devices AssignedTo: behlert@novell.com ReportedBy: k-epsilon@gmx.de QAContact: qa@suse.de i've a Thinkpad T41p (Madwifi 0.9.2 driver) and after resume from suspend to disk or RAM the wireless network is not reachable. The network (ath0 and eth0) is controlled by ifpluged. The Madwifi-driver creates two interfaces: ath0 and wifi0. After resume the IP-Address is assigned to wifi0 instead to ath0 and the network is broken. ifconfig after resume: octane:/home/mi # ifconfig lo Protokoll:Lokale Schleife inet Adresse:127.0.0.1 Maske:255.0.0.0 inet6 Adresse: ::1/128 Gültigkeitsbereich:Maschine UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:81 errors:0 dropped:0 overruns:0 frame:0 TX packets:81 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 Sendewarteschlangenlänge:0 RX bytes:6093 (5.9 Kb) TX bytes:6093 (5.9 Kb) wifi0 Protokoll:UNSPEC Hardware Adresse 00-0F-B5-80-E1-67-00-00-00-00-00-00-00-00-00-00 inet Adresse:10.0.0.5 Bcast:10.0.0.255 Maske:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 Sendewarteschlangenlänge:199 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Interrupt:11 Speicher:e1320000-e1330000 Restarting the network (rcnetwork restart) is not sufficient to reactivate the wireless connection, but 'ifconfig wifi0 down' and then 'rcnetwork restart' works. This behavior only appears after resume from suspend to disk or RAM. Before suspend switching between wireless (ath0) and wired network (eth0) works great. The same problem occurs on a desktop machine with a Netgear Atheros based card. Regards Dennis -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222529 hmacht@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |k-epsilon@gmx.de ------- Comment #1 from hmacht@novell.com 2006-11-21 03:55 MST ------- In /etc/powersave/sleep, there is a variable UNLOAD_MODULES_BEFORE_SUSPEND2DISK="". Some lines above, there is a corresponding "Default" list. Can you please post that to check if ath_pci is in the default list of modules which get unloaded on 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222529 ------- Comment #2 from hmacht@novell.com 2006-11-21 03:58 MST ------- Or easier: Post the output of the command grep DEFAULT_S2D_UNLOAD /usr/lib/powersave/scripts/sleep_helper_functions Thanks. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222529 ------- Comment #3 from k-epsilon@gmx.de 2006-11-21 10:23 MST ------- mi@ibm:~> grep DEFAULT_S2D_UNLOAD /usr/lib/powersave/scripts/sleep_helper_functions DEFAULT_S2D_UNLOAD="usb_storage sbp2 ohci_hcd uhci_hcd stir4200 ohci1394 ipw2200 rt2500 prism54 ath_pci r8169 lt_modem Intel536 Intel537 ndiswrapper" MODULES_TO_UNLOAD="${UNLOAD_MODULES_BEFORE_SUSPEND2DISK:-$DEFAULT_S2D_UNLOAD}" The module ath_pci seems to be unloaded before suspend. In the Gkrellm-Applet the ath0 window disappears before suspend and kpowersave shows: "unload ath_pci". After resume in Gkrellm there is one window for ath0 and one window for wifi0. wifi0 shows ~ 1 kb/s traffic and ath0 shows no traffic. But the connection is broken. /var/log/messages (resume from suspend): Nov 21 18:06:53 ibm kernel: ath_pci: module not supported by Novell, setting U taint flag. Nov 21 18:06:53 ibm kernel: ath_pci: 0.9.4.5 (0.9.2) Nov 21 18:06:53 ibm kernel: ACPI: PCI Interrupt 0000:02:02.0[A] -> Link [LNKC] -> GSI 11 (level, low) -> IRQ 11 Nov 21 18:06:53 ibm kernel: wifi0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps Nov 21 18:06:53 ibm kernel: wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps Nov 21 18:06:54 ibm kernel: wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps Nov 21 18:06:54 ibm kernel: wifi0: H/W encryption support: WEP AES AES_CCM TKIP Nov 21 18:06:54 ibm kernel: wifi0: mac 5.6 phy 4.1 5ghz radio 1.7 2ghz radio 2.3 Nov 21 18:06:54 ibm kernel: wifi0: Use hw queue 1 for WME_AC_BE traffic Nov 21 18:06:54 ibm kernel: wifi0: Use hw queue 0 for WME_AC_BK traffic Nov 21 18:06:54 ibm kernel: wifi0: Use hw queue 2 for WME_AC_VI traffic Nov 21 18:06:54 ibm kernel: wifi0: Use hw queue 3 for WME_AC_VO traffic Nov 21 18:06:54 ibm kernel: wifi0: Use hw queue 8 for CAB traffic Nov 21 18:06:54 ibm kernel: wifi0: Use hw queue 9 for beacons Nov 21 18:06:54 ibm kernel: wifi0: Atheros 5212: mem=0xc0210000, irq=11 ---- Nov 21 18:06:54 ibm ifplugd(wifi0)[5140]: ifplugd 0.28 initializing. Nov 21 18:06:54 ibm kernel: ACPI: PCI Interrupt 0000:00:1d.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11 Nov 21 18:06:55 ibm ifplugd(wifi0)[5140]: Using interface wifi0/00:05:4E:4A:49:D2 with driver <ath_pci> (version: 0.9.4.5 (0.9.2)) Nov 21 18:06:55 ibm kernel: PCI: Setting latency timer of device 0000:00:1d.0 to 64 Nov 21 18:06:55 ibm ifplugd(wifi0)[5140]: Using detection mode: IFF_RUNNING Nov 21 18:06:55 ibm ifup: ath0 device: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01) Nov 21 18:06:55 ibm ifup: wifi0 device: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01) Nov 21 18:06:56 ibm kernel: uhci_hcd 0000:00:1d.0: UHCI Host Controller Nov 21 18:06:56 ibm ifplugd(wifi0)[5140]: Initialization complete, link beat detected. Nov 21 18:06:56 ibm ifup: ath0 configuration: wlan-id-00:05:4e:4a:49:d2 Nov 21 18:06:56 ibm ifup: wifi0 configuration: wlan-id-00:05:4e:4a:49:d2 Nov 21 18:06:56 ibm kernel: uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 1 Nov 21 18:06:56 ibm ifplugd(wifi0)[5140]: Executing '/etc/sysconfig/network/scripts/ifplugd-selectif wifi0 up'. ---- Nov 21 18:06:56 ibm kernel: input: USB HID v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on usb-0000:00:1d.1-2 Nov 21 18:06:56 ibm ifup: ath0 is controlled by ifplugd Nov 21 18:06:56 ibm ifup: wifi0 is controlled by ifplugd Nov 21 18:06:57 ibm ifplugd(wifi0)[5140]: client: ifup wifi0 -o ifplugd Nov 21 18:06:57 ibm ifplugd(wifi0)[5140]: client: wifi0 device: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01) Nov 21 18:06:57 ibm ifup: wifi0 device: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01) Nov 21 18:06:57 ibm ifplugd(wifi0)[5140]: client: wifi0 configuration: wlan-id-00:05:4e:4a:49:d2 Nov 21 18:06:57 ibm ifup: wifi0 configuration: wlan-id-00:05:4e:4a:49:d2 Nov 21 18:06:57 ibm ifup: ath0 device: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01) Nov 21 18:06:57 ibm ifup: ath0 configuration: wlan-id-00:05:4e:4a:49:d2 Nov 21 18:06:58 ibm ifup-wireless: ath0 starting wpa_supplicant Nov 21 18:06:58 ibm ifplugd(wifi0)[5140]: Program executed successfully. /var/log/message (after reboot): Nov 21 17:45:44 ibm ifup: lo Nov 21 17:45:44 ibm ifup: lo Nov 21 17:45:44 ibm ifup: IP address: 127.0.0.1/8 Nov 21 17:45:44 ibm ifup: Nov 21 17:45:45 ibm ifup: ath0 device: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01) Nov 21 17:45:45 ibm ifup: ath0 configuration: wlan-id-00:05:4e:4a:49:d2 Nov 21 17:45:45 ibm ifup: ath0 is controlled by ifplugd Nov 21 17:45:46 ibm ifup: ath0 device: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01) Nov 21 17:45:46 ibm ifup: ath0 configuration: wlan-id-00:05:4e:4a:49:d2 Nov 21 17:45:46 ibm ifup-wireless: ath0 starting wpa_supplicant Nov 21 17:45:47 ibm ifplugd(eth0)[3013]: ifplugd 0.28 initializing. Nov 21 17:45:47 ibm ifplugd(eth0)[3013]: Using interface eth0/00:0D:60:F9:29:00 with driver <e1000> (version: 7.0.33-NAPI) Nov 21 17:45:47 ibm ifplugd(eth0)[3013]: Using detection mode: SIOCETHTOOL Nov 21 17:45:47 ibm ifplugd(eth0)[3013]: Initialization complete, link beat not detected. Nov 21 17:45:47 ibm ifup: eth0 device: Intel Corporation 82540EP Gigabit Ethernet Controller (Mobile) (rev 03) Nov 21 17:45:47 ibm ifup: eth0 configuration: eth-id-00:0d:60:f9:29:00 Nov 21 17:45:47 ibm ifup: eth0 is controlled by ifplugd Nov 21 17:45:47 ibm ifstatus: eth0 device: Intel Corporation 82540EP Gigabit Ethernet Controller (Mobile) (rev 03) Nov 21 17:45:47 ibm ifstatus: eth0 configuration: eth-id-00:0d:60:f9:29:00 Nov 21 17:45:47 ibm ifstatus: eth0 ifplugd is running Nov 21 17:45:48 ibm ifplugd-selectif: eth0 no cable connected Nov 21 17:45:48 ibm ifstatus: eth0 device: Intel Corporation 82540EP Gigabit Ethernet Controller (Mobile) (rev 03) Nov 21 17:45:48 ibm ifstatus: eth0 configuration: eth-id-00:0d:60:f9:29:00 Nov 21 17:45:48 ibm ifstatus: eth0 ifplugd is running -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222529 k-epsilon@gmx.de changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|k-epsilon@gmx.de | -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222529 hmacht@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hmacht@novell.com AssignedTo|hmacht@novell.com |tambet@ximian.com Status|ASSIGNED |NEW ------- Comment #4 from hmacht@novell.com 2006-11-25 15:13 MST ------- I don't think it's related to suspend. You are using NetworkManager, right? -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222529 ------- Comment #5 from k-epsilon@gmx.de 2006-11-26 12:33 MST ------- No, i don't use the NetworkManager. Both interfaces (eth0 and ath0) are enabled by the traditional ifup/ifdown and ifplugd (in yast: "Aktivierung bei Kabelanschluss"). Before suspend the network works great and there is no problem switching between eth0 and ath0 if the cable is unpluged. After resume from suspend it seems that some process (ifup?) activates wifi0 instead of ath0. This problem only arises after 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222529 hmacht@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zoz@novell.com ------- Comment #6 from hmacht@novell.com 2006-11-26 12:49 MST ------- Dennis, you are just switching to another network connection with just unplugging the cable? Is this possible with traditional ifup method at all? Christian, any idea what's going on? -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222529 seife@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tambet@ximian.com AssignedTo|tambet@ximian.com |jg@novell.com ------- Comment #7 from seife@novell.com 2006-11-27 02:19 MST ------- (In reply to comment #6)
Dennis, you are just switching to another network connection with just unplugging the cable? Is this possible with traditional ifup method at all?
Yes. This works better than NetworkManager :-) The question is, why it suddenly thinks that wifi0 is a good interface to use... Maybe Joe can help us here. And Tambet is not to blame this time :-) -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222529 jg@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jg@novell.com AssignedTo|jg@novell.com |zoz@novell.com ------- Comment #8 from jg@novell.com 2006-11-27 02:40 MST ------- wifi0 has interface type 801, which should be ignored by ifup. Christian? -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222529 zoz@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #9 from zoz@novell.com 2006-12-12 08:42 MST ------- Yes, wifi* should be ignored completely. Currently we skip these only in rcnetwork. Now ifup exits if an interface has type 801. Fixed in svn. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222529 ------- Comment #10 from zoz@novell.com 2007-01-12 09:07 MST ------- Added this fix also to SLE10-SP1 -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222529 zoz@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dmueller@novell.com ------- Comment #11 from zoz@novell.com 2007-01-18 04:10 MST ------- *** Bug 233018 has been marked as a duplicate of this bug. *** -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222529 zoz@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Component|Mobile Devices |Mobile Devices Product|SUSE Linux 10.1 |openSUSE 10.2 Resolution|FIXED | Status Whiteboard| |YOU 10.2 ------- Comment #12 from zoz@novell.com 2007-01-18 04:19 MST ------- Should become online update for 10.2 and maybe for 10.1 -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222529 jerker.delsing@ltu.se changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jerker.delsing@ltu.se ------- Comment #13 from jerker.delsing@ltu.se 2007-02-13 23:53 MST ------- Have recognised same behavior of a T43 machine. The atheros wifi dies after suspend to RAM, haven't tested suspend to disk. rcnetwork restart does not help. I addition netstat is reported as <defunct> by ps -e. This behavior is new in 10.2 things worked really good in 10.1 Jerker -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222529 ------- Comment #14 from jerker.delsing@ltu.se 2007-02-25 03:49 MST ------- In 10.2 using netmanager the following will enable the atheros card in my T43 after suspend modprobe -r ath_pci modprobe ath_pci rcnetwork restart -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222529 ------- Comment #15 from jg@novell.com 2007-02-26 02:10 MST ------- This module does not get un-/reloaded on suspend automatically. But you can enable this by adding ath_pci to variable SUSPEND_MODULES in /etc/pm/config. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222529 ------- Comment #16 from rkwasny@novell.pl 2007-03-25 22:37 MST ------- Any news on this case? running a script to unload/load module by hand every time after suspend seems to be annoying under SLED there is no such problem -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222529 ------- Comment #17 from seife@novell.com 2007-03-26 01:37 MST ------- (In reply to comment #16)
Any news on this case? running a script to unload/load module by hand every time after suspend seems to be annoying under SLED there is no such problem
SLED uses NM per default. _This_ bug is about a nonstandard setup (even 10.2 uses NM per default, and yes, it is broken, too). -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222529#c18 --- Comment #18 from Stijn Hisken <stijn.hisken@augustinuscollege.nl> 2007-06-27 01:58:22 MST --- Confirmed. I also use the Atheros Madwifi driver (AR5005GS adapter), and it also won't resume after a hibernate. I use the NetworkManager applet to configure it. -- 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=222529#c21 Christian Zoz <zoz@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED Info Provider|behlert@novell.com | Resolution| |FIXED --- Comment #21 from Christian Zoz <zoz@novell.com> 2007-11-29 05:30:45 MST --- Fixed for 10.3 and SLED10 Wontfix for 10.2 -- 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.
participants (1)
-
bugzilla_noreply@novell.com