Bug 50441 - [BISECTED]ath9k_htc-based adapter unfunctioning after commit ceb26a6013
Summary: [BISECTED]ath9k_htc-based adapter unfunctioning after commit ceb26a6013
Status: CLOSED CODE_FIX
Alias: None
Product: Drivers
Classification: Unclassified
Component: network-wireless (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: drivers_network-wireless@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-12 21:45 UTC by Corey Richardson
Modified: 2013-10-15 15:59 UTC (History)
4 users (show)

See Also:
Kernel Version: 3.7 and newer
Subsystem:
Regression: Yes
Bisected commit-id:


Attachments
complete dmesg (63.29 KB, text/plain)
2012-11-12 21:45 UTC, Corey Richardson
Details
what is logged to dmesg when unplugging adapter (854 bytes, text/plain)
2012-11-12 21:46 UTC, Corey Richardson
Details
strace of 'ip link' when it hangs (2.49 KB, application/octet-stream)
2012-11-12 21:47 UTC, Corey Richardson
Details
kernel .config (67.17 KB, application/octet-stream)
2012-11-12 21:47 UTC, Corey Richardson
Details

Description Corey Richardson 2012-11-12 21:45:56 UTC
Created attachment 86201 [details]
complete dmesg

I was giving 3.7-rc4 a whirl when I discovered my wireless adapter [0] wasn't
working: the LED didn't light up. Went and ran 'ip link' and it just hung there.
Tried a few other things and discovered that sudo was broken too. With
strace I found that they were hanging in sendto().

If I then unplug the adapter, everything comes out of the hang.

Bisected and found that commit ceb26a6013b962b82f644189ea29d802490fc8fc is
to blame.

Attached is my .config,. The complete dmesg is attached, as well as
dmesg_disconnect which is what gets spat out on disconnect of the device.
strace is an strace of 'ip link'.

I feel like I haven't given enough information; anything else needed?

[0] - http://support.netgear.com/product/WNA1100
Comment 1 Corey Richardson 2012-11-12 21:46:50 UTC
Created attachment 86211 [details]
what is logged to dmesg when unplugging adapter
Comment 2 Corey Richardson 2012-11-12 21:47:16 UTC
Created attachment 86221 [details]
strace of 'ip link' when it hangs
Comment 3 Corey Richardson 2012-11-12 21:47:39 UTC
Created attachment 86231 [details]
kernel .config
Comment 4 Sujith 2012-12-25 14:36:32 UTC
Should be fixed by this commit:

commit da8fb123b041e487d28f54d3a77a15139cb9e3b9
Author: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Date:   Sat Nov 17 21:20:50 2012 +0530

    ath9k_hw: Fix regression in device reset
    
    Commit "ath9k: improve suspend/resume reliability" broke ath9k_htc
    and bringing up the device would hang indefinitely. Fix this.
    
    Cc: stable@vger.kernel.org
    Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
    Signed-off-by: John W. Linville <linville@tuxdriver.com>

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