From owner-freebsd-questions@FreeBSD.ORG Wed May 21 07:43:51 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 0F7E437B401 for ; Wed, 21 May 2003 07:43:51 -0700 (PDT) Received: from sage-one.net (adsl-65-71-135-137.dsl.crchtx.swbell.net [65.71.135.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1435843F85 for ; Wed, 21 May 2003 07:43:50 -0700 (PDT) (envelope-from jackstone@sage-one.net) Received: from sagea (adsl-65-68-247-73.dsl.crchtx.swbell.net [65.68.247.73]) by sage-one.net (8.12.6p2/8.12.6) with SMTP id h4LEhj1v044789 for ; Wed, 21 May 2003 09:43:45 -0500 (CDT) (envelope-from jackstone@sage-one.net) Message-Id: <3.0.5.32.20030521094349.013ae740@sage-one.net> X-Sender: jackstone@sage-one.net X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Wed, 21 May 2003 09:43:49 -0500 To: freebsd-questions@freebsd.org From: "Jack L. Stone" In-Reply-To: <20030521201502.0f00f07b.y2kbug@ms25.hinet.net> References: <3.0.5.32.20030520204643.01366cc0@sage-one.net> <20030521092225.5a6a4442.y2kbug@ms25.hinet.net> <3.0.5.32.20030520204643.01366cc0@sage-one.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, hits=-2.5 required=4.5 tests=EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, REPLY_WITH_QUOTES version=2.54-sage_one.rules_v1 X-Spam-Checker-Version: SpamAssassin 2.54-sage_one.rules_v1 (1.174.2.17-2003-05-11-exp) Subject: Re: shutdown -p now X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 May 2003 14:43:51 -0000 X-List-Received-Date: Wed, 21 May 2003 14:43:51 -0000 X-List-Received-Date: Wed, 21 May 2003 14:43:51 -0000 At 08:15 PM 5.21.2003 +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 > >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 > Robert: The "device apm0 at nexus? flags 0x20" is the correct statement. Since it's already in the "lernel conf" file, you just have to uncomment. The warning would not apply to this unless it applies to some other device you have with zero. Best regards, Jack L. Stone, Administrator SageOne Net http://www.sage-one.net jackstone@sage-one.net