public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Nigel Cunningham <ncunningham@clear.net.nz>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: How to avoid 'lost interrupt' messages post-resume?
Date: Thu, 01 Jan 2004 17:41:39 +1300	[thread overview]
Message-ID: <1072932095.6722.22.camel@laptop-linux> (raw)

Hi all.

I have Software Suspend successfully running under 2.4.23 on a dual
Celeron at OSDL, with only one outstanding issue: sometimes, after
copying back the original kernel, I see 'hda: lost interrupt' and after
another pause 'hdb:lost interrupt' messages. Apart from that, everything
works fine (the machine has just suspended for the 46th time on the
trot). I'm wanting to know if there's something I can do to fix this
issue.

Currently, prior to suspending, I set all irq affinities to CPU 0 (which
does the suspend), save the state of the APICs and disable them and
disable interrupts. At resume time, I again set the affinities to CPU 0
and disable the APICs and interrupts prior to copying the original
kernel back. After copying the original kernel back, I restore the
original (pre-suspend) affinities and APIC settings & reenable
interrupts (incomplete list). I'm no hardware expert, so feel free to
tell me I'm doing something lame! Apart from these lost interrupts, all
seems to work just fine.

Regards,

Nigel
-- 
My work on Software Suspend is graciously brought to you by
LinuxFund.org.


             reply	other threads:[~2004-01-01  4:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-01  4:41 Nigel Cunningham [this message]
2004-01-01  8:09 ` How to avoid 'lost interrupt' messages post-resume? Benjamin Herrenschmidt
2004-01-01 19:07   ` Nigel Cunningham
2004-01-01 22:59     ` Benjamin Herrenschmidt

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=1072932095.6722.22.camel@laptop-linux \
    --to=ncunningham@clear.net.nz \
    --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