Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jan 97 16:00 WET
From:      peterson@cyberoptics.com
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   kern/2552: problem installing new kernel after losing /kernel
Message-ID:  <m0vmoEg-0000B3C@shadow.cyberoptics.com>
Resent-Message-ID: <199701212210.OAA17440@freefall.freebsd.org>

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

>Number:         2552
>Category:       kern
>Synopsis:       kernel make install fails if no /kernel
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Class:          support
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 21 14:10:00 PST 1997
>Last-Modified:
>Originator:     Bruce Peterson
>Organization:
CyberOptics Corporation
>Release:        FreeBSD 2.1.5-RELEASE i386
>Environment:

	FreeBSD system with kernel sources.

>Description:

	'make install' fails in /sys/compile/MACHINE if '/kernel' doesn't
	already exist.

>How-To-Repeat:

	cd /sys/compile/MACHINE
	chflags noschg /kernel
	rm /kernel
	make install

    This was found originally when reconstructing the system after the
	root filesystem was corrupted and then fsck'd.

>Fix:
	
	Workaround:
	touch /kernel
	make install

    Actual fix would be to tell make not to stop because of a failure
	changing the flags or name of /kernel.

>Audit-Trail:
>Unformatted:



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