Re: aic79xx -> can't suspend

From: Pavel Machek
Date: Fri Jun 24 2005 - 23:07:17 EST


> 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?

Enable debugging in drivers/base/power/*...

Pavel

--
Boycott Kodak -- for their patent abuse against Java.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/