Bug 19891

Summary: make installkernel creates /GENERIC
Product: Base System Reporter: H. Eckert <ripley>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description H. Eckert 2000-07-13 16:30:00 UTC
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).

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.
How-To-Repeat: 
Upgrade 4.0-R system to 4.x stable, have no customized
kernel but some kernel module activated on boot.
Comment 1 Sheldon Hearn freebsd_committer freebsd_triage 2000-07-13 18:08:25 UTC
State Changed
From-To: open->closed

This will be resolved when Marcel gets PR 17698 sorted out.