From owner-freebsd-current Fri Mar 27 15:00:49 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA08367 for freebsd-current-outgoing; Fri, 27 Mar 1998 15:00:49 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from sumatra.americantv.com (sumatra.americantv.com [207.170.17.37]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA08335 for ; Fri, 27 Mar 1998 15:00:39 -0800 (PST) (envelope-from jlemon@americantv.com) Received: from right.PCS (right.PCS [148.105.10.31]) by sumatra.americantv.com (8.8.5/8.8.5) with ESMTP id RAA05037; Fri, 27 Mar 1998 17:00:36 -0600 (CST) Received: (from jlemon@localhost) by right.PCS (8.6.13/8.6.4) id RAA07451; Fri, 27 Mar 1998 17:00:04 -0600 Message-ID: <19980327170004.64440@right.PCS> Date: Fri, 27 Mar 1998 17:00:04 -0600 From: Jonathan Lemon To: Cory Kempf Cc: Nate Williams , current@FreeBSD.ORG Subject: Re: APM: Too tired to keep working?! References: <199803270543.QAA01710@cimlogic.com.au> <4914.890976564@time.cdrom.com> <19980327094710.25740@deepo.prosa.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.61.1 In-Reply-To: ; from Cory Kempf on Mar 03, 1998 at 04:51:06PM -0500 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mar 03, 1998 at 04:51:06PM -0500, Cory Kempf wrote: > >> I have a DK440LX m'board. It has power management stuffs. So I though I > >> would give it a try, thinking, when the machine isn't doing anything, it > >> doesn't need to keep heating my office. > >> > >> I started a make world last night, 'round 1 AM -- 9 hours ago. I was > >> rather surprized to note that it is still going. It doesn't usually take > >> this long. > >> > >> >From looking about, it seems the machine was sleeping on the job. > >> > >> Is this normal behaviour? If so, I don't think it is correct. I expected > >> the system to finish the build, *THEN* fall asleep. > > > >APM only tells the system to fall asleep when you tell it to. > > Uh, my system seems to disagree. > > I did an apmconf -e to enable it, and it did the rest. When I moved the > mouse, the screen woke up, the disk started rattling, and the compile > picked up and continued. > > It did this three times, before I used apmconf -d to disable it (at least > until the build finished). If you want to try another build, go into i386/apm/apm.c, and enable the OPMEV_DEBUGMESSAGE macros in apm_processevent. It is possible that your APM subsystem is generating suspend messages, thus causing your system to fall asleep. The macros should show what the message is about. -- Jonathan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message