From owner-freebsd-stable@FreeBSD.ORG Thu Jul 19 21:36:23 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8512F106566B for ; Thu, 19 Jul 2012 21:36:23 +0000 (UTC) (envelope-from olivier@gid0.org) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by mx1.freebsd.org (Postfix) with ESMTP id F31188FC14 for ; Thu, 19 Jul 2012 21:36:22 +0000 (UTC) Received: by lbon10 with SMTP id n10so5251434lbo.13 for ; Thu, 19 Jul 2012 14:36:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=igvGs/5I+BjGvaAt4u0erLA8TX7lAEdpJ+MH2Nn6Buo=; b=ceHCSnZp6hRCht5aAlvDK7y55se7sAH12pi3pK/Gbjiml36kRkJlJqW25kWj3Bf2On AhQcl28E6JAiC+yzEVWWj4Zll9OcECM/ErD9/ZIONHZEG7U27+tJ/Ac1VlcPq7cfmkFy +UG4NIwHtBQphbmBL0kIzIgucLPLGv06EBDKJvDXc7e7BVP7MMJ8mmBGqq9SOr6LbHpm ZPFb63+U437nbNiFTODthwrmlw3kWZ2RkhBFytj+DpkSF2XsYZeQSScBfAsXQt+BZYuv UsENOscJiuxazZ86rRL/MKunagmL/OWdSfG6/trXydzeJ24Z8UtQ7m4S/vp++F0dNO/L 0+Jw== MIME-Version: 1.0 Received: by 10.112.42.34 with SMTP id k2mr1918769lbl.0.1342733781848; Thu, 19 Jul 2012 14:36:21 -0700 (PDT) Received: by 10.112.100.68 with HTTP; Thu, 19 Jul 2012 14:36:21 -0700 (PDT) In-Reply-To: <1342733091.12482.12.camel@home.bonett.org> References: <1342733091.12482.12.camel@home.bonett.org> Date: Thu, 19 Jul 2012 23:36:21 +0200 Message-ID: From: Olivier Smedts To: greg@bonett.org Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQlUpkL289PF4B1WfmKWQ53nkW7h2bharh0oUto8XWNR6SPt1rG//YgjUpGKeMBdpv8PMc1e Cc: freebsd-stable@freebsd.org Subject: Re: kernel panic caused by zfs/sa.c X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jul 2012 21:36:23 -0000 2012/7/19 Greg Bonett : > Hello, > > I'm experiencing a kernel panic that appears to be caused by zfs. > > No errors are making it into /var/log/messages, but here is the error > message that appears on my screen after panic (transcribed): > > panic solaris assert BSWAP_32(sa_hdr_phys->sa_magic) == SA_MAGIC, > file: /src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/sa.c, line 1262 > > I can reproduce this by running "cd /usr/ports/www/webkit-ghtk2; make > clean" If that's some sort of filesystem corruption, and you use portsnap, do you still have a panic after "portsnap extract www/webkit-gtk2 && cd /usr/ports/www/webkit-gtk2 && make clean" ? > I looked at line 1262 in sa.c and it's part of a bit of code that checks > if byte swapping is necessary. The code starting at line 1260: > > > if (IS_SA_BONUSTYPE(bonustype) && sa_hdr_phys->sa_magic != SA_MAGIC && > sa_hdr_phys->sa_magic != 0) { > VERIFY(BSWAP_32(sa_hdr_phys->sa_magic) == SA_MAGIC); > sa_byteswap(hdl, buftype); > } > > As far as I can tell, my source is up to date and this code is the same > as what is in 9-STABLE. > > I'm not sure what's causing the panic, does anyone have a suggestion? > > Thanks for the help. > > --Greg > > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" -- Olivier Smedts _ ASCII ribbon campaign ( ) e-mail: olivier@gid0.org - against HTML email & vCards X www: http://www.gid0.org - against proprietary attachments / \ "Il y a seulement 10 sortes de gens dans le monde : ceux qui comprennent le binaire, et ceux qui ne le comprennent pas."