amd64/133701: Recompiling the kernel with k8temp or smbios break GEOM autodetection

D C d-bsd at dctech.net
Mon Apr 13 04:10:04 PDT 2009


>Number:         133701
>Category:       amd64
>Synopsis:       Recompiling the kernel with k8temp or smbios break GEOM autodetection
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-amd64
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 13 11:10:03 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     D C
>Release:        7.1-RELEASE
>Organization:
>Environment:
FreeBSD mybox.mynet.local 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan  1 08:58:24 UTC 2009     root at driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

(happens on a selfcompiled kernel)
>Description:
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.


>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

>Fix:
Remove "device k8temp" and "device smbios" from the kernel configuration file.

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-amd64 mailing list