Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Jul 2001 10:00:36 -0700 (PDT)
From:      Roger Allan <rallan@pobox.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   conf/29043: Can't install configured kernel with 'make install' after the second time
Message-ID:  <200107171700.f6HH0a545623@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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/<KERNEL-NAME>.  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=<my-new-kernel>".

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200107171700.f6HH0a545623>