From owner-freebsd-current@FreeBSD.ORG Tue Mar 10 20:16:32 2009 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 A3E23106566B for ; Tue, 10 Mar 2009 20:16:32 +0000 (UTC) (envelope-from swell.k@gmail.com) Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.190]) by mx1.freebsd.org (Postfix) with ESMTP id 391C78FC15 for ; Tue, 10 Mar 2009 20:16:31 +0000 (UTC) (envelope-from swell.k@gmail.com) Received: by ti-out-0910.google.com with SMTP id a1so1563461tib.3 for ; Tue, 10 Mar 2009 13:16:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references :date:message-id:user-agent:mime-version:content-type; bh=ugKc4ThEa4XV9s3dUdiI0X+jVMlfqCkXJLlPih1MS60=; b=a7JnRW9fTo/I4Tiwec1Y00ElZXKzcrD7J1odW99C7smJruQSJ3Op8xSwnOHknX6szR L//T9AVgS6bYlzjqokieR9mSc5BR5/tjad1O2DF9nhx+v0EPy1DhV8Y4JqHMsyndMO8K /iTN/AIAKqplYFrLomi1IEnvVNQyEyXyUTojc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:message-id:user-agent :mime-version:content-type; b=ZyLJ3FugD2sdIwMmwoZQM6z/Bkf3k/zVilhZUOnf4Oy2J/h2nSWxTcjs7iuUuGv3qi 4oSqYd/kC4esgDUXCsapamoFwWwxOc3YGYOBXA1RQ7ZDVtsv+nN2CgvB3hVZe4LmNMv4 Q7W6iZujk9MWQR/YVxCQLfLztpi39x8NimS6U= Received: by 10.110.31.5 with SMTP id e5mr11573182tie.35.1236716190654; Tue, 10 Mar 2009 13:16:30 -0700 (PDT) Received: from localhost (93-80-44-184.broadband.corbina.ru [93.80.44.184]) by mx.google.com with ESMTPS id d7sm2394413tib.22.2009.03.10.13.16.25 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 10 Mar 2009 13:16:29 -0700 (PDT) From: Anonymous To: Paul Wootton References: <200903100104.53847.ken__6247.10998167775$1236647281$gmane$org@mthelicon.com> <86mybuasss.fsf@gmail.com> <200903101238.20974.paul@fletchermoorland.co.uk> Date: Tue, 10 Mar 2009 23:16:09 +0300 Message-ID: <86sklldth2.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (berkeley-unix) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Cc: freebsd-current@freebsd.org, Pegasus Mc Cleaft Subject: Re: bsdtar lockup on Current-03/10/2009 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: Tue, 10 Mar 2009 20:16:32 -0000 --=-=-= Paul Wootton writes: > Im also using ZFS and have the same problems as Peg when trying to create a > tar file. > This is using Current as of last yesterday (09-mar-09). I'm not sure but in my case ktrace shows extattr_list_link() before the lockup. So, for a workaround I disabled extattr support in libarchive. Can you verify that this helps you, too? --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=libarchive.diff Content-Description: disable extattr support Index: lib/libarchive/config_freebsd.h =================================================================== --- lib/libarchive/config_freebsd.h (revision 189643) +++ lib/libarchive/config_freebsd.h (working copy) @@ -34,12 +34,7 @@ #define HAVE_ACL_SET_FD_NP 1 #define HAVE_ACL_SET_FILE 1 #define HAVE_ACL_USER 1 -#define HAVE_EXTATTR_GET_FILE 1 -#define HAVE_EXTATTR_LIST_FILE 1 -#define HAVE_EXTATTR_SET_FD 1 -#define HAVE_EXTATTR_SET_FILE 1 #define HAVE_SYS_ACL_H 1 -#define HAVE_SYS_EXTATTR_H 1 #endif #define HAVE_BZLIB_H 1 --=-=-= > > Out of interest, I tried the following which seemed to work though > > demophon# mdconfig -a -t malloc -s 100M -u 0 > demophon# newfs /dev/md0 > /dev/md0: 100.0MB (204800 sectors) block size 16384, fragment size 2048 > using 4 cylinder groups of 25.02MB, 1601 blks, 3264 inodes. > super-block backups (for fsck -b #) at: > 160, 51392, 102624, 153856 > demophon# mount /dev/md0 /mnt > demophon# dd if=/dev/random of=/mnt/rand > > /mnt: write failed, filesystem is full > dd: /mnt/rand: No space left on device > 197601+0 records in > 197600+0 records out > 101171200 bytes transferred in 2.240331 secs (45159043 bytes/sec) > demophon# tar -cvf /dev/null /mnt/rand > tar: Removing leading '/' from member names > a mnt/rand > demophon# You could skip mdconfig/newfs thing with tmpfs(5). > > Dont know if that helps at all... > > Paul --=-=-=--