From owner-freebsd-current@FreeBSD.ORG Tue Jun 26 01:38:40 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EDBE71065672; Tue, 26 Jun 2012 01:38:40 +0000 (UTC) (envelope-from araujobsdport@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id A16838FC0A; Tue, 26 Jun 2012 01:38:40 +0000 (UTC) Received: by obbun3 with SMTP id un3so9330679obb.13 for ; Mon, 25 Jun 2012 18:38:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=Q8fBzxZzGtWc3QDkkupNqvJXl59w497mRcDkkUqiUu0=; b=O97CsdzHfcTVRxL8A5DyGciO9rVtj2PQoJpIKHkHpkuww9sZf4s/Ye2IuL3jlC8M5u mFxlzwZcHHTBxhwCVPqukEdIpTPrmFxPtNxCCGwLOTuY0E9IRHkN5fX+WQk2PL6yAkTV xoyGZIO3Mqh7aNwXQCvCseUNpc12fCE1auHofcCThV7n6r7ewn9K8oZylFMjKpUVAfN2 atW1fqiicBcnJXcaxX11yjGWzDKbfEZbWMqzjpkH/8X18XSO5ktBmKq47JVvbauxQHLm Zzd821CpQuJQ7uJKu62vwO+qbUwRKehVbQwS5X8bkk3h5ecYsCXck/U7dp5N4DSSUZkK SXsg== MIME-Version: 1.0 Received: by 10.182.77.170 with SMTP id t10mr14396959obw.70.1340674719951; Mon, 25 Jun 2012 18:38:39 -0700 (PDT) Received: by 10.76.68.74 with HTTP; Mon, 25 Jun 2012 18:38:39 -0700 (PDT) In-Reply-To: <20120625095548.GD2337@deviant.kiev.zoral.com.ua> References: <1340589808.2192.1.camel@nsl> <20120625095548.GD2337@deviant.kiev.zoral.com.ua> Date: Tue, 26 Jun 2012 09:38:39 +0800 Message-ID: From: Marcelo Araujo To: Konstantin Belousov X-Mailman-Approved-At: Tue, 26 Jun 2012 02:13:52 +0000 Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-fs@freebsd.org, Kevin Lo , freebsd-current Subject: Re: Tmpfs panic in -current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: araujo@FreeBSD.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jun 2012 01:38:41 -0000 Hello Kevin, May you rebuild your kernel with some options that will make the dump of the crash easier to send to people? Try to follow these steps: 1) Configure KERNEL with the folowing options: options KDB options GDB options DDB 2) Configure rc.conf: dumpdev="/dev/ad0s1b" #Your swap slice. dumpdir="/var/crash" #By default. crashinfo_enable="YES" crashinfo_program="/usr/sbin/crashinfo" 3) When the FreeBSD crash, it won't rebut, but will be stop on a gdb prompt. 3.1) gdb> continue 3.2) gdb> dump 4) kgdb /boot/kernel/kernel.symbols /var/crash/vmcore.0 5) kgdb> backtrace 6) kgdb> up 4 7) kgdb> up 6 --> Up to line number 4. 7 --> Up to the next line. Best Regards, - Araujo 2012/6/25 Konstantin Belousov > On Mon, Jun 25, 2012 at 10:03:28AM +0800, Kevin Lo wrote: > > I've observed a panic in recent -current several times but I only > > have a picture of the backtrace: > > http://people.freebsd.org/~kevlo/panic_tmpfs.jpg > > > > Does this look at all familiar to anyone? > > Can you look up the line corresponding to tmpfs_reg_resize + 0x627 address > in your kernel ? > > The screenshot looks strange. The instruction on which the kernel trapped > is int 0x28 which should not appear in the compiled code. > -- Marcelo Araujo araujo@FreeBSD.org