From owner-freebsd-stable Thu Oct 4 11:21: 5 2001 Delivered-To: freebsd-stable@freebsd.org Received: from aquinas.techsquare.com (aquinas.techsquare.com [199.190.186.200]) by hub.freebsd.org (Postfix) with ESMTP id C3F9B37B405 for ; Thu, 4 Oct 2001 11:20:57 -0700 (PDT) Received: (from jamie@localhost) by aquinas.techsquare.com (8.11.6/8.11.3) id f94IJSD18005; Thu, 4 Oct 2001 14:19:28 -0400 (EDT) (envelope-from jamie) Date: Thu, 4 Oct 2001 14:19:28 -0400 From: Jamie Oulman To: "irado@nettaxi.com" Cc: stable@freebsd.org, jamie@techsquare.com Subject: Re: kernel welded?? Message-ID: <20011004141928.A17972@techsquare.com> References: <200110041813.f94IDnf09264@mail25.bigmailbox.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="PNTmBPCT7hxwcZjr" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200110041813.f94IDnf09264@mail25.bigmailbox.com>; from irado@nettaxi.com on Thu, Oct 04, 2001 at 11:13:49AM -0700 Organization: TechSquare Inc X-PGP-ID: 56D99DC1 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --PNTmBPCT7hxwcZjr Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable *sigh*=20 had you read the handbook you would have came across this in the=20 'kernelconfig trouble' section. taken from the freebsd handbook:=20 # chflags noschg /kernel If you find you cannot do this, you are probably running at a securelevel(8= ) greater than zero. Edit kern_securelevel in /etc/rc.conf and set it to -1= , then reboot. You can change it back to its previous setting when you are = happy with your new kernel. And, if you want to ``lock'' your new kernel into place, or any file for th= at matter, so that it cannot be moved or tampered with: # chflags schg /kernel ie. do chflags noschg /kernel then try and remove it. if it doesnt work.=20 you need to lower your securelevel and reboot.=20 jamie. On Thu, Oct 04, 2001 at 11:13:49AM -0700, irado@nettaxi.com wrote: > I am completely blind and stuck: I was recompiling (2nd time) my kernel, = when (make install) suddenly I was surprised with the following message: >=20 > [...] > mv /kernel /kernel.old > Operation not permitted >=20 > So, I cannot rm it, cannot change it, can do nothing to it - and I am roo= t. >=20 > There are a limit (once a day) for the kernel recompiling?? > >=20 > seriously: What is happening, and how to correct it? >=20 >=20 >=20 > sauda=E7=F5es, > irado furioso com tudo > linux user 179402 > deus =E9 constru=EDdo =E0 imagem e semelhan=E7a do homem. Principalmente = em seus defeitos. > =20 > por favor, clique aqui: http://www.thehungersite.com > e aqui tamb=E9m: http://cf6.uol.com.br/umminuto/=20 >=20 > ------------------------------------------------------------ > Nettaxi would like to ask for your help in donations to the RED CROSS tod= ay! > http://www.nyredcross.org/donate/ >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message --=20 jamie. --PNTmBPCT7hxwcZjr Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: 2.6.3ia iQB1AwUBO7yoLvS/hgpW2Z3BAQG6fAL7BJy+E+uPNOWp3QS6q+/jB9o/nLVtkrln Q/JlqiGvuWcIHTI0KPZ0ae8tfiNc2OgW/SvrOvTcrZwXSQ2GYDqdw6/d6qpe+hQd e+naZieZlndQU8gSytoISHXAZqH8Y7Od =FBce -----END PGP SIGNATURE----- --PNTmBPCT7hxwcZjr-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message