linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tejun Heo <tj@kernel.org>
To: Pedro Ribeiro <pedrib@gmail.com>
Cc: linux-ide@vger.kernel.org
Subject: Re: Long delays while hibernating
Date: Wed, 23 Dec 2009 16:47:05 +0900	[thread overview]
Message-ID: <4B31CAF9.8070104@kernel.org> (raw)
In-Reply-To: <74fd948d0912221950m1ade8475pfe3ec3018e14d834@mail.gmail.com>

On 12/23/2009 12:50 PM, Pedro Ribeiro wrote:
> Hi,
> 
> I have a 2.6.32.2 kernel with the TuxOnIce and KDB patches. When I
> hibernate, the penultimate phase is the "Atomic copy/restore". On
> normal conditions, this takes 1 second or less.
> 
> I have a Thinkpad T400 with an ultrabay, which is a hot-swappable
> drive enclosure, which can take in an optical drive (my case), hard
> disk or extra battery.
> To save some battery, I use the script here
> http://www.thinkwiki.org/wiki/How_to_hotswap_UltraBay_devices#Script_for_Ultrabay_eject
> to power off the ultrabay.
> 
> Then when I hibernate with the ultrabay powered off, the "Atomic
> copy/restore" phase takes 30 seconds and sometimes even a hard lockup
> occurs.
> Just at the start of "Atomic copy/restore", the drive gets polled (the
> light flashes for a second and makes some loading noise) and then
> takes the CPU to 100% (I can hear the fan roar) for 30 seconds.
> 
> I'm sure this is related to the fact that the ultrabay is powered off.
> There nothing else that triggers this.
> 
> I tried using KDB to interrupt during this phase but that doesn't
> work. Only after the operation is complete KDB jumps in, so there is
> no way to interrupt whatever is happening.
> 
> I reported this issue to the TuxOnIce developer, and he asked me to
> report it to you.

Can you please attach the output of dmidecode?

Thanks.

-- 
tejun

  reply	other threads:[~2009-12-23  7:43 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-23  3:50 Long delays while hibernating Pedro Ribeiro
2009-12-23  7:47 ` Tejun Heo [this message]
2009-12-23 13:50   ` Pedro Ribeiro
2009-12-24  7:45     ` Tejun Heo
2009-12-24 14:34       ` Pedro Ribeiro
2009-12-24 15:59         ` Pedro Ribeiro
2009-12-25 14:56           ` Tejun Heo
2009-12-25 18:10             ` Pedro Ribeiro
2009-12-26  1:26               ` Tejun Heo
2009-12-26 16:32                 ` Pedro Ribeiro
2009-12-26 21:21                   ` Rafael J. Wysocki
2009-12-26 22:35                     ` Pedro Ribeiro
2009-12-27 14:09                       ` Rafael J. Wysocki
2009-12-27 17:59                         ` Pedro Ribeiro

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=4B31CAF9.8070104@kernel.org \
    --to=tj@kernel.org \
    --cc=linux-ide@vger.kernel.org \
    --cc=pedrib@gmail.com \
    /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).