Trying to boot 11-CURRENT on Sun Blade 2000 (which for some reason reports as SUNW,Sun-Blade-1000), 2 x UltraSPARC-III+, results in the following panic: panic: mp_setmaxid: one CPU but mp_maxid is not zero FreeBSD 10.1-RELASE works with no problems.
*** Bug 204684 has been marked as a duplicate of this bug. ***
Works fine on 10-STABLE too.
Same on a v245. Per marius I am going to attempt to revert sys/kern/subr_smp.c via: https://svnweb.freebsd.org/base/head/sys/kern/subr_smp.c?r1=285771&r2=290547&pathrev=290547
The patch seems to fix the problem.
A commit references this bug: Author: marius Date: Sat Nov 21 02:49:33 UTC 2015 New revision: 291121 URL: https://svnweb.freebsd.org/changeset/base/291121 Log: Merge from r290547: Since r289279 bufinit() uses mp_ncpus so adapt to what x86 does and set this variable already in cpu_mp_setmaxid(). While at it, rename cpu_cpuid_prop() to cpu_portid_prop() as well as the MD cpuid variable to portid to avoid confusion with the MI use of "cpuid" and make some variable static/global in order to reduce stack usage. PR: 204685 Changes: head/sys/sparc64/include/md_var.h head/sys/sparc64/sparc64/machdep.c head/sys/sparc64/sparc64/mp_machdep.c
A commit references this bug: Author: marius Date: Sun Dec 27 14:39:48 UTC 2015 New revision: 292771 URL: https://svnweb.freebsd.org/changeset/base/292771 Log: MFC: r291121 Merge from r290547: Since r289279 bufinit() uses mp_ncpus so adapt to what x86 does and set this variable already in cpu_mp_setmaxid(). While at it, rename cpu_cpuid_prop() to cpu_portid_prop() as well as the MD cpuid variable to portid to avoid confusion with the MI use of "cpuid" and make some variable static/global in order to reduce stack usage. PR: 204685 Changes: _U stable/10/ stable/10/sys/sparc64/include/md_var.h stable/10/sys/sparc64/sparc64/machdep.c stable/10/sys/sparc64/sparc64/mp_machdep.c