All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stanislaw Gruszka <sgruszka@redhat.com>
To: "Ozan Çağlayan" <ozan@pardus.org.tr>
Cc: linux-wireless@vger.kernel.org, linville@tuxdriver.com,
	ivdoorn@gmail.com, Johannes Stezenbach <js@sig21.net>,
	Gertjan van Wingerde <gwingerde@gmail.com>
Subject: Re: Unplugging usb wlan (rt73usb) hangs the system
Date: Wed, 9 Mar 2011 11:06:56 +0100	[thread overview]
Message-ID: <20110309100651.GA23594@redhat.com> (raw)
In-Reply-To: <4D6E7B55.6010905@pardus.org.tr>

On Wed, Mar 02, 2011 at 07:16:05PM +0200, Ozan Çağlayan wrote:
> I have a bunch of different Edimax and Asus WLAN sticks that are working
> very well in Linux 2.6.37.2 with the rt73usb driver. But there's a
> really annoying problem which causes the system to hang upon unplugging
> those sticks.
> 
> First X server goes. Then you can SSH into the machine for a while, and
> then I/O operations will start to fail. Magic SysRQ can be used to
> safely sync/unmount/reboot the system.
> 
> It's happening very frequently but there are times that nothing bad happens.
> 
> As far as I can tell, it happens much more frequently if you were
> associated to an AP when you unplugged the stick but let me clear this
> after testing plug/unplug without associating at all.
> 
> One thing that is quite sure is that after unplugging the stick, if you
> do nothing with your keyboard, the problem seems not to appear, e.g. I'm
> moving the mouse cursor for a while, no problem at all but once I hit
> pageup/pagedown to browse on the current konsole screenbuffer, it hangs!
> So the problem seems to be triggered after keyboard interrupts.
> 
> I've set up a netconsole connection and got the dmesg for a while.
> There's no oops/warning/error but every 2 minutes another tasks
> generates a stacktrace because of 120 seconds timeout. I'm attaching the
> log.

I can confirm problem exist in 2.6.37. I can not reproduce it in
current wireless-testing. I did not investigate further, I guess
issue is fixed by:

commit d7bb5f845f437662296adbfeaab8fbfce1c32289
Author: Johannes Stezenbach <js@sig21.net>
Date:   Mon Dec 13 12:32:49 2010 +0100

    rt2x00: fix hang when unplugging USB device in us

Stanislaw

  reply	other threads:[~2011-03-09 10:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-02 17:16 Unplugging usb wlan (rt73usb) hangs the system Ozan Çağlayan
2011-03-09 10:06 ` Stanislaw Gruszka [this message]
2011-03-09 10:16   ` Ozan Çağlayan
2011-03-09 10:36     ` Stanislaw Gruszka
2011-03-11  9:18       ` Ozan Çağlayan
2011-03-11 10:21         ` Stanislaw Gruszka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110309100651.GA23594@redhat.com \
    --to=sgruszka@redhat.com \
    --cc=gwingerde@gmail.com \
    --cc=ivdoorn@gmail.com \
    --cc=js@sig21.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    --cc=ozan@pardus.org.tr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.