Re: [2.6.0-test4] IDE power management

From: Benjamin Herrenschmidt (benh_at_kernel.crashing.org)
Date: 08/31/03

  • Next message: Thomas Schlichter: "Re: 2.6.0-test4 acpi problems"
    To: cb-lkml@fish.zetnet.co.uk
    Date:	Sun, 31 Aug 2003 09:46:21 +0200
    
    

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

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


  • Next message: Thomas Schlichter: "Re: 2.6.0-test4 acpi problems"

    Relevant Pages

    • 2.6.0-test4 suspends IDE devices after resume
      ... suspend. ... hda: a request made it's way while we are power managing... ... hdc: ...
      (Linux-Kernel)
    • 2.6.0-test2: unable to suspend (APM)
      ... I'm trying to test out APM on my laptop (in order to test some PCMCIA ... APM is refusing to suspend. ... hdb: completing PM request, suspend ... hda: start_power_step ...
      (Linux-Kernel)
    • Re: Power Management Update
      ... resume immediately (with high fan speed). ... get when I try to suspend to disk: ... hdc: completing PM request, suspend ... hda: start_power_step ...
      (Linux-Kernel)
    • Re: Power Management Update
      ... hdc: completing PM request, suspend ... hda: start_power_step ... PCI: Setting latency timer of device 0000:00:1d.0 to 64 ...
      (Linux-Kernel)
    • PROBLEM: APM resume after suspend broken, 2.6.2-rc1
      ... I'm running Linux 2.6.2-rc1 with APM support compiled in, ... hdc: completing PM request, suspend ... hda: start_power_step ...
      (Linux-Kernel)