From owner-freebsd-questions@FreeBSD.ORG Wed May 21 06:10:52 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1DE7B37B401 for ; Wed, 21 May 2003 06:10:52 -0700 (PDT) Received: from tina.la3sg.net (la3sg.net [217.13.29.172]) by mx1.FreeBSD.org (Postfix) with ESMTP id CE97043F85 for ; Wed, 21 May 2003 06:10:50 -0700 (PDT) (envelope-from tina@tina.la3sg.net) Received: from tina.la3sg.net (tina@localhost.la3sg.net [127.0.0.1]) by tina.la3sg.net (8.12.8p1/8.12.8) with ESMTP id h4LDAnhJ009216; Wed, 21 May 2003 15:10:49 +0200 (CEST) (envelope-from tina@tina.la3sg.net) Received: (from tina@localhost) by tina.la3sg.net (8.12.8p1/8.12.8/Submit) id h4LDAler009215; Wed, 21 May 2003 15:10:47 +0200 (CEST) Date: Wed, 21 May 2003 15:10:47 +0200 From: Kjell Midtseter To: Robert Storey Message-ID: <20030521131047.GA243@tina.la3sg.net> References: <20030521092225.5a6a4442.y2kbug@ms25.hinet.net> <3.0.5.32.20030520204643.01366cc0@sage-one.net> <20030521201502.0f00f07b.y2kbug@ms25.hinet.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030521201502.0f00f07b.y2kbug@ms25.hinet.net> User-Agent: Mutt/1.4.1i cc: freebsd-questions@freebsd.org Subject: Re: shutdown -p now X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: kmidtset@c2i.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 May 2003 13:10:52 -0000 On Wednesday, 21 May 2003 at 20:15:02 +0800, Robert Storey wrote: > On Tue, 20 May 2003 20:46:43 -0500 > "Jack L. Stone" wrote: > > > At 09:22 AM 5.21.2003 +0800, Robert Storey wrote: > > >Dear All, > > > > > >I'm trying to get my computer to shut down and turn the power off. I'm > > >aware of the command "shutdown -p now". It doesn't work for me, and > > >after > ================ SNIP ============= > > > Don't know why your switch quit, but if your computer can manage the > > shutdown, you need these: > > > > In the kernel > > # device apm0 at nexus? flags 0x20 #Advanced Power Management > > Dear Jack, > > Thanks for the information. I went ahead and tried that, but when I tried > to configure the new custom kernel, I got this error message: > > root@sonic:/sys/i386/conf> /usr/sbin/config CUSTOM2 > config: CUSTOM2:156: devices with zero units are not likely to be correct > If you are using r4.8 you should not get this error message, and the above instructions should work. If you are using r5.0 you will get the above error message. Further, "shutdown -p now" does not work yet on r5.0 IE: stay with r4.8 if you want shutdown -p now to work. regards Kjell > I decided to stop there rather than compile a possibly flakey kernel. Is > this error message anything to worry about, or am I doing something wrong? > > regards, > Robert > > > ...and in rc.conf > > # apm_enable="YES" > > > > You should see in the bootup (dmesg): > > apm0: on motherboard > > apm: found APM BIOS v1.2, connected at v1.2 > >