[Bug 737559] New: acer_wmi causes wireless network to randomly disconnect.
https://bugzilla.novell.com/show_bug.cgi?id=737559 https://bugzilla.novell.com/show_bug.cgi?id=737559#c0 Summary: acer_wmi causes wireless network to randomly disconnect. Classification: openSUSE Product: openSUSE 12.2 Version: Factory Platform: i686 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: fzambrini@gmail.com QAContact: qa@suse.de Found By: --- Blocker: --- Created an attachment (id=467979) --> (http://bugzilla.novell.com/attachment.cgi?id=467979) Info for Acer Aspire 3680 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20100101 Firefox/8.0 Iceweasel/8.0 Operating System: Debian 6.0 Squeeze Kernel Version: 2.6.32-5-686 and 2.6.38 (backport kernel) Hardware: Acer Aspire 3680 Problem: If the acer-wmi module is loaded, gnome network manager will repeatedly (and randomly) disconnect and reconnect to the wireless network. If the acer_wmi module is blacklisted, gnome network manager will behave normally. However after 2-3 cold boots, the wireless interface (wlan0) will be permanently disabled. The only way to fix is to reload acer_wmi and reboot. Reproducible: Always Steps to Reproduce: 1. Load acer_wmi at boot up Actual Results: Gnome network manager randomly disconnects and reconnects. Expected Results: The network connection should be maintained constantly. -- 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=737559 https://bugzilla.novell.com/show_bug.cgi?id=737559#c Joey Lee <jlee@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jlee@suse.com AssignedTo|kernel-maintainers@forge.pr |jlee@suse.com |ovo.novell.com | -- 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=737559 https://bugzilla.novell.com/show_bug.cgi?id=737559#c1 Joey Lee <jlee@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |fzambrini@gmail.com --- Comment #1 from Joey Lee <jlee@suse.com> 2012-01-13 08:17:58 UTC --- Hi Frank, Could you please provide the complete /var/log/messages and dmesg log to me? Please take the above log files after system boot and issue reproduced a couple of times. And, could you please use rfkill tool to monitor status of kill switch? http://linuxwireless.org/en/users/Documentation/rfkill use: watch -n 1 rfkill -- 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=737559 https://bugzilla.novell.com/show_bug.cgi?id=737559#c6 Joey Lee <jlee@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |fzambrini@gmail.com --- Comment #6 from Joey Lee <jlee@suse.com> 2012-03-29 04:03:28 UTC --- Hi Frank, Sorry for I am late reply you. I didn't see useful information from dmesg. (In reply to comment #5)
Attached are the dmesg and messages logs. The network connection was lost twice in this time.
'watch -n 1 rfkill' did not work so I used 'rfkill event' instead.
I also discovered that this bug affects 2.6.39 from Debian backports. (http://packages.debian.org/squeeze-backports/linux-image-2.6-686)
Let me know if you need any more information/testing.
Sorry for my command is wrong, please use: 'watch -n 1 rfkill list' Then, please monitor does there have any state of rfkill changed (soft/hard block) when issue happen? -- 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=737559 https://bugzilla.novell.com/show_bug.cgi?id=737559#c7 Frank Zambrini <fzambrini@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|fzambrini@gmail.com | --- Comment #7 from Frank Zambrini <fzambrini@gmail.com> 2012-04-08 23:46:38 UTC --- Hi Joey, Here is what I see when the connection is stable: 0: acer-wireless: Wireless LAN Soft blocked: no Hard blocked: no 1: acer-threeg: Wireless WAN Soft blocked: no Hard blocked: no 2: phy0: Wireless LAN Soft blocked: no Hard blocked: no And when it disconnects I see: 0: acer-wireless: Wireless LAN Soft blocked: yes Hard blocked: no 1: acer-threeg: Wireless WAN Soft blocked: no Hard blocked: no 2: phy0: Wireless LAN Soft blocked: no Hard blocked: no The 'yes' will only last for a 1-2 seconds and then it switches back to 'no.' Although it takes nm-applet about 5-6 seconds to reconnect. I also discovered that unplugging the power supply will sometimes trigger the network disconnect. It doesn't happen every time I unplug the psu but it seems like the problem is more frequent when on battery power. -- 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=737559 https://bugzilla.novell.com/show_bug.cgi?id=737559#c8 Joey Lee <jlee@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |fzambrini@gmail.com --- Comment #8 from Joey Lee <jlee@suse.com> 2012-04-18 08:09:59 UTC --- OK, after re-check your dmesg, I awake your Acer laptop is a old machine and not support new wmi method. I believe acer-wmi still running the polling thread to read the hardware status on your machine, and the wmi or EC register might response wrong status. Please kindly share your acpidump and dmidecode to me, just attach on this bug: # acpidump > acpidump.dat # dmidecode > dmidecode.log 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.
https://bugzilla.novell.com/show_bug.cgi?id=737559 https://bugzilla.novell.com/show_bug.cgi?id=737559#c9 --- Comment #9 from Frank Zambrini <fzambrini@gmail.com> 2012-04-23 01:27:07 UTC --- Created an attachment (id=487340) --> (http://bugzilla.novell.com/attachment.cgi?id=487340) acpidump log -- 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=737559 https://bugzilla.novell.com/show_bug.cgi?id=737559#c10 --- Comment #10 from Frank Zambrini <fzambrini@gmail.com> 2012-04-23 01:27:43 UTC --- Created an attachment (id=487341) --> (http://bugzilla.novell.com/attachment.cgi?id=487341) dmidecode log -- 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=737559 https://bugzilla.novell.com/show_bug.cgi?id=737559#c11 Frank Zambrini <fzambrini@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|fzambrini@gmail.com | --- Comment #11 from Frank Zambrini <fzambrini@gmail.com> 2012-04-23 01:28:58 UTC --- Hi Joey, Attached are the required files. -- 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=737559 https://bugzilla.novell.com/show_bug.cgi?id=737559#c12 --- Comment #12 from Joey Lee <jlee@suse.com> 2012-04-27 08:01:06 UTC --- (In reply to comment #9)
Created an attachment (id=487340) --> (http://bugzilla.novell.com/attachment.cgi?id=487340) [details] acpidump log
Confirm acer-wmi still run polling to query wireless states on your machine. But, the wireless state is response by BIOS's SMI: 6AF4F258-B401-42FD-BE91-3D4AC2D7C0D3: # WMID_GUID1 object_id: BA notify_id: 42 reserved: 41 instance_count: 1 flags: 0x2 ACPI_WMI_METHOD Scope (\_SB) { Device (WMID) { Name (_HID, "PNP0C14") ... Name (BUFF, Buffer (0x04) { 0x00, 0x00, 0x00, 0x00 }) ... Method (PHSR, 2, NotSerialized) /* get wireless: Store (\_SB.WMID.PHSR (0x01, 0x00), BUFF) */ { Acquire (\_SB.PSMX, 0xFFFF) /* grab mutex */ Store (0x91, BCMD) Store (Arg0, DID) /* Arg0 = 0x01 */ Store (Arg1, INF) /* Arg0 = 0x00 */ Store (Zero, SMIC) /* SMI */ Store (DID, Local0) Release (\_SB.PSMX) /* release mutex */ Return (Local0) } ... Method (Z006, 1, NotSerialized) /* call by WMBA */ { While (One) { Name (_T_0, 0x00) Store (Arg0, _T_0) If (LEqual (_T_0, 0x01)) /* get wireless state */ { Store (\_SB.WMID.PHSR (0x01, 0x00), BUFF) } -- 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=737559 https://bugzilla.novell.com/show_bug.cgi?id=737559#c13 --- Comment #13 from Joey Lee <jlee@suse.com> 2012-04-27 08:40:07 UTC --- Created an attachment (id=488486) --> (http://bugzilla.novell.com/attachment.cgi?id=488486) bnc737559-acer-wmi-debug.diff Hi Frank, Please kindly help to run this debug patch. I removed the statement for set soft block to wireless rfkill, and add a log to monitor the return value from WMI method (actually is return from BIOS's SMI). diff --git a/drivers/platform/x86/acer-wmi.c b/drivers/platform/x86/acer-wmi.c index 454970d..7a55bb6 100644 --- a/drivers/platform/x86/acer-wmi.c +++ b/drivers/platform/x86/acer-wmi.c @@ -960,7 +960,7 @@ static void acer_rfkill_update(struct work_struct *ignored) status = get_u32(&state, ACER_CAP_WIRELESS); if (ACPI_SUCCESS(status)) - rfkill_set_sw_state(wireless_rfkill, !state); + printk(ACER_INFO "ACER_CAP_WIRELESS, state: %d\n", state); if (has_cap(ACER_CAP_BLUETOOTH)) { status = get_u32(&state, ACER_CAP_BLUETOOTH); Please kindly run this patch then attach log. 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.
https://bugzilla.novell.com/show_bug.cgi?id=737559 https://bugzilla.novell.com/show_bug.cgi?id=737559#c Joey Lee <jlee@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |fzambrini@gmail.com -- 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=737559 https://bugzilla.novell.com/show_bug.cgi?id=737559#c14 Frank Zambrini <fzambrini@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|fzambrini@gmail.com | --- Comment #14 from Frank Zambrini <fzambrini@gmail.com> 2012-05-14 04:32:33 UTC --- Hi Joey, The debian kernel sources for 2.6.38 and 2.6.39 are now unavailable from backports. I was unable to apply your patch to the current version 3.2.0, so I ended up patching the standard 2.6.32 kernel. After reloading the acer_wmi module, I tried to reproduce the bug but was unable to (i.e. I never lost the connection). The attached log from dmesg shows when I loaded the new acer_wmi module at 919. Note: The bug is reproducible in the 3.2.0 kernel from debian backports. -- 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=737559 https://bugzilla.novell.com/show_bug.cgi?id=737559#c15 --- Comment #15 from Frank Zambrini <fzambrini@gmail.com> 2012-05-14 04:35:08 UTC --- Created an attachment (id=490609) --> (http://bugzilla.novell.com/attachment.cgi?id=490609) dmesg log after patching 2.6.32 kernel -- 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=737559 https://bugzilla.novell.com/show_bug.cgi?id=737559#c16 --- Comment #16 from Frank Zambrini <fzambrini@gmail.com> 2012-05-14 04:38:10 UTC --- Created an attachment (id=490610) --> (http://bugzilla.novell.com/attachment.cgi?id=490610) messages log after patching 2.6.32 kernel -- 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=737559 https://bugzilla.novell.com/show_bug.cgi?id=737559#c17 Frank Zambrini <fzambrini@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #487340|0 |1 is obsolete| | --- Comment #17 from Frank Zambrini <fzambrini@gmail.com> 2012-05-14 04:41:12 UTC --- Created an attachment (id=490611) --> (http://bugzilla.novell.com/attachment.cgi?id=490611) acpidump log after patching 2.6.32 kernel -- 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=737559 https://bugzilla.novell.com/show_bug.cgi?id=737559#c18 Joey Lee <jlee@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |fzambrini@gmail.com --- Comment #18 from Joey Lee <jlee@suse.com> 2012-05-20 01:14:45 UTC --- (In reply to comment #16)
Created an attachment (id=490610) --> (http://bugzilla.novell.com/attachment.cgi?id=490610) [details] messages log after patching 2.6.32 kernel
Yes, you can not reproduce issue because I removed the statement for setup rfkill state in acer-wmi. And, I put a log to acer-wmi by my patch. Per your messages log, the value of wireless cap is almost return '1' by SMI, but _sometimes_ return '0' May 14 00:08:23 acer-laptop kernel: [ 970.006596] acer-wmi: ACER_CAP_WIRELESS, state: 1 May 14 00:08:24 acer-laptop kernel: [ 971.033028] acer-wmi: ACER_CAP_WIRELESS, state: 0 <=== sometimes, SMI return '0' May 14 00:08:25 acer-laptop kernel: [ 972.000523] acer-wmi: ACER_CAP_WIRELESS, state: 1 Did you do anything when you test my patch? e.g. press Fn function key to enable/disable wifi? or set block/unblock on rfkill for wifi? Or, actually, you didn't do anything, just put the machine there after system boot? -- 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=737559 https://bugzilla.novell.com/show_bug.cgi?id=737559#c19 Frank Zambrini <fzambrini@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|fzambrini@gmail.com | --- Comment #19 from Frank Zambrini <fzambrini@gmail.com> 2012-05-20 16:49:51 UTC ---
Did you do anything when you test my patch? e.g. press Fn function key to enable/disable wifi? or set block/unblock on rfkill for wifi? Or, actually, you didn't do anything, just put the machine there after system boot?
When I tested your patch, I did not change the wifi state. The only thing I did was unplug the AC power adapter as this would sometimes trigger the bug. The instances of "state: 0" in the log seemed to be completely random to me. -- 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=737559 https://bugzilla.novell.com/show_bug.cgi?id=737559#c20 Jeffrey Cheung <jcheung@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED CC| |jcheung@suse.com Resolution| |WONTFIX --- Comment #20 from Jeffrey Cheung <jcheung@suse.com> 2014-02-07 04:14:47 UTC --- With the release of the gnumeric on January 27th, 2014 the SUSE sponsored maintenance of openSUSE 12.2 has ended. openSUSE 12.2 is now officially discontinued and out of support by SUSE. -- 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