public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Lee Revell <rlrevell@joe-job.com>
To: Jim Crilly <jim@why.dont.jablowme.net>
Cc: linux-scsi@vger.kernel.org, linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: aic79xx -> can't  suspend
Date: Thu, 23 Jun 2005 20:32:22 -0400	[thread overview]
Message-ID: <1119573142.20628.15.camel@mindpipe> (raw)
In-Reply-To: <20050623193224.GD2251@voodoo>

On Thu, 2005-06-23 at 15:32 -0400, Jim Crilly wrote:
> On 06/23/05 01:51:43PM -0400, Lee Revell wrote:
> > I have a machine with an Adaptec 2940U2W adapter running 2.6.11.
> > When I try to go into standby like so:
> > 
> >     echo standby > /sys/power/state
> > 
> > this is what happens:
> 
> AFAIK no SCSI drivers have had power management functions implemented,
> a quick grep for PM_ in drivers/scsi seems to confirm that only the
> PCMCIA SCSI drivers even look for PM events. 

Actually it is implemented in the aic7xxx driver, see ahc_suspend and
ahc_resume.

I tried it with 2.6.12, and I no longer have the problem with the ahc_dv
thread as it no longer exists (AFAICT the functionality is handled by
the SCSI midlayer now?).

Now it just immediately resumes:

[4297399.286000] PM: Preparing system for standby sleep
[4297399.609000] Stopping tasks: ================================|
[4297399.610000] Restarting tasks... done

How can I debug this further?

Lee




  parent reply	other threads:[~2005-06-24  0:32 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-23 17:51 aic79xx -> can't suspend Lee Revell
2005-06-23 19:32 ` Jim Crilly
2005-06-23 19:35   ` Lee Revell
2005-06-23 20:22   ` Lee Revell
2005-06-25  4:00     ` Pavel Machek
2005-06-24  0:32   ` Lee Revell [this message]
2005-06-25  4:01     ` Pavel Machek

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=1119573142.20628.15.camel@mindpipe \
    --to=rlrevell@joe-job.com \
    --cc=jim@why.dont.jablowme.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@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