From owner-freebsd-current@FreeBSD.ORG Fri Jun 6 14:32:40 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 22B3337B401; Fri, 6 Jun 2003 14:32:40 -0700 (PDT) Received: from mail.tcoip.com.br (erato.tco.net.br [200.220.254.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 61CE543FB1; Fri, 6 Jun 2003 14:32:37 -0700 (PDT) (envelope-from dcs@tcoip.com.br) Received: from tcoip.com.br ([10.0.2.6]) by mail.tcoip.com.br (8.11.6/8.11.6) with ESMTP id h56LWZl07866; Fri, 6 Jun 2003 18:32:35 -0300 Message-ID: <3EE10872.4060404@tcoip.com.br> Date: Fri, 06 Jun 2003 18:32:34 -0300 From: "Daniel C. Sobral" User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4a) Gecko/20030416 X-Accept-Language: en-us, en, pt-br, ja MIME-Version: 1.0 To: Robert Watson References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: CURRENT Subject: Re: PANIC: FreeBSD dislikes temps (panic when mounting /tmp) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jun 2003 21:32:40 -0000 Robert Watson wrote: > On Fri, 6 Jun 2003, Daniel C. Sobral wrote: > > >>Robert, I cc'ed you because you are usually guilty anyway... (besides, >>there's a ea thingy there :) > > > I probably am, actually :-). Is the file system in question UFS or UFS2? [1] dcs@dcs:/opt/home/dcs$ sudo dumpfs /dev/ad0s2f magic 19540119 (UFS2) time Fri Jun 6 14:06:59 2003 > To summarize the context of the crash: when UFS_EXTATTR_AUTOSTART is > present in the kernel, UFS file systems are scanned for a ".attribute" > directory in the root of the file system, and then it walks into various > subdirectories of that directory looking for attribute files to start. > This happens fairly early in the mount process, and it looks like the > panic is in the UFS_DIRHASH code, so perhaps we're bumping into an > incompletely initialized inode field of some sort. I'll look in detail at > this over the weekend. > > Is this during the boot, or is this later when you mount a UFS file > system? The trace is truncated at the bottom, I think. On mount. fsck works, even. As for the trace, there's the following on a simple bt: #12 0xc0239fe1 in vfs_mount (td=0xc2643720, fstype=0xc0eb3580 "ufs", fspath=0xc2764280 "/tmp", fsflags=0, fsdata=0x0) at /usr/src/sys/kern/vfs_mount.c:1090 #13 0xc0239748 in mount (td=0x0, uap=0xd1d84d10) at /usr/src/sys/kern/vfs_mount.c:846 #14 0xc02eb71e in syscall (frame= {tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 134881775, tf_esi = -1077937308, tf_ebp = -1077939688, tf_isp = -774353548, tf_ebx = -1077939632, tf_edx = 128, tf_ecx = 0, tf_eax = 21, tf_trapno = 12, tf_err = 2, tf_eip = 134524695, tf_cs = 31, tf_eflags = 582, tf_esp = -1077939844, tf_ss = 47}) at /usr/src/sys/i386/i386/trap.c:1023 #15 0xc02dae6d in Xint0x80_syscall () at {standard input}:138 Funny that bt full actually stops on that problem. -- Daniel C. Sobral (8-DCS) Gerencia de Operacoes Divisao de Comunicacao de Dados Coordenacao de Seguranca VIVO Centro Oeste Norte Fones: 55-61-313-7654/Cel: 55-61-9618-0904 E-mail: Daniel.Capo@tco.net.br Daniel.Sobral@tcoip.com.br dcs@tcoip.com.br Outros: dcs@newsguy.com dcs@freebsd.org capo@notorious.bsdconspiracy.net Kerr's Three Rules for a Successful College: Have plenty of football for the alumni, sex for the students, and parking for the faculty.