From owner-freebsd-questions@FreeBSD.ORG Mon Jul 19 16:58:57 2004 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 A462C16A4CE; Mon, 19 Jul 2004 16:58:57 +0000 (GMT) Received: from hotmail.com (bay22-f39.bay22.hotmail.com [64.4.16.89]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9758C43D3F; Mon, 19 Jul 2004 16:58:57 +0000 (GMT) (envelope-from puralifecr@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 19 Jul 2004 09:58:57 -0700 Received: from 200.12.239.3 by by22fd.bay22.hotmail.msn.com with HTTP; Mon, 19 Jul 2004 16:58:57 GMT X-Originating-IP: [200.12.239.3] X-Originating-Email: [puralifecr@hotmail.com] X-Sender: puralifecr@hotmail.com From: "pura life CR" To: keramida@freebsd.org Date: Mon, 19 Jul 2004 10:58:57 -0600 Message-ID: X-OriginalArrivalTime: 19 Jul 2004 16:58:57.0535 (UTC) FILETIME=[AE5F80F0:01C46DB1] MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Content-Filtered-By: Mailman/MimeDel 2.1.1 cc: freebsd-questions@freebsd.org Subject: Re: priority on rc script caused panic 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, 19 Jul 2004 16:58:57 -0000 >From: Giorgos Keramidas >To: Henrik W Lund >CC: pura life CR , freebsd-questions@freebsd.org >Subject: Re: priority on rc script caused panic >Date: Mon, 19 Jul 2004 13:43:24 +0300 > >On 2004-07-19 11:34, Henrik W Lund wrote: > > pura life CR wrote: > > > I added a process with high priority (nice -20) to be loaded each time > > > system boots. It is located in /usr/local/etc/rc.d. > > > > > > Apparently, the process consume too much cpu time which make it > > > imposible to log in. > > > > > > I cant do anything from the boot loader, because i cant cd to /usr to > > > remove the script. > > > > Have you tried this? > > > > 1. When the countdown starts, right after the BTX loader has > > finished, press any key other than for the prompt. > > 2. Type boot -s to boot into single user mode. > > 3. When asked for a shell for root, hit (this will give you > > the sh shell). Alternatively, type /bi n/csh, then . This > > will give you the C shell, and tab completion. Essential if you are > > to do much of anything, IMO. > > 4. fsck -y > > 5. mount /usr > > 6. Do whatever it is you want to do in /usr, and reboot. > > > > You may have to provide the absolute paths for fsck and mount, I > > don't recall at the moment if PATH is set in single user mode. > >You don't need to fiddle with the PATH. It's set to a reasonable >default that can be used even for upgrading the system with the >"make installworld" procedure. > >I regularly (almost daily) upgrade my CURRENT installation and the set >of commands I use when the single user shell fires up is: > > adjkerntz -i # allow system time updates to work > swapon -a # enable all swap partitions > fsck -p # check any filesystems that need it > mount -u / # remount root fs as read-write > mount /usr # mount /usr as read-write > > cd /usr/src # upgrade sequence > make installworld # - // - > mergemaster # - // - This should not be done. You dont really need to upgrade daily, you are just overloading freebsd cvsup servers. Also, why to make all the source tree if you just get few modifications per day? It would be wise to know what part or the tree was updated and just compile it or let the whole compilation for later. If you want to see your machine working at 100% cpu, learn prolog. > >The last three commands update the system from the compiled object >files under /usr/obj. The commands up to the command that mounts /usr >are more or less necessary to have a system that includes a read-write >root fs and the tools required for the upgrade to work. > >-- >Giorgos Keramidas keramida (at) freebsd (dot) org >FreeBSD: The Power to Serve http://www.FreeBSD.org/ _________________________________________________________________ Consigue aquí las mejores y mas recientes ofertas de trabajo en América Latina y USA: [1]Haz clic aquí... References 1. http://g.msn.com/8HMBES/2743??PS=47575