From owner-freebsd-current@FreeBSD.ORG Mon Oct 22 18:41:25 2007 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 ABF0C16A421 for ; Mon, 22 Oct 2007 18:41:25 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.freebsd.org (Postfix) with ESMTP id 3C37713C4AA for ; Mon, 22 Oct 2007 18:41:24 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id E4BB845CD9; Mon, 22 Oct 2007 20:41:14 +0200 (CEST) Received: from localhost (public-gprs43659.centertel.pl [91.94.42.225]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 0FF3C45684; Mon, 22 Oct 2007 20:41:02 +0200 (CEST) Date: Mon, 22 Oct 2007 20:40:33 +0200 From: Pawel Jakub Dawidek To: Olli Hauer Message-ID: <20071022184033.GC1118@garage.freebsd.pl> References: <471BCF96.7000207@gmx.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="QRj9sO5tAVLaXnSD" Content-Disposition: inline In-Reply-To: <471BCF96.7000207@gmx.de> User-Agent: Mutt/1.4.2.3i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-2.6 required=3.0 tests=BAYES_00 autolearn=ham version=3.0.4 Cc: freebsd-current@freebsd.org Subject: Re: zfs kernel messages 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: Mon, 22 Oct 2007 18:41:25 -0000 --QRj9sO5tAVLaXnSD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Oct 22, 2007 at 12:15:50AM +0200, Olli Hauer wrote: > while playing a little with zfs i get the following > kernel messages at ttyv0 (no panic/freeze happend) >=20 > (captured vi ssh from other system) > # vidcontrol -P < /dev/ttyv0 >=20 > uma_zalloc_arg: zone "256" with the following non-sleepable locks held: > exclusive sleep mutex struct mount mtx r =3D 0 (0xc64e7d3c) locked @=20 > /usr/src/sys/modules/zfs/../../compat/opensolaris/kern/opensolaris_vfs.c:= 206 > KDB: stack backtrace: > db_trace_self_wrapper(c0a9c175,e72bb6e4,c078428d,c0a9c538,e72bb6f8,...) a= t=20 > db_trace_self_wrapper+0x26 > kdb_backtrace(c0a9c538,e72bb6f8,4,1,0,...) at kdb_backtrace+0x29 > witness_warn(5,0,c0aba40d,c0ac3e77,1,...) at witness_warn+0x1cd > uma_zalloc_arg(c146d1e0,0,102,2,c64e7d0c,...) at uma_zalloc_arg+0x34 > malloc(94,c0b4c4e0,102,c64e7d0c,e72bb790,...) at malloc+0xd2 > crget(c6985300,c0b4c4e0,c64e7d0c,e72bb7d4,c431b9dc,...) at crget+0x23 > crdup(c3f07600,0,c439444c,ce,c2,...) at crdup+0xc > domount(c450a420,c6ee4330,c43995db,cc152900,e72bb810,...) at domount+0x20c > zfsctl_snapdir_lookup(e72bbaa0,e72bbaa0,c450a420,2,c456e660,...) at=20 > zfsctl_snapdir_lookup+0x362 > VOP_LOOKUP_APV(c439d5c0,e72bbaa0,c450a420,c0aa409d,19b,...) at=20 > VOP_LOOKUP_APV+0xa5 > lookup(e72bbb48,c0aa409d,c6,bf,c730102c,...) at lookup+0x58e > namei(e72bbb48,e72bbb94,60,0,c450a420,...) at namei+0x34b > kern_lstat(c450a420,28220318,0,e72bbc18,2d4738cb,...) at kern_lstat+0x4f > lstat(c450a420,e72bbcfc,8,c0a9ed42,c0b469d0,...) at lstat+0x2f > syscall(e72bbd38) at syscall+0x2b3 > Xint0x80_syscall() at Xint0x80_syscall+0x20 > --- syscall (190, FreeBSD ELF32, lstat), eip =3D 0x2815548b, esp =3D=20 > 0xbfbfe93c, ebp =3D 0xbfbfe9c8 --- That's easy to fix. Try this patch: http://people.freebsd.org/~pjd/patches/opensolaris_vfs.c.patch Thanks for the report. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --QRj9sO5tAVLaXnSD Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHHO6hForvXbEpPzQRAhZ+AJ92TxKkXEsJeUnoREYmKAR6Ag5o5QCfdOz3 Btay515LedFXrQNRFLR3OWI= =5DDL -----END PGP SIGNATURE----- --QRj9sO5tAVLaXnSD--