Bug 21316

Summary: unexpected kernel panic due to lack of documentation
Product: Base System Reporter: Robert Joop <rj>
Component: kernAssignee: GNATS administrator <gnats-admin>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.1-STABLE   
Hardware: Any   
OS: Any   

Description Robert Joop 2000-09-16 21:10:00 UTC
	due to hardware problems, i switched the mainboard from a 486 to
	a pentium.
	the kernel that was configured for a 486 only refuses to work on
	a pentium, it panics with the message that it was configured for
	another CPU.
	the documentation in /usr/src/sys/i386/conf/LINT doesn't mention
	that fact, quite the opposite, it suggests to remove the other
	lines:

	  # You must specify at least one CPU (the one you intend to run on);
	  # deleting the specification for CPUs you don't need to use may make
	  # parts of the system run faster.  This is especially true removing
	  # I386_CPU.

	i find the freeBSD kernel's behaviour unexpected, linux kernels
	compiled for 486 run on pentium as well.

Fix: 

i had to swap the mainboard again and again to build another
	kernel.
How-To-Repeat: 
	boot a "cpu             I486_CPU"-only kernel on a pentium.
Comment 1 Poul-Henning Kamp freebsd_committer freebsd_triage 2000-09-16 21:11:28 UTC
State Changed
From-To: open->closed

You changed the tyhpe of cpu you intended to run on, consequently 
you need to change the I*_CPU lines as well. 

Not a bug.