From ripley@office.in-berlin.de  Thu Jul 13 08:22:39 2000
Return-Path: <ripley@office.in-berlin.de>
Received: from office.in-berlin.de (office.in-berlin.de [193.174.1.74])
	by hub.freebsd.org (Postfix) with ESMTP id 7DC8D37C1B2
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 13 Jul 2000 08:22:37 -0700 (PDT)
	(envelope-from ripley@office.in-berlin.de)
Received: (from ripley@localhost)
	by office.in-berlin.de (8.9.3/8.9.2) id RAA31575;
	Thu, 13 Jul 2000 17:22:35 +0200 (CEST)
	(envelope-from ripley)
Message-Id: <200007131522.RAA31575@office.in-berlin.de>
Date: Thu, 13 Jul 2000 17:22:35 +0200 (CEST)
From: ripley@nostromo.in-berlin.de
Sender: ripley@office.in-berlin.de
Reply-To: ripley@nostromo.in-berlin.de
To: FreeBSD-gnats-submit@freebsd.org
Subject: make buildkernel/installkernel installs only partly
X-Send-Pr-Version: 3.2

>Number:         19891
>Category:       kern
>Synopsis:       make installkernel creates /GENERIC
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 13 08:30:00 PDT 2000
>Closed-Date:    Thu Jul 13 10:08:25 PDT 2000
>Last-Modified:  Thu Jul 13 10:08:54 PDT 2000
>Originator:     H. Eckert
>Release:        FreeBSD 4.x-STABLE i386
>Organization:
IN-Berlin e.V.
>Environment:
4.0-RELEASE upgrading to -stable

>Description:

Upgraded 4.0-RELEASE system with the following commands:

make update (runs cvsup)
make buildworld
make buildkernel
make installkernel
	(this installs the kernel es /GENERIC !)
shutdown	(single user mode)
make installworld
mergemaster
reboot

On reboot the system paniced because the modules in
/modules have been updated but the loaded kernel /kernel
is still 4.0-R and thus incompatible with the new modules.
(To be exact the kernel crashed after loading the linux
compatibility).


>How-To-Repeat:

Upgrade 4.0-R system to 4.x stable, have no customized
kernel but some kernel module activated on boot.


>Fix:
	
Use a customized kernel and before reboot do

	cd /sys/i386/conf
	config YOURKERNELNAME
	cd ../../compile/YOURKERNELNAME
	make depend all install

This way you're sure to have a fresh kernel in sync with
the installed modules.

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: sheldonh 
State-Changed-When: Thu Jul 13 10:08:25 PDT 2000 
State-Changed-Why:  
This will be resolved when Marcel gets PR 17698 sorted out. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=19891 
>Unformatted:
