From: Mike Oliver <oliver@math.ucla.edu>
To: linux-kernel@vger.kernel.org
Subject: 2.2.17 -- can't power-down on halt?
Date: Tue, 31 Oct 2000 17:07:46 -0800 [thread overview]
Message-ID: <39FF6CE2.7D42CA58@math.ucla.edu> (raw)
I have Linux RH 6.2 installed, Soyo motherboard, Athlon K7.
When using the kernel that came with the distro (2.2.14-5.0),
the "shutdown -h" commend worked correctly, causing the
computer to power down after exiting Linux.
But when I compiled myself a 2.2.17 kernel, it didn't
work anymore (it hung on halt). So I turned on
CONFIG_APM_REAL_MODE_POWER_OFF, which is supposed to
fix some bugs. But after that, while it no longer
hung, it *restarted* rather than powering down as
I wanted it to.
I find that the CONFIG_APM_REAL_MODE_POWER_OFF symbol
causes apm_power_off() to call
machine_real_restart(po_bios_call, sizeof(po_bios_call));
which certainly *looks* like it's trying to restart
the machine rather than powering down (line 641 of
apm.c, version 1.13). What's the reason for
this?
When the symbol is not defined, apm_power_off() calls
(void) apm_set_power_state(APM_STATE_OFF);
which is the same call as in apm.c from the
2.2.14 kernel (version 1.9 of apm.c). So
how come this causes a hang when I try
it in 2.2.17, but not in 2.2.14?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
reply other threads:[~2000-11-01 1:07 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=39FF6CE2.7D42CA58@math.ucla.edu \
--to=oliver@math.ucla.edu \
--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