From owner-freebsd-questions Wed Jun 6 13:36:47 2001 Delivered-To: freebsd-questions@freebsd.org Received: from nebula.anchoragerescue.org (cable-115-7-237-24.anchorageak.net [24.237.7.115]) by hub.freebsd.org (Postfix) with ESMTP id AE1EA37B403 for ; Wed, 6 Jun 2001 13:36:42 -0700 (PDT) (envelope-from akbeech@anchoragerescue.org) Received: from galaxy.anchoragerescue.org (galaxy.anchoragerescue.org [24.237.7.95]) by nebula.anchoragerescue.org (Postfix) with SMTP id 9088054E; Wed, 6 Jun 2001 12:36:41 -0800 (AKDT) Content-Type: text/plain; charset="iso-8859-1" From: Beech Rintoul To: Luc Lirette , "'freebsd-questions@FreeBSD.org'" Subject: Re: kernel Date: Wed, 6 Jun 2001 12:36:41 -0800 X-Mailer: KMail [version 1.2] References: <07546EA995884F43AD218403C1580C250199@sql.converge-net.com> In-Reply-To: <07546EA995884F43AD218403C1580C250199@sql.converge-net.com> MIME-Version: 1.0 Message-Id: <0106061236410M.37119@galaxy.anchoragerescue.org> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wednesday 06 June 2001 12:32, Luc Lirette wrote: > Hi, > > I have compiled my kernel before with no hassle, nothing has changed since! > I'm wondering what the heck causes the old kernel to be locked, the "make > installkernel KERNCONF=DEMONKERNEL" fails every time. I also tried to > manually unlock it, with no success. So as it stands I'm stuck, I hope > it's not to much of a silly question for you guy(s)! Any information will > be appreciated. > > demon# make installkernel KERNCONF=DEMONKERNEL > cd /usr/obj/usr/src/sys/DEMONKERNEL; MAKEOBJDIRPREFIX=/usr/obj > COMPILER_PATH=/usr/obj/usr/src/i386/usr/libexec:/usr/obj/usr/src/i386/usr/b >i n > LIBRARY_PATH=/usr/obj/usr/src/i386/usr/lib:/usr/obj/usr/src/i386/usr/lib > OBJFORMAT_PATH=/usr/obj/usr/src/i386/usr/libexec > PERL5LIB=/usr/obj/usr/src/i386/usr/libdata/perl/5.00503 MACHINE=i386 make > KERNEL=kernel install > chflags noschg /kernel > chflags: /kernel: Operation not permitted > *** Error code 1 (ignored) > mv /kernel /kernel.old > mv: rename /kernel to /kernel.old: Operation not permitted > *** Error code 1 > > Stop in /usr/obj/usr/src/sys/DEMONKERNEL. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > Thanks, > Luc > luc@converge-net.com > luc_lirette@yahoo.com Put this in your /etc/rc.conf and reboot: kern_securelevel_enable="YES" kern_securelevel="-1" Beech ------------------------------------------------------------------- Beech Rintoul - IT Manager - Instructor - akbeech@anchoragerescue.org /"\ ASCII Ribbon Campaign | Anchorage Gospel Rescue Mission \ / - NO HTML/RTF in e-mail | P.O. Box 230510 X - NO Word docs in e-mail | Anchorage, AK 99523-0510 / \ ----------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message