From owner-freebsd-questions@FreeBSD.ORG Mon May 19 22:22:39 2014 Return-Path: Delivered-To: freebsd-questions@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 ESMTPS id BDD02EF6 for ; Mon, 19 May 2014 22:22:39 +0000 (UTC) Received: from mail-ve0-x230.google.com (mail-ve0-x230.google.com [IPv6:2607:f8b0:400c:c01::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7DE772EE9 for ; Mon, 19 May 2014 22:22:39 +0000 (UTC) Received: by mail-ve0-f176.google.com with SMTP id jz11so7137299veb.7 for ; Mon, 19 May 2014 15:22:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=ex7ghINbw7NUBQB8z3bctnpLlQQ51aRMz5prV1kxEq0=; b=xnotXWojeEVveRy2bZF5HK01odvaOHl3V/LkPvUh5KUuMtPAivnTHBspAVWH4izdWz sSLR+bJzx2D4uNyhdJbIVf0J9feXdLfUbIpzhBcoxsr40+cRdKBBbxXmSf76gUMutELt K7KasiX3L0Dutk3Y1366FtpmgDC2AX+I1pDkS3PpxJ2e0WFTjuJVqrupU7FmVhHxlgls A7043BNnAYE1S6AzGfb/Lrd+fDrfloju5rf2uP7bqqsZ7pz6IbPmBZ/xt0dfdkPifFWU rShqOAJ2TY58dKtsSOV3pMK9KS1Fz7Qb68Ts3IIGzMC2nEehAkY3y2eRnsg16NVm73FR dUhA== MIME-Version: 1.0 X-Received: by 10.52.110.105 with SMTP id hz9mr436525vdb.9.1400538158615; Mon, 19 May 2014 15:22:38 -0700 (PDT) Received: by 10.220.239.84 with HTTP; Mon, 19 May 2014 15:22:38 -0700 (PDT) In-Reply-To: References: Date: Mon, 19 May 2014 18:22:38 -0400 Message-ID: Subject: Re: frequent panics on 9.2-RELEASE From: Thomas Hoffmann To: FreeBSD Questions Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18 Cc: gyliamos@gmail.com X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2014 22:22:39 -0000 On Mon, May 19, 2014 at 5:51 PM, Will Parsons wrote: > A few days ago, I started to get frequent panics on a laptop running > 9.2-RELEASE. The message is: > > panic: ffs_valloc: dup alloc > > and the backtrace from the core.txt file is: > > KDB: stack backtrace: > #0 0xc0b1810f at kdb_backtrace+0x4f > #1 0xc0adf38f at panic+0x16f > #2 0xc0d102d4 at ffs_valloc+0x5a4 > #3 0xc0d50384 at ufs_makeinode+0xa4 > #4 0xc0d50c80 at ufs_create+0x30 > #5 0xc0f73b02 at VOP_CREATE_APV+0xa2 > #6 0xc0b8e3f6 at vn_open_cred+0x246 > #7 0xc0b8e87b at vn_open+0x3b > #8 0xc0b89ccc at kern_openat+0x1ec > #9 0xc0b8a0e5 at kern_open+0x35 > #10 0xc0b8a120 at sys_open+0x30 > #11 0xc0f4ce53 at syscall+0x443 > #12 0xc0f36661 at Xint0x80_syscall+0x21 > Uptime: 7m7s > Physical memory: 2965 MB > Dumping 160 MB: 145 129 113 97 81 65 49 33 17 1 > > I don't really have any experience with FreeBSD kernel dumps, so I > don't know how to pick out what's important. How do I proceed to > resolve this problem? > > (Also note that I have 9.1-RELEASE installed on the same machine on a > different slice which is stable, so I think hardware problems are not > likely to be a factor.) Have you tried booting into single user mode and running fsck -y on your UFS filesystems? If you have journaling enabled, I think the recommendation is to run fsck -y twice on each UFS filesystem.