Nick Guenther wrote:
On 12/11/07, Chris Zakelj <[EMAIL PROTECTED]> wrote:
Nick Guenther wrote:
On Dec 11, 2007 12:30 AM, Chris Zakelj <[EMAIL PROTECTED]> wrote:

Curious problem here, though I'm probably missing something obvious.  I
have apm enabled through /etc/rc.conf.local (apmd_flags=""), and when I
issue 'shutdown -h -p now', the system powers off correctly.  However,
if I try to use sleep or suspend ('apm -S' or 'apm -z'), the system acts
like it's going to power down, blinks the monitor momentarily, then
wakes right back up like nothing ever happened.  Where to look next?
Run apmd with -d?

-Nick
No luck.  Running apmd_flags="-d" results in

===
starting local daemons: smbd nmbd mysqld.
standard daemons: apmdStarting mysqld daemon with databases from
/var/www/var/mysql
(things hang here...)
^C cron.
Tue Dec 11 21:35:42 EST 2007

OpenBSD/i386 (imhotep.***.dyndns.org) (ttyC0)
===

Worthy of note is that when I run apmd_flags="", I do not get the
"Starting mysql..." message in the boot messages, but the server does
start correctly, and the boot proceeds normally.
aaaah, sorry. I thought you'd check the manpage before trying it. -d
makes it run 'do not detach'|'debug'. I meant, don't start it at boot,
but instead run it from a terminal, and watch it's debug messages.

As for mysql... no clue. Seems like one thing is stepping on another thing.

-Nick
Did read, just wasn't expecting that behavior (noob thing on my part). Anyways, here's what I get now...
(ttyC0)
# tail -f /var/log/messages &
 (boot remnants)

(ttyC1)
# apmd -d
 (silence)
(ttyC0)
Dec 11 22:34:00 imhotep apmd: battery status: unknown. external power status: connected. estimated battery live 0%
# apm -S
System will enter standby mode momentarily.  (blink)
# Dec 11 22:35:02 imhotep apmd: system resumed from APM sleep
apm -z
System will enter suspend mode momentarily.  (blink)
# Dec 11 22:35:43 imhotep apmd: system resumed from APM sleep
_

Seems to me like something is waking it up as soon as it goes into sleep mode. Could I have something in the BIOS messed up or otherwise causing a wake-up signal too early?

Reply via email to