Bug 133701

Summary: Recompiling the kernel with k8temp or smbios break GEOM autodetection
Product: Base System Reporter: D C <d-bsd>
Component: amd64Assignee: freebsd-amd64 (Nobody) <amd64>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 7.1-RELEASE   
Hardware: Any   
OS: Any   

Description D C 2009-04-13 12:10:03 UTC
Recompiling the kernel on 7.1-RELEASE (amd64 platform) with k8temp and smbios in the kernel configuration somehow breaks geom_mirror autodetection and is therefore unable to boot from the /dev/gm0 mirrors.

The previous root device /dev/gm0s1a is now detected as both /dev/gm0cs1a and /dev/gm0ccs1a upon booting the new kernel.

Fix: 

Remove "device k8temp" and "device smbios" from the kernel configuration file.
How-To-Repeat: cp /usr/src/sys/amd64/conf/GENERIC /usr/src/sys/amd64/conf/VOODOO
echo "device          k8temp" >> /usr/src/sys/amd64/conf/VOODOO
echo "device          smbios" >> /usr/src/sys/amd64/conf/VOODOO
cd /usr/src
make buildkernel KERNCONF=VOODOO
make installkernel KERNCONF=VOODOO
reboot
Comment 1 Andriy Gapon freebsd_committer freebsd_triage 2010-12-05 12:24:40 UTC
Problem description sounds quite weird.
Will you be able to provide more details if you can still reproduce the problem?

-- 
Andriy Gapon
Comment 2 Jaakko Heinonen freebsd_committer freebsd_triage 2011-12-11 09:57:03 UTC
State Changed
From-To: open->feedback

Note that submitter has been asked for feedback.
Comment 3 Jaakko Heinonen freebsd_committer freebsd_triage 2012-01-27 08:58:30 UTC
State Changed
From-To: feedback->closed

Feedback timeout.