From owner-freebsd-current Sun Dec 13 20:41:21 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA24440 for freebsd-current-outgoing; Sun, 13 Dec 1998 20:41:21 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA24435 for ; Sun, 13 Dec 1998 20:41:17 -0800 (PST) (envelope-from julian@whistle.com) Received: (from daemon@localhost) by alpo.whistle.com (8.8.5/8.8.5) id UAA12411; Sun, 13 Dec 1998 20:31:29 -0800 (PST) Received: from current1.whistle.com(207.76.205.22) via SMTP by alpo.whistle.com, id smtpdK12406; Mon Dec 14 04:31:23 1998 Date: Sun, 13 Dec 1998 20:31:20 -0800 (PST) From: Julian Elischer To: Terry Lambert cc: Warner Losh , mike@smith.net.au, y-nakaga@nwsl.mesh.ad.jp, mark@grondar.za, current@FreeBSD.ORG Subject: Re: PAO Integration? In-Reply-To: <199812132203.PAA09407@usr09.primenet.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Archie and I added dthe RB_POWEROFF flag to allow our Interjets to turn off the power when requested. In other situations we do not want to remove power, but rather halt so that control is then handed to the H/W watchdog, which will do a full reset of everything. I was also thinking of laptops whan I added this. (see the commit message) We'd be really thrilled if someone changed the semantics out from under us...... RB_POWEROFF does exactly that. RB_HALT does NOT do that. The processor either executes a HALT instrauction, or enters a type loop. Alternatively it might go to a firmware monitor, but we don't have that. what the 'shutdown' instruction does is arguable, but my personal feel is that it should require an argument to make it power off. Just like it requires an argument to make it reboot. On Sun, 13 Dec 1998, Terry Lambert wrote: > > : > > shutdown -h. What is wrong with this? > > : > > > : > It is wrong. > > > > Why? Traditionally Unix hasn't run on hardware that has software > > power off. Who can say what traditional unix is when the hardware has > > a new feature? > > The AT&T 3B2 I uses to use had soft power-off... to get UNIX hardware > old than that, you'd need to use a VAX. The VAX at the Univeristy > of Utah at the time I was there could switch off its UPS; it didn't > normally do this, of course, but the possibility was there. > > > Terry Lambert > terry@lambert.org > --- > Any opinions in this posting are my own and not those of my present > or previous employers. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message