From owner-freebsd-current@FreeBSD.ORG Sun Jul 4 19:42:13 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DC74F106564A for ; Sun, 4 Jul 2010 19:42:12 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 929DF8FC15 for ; Sun, 4 Jul 2010 19:42:12 +0000 (UTC) Received: by qwg5 with SMTP id 5so1975754qwg.13 for ; Sun, 04 Jul 2010 12:42:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=Ot9Q4gywuifrtvkZK6NYXn7u28OW0/TlFLSfNxAjKDc=; b=mSdaZDkFt6EPkGr6pI0AdLnwKyZJ8lyaqzJ3tqM6b6Soir+EhVKELYMYd0gOmDgWm1 1n0uyYzEVMfOSz8azwUPfPxA24Tx0C15/sYNBrWZgQkx4Z05LL6gZ6q93+24Nmomq2DB ZlS/rY4f+YWl24XXp6ZaVy6aF+fMC3cXGFA30= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=HqzfcPflTZLlrFTaI5GO3UzOjQFJeuPNf0tK8W5d4NPVaeQpeC+AXYXw+eT/1rTh6k b3oah5APa++PilHuEu1NX5nmOtt0ErJ+6RlEiUlxWTf6YkbdUYCM86sji9dNdXT4JEUZ sUiu3urD0qZghbiti8yMMDAvoRLeaGV0S3c/s= MIME-Version: 1.0 Received: by 10.224.54.69 with SMTP id p5mr851709qag.145.1278272528620; Sun, 04 Jul 2010 12:42:08 -0700 (PDT) Sender: asmrookie@gmail.com Received: by 10.229.17.3 with HTTP; Sun, 4 Jul 2010 12:42:08 -0700 (PDT) In-Reply-To: References: Date: Sun, 4 Jul 2010 21:42:08 +0200 X-Google-Sender-Auth: Kha-1VFPHkgvoMyHVQUioibI7lA Message-ID: From: Attilio Rao To: Mateusz Guzik Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@freebsd.org Subject: Re: SUJ panic on new directory rename X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Sun, 04 Jul 2010 19:42:13 -0000 Is this core updates somewhere? (With, possibly, a copy of your kernel binaries?) Attilio 2010/7/3 Mateusz Guzik : > Hi, > > I've got the following panic while running kernel as of r209343: > > Kernel page fault with the following non-sleepable locks held: > exclusive sleep mutex Softdep Lock (Softdep Lock) r =3D 0 (0xc0a89ff8) > locked @ /srv/respos/freebsd/sys/ufs/ffs/ffs_softdep.c:7124 > > free_jremref (jremref=3D0x0) at /srv/repos/freebsd/sys/ufs/ffs/ffs_softde= p.c:3553 > 3553 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0if (jremref->jr_ref.if_jseg= dep) > (kgdb) bt > #0 =C2=A0free_jremref (jremref=3D0x0) at > /srv/repos/freebsd/sys/ufs/ffs/ffs_softdep.c:3553 > #1 =C2=A00xc078e536 in cancel_diradd (dap=3D0xc1bd9880, dirrem=3D0xc1cc63= 80, > jremref=3D0x0, dotremref=3D0xc1cc4480, > =C2=A0 =C2=A0dotdotremref=3D0x0) at /srv/repos/freebsd/sys/ufs/ffs/ffs_so= ftdep.c:6765 > #2 =C2=A00xc078eb14 in newdirrem (bp=3D0xc3b560cc, dp=3D0xc1cb77b4, > ip=3D0xc1e617b4, isrmdir=3D0x1, prevdirremp=3D0xc838c914) > =C2=A0 =C2=A0at /srv/repos/freebsd/sys/ufs/ffs/ffs_softdep.c:7188 > #3 =C2=A00xc078ebb3 in softdep_setup_directory_change (bp=3D0xc3b560cc, > dp=3D0xc1cb77b4, ip=3D0xc1e617b4, newinum=3D0xb803, > =C2=A0 =C2=A0isrmdir=3D0x1) at /srv/repos/freebsd/sys/ufs/ffs/ffs_softdep= .c:7254 > #4 =C2=A00xc07a6969 in ufs_dirrewrite (dp=3D0xc1cb77b4, oip=3D0xc1e617b4, > newinum=3D0xb803, newtype=3D0x4, isrmdir=3D0x1) > =C2=A0 =C2=A0at /srv/repos/freebsd/sys/ufs/ufs/ufs_lookup.c:1269 > #5 =C2=A00xc07afe10 in ufs_rename (ap=3D0xc838cbec) at > /srv/repos/freebsd/sys/ufs/ufs/ufs_vnops.c:1429 > #6 =C2=A00xc0839d05 in VOP_RENAME_APV (vop=3D0xc08e1320, a=3D0xc838cbec) = at > vnode_if.c:1474 > #7 =C2=A00xc062f0a7 in kern_renameat (td=3D0xc1e8a280, oldfd=3D0xffffff9c= , > old=3D0x8048507 "foo", newfd=3D0xffffff9c, > =C2=A0 =C2=A0new=3D0x8048503 "bar", pathseg=3DUIO_USERSPACE) at vnode_if.= h:636 > #8 =C2=A00xc062f256 in kern_rename (td=3D0xc1e8a280, from=3D0x8048507 "fo= o", > to=3D0x8048503 "bar", pathseg=3DUIO_USERSPACE) > =C2=A0 =C2=A0at /srv/repos/freebsd/sys/kern/vfs_syscalls.c:3574 > #9 =C2=A00xc062f289 in rename (td=3D0xc1e8a280, uap=3D0xc838ccec) at > /srv/repos/freebsd/sys/kern/vfs_syscalls.c:3551 > #10 0xc05cf6b6 in syscallenter (td=3D0xc1e8a280, sa=3D0xc838cce4) at > /srv/repos/freebsd/sys/kern/subr_trap.c:335 > #11 0xc081829f in syscall (frame=3D0xc838cd28) at > /srv/repos/freebsd/sys/i386/i386/trap.c:1060 > #12 0xc07ffd70 in Xint0x80_syscall () at > /srv/repos/freebsd/sys/i386/i386/exception.s:261 > #13 0xbfbfed9c in ?? () > > This can be easly reproduced by running this program: > http://student.agh.edu.pl/~mjguzik/rename.c > > Thanks, > -- > Mateusz Guzik > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org= " > --=20 Peace can only be achieved by understanding - A. Einstein