From nobody@FreeBSD.org  Mon Sep 20 17:15:51 2010
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 8139A106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 20 Sep 2010 17:15:51 +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 70C268FC21
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 20 Sep 2010 17:15:51 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o8KHFpD6069550
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 20 Sep 2010 17:15:51 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o8KHFpTH069549;
	Mon, 20 Sep 2010 17:15:51 GMT
	(envelope-from nobody)
Message-Id: <201009201715.o8KHFpTH069549@www.freebsd.org>
Date: Mon, 20 Sep 2010 17:15:51 GMT
From: Kris Moore <kmoore@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Kernel panic at devclass_get_name when doing heavy pkg_add
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         150761
>Category:       kern
>Synopsis:       [panic] Kernel panic at devclass_get_name when doing heavy pkg_add
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 20 17:20:00 UTC 2010
>Closed-Date:    Mon Oct 11 14:09:42 UTC 2010
>Last-Modified:  Mon Oct 11 14:09:42 UTC 2010
>Originator:     Kris Moore
>Release:        9.0-Current
>Organization:
iXsystems
>Environment:
FreeBSD pcbsd 9.0-CURRENT FreeBSD 9.0-CURRENT #6: Thu Sept 16 08:56:22 PDT 2010
>Description:
Getting a consistent kernel panic while doing an installation and a bunch of pkg_add work is being done. Funny thing is, that when using ZFS file-system for installation, it finishes properly, but when I switch to UFS + Softupdates this panic occurs like clockwork. That may not be related, but it is a weird quirk none the less.

Screenshot of panic:
http://www.pcbsd.org/~kris/kerndump/panic1.png

Core file:
http://www.pcbsd.org/~kris/kerndump/vmcore.0.gz

Let me know if you need additional info.

(As an aside, seeing similar panics on 8.0 / 8.1, when our installer is doing pkg_delete / pkg_add stuff in the disk chroot environment)
>How-To-Repeat:
Just starting an install of PC-BSD / FreeBSD 9.0 snapshots, works fine until it gets into heavy duty pkg_add stuff, then this panic occurs.
>Fix:
Using ZFS works, but it may be an unrelated quirk. 

>Release-Note:
>Audit-Trail:

From: Kris Moore <kris@pcbsd.org>
To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-bugs@FreeBSD.org
Cc: Kris Moore <kmoore@FreeBSD.org>
Subject: Re: kern/150761: Kernel panic at devclass_get_name when doing heavy
 pkg_add
Date: Sun, 10 Oct 2010 05:30:23 -0400

 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
 On 09/20/2010 13:20, FreeBSD-gnats-submit@FreeBSD.org wrote:
 > Thank you very much for your problem report.
 > It has the internal identification `kern/150761'.
 > The individual assigned to look at your
 > report is: freebsd-bugs. 
 > 
 > You can access the state of your problem report at any time
 > via this link:
 > 
 > http://www.freebsd.org/cgi/query-pr.cgi?pr=150761
 > 
 >> Category:       kern
 >> Responsible:    freebsd-bugs
 >> Synopsis:       Kernel panic at devclass_get_name when doing heavy pkg_add
 >> Arrival-Date:   Mon Sep 20 17:20:00 UTC 2010
 
 Follow up on this,
 
 I've made some recent snapshots of HEAD, and this seems to have been
 fixed in the past few weeks. Haven't seen it fail anymore, regardless of
 file-system type now. I'd say we can mark it as fixed, and I'll report
 again if it shows up later on.
 
 
 - -- 
 Kris Moore
 PC-BSD Software
 iXsystems
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.15 (FreeBSD)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
 
 iQEcBAEBAgAGBQJMsYevAAoJEDv6T4U6J2HSjegIAKLIUuuIXCMWi3v9bHP2q5ll
 SIwlm/NXsBVXVXv8CurR9Wbvo6DaHsKpMUHYD0/o7WGtLBri+hWo3u1K6aBi8B4F
 huzXTsui5VRJSjOoTXju5F7vRGWaCU/qZO2Gn8IvxsKgysjIGutQoT05iTpBSPaD
 lQIPLTJywoPX7U6L0PduXPvOXmrCVEvQzTYYBVk/D6/t+8/IfzeRHjy1wLGBfP27
 9Oz7sgK5IdI6ni/zhkWlEdUDxjD604z5U99mR9Z9JQXL1KAM1VcLnNXAckjtcAIH
 TkHgg/hvJxoIKwxEjJ8jWRaru9OGhgugDnBBAWt952u33kSozFrqicBIvncS8LA=
 =Atp2
 -----END PGP SIGNATURE-----
State-Changed-From-To: open->closed 
State-Changed-By: jh 
State-Changed-When: Mon Oct 11 14:09:42 UTC 2010 
State-Changed-Why:  
Closed at submitter's request. 

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