linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stanislaw Gruszka <sgruszka@redhat.com>
To: Andreas Hartmann <andihartmann@01019freenet.de>
Cc: linux-wireless@vger.kernel.org
Subject: Re: [compat-wireless-3.1-rc1-1] rt2800usb crashes the machine
Date: Thu, 25 Aug 2011 18:11:04 +0200	[thread overview]
Message-ID: <20110825161103.GA8586@redhat.com> (raw)
In-Reply-To: <4E54ECDF.9030804@01019freenet.de>

On Wed, Aug 24, 2011 at 02:21:51PM +0200, Andreas Hartmann wrote:
> Stanislaw Gruszka schrieb:
> > On Tue, Aug 23, 2011 at 11:07:36AM +0200, Andreas Hartmann wrote:
> >> using rt2800usb with a Linksys WUSB600N v2 (rt3572) crashes the complete
> >> machine (SMP, Core i5, linux 3.0) on unloading the module after using it
> >> for a short period of time:
> >> - 2 times netperf -t TCP_MAERTS -H host
> >> - 2 times netperf -t TCP_STREAM -H host
> >>
> >> The error message in /var/log/messages is:
> >>
> >> phy0 -> rt2800_wait_wpdma_ready: Error - WPDMA TX/RX busy, aborting
> >>
> >> After the crash, you have to hard reset the machine.
> 
> [...]
> 
> > Otherwise perhaps you could photo crash logs on virtual terminal
> > (switched by Alt+Ctrl+F2 from X-window) or by using netconsole or kdump.
> 
> There is no crash dump - the machine just hangs up itself and the fan is
> getting loader and loader (until max), because the machine is getting
> hot more and more.

Kernel should generate some information when it hangs, at least when 
debug options are enabled like CONFIG_DEBUG_SPINLOCK,
CONFIG_DEBUG_OBJECTS, CONFIG_LOCKUP_DETECTOR, ... 

I just realized that compat-wireless-3.1-rc1-1, does not contain some
rt2x00 fixes:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commit;h=4b1bfb7d2d125af6653d6c2305356b2677f79dc6
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commit;h=df71c9cfceea801e7e26e2c74241758ef9c042e5
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commit;h=674db1344443204b6ce3293f2df8fd1b7665deea

Try to apply them first, or use compat-wireless-next. If they not help
just try to reconfigure kernel to print messages on lockup.

Note, I'm not able to reproduce hangup using steps you provide. However
I have bad performance, between 6 and 16 Mbits/s measured by netperf
on connection between two rt2800usb stations through WRT160NL AP.
I'm going to look at this problem when I'll have a chance.
 
Stanislaw


  reply	other threads:[~2011-08-25 16:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-23  9:07 [compat-wireless-3.1-rc1-1] rt2800usb crashes the machine Andreas Hartmann
2011-08-24  9:03 ` Stanislaw Gruszka
2011-08-24 11:59   ` Andreas Hartmann
2011-08-24 12:21   ` Andreas Hartmann
2011-08-25 16:11     ` Stanislaw Gruszka [this message]
2011-08-26  6:56       ` Andreas Hartmann

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=20110825161103.GA8586@redhat.com \
    --to=sgruszka@redhat.com \
    --cc=andihartmann@01019freenet.de \
    --cc=linux-wireless@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).