From nobody@FreeBSD.org  Mon Apr 13 11:06:00 2009
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 29A8D106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 13 Apr 2009 11:06:00 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 182CE8FC16
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 13 Apr 2009 11:06:00 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n3DB5xu2005902
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 13 Apr 2009 11:05:59 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id n3DB5xqM005901;
	Mon, 13 Apr 2009 11:05:59 GMT
	(envelope-from nobody)
Message-Id: <200904131105.n3DB5xqM005901@www.freebsd.org>
Date: Mon, 13 Apr 2009 11:05:59 GMT
From: D C <d-bsd@dctech.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Recompiling the kernel with k8temp or smbios break GEOM autodetection
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>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:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 13 11:10:03 UTC 2009
>Closed-Date:    Fri Jan 27 08:58:31 UTC 2012
>Last-Modified:  Fri Jan 27 08:58:31 UTC 2012
>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:

From: Andriy Gapon <avg@freebsd.org>
To: bug-followup@freebsd.org, d-bsd@dctech.net
Cc:  
Subject: Re: amd64/133701: Recompiling the kernel with k8temp or smbios break
 GEOM autodetection
Date: Sun, 05 Dec 2010 14:24:40 +0200

 Problem description sounds quite weird.
 Will you be able to provide more details if you can still reproduce the problem?
 
 -- 
 Andriy Gapon
State-Changed-From-To: open->feedback 
State-Changed-By: jh 
State-Changed-When: Sun Dec 11 09:57:03 UTC 2011 
State-Changed-Why:  
Note that submitter has been asked for feedback. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=133701 
State-Changed-From-To: feedback->closed 
State-Changed-By: jh 
State-Changed-When: Fri Jan 27 08:58:30 UTC 2012 
State-Changed-Why:  
Feedback timeout. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=133701 
>Unformatted:
