Date: Wed, 6 Jun 2001 12:36:41 -0800 From: Beech Rintoul <akbeech@anchoragerescue.org> To: Luc Lirette <luc@converge-net.com>, "'freebsd-questions@FreeBSD.org'" <freebsd-questions@FreeBSD.org> Subject: Re: kernel Message-ID: <0106061236410M.37119@galaxy.anchoragerescue.org> In-Reply-To: <07546EA995884F43AD218403C1580C250199@sql.converge-net.com> References: <07546EA995884F43AD218403C1580C250199@sql.converge-net.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0106061236410M.37119>