[Bug 595586] New: rfkill fails to reenable WLAN on eeepc900A
http://bugzilla.novell.com/show_bug.cgi?id=595586 http://bugzilla.novell.com/show_bug.cgi?id=595586#c0 Summary: rfkill fails to reenable WLAN on eeepc900A Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: i686 OS/Version: openSUSE 11.2 Status: NEW Severity: Normal Priority: P5 - None Component: Mobile Devices AssignedTo: mobile-bugs@forge.provo.novell.com ReportedBy: novellbmw@lsmod.de QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.0) Gecko/20100115 SUSE/3.6.0-2.1 Firefox/3.6 After disabling WLAN on Asus eeepc 900A using rfkill button (Fn+F2) it does not get back into a working state without a reboot. Reproducible: Always Steps to Reproduce: 1. boot up eeepc900A with WLAN enabled 2. press Fn+F2 (rfkill button) to disable WLAN 3. press Fn+F2 again to enable WLAN Actual Results: ----- 1. lspci before rfkill 01:00.0 Ethernet controller: Atheros Communications AR8121/AR8113/AR8114 Gigabit or Fast Ethernet (rev b0) 02:00.0 Ethernet controller: Atheros Communications Inc. AR5001 Wireless Network Adapter (rev 01) ----- 2. lspci after rfkill 01:00.0 Ethernet controller: Attansic Technology Corp. Atheros AR8121/AR8113/AR8114 PCI-E Ethernet Controller (rev b0) 02:00.0 Ethernet controller: Atheros Communications Inc. AR5001 Wireless Network Adapter (rev ff) 3. lspci is the same as with 1. happens even when doing ifdown wlan0, rmmod ath5k ath mac80211 cfg80211 and modprobe ath5k afterwards. dmesg: [ 194.874849] ath5k phy0: unsupported jumbo [ 248.253217] wlan0: deauthenticating by local choice (reason=3) [ 306.919033] ath5k phy0: failed to wakeup the MAC Chip [ 306.919060] ath5k phy0: can't reset hardware (-5) [ 307.135998] ath5k phy0: failed to wakeup the MAC Chip [ 307.136073] ath5k phy0: can't reset hardware (-5) [ 338.296975] ath5k 0000:02:00.0: PCI INT A disabled [ 427.297426] cfg80211: Calling CRDA to update world regulatory domain [ 427.412907] ath5k 0000:02:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17 [ 427.412964] ath5k 0000:02:00.0: setting latency timer to 64 [ 427.413078] ath5k 0000:02:00.0: registered as 'phy0' [ 427.423569] ath5k phy0: failed to wakeup the MAC Chip [ 427.423672] ath5k 0000:02:00.0: PCI INT A disabled [ 427.423724] ath5k: probe of 0000:02:00.0 failed with error -5 Expected Results: during rfkill, the AR5001 should possibly disappear, not the revision be "ff" after re-enabling WLAN, it should be back working (as was the case with preinstalled Xandros) Bug also occurs on 11.3-MS4, only that there Ethernet also disappears and reappears when using Fn+F2 key. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=595586
http://bugzilla.novell.com/show_bug.cgi?id=595586#c1
--- Comment #1 from Bernhard Wiedemann
http://bugzilla.novell.com/show_bug.cgi?id=595586
http://bugzilla.novell.com/show_bug.cgi?id=595586#c2
Vladimir Botka
http://bugzilla.novell.com/show_bug.cgi?id=595586
http://bugzilla.novell.com/show_bug.cgi?id=595586#c
Vladimir Botka
http://bugzilla.novell.com/show_bug.cgi?id=595586
http://bugzilla.novell.com/show_bug.cgi?id=595586#c3
Bernhard Wiedemann
http://bugzilla.novell.com/show_bug.cgi?id=595586
http://bugzilla.novell.com/show_bug.cgi?id=595586#c4
Vladimir Botka
just noticed that while WLAN is disabled, there is another strange error # ifconfig wlan0 up SIOCSIFFLAGS: Unknown error 132
dmesg has <snip> [30933.932597] ath5k phy0: failed to wakeup the MAC Chip [30933.932616] ath5k phy0: can't reset hardware (-5)
Moreover there is "can't reset hardware" message. It would be good to know if this problem is still present in 11.3. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=595586
http://bugzilla.novell.com/show_bug.cgi?id=595586#c5
Bernhard Wiedemann
http://bugzilla.novell.com/show_bug.cgi?id=595586
http://bugzilla.novell.com/show_bug.cgi?id=595586#c6
Vladimir Botka
The above output is from 11.3-MS4, as stated in the first line.
Would it be possible to try new nl80211 wpa driver ? As stated in [1] you can set WIRELESS_WPA_DRIVER='nl80211' in interface ifcfg config file [3]. You shall see then wpa_supplicant running with -Dnl80211 [4]. [1] /etc/sysconfig/network/config [2] # Note: in wpa_supplicant mode, it is currently (openSUSE 11.2) # not supported by our default 'wext', but by the new 'nl80211' # wpa driver. You can set WIRELESS_WPA_DRIVER='nl80211' in the # per interface ifcfg config file. We will switch to use the # new driver as soon as we've tested it with more chipsets. [3] /etc/sysconfig/network/ifcfg-wlan0 [4] # ps ax | grep wpa_supplicant 23935 ? Ss 0:00 wpa_supplicant -iwlan0 -c/var/run/wpa_supplicant-wlan0.conf -Dnl80211 -P/var/run/wpa_supplicant/wlan0.pid -B -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=595586
http://bugzilla.novell.com/show_bug.cgi?id=595586#c7
Bernhard Wiedemann
http://bugzilla.novell.com/show_bug.cgi?id=595586
http://bugzilla.novell.com/show_bug.cgi?id=595586#c8
Vladimir Botka
Here is something interesting I found: When I disable WLAN before a reboot, the system comes up with neither eth0 nor wlan0 and when I press Fn+F2, it enables only eth0. Then lspci shows only AR8121/AR8113/AR8114 with no trace of WLAN. but rfkill list all shows 0: eeepc-wlan: Wireless LAN Soft blocked: no Hard blocked: no
Also, when I rfkill block 1, wlan goes off and I can re-enable it with rfkill unblock 0 && ifup wlan0
The eeepc-wlan rfkill interface must be created by the ACPI modul. Let us gather the info and report it to upstream. I have AR5211 [1] in IBM TP40 with 2.6.34-rc3-3-default installed. These modules are loaded [2] and rfkill interfaces [3] created. The killswitch states [4] [5] shows the the Fn-F5 toggle. This is complete mess. [1] Model: "Atheros AR5211 802.11ab NIC" Vendor: pci 0x168c "Atheros Communications Inc." Device: pci 0x0012 "AR5211 802.11ab NIC" [2] # lsmod | grep ath ath5k 135683 0 mac80211 242949 1 ath5k ath 8739 1 ath5k cfg80211 155985 3 ath5k,mac80211,ath led_class 2841 2 ath5k,thinkpad_acpi [3] # ls -la /sys/class/rfkill/ rfkill0 -> ../../devices/platform/thinkpad_acpi/rfkill/rfkill0 rfkill2 -> ./../devices/pci0000:00/0000:00:1e.0/0000:02:02.0/ieee80211/phy1/rfkill2 rfkill3 -> ./../devices/pci0000:00/0000:00:1d.2/usb4/4-1/4-1:1.0/bluetooth/hci0/rfkill3 [4] # rfkill list all 0: tpacpi_bluetooth_sw: Bluetooth Soft blocked: yes Hard blocked: no 2: phy1: Wireless LAN Soft blocked: no Hard blocked: no [5] # rfkill list all 0: tpacpi_bluetooth_sw: Bluetooth Soft blocked: no Hard blocked: no 2: phy1: Wireless LAN Soft blocked: yes Hard blocked: no 4: hci0: Bluetooth Soft blocked: yes Hard blocked: no -------------------------- Would it be possible to produce report similar to this one ? We can cut&paste it to [99]. If there are any BIOS options it would be good to know them either. [99] http://linuxwireless.org/en/developers/MailingLists -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=595586
http://bugzilla.novell.com/show_bug.cgi?id=595586#c9
Bernhard Wiedemann
http://bugzilla.novell.com/show_bug.cgi?id=595586
http://bugzilla.novell.com/show_bug.cgi?id=595586#c10
Vladimir Botka
http://bugzilla.novell.com/show_bug.cgi?id=595586
http://bugzilla.novell.com/show_bug.cgi?id=595586#c11
Bernhard Wiedemann
http://bugzilla.novell.com/show_bug.cgi?id=595586
http://bugzilla.novell.com/show_bug.cgi?id=595586#c12
--- Comment #12 from Bernhard Wiedemann
http://bugzilla.novell.com/show_bug.cgi?id=595586
http://bugzilla.novell.com/show_bug.cgi?id=595586#c13
--- Comment #13 from Bernhard Wiedemann
http://bugzilla.novell.com/show_bug.cgi?id=595586
http://bugzilla.novell.com/show_bug.cgi?id=595586#c14
Vladimir Botka
http://bugzilla.novell.com/show_bug.cgi?id=595586
http://bugzilla.novell.com/show_bug.cgi?id=595586#c15
Jiri Slaby
Jiri, are you still involved with atheros wlan driver ?
I think, it's more or less in the maintenance mode, nobody actively develops ath5k anymore.
Jun 19 05:20:01 eeepc kernel: [ 400.546311] kernel BUG at
But hey, BUGs are tried to be fixed, will look into that. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=595586
http://bugzilla.novell.com/show_bug.cgi?id=595586#c
Jiri Slaby
http://bugzilla.novell.com/show_bug.cgi?id=595586
http://bugzilla.novell.com/show_bug.cgi?id=595586#c16
Jiri Slaby
http://bugzilla.novell.com/show_bug.cgi?id=595586
http://bugzilla.novell.com/show_bug.cgi?id=595586#c17
--- Comment #17 from Jiri Slaby
http://bugzilla.novell.com/show_bug.cgi?id=595586
http://bugzilla.novell.com/show_bug.cgi?id=595586#c18
--- Comment #18 from Bernhard Wiedemann
http://bugzilla.novell.com/show_bug.cgi?id=595586
http://bugzilla.novell.com/show_bug.cgi?id=595586#c19
Bernhard Wiedemann
http://bugzilla.novell.com/show_bug.cgi?id=595586
http://bugzilla.novell.com/show_bug.cgi?id=595586#c20
Jiri Slaby
http://bugzilla.novell.com/show_bug.cgi?id=595586
http://bugzilla.novell.com/show_bug.cgi?id=595586#c21
Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=595586
https://bugzilla.novell.com/show_bug.cgi?id=595586#c22
Jiri Slaby
https://bugzilla.novell.com/show_bug.cgi?id=595586
https://bugzilla.novell.com/show_bug.cgi?id=595586#c23
Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=595586
https://bugzilla.novell.com/show_bug.cgi?id=595586#c24
Jiri Slaby
Your kernel version worked really nice on the eeepc 900A. Disabling and re-enabling WLAN worked great.
Great. I need a dmidecode output to push it upstream. Could you attach 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=595586
https://bugzilla.novell.com/show_bug.cgi?id=595586#c25
Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=595586
https://bugzilla.novell.com/show_bug.cgi?id=595586#c26
Jiri Slaby
Your kernel version worked really nice on the eeepc 900A.
Could you try the kernel one more time? It contains a fix proposed by upstream. -- 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=595586
https://bugzilla.novell.com/show_bug.cgi?id=595586#c27
Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=595586
https://bugzilla.novell.com/show_bug.cgi?id=595586#c
Jiri Slaby
https://bugzilla.novell.com/show_bug.cgi?id=595586
https://bugzilla.novell.com/show_bug.cgi?id=595586#c28
Vladimir Psenicka
https://bugzilla.novell.com/show_bug.cgi?id=595586
https://bugzilla.novell.com/show_bug.cgi?id=595586#c29
Jiri Slaby
https://bugzilla.novell.com/show_bug.cgi?id=595586
https://bugzilla.novell.com/show_bug.cgi?id=595586#c30
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=595586
https://bugzilla.novell.com/show_bug.cgi?id=595586#c31
Swamp Workflow Management
participants (1)
-
bugzilla_noreply@novell.com