From owner-freebsd-bugs@FreeBSD.ORG Thu May 12 08:40:08 2011 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3D38D1065673 for ; Thu, 12 May 2011 08:40:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 18EAB8FC23 for ; Thu, 12 May 2011 08:40:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p4C8e7U7097761 for ; Thu, 12 May 2011 08:40:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p4C8e7uc097760; Thu, 12 May 2011 08:40:07 GMT (envelope-from gnats) Resent-Date: Thu, 12 May 2011 08:40:07 GMT Resent-Message-Id: <201105120840.p4C8e7uc097760@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Bartosz Stec Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D06B8106564A for ; Thu, 12 May 2011 08:33:50 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id A47F58FC16 for ; Thu, 12 May 2011 08:33:50 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p4C8XoFH027299 for ; Thu, 12 May 2011 08:33:50 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p4C8XoA2027268; Thu, 12 May 2011 08:33:50 GMT (envelope-from nobody) Message-Id: <201105120833.p4C8XoA2027268@red.freebsd.org> Date: Thu, 12 May 2011 08:33:50 GMT From: Bartosz Stec To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/156974: Panic during kernel boot on HP Proliant DL180G6 and 8-STABLE dated may 8, possibly igb related X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 May 2011 08:40:08 -0000 >Number: 156974 >Category: kern >Synopsis: Panic during kernel boot on HP Proliant DL180G6 and 8-STABLE dated may 8, possibly igb related >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu May 12 08:40:07 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Bartosz Stec >Release: 8-Stable >Organization: IT4Pro >Environment: 8.2-STABLE FreeBSD 8.2-STABLE #2: Sun May 8 15:04:33 CEST 2011 amd64 >Description: I moved my 8-STABLE system from cheap AMD64 machine to Proliant DL180G6 (full ZFS send -> receive). Operation was succesfull, system booted and everything worked fine. Still, I wanted to perform full world + kernel rebuild with updated sources and CPUTYPE (core2 instead of athlon64) and with removed unused NIC drivers from kernel. New kernel panicked during boot. I rebuilt kernel again, without any CPUTYPE in make.conf, but panic was still there. Old kernel (built at 8.04.2011) is booting fine. First panic line says: panic: m_getzone: m_getjcl: invalid cluster type. I made a poor quality photo of screen with stack backtrace and it's available here: http://i51.tinypic.com/nyuux3.jpg Kernel config: http://pastebin.com/G7K0vfuJ make.conf: CPUTYPE?=core2 KERNCONF=PROLIANT #MAKEOPTS=-j3 #WITH_DEBUG=yes #DEBUG_FLAGS=-g # default build settings for ports collection .if ${.CURDIR:M*/ports/*} && !defined(NOCCACHE) CFLAGS=-O2 -pipe #CXXFLAGS= -O2 -fno-strict-aliasing -pipe -funroll-loops BUILD_OPTIMIZED=YES WITH_OPENSSL=YES WITH_XCHARSET=all WITH_CHARSET=utf8 WITH_COLLATION=utf8_general_ci .endif # default build settings for base system .if ${.CURDIR:M*/usr/src/*} || ${.CURDIR:M*/usr/obj/*} && !defined(NOCCACHE) CFLAGS=-O2 -pipe COPTFLAGS=-O2 -pipe CC:=${CC:C,^cc,/usr/local/libexec/ccache/world/cc,1} CXX:=${CXX:C,^c\+\+,/usr/local/libexec/ccache/world/c++,1} .endif # added by use.perl 2011-05-08 17:13:51 PERL_VERSION=5.10.1 dmesg: http://pastebin.com/Es0CKD64 >How-To-Repeat: >Fix: Not really a fix, but a funny override whoch works: Igb driver is compiled into the kernel. If I add igb driver to loader.conf kernel complains of course: module_register: module pci/igb already exists! Module pci/igb failed to register: 17 but there's no panic! When I remove 'if_igb_load="YES"' from loader.conf, I experience panic visible above. >Release-Note: >Audit-Trail: >Unformatted: