Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Apr 2009 11:05:59 GMT
From:      D C <d-bsd@dctech.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   amd64/133701: Recompiling the kernel with k8temp or smbios break GEOM autodetection
Message-ID:  <200904131105.n3DB5xqM005901@www.freebsd.org>
Resent-Message-ID: <200904131110.n3DBA3Kk087505@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904131105.n3DB5xqM005901>