From owner-freebsd-bugs Tue Jul 17 10:10:11 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id E02B737B406 for ; Tue, 17 Jul 2001 10:10:00 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f6HHA0X49072; Tue, 17 Jul 2001 10:10:00 -0700 (PDT) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 5454E37B405 for ; Tue, 17 Jul 2001 10:00:36 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f6HH0a545623; Tue, 17 Jul 2001 10:00:36 -0700 (PDT) (envelope-from nobody) Message-Id: <200107171700.f6HH0a545623@freefall.freebsd.org> Date: Tue, 17 Jul 2001 10:00:36 -0700 (PDT) From: Roger Allan To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: conf/29043: Can't install configured kernel with 'make install' after the second time Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 29043 >Category: conf >Synopsis: Can't install configured kernel with 'make install' after the second time >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jul 17 10:10:00 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Roger Allan >Release: 4.3-RELASE #1 >Organization: >Environment: FreeBSD roobar.jmorph.com 4.3-RELEASE FreeBSD 4.3-RELEASE #1: Tu Jul 17 23:26:41 CDT 2001 root@roobar.jmorph.com:/usr/src/sys/compile/ROOBAR i386 >Description: I reconfigured the kernel and installed it using "make isntall" (from usr/src/sys/compile/ROOBAR). I reconfigured the kernel a second time and got from the make command a: chflags: /kernel: Operation not permitted I tried all sorts of commands and variations of chflags, ch*, rm, mv, etc and with no success. There appears to be no way to remove a broken kernel from the system. >How-To-Repeat: configure a new kernel and build twice with a 'make install' from /usr/src/sys/compile/. As install sets the schg flag on the kernel and is unable to undo it. >Fix: 'chflags noschg /kernel' is not working at all. Either avoid using the "make install" or edit the makefile and remove the '-fschg' from the install commands. If this is too late, edit the /boot/loader.conf and add the line: "kernel=". >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message