linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Chris Clayton <chris2553@sky.com>
To: Luis Correia <luis.f.correia@gmail.com>
Cc: Johannes Berg <johannes@sipsolutions.net>,
	Pavel Roskin <proski@gnu.org>,
	linux-wireless@vger.kernel.org, Ivo van Doorn <ivdoorn@gmail.com>
Subject: Re: 2.6.31-rc2: Possible regression in rt61pci driver
Date: Wed, 29 Jul 2009 08:03:46 +0100	[thread overview]
Message-ID: <200907290803.46110.chris2553@googlemail.com> (raw)
In-Reply-To: <efe7343f0907280638i12b0bb4bq237ca4f6376eb1fe@mail.gmail.com>

On Tuesday 28 July 2009, Luis Correia wrote:
> Chris
>
> On Tue, Jul 28, 2009 at 14:34, Chris Clayton<chris2553@googlemail.com> wrote:
> > 2009/7/28 Luis Correia <luis.f.correia@gmail.com>:
> >> Hi Chris
> >>
> >> Can you do a very dumb test for me?
> >>
> >> Boot your laptop by adding 'irqpoll' to the kernel command line
> >> options and see if the problem still occours.
> >
> > Not so dumb a request, actually.  Running -rc4 with the irqpoll
> > command line option, the laptop has just survived 30 minutes without a
> > freeze. It can't survive more than 5 minutes without that option.

Well, the laptop ran -rc4-git2 all evening yesterday without freezing. So using the irqpoll option 
seems to be an answer. A few questions and observations though:

1. Are we sure that it is the power-saving change that _caused_ this problem? Could it be that some 
other bug is simply unmasked by the power-saving change? I ask this because I noticed yesterday 
that the card's network LED switches off several seconds before the laptop freezes.

2. When power-saving kicks in, the network LED on the card is switched off. (At least I'm assuming 
that is what switches the LED off) When the card is woken up again, neither the network nor activity 
LED lights-up ever again. IMHO, this is a bug.

3. Once power-saving kicks in, the machine cannot be contacted from another machine on the network - 
pings are not responded to, for example. Is this the intended behaviour?

4. Are there any plans to be able to switch power-saving on/off on a driver-by-driver basis. It 
seems to me, although I'm happy to be corrected, that it is either on or off for a given kernel, 
depending on CONFIG_MAC80211_DEFAULT_PS. But, if like me, someone has two cards (one at home and one 
at work, for example), one that works fine with PS and one that doesn't, they have to set PS off 
for their kernel, or have two kernels. Could PS be {en,dis}abled by, say, a module parameter or a 
sysfs switch?

Thanks,

Chris

> >
> > Chris
>
> Well, if the laptop hangs on working without any problems, this may
> proove to be some strange kind of hardware incompatibility.
>
> The irqpoll option solves some of the interrupt related problems, by
> polling them instead of 'grabbing' them (at least that is what I think
> it is happening, correct me if I'm wrong:))
>
>
> Luis Correia
> rt2x00 project admin



-- 
No, Sir; there is nothing which has yet been contrived by man, by which
so much happiness is produced as by a good tavern or inn - Doctor Samuel
Johnson

  parent reply	other threads:[~2009-07-29  7:05 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-13  8:27 2.6.31-rc2: Possible regression in rt61pci driver Chris Clayton
2009-07-14 11:04 ` Chris Clayton
2009-07-21 11:39   ` Chris Clayton
2009-07-26 19:15     ` Chris Clayton
2009-07-26 20:10       ` Pavel Roskin
2009-07-26 21:33         ` Chris Clayton
2009-07-27  0:06           ` Pavel Roskin
2009-07-27  9:35             ` Chris Clayton
2009-07-27 14:27               ` Pavel Roskin
2009-07-27 19:35                 ` Chris Clayton
2009-07-27 20:07                   ` Pavel Roskin
2009-07-27 20:22                     ` Chris Clayton
2009-07-27 20:30                       ` Pavel Roskin
2009-07-27 20:32                       ` Johannes Berg
2009-07-28 11:03                         ` Chris Clayton
2009-07-28 11:11                           ` Luis Correia
2009-07-28 13:34                             ` Chris Clayton
2009-07-28 13:38                               ` Luis Correia
2009-07-28 14:15                                 ` Chris Clayton
2009-07-29  7:03                                 ` Chris Clayton [this message]
2009-07-29  7:21                                   ` Johannes Berg
2009-07-29  7:45                                   ` Kalle Valo

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=200907290803.46110.chris2553@googlemail.com \
    --to=chris2553@sky.com \
    --cc=chris2553@googlemail.com \
    --cc=ivdoorn@gmail.com \
    --cc=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=luis.f.correia@gmail.com \
    --cc=proski@gnu.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).