From owner-freebsd-hackers@FreeBSD.ORG Fri Jul 26 19:00:37 2013 Return-Path: <owner-freebsd-hackers@FreeBSD.ORG> Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id A5F84D4F; Fri, 26 Jul 2013 19:00:37 +0000 (UTC) (envelope-from rank1seeker@gmail.com) Received: from mail-ea0-x22b.google.com (mail-ea0-x22b.google.com [IPv6:2a00:1450:4013:c01::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 13BE92BBD; Fri, 26 Jul 2013 19:00:36 +0000 (UTC) Received: by mail-ea0-f171.google.com with SMTP id n15so1732291ead.2 for <multiple recipients>; Fri, 26 Jul 2013 12:00:35 -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:in-reply-to:references:x-mailer; bh=FO0YdeSqpgjoW7z4fA9C2O96fyzFJ9firTaIENkNLC0=; b=SgE12AWrvPbxeHBigi/TIjqJpWg2Ml+qoj7RvTyRsO0h4FWkH+YucIfuhW8edRb9I9 bxZtI6L1KzCr9f2MW06NorApTFRNWr2sQydZeJAgARo71l5XEHln7HZRjg+/1ToRAK2a 7WLd/nd7mxXJRgOPiW8kZlXqEtuxcvaTcrg93IzyWjVBnLhxz+TemUnssLYLe0RA2RJx jdPdVF/46hbD7All1TJT5L8v3n/Zxzero6gCbgj2LJJA/PI5SCfKEfOf2OLynYb24nBM 25hh0aG+2SpsL58LuE5LGLw271dhkUlb5ivh/dmjtsgQBQ5+VL1RCcp0tYQ9yfRU9ASk 3Qhw== X-Received: by 10.14.216.73 with SMTP id f49mr48231579eep.119.1374865235452; Fri, 26 Jul 2013 12:00:35 -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 m1sm82759768eex.17.2013.07.26.12.00.33 for <multiple recipients> (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 26 Jul 2013 12:00:34 -0700 (PDT) Message-ID: <20130726.190033.811.1@DOMY-PC> From: rank1seeker@gmail.com To: "John Baldwin" <jhb@freebsd.org> Subject: Re: UFS related panic (daily <-> find) Date: Fri, 26 Jul 2013 21:00:33 +0200 In-Reply-To: <201307261116.58638.jhb@freebsd.org> References: <20130719.174511.786.3@DOMY-PC> <201307221329.47690.jhb@freebsd.org> <20130726.130442.843.4@DOMY-PC> <201307261116.58638.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 <freebsd-hackers.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-hackers>, <mailto:freebsd-hackers-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-hackers> List-Post: <mailto:freebsd-hackers@freebsd.org> List-Help: <mailto:freebsd-hackers-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-hackers>, <mailto:freebsd-hackers-request@freebsd.org?subject=subscribe> X-List-Received-Date: Fri, 26 Jul 2013 19:00:37 -0000 > > > > I had 2 panics: (Both occured at 3 AM, so had to be daily task) > > > > > > > > First (Jul 2 03:06:50 2013): > > > > -- > > > > Fatal trap 12: page fault while in kernel mode > > > > fault virtual address = 0x19 > > > > fault code = supervisor read, page not present > > > > instruction pointer = 0x20:0xc06caf34 > > > > stack pointer = 0x28:0xe76248fc > > > > frame pointer = 0x28:0xe7624930 > > > > code segment = base 0x0, limit 0xfffff, type 0x1b > > > > = DPL 0, pres 1, def32 1, gran 1 > > > > processor eflags = interrupt enabled, resume, IOPL = 0 > > > > current process = 76562 (find) > > > > trap number = 12 > > > > panic: page fault > > > > Uptime: 23h0m41s > > > > Physical memory: 1014 MB > > > > Dumping 186 MB: 171 155 139 123 107 91 75 59 43 27 11 > > > > > > > > #7 0xc06caf34 in cache_lookup_times (dvp=0xc784a990, vpp=0xe7624ae8, > > > > cnp=0xe7624afc, tsp=0x0, ticksp=0x0) at > > > /usr/src/sys/kern/vfs_cache.c:547 > > > > > > Can you go up to this frame and do 'l'? > > > > > > -- > > > John Baldwin > > > > > > Sure, > > > > --------- > > (kgdb) up 7 > > #7 0xc06caf34 in cache_lookup_times (dvp=0xc784a990, vpp=0xe7624ae8, cnp=0xe7624afc, tsp=0x0, ticksp=0x0) at /usr/src/sys/kern/vfs_cache.c:547 > > 547 numchecks++; > > --------- > > (kgdb) l > > 542 } > > 543 > > 544 hash = fnv_32_buf(cnp->cn_nameptr, cnp->cn_namelen, FNV1_32_INIT); > > 545 hash = fnv_32_buf(&dvp, sizeof(dvp), hash); > > 546 LIST_FOREACH(ncp, (NCHHASH(hash)), nc_hash) { > > 547 numchecks++; > > 548 if (ncp->nc_dvp == dvp && ncp->nc_nlen == cnp->cn_namelen && > > 549 !bcmp(nc_get_name(ncp), cnp->cn_nameptr, ncp->nc_nlen)) > > 550 break; > > 551 } > > --------- > > Hmm, 'p ncp' and 'p *ncp' at that frame perhaps? > (kgdb) p ncp $1 = (struct namecache *) 0x1 (kgdb) p *ncp Cannot access memory at address 0x1