public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: cb-lkml@fish.zetnet.co.uk
Cc: linux-kernel mailing list <linux-kernel@vger.kernel.org>
Subject: Re: [2.6.0-test4] IDE power management
Date: Sun, 31 Aug 2003 09:46:21 +0200	[thread overview]
Message-ID: <1062315980.32736.41.camel@gaston> (raw)
In-Reply-To: <20030829184919.GA21155@xaqithis.com>


> hda: start_power_step(step: 0)
> hda: start_power_step(step: 1)
> hda: complete_power_step(step: 1, stat: 50, err:0)
> hda: completing PM request, suspend
> hda: a request made it's way while we are power managing
> --- power down/up occurs here
> hda: Wakeup request inited, waiting for !BSY...
> hda: start_power_step(step: 1000)
> hda: completing PM request, resume
> ...
> hda: lost interrupt
> 
> The hard disk won't allow any accesses any more.
> 
> APM suspend to RAM doesn't work properly on this machine, so I haven't
> tested that.

I'm afraid we may have APM junk getting in our way. It would be
interesting to check out what is the request that made its way while
power managing, though I usually consider this is harmless...

The lost interrupt problem may or may not be related, it could well
be an IRQ routing problem as well. Did you have DMA enabled ? What
happens if you disable that before suspend ? You can also add some
printk to piix_config_drive_xfer_rate() in piix.c to check if that
is properly getting called and doesn't fail.

Ben.



  reply	other threads:[~2003-08-31  7:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-29 18:49 [2.6.0-test4] IDE power management cb-lkml
2003-08-31  7:46 ` Benjamin Herrenschmidt [this message]
2003-10-22  8:40   ` Charlie Baylis

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=1062315980.32736.41.camel@gaston \
    --to=benh@kernel.crashing.org \
    --cc=cb-lkml@fish.zetnet.co.uk \
    --cc=linux-kernel@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