From owner-freebsd-questions@FreeBSD.ORG Mon Jan 31 15:02:13 2005 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 9143316A4CE for ; Mon, 31 Jan 2005 15:02:13 +0000 (GMT) Received: from clunix.cl.msu.edu (clunix.cl.msu.edu [35.9.2.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id E582A43D54 for ; Mon, 31 Jan 2005 15:02:10 +0000 (GMT) (envelope-from jerrymc@clunix.cl.msu.edu) Received: (from jerrymc@localhost) by clunix.cl.msu.edu (8.11.7p1+Sun/8.11.7) id j0VF29A28199; Mon, 31 Jan 2005 10:02:09 -0500 (EST) From: Jerry McAllister Message-Id: <200501311502.j0VF29A28199@clunix.cl.msu.edu> To: smartweb@leadhill.net (Billy Newsom) Date: Mon, 31 Jan 2005 10:02:08 -0500 (EST) In-Reply-To: <41FE414F.1050001@leadhill.net> from "Billy Newsom" at Jan 31, 2005 08:31:43 AM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: How do I do a COLD Reboot on FreeBSD? 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: Mon, 31 Jan 2005 15:02:13 -0000 > > I need to do a cold restart. I've looked through a lot of docs, and I can't > seem to find this out. The computer I am working with seems to no longer > enjoy a warm reboot (like "shutdown -r now" or "reboot") but I'm pretty sure > it will do cold reboots fine. Is there a port, or is the shutdown command > hackable for this, or what? > > I remember many computers in bygone years which had this problem. It was > pretty common back in the 90's it seems like. Computers would reboot and act > weird using CTRL-ALT-DELETE, but work fine when powered off and on. FreeBSD is pretty good about doing a very clean reboot as far as the OS is concerned. But, it is possible that some devices don't clean up well in ways that are out of FreeBSD control. So, a "cold boot" can be a good idea in some circumstances. To do this, do a 'shutdown -h now' or a 'shutdown -p now' if your hardware supports the -p and you have it set up. Choose your own time of delay for 'now' if you have other people on the machine. If you did the '-h' or the '-p' didn't turn off the power, then at the "press any key to reboot" prompt, turn off the power. Then, unplug the power source and let it set for a few minutes to let any charge dissipate. This can be important because the capacitance in some of the devices including the power supply can provide just enough charge to keep them from reloading if that is their inclination and you lose the effect you are looking for. You should also unplug the network connection and any external devices that have their own power supply. After a sufficient time drain capacitance - I usually go to the bathroom or go get something to drink to kill a few minutes - , then just plug it all back in. Plug in the network cable and any external devices first and then the power cord and turn it on and let it boot. Voila, you have gone from warm to cold to warm again. ////jerry > > The computer I've got actually fails a memory test during the warm reboot. > This freezes it. I have to power cycle the machine. And then, the computer > performs a warm restart, bypassing its memory checks! One more power cycle > laster, it will boot normally. If I don't do this last reboot, the FreeBSD > boot loader or the beginning of the kernel boot crashes very early. It's > stable otherwise on a cold reboot. > > Thanks, > Billy > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >