From owner-freebsd-hackers@FreeBSD.ORG Fri Jul 26 13:04:41 2013 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 757C5455; Fri, 26 Jul 2013 13:04:41 +0000 (UTC) (envelope-from rank1seeker@gmail.com) Received: from mail-ee0-x22c.google.com (mail-ee0-x22c.google.com [IPv6:2a00:1450:4013:c00::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D76E92A3B; Fri, 26 Jul 2013 13:04:40 +0000 (UTC) Received: by mail-ee0-f44.google.com with SMTP id c13so1556935eek.31 for ; Fri, 26 Jul 2013 06:04:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:from:to:cc:subject:date:content-type :content-transfer-encoding:in-reply-to:references:x-mailer; bh=HGPlcJD1Bf6ILb7GtRZLOyZlGJlzBEO+6rGDargYJgs=; b=rw/8+gLNVFoXudVUgm0A9uLIaLmAtNaTSqZPNlhjY9KxEdEkZ5HIsumYKYWeZC3BYa a+5vh8VhbV2tlmVyU2CdxhOPNq1YQwhTBlzi9D1pf+GEdaFifkrTjs12Cr/4viuRZM78 nsaE354bKJk/Xq57v1vLamG9UvWZWDM7vxWnJujQMdr02nAMj+yOrPitUpUDA2rns7BY IZpLNu+/zbI9x9rZ77j3O/5CMFoq2dHAbi95bm6yKmWDT+oChuy7C1UbB2dxmxBPtepb xemgSt2GWVQ4/Ja2SdlIkIgPyY9N4KEe+6wAOcOTRWqxw8dgsb1irESN6Pvq6D5LsrP/ MYdw== X-Received: by 10.15.33.132 with SMTP id c4mr47703145eev.12.1374843879085; Fri, 26 Jul 2013 06:04:39 -0700 (PDT) Received: from DOMYPC (78-2-147-88.adsl.net.t-com.hr. [78.2.147.88]) by mx.google.com with ESMTPSA id n42sm80897372eeh.15.2013.07.26.06.04.36 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 26 Jul 2013 06:04:37 -0700 (PDT) Message-ID: <20130726.130442.843.4@DOMY-PC> From: rank1seeker@gmail.com To: "John Baldwin" Subject: Re: UFS related panic (daily <-> find) Date: Fri, 26 Jul 2013 15:04:42 +0200 Content-Type: text/plain; charset="Windows-1250" Content-Transfer-Encoding: quoted-printable In-Reply-To: <201307221329.47690.jhb@freebsd.org> References: <20130719.174511.786.3@DOMY-PC> <201307221329.47690.jhb@freebsd.org> X-Mailer: POP Peeper (3.8.1.0) Cc: hackers@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Jul 2013 13:04:41 -0000 > > I had 2 panics: (Both occured at 3 AM, so had to be daily task)=0D=0A> = > =0D=0A> > First (Jul 2 03:06:50 2013):=0D=0A> > --=0D=0A> > Fatal trap = 12: page fault while in kernel mode=0D=0A> > fault virtual address =3D = 0x19=0D=0A> > fault code =3D supervisor read, page not = present=0D=0A> > instruction pointer =3D 0x20:0xc06caf34=0D=0A> > = stack pointer =3D 0x28:0xe76248fc=0D=0A> > frame pointer = =3D 0x28:0xe7624930=0D=0A> > code segment =3D base 0x0, = limit 0xfffff, type 0x1b=0D=0A> > =3D DPL 0, pres = 1, def32 1, gran 1=0D=0A> > processor eflags =3D interrupt = enabled, resume, IOPL =3D 0=0D=0A> > current process =3D 76562 = (find)=0D=0A> > trap number =3D 12=0D=0A> > panic: page = fault=0D=0A> > Uptime: 23h0m41s=0D=0A> > Physical memory: 1014 MB=0D=0A> = > Dumping 186 MB: 171 155 139 123 107 91 75 59 43 27 11=0D=0A> > =0D=0A> = > #7 0xc06caf34 in cache_lookup_times (dvp=3D0xc784a990, = vpp=3D0xe7624ae8,=0D=0A> > cnp=3D0xe7624afc, tsp=3D0x0, ticksp=3D0x0) = at =0D=0A> /usr/src/sys/kern/vfs_cache.c:547=0D=0A> =0D=0A> Can you go up = to this frame and do 'l'?=0D=0A> =0D=0A> -- =0D=0A> John = Baldwin=0D=0A=0D=0A=0D=0ASure,=0D=0A=0D=0A---------=0D=0A(kgdb) up = 7=0D=0A#7 0xc06caf34 in cache_lookup_times (dvp=3D0xc784a990, = vpp=3D0xe7624ae8, cnp=3D0xe7624afc, tsp=3D0x0, ticksp=3D0x0) at = /usr/src/sys/kern/vfs_cache.c:547=0D=0A547 = numchecks++;=0D=0A---------=0D=0A(kgdb) l=0D=0A542 = }=0D=0A543=0D=0A544 hash =3D fnv_32_buf(cnp->cn_nameptr, = cnp->cn_namelen, FNV1_32_INIT);=0D=0A545 hash =3D = fnv_32_buf(&dvp, sizeof(dvp), hash);=0D=0A546 = LIST_FOREACH(ncp, (NCHHASH(hash)), nc_hash) {=0D=0A547 = numchecks++;=0D=0A548 if (ncp->nc_dvp =3D=3D dvp && = ncp->nc_nlen =3D=3D cnp->cn_namelen &&=0D=0A549 = !bcmp(nc_get_name(ncp), cnp->cn_nameptr, ncp->nc_nlen))=0D=0A550 = break;=0D=0A551 = }=0D=0A---------=0D=0A=0D=0A=0D=0A=0D=0ADomagoj Smol=E8i=E6