public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Axel Boldt <axelboldt@yahoo.com>
To: linux-kernel@vger.kernel.org
Cc: sfr@canb.auug.org.au
Subject: PROBLEM: APM resume after suspend broken, 2.6.2-rc1
Date: Fri, 23 Jan 2004 23:40:59 +0100	[thread overview]
Message-ID: <4011A2FB.60307@yahoo.com> (raw)

Hi,

I'm running Linux 2.6.2-rc1 with APM support compiled in, on a Dell
Inspiron 5000 laptop. Under Windows, APM suspend/resume works fine,
but under Linux the machine doesn't resume properly.

 > apm -v
APM BIOS 1.2 (kernel driver 1.16ac)
On-line, battery status high: 100% (3:20:00)
 > apm -V
apm version 3.2.1

apmd is running and standby mode (apm -S) works flawlessly.

Suspending the machine ro RAM (apm -s) first gives the following 
messages in syslog's kern.log:

hdc: start_power_step(step: 0)
hdc: completing PM request, suspend
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

Then the screen blanks and the hard drive stops spinning.
Upon resume, I always get the messages

MCE: The hardware reports a non fatal, correctable incident occurred on 
CPU 0.
Bank 1: e200000000000175

then the screen comes back and I can type text into the
virtual console. Most of the time, as soon as I issue a command that
uses the hard drive (e.g. ls), the shell will hang. I can switch to
another virtual console, but again, any command that accesses the drive 
hangs.
Ctrl-Alt-Delete or shutdown -s fail to reboot the machine. Syncing and
unmounting with SysRq don't work, but rebooting with SysRq-B works.
The SysRq-P call trace contains the functions cpu_idle and
start_kernel.

SOMETIMES, the machine will resume properly, giving the messages below:

MCE: The hardware reports a non fatal, correctable incident occurred on 
CPU 0.
Bank 1: e200000000000175
PCI: Found IRQ 5 for device 0000:00:08.0
PCI: Sharing IRQ 5 with 0000:00:07.2
drivers/usb/host/uhci-hcd.c: 1060: host system error, PCI problems?
drivers/usb/host/uhci-hcd.c: 1060: host controller halted. very bad
spurious 8259A interrupt: IRQ7.
hda: Wakeup request inited, waiting for !BSY...
hda: start_power_step(step: 1000)
hda: completing PM request, resume
hdc: Wakeup request inited, waiting for !BSY...
hdc: start_power_step(step: 1000)
hdc: completing PM request, resume

(The spurious 8259A interrupt doesn't always show up.)

There's a combined NIC/modem card in the PCMCIA slot, hda is the IDE
hard drive, hdc is the dvd drive. Everything uses PCI.

Linux 2.6.1 shows the exact same behavior.

The contents of dmesg, .config used for kernel compilation, and 
/proc/pci can be found at http://math-www.uni-paderborn.de/~axel/apm_bug.txt

Thanks,
   Axel


                 reply	other threads:[~2004-01-23 23:20 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=4011A2FB.60307@yahoo.com \
    --to=axelboldt@yahoo.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sfr@canb.auug.org.au \
    /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