From owner-freebsd-current@FreeBSD.ORG Thu Jun 4 01:07:26 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 6DC58106564A for ; Thu, 4 Jun 2009 01:07:26 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from smtp.timeweb.ru (smtp.timeweb.ru [217.170.79.85]) by mx1.freebsd.org (Postfix) with ESMTP id 2A3298FC1D for ; Thu, 4 Jun 2009 01:07:26 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from [213.148.20.85] (helo=hive.panopticon) by smtp.timeweb.ru with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1MC1QT-0006dk-BE for freebsd-current@FreeBSD.org; Thu, 04 Jun 2009 05:07:25 +0400 Received: from hades.panopticon (hades.panopticon [192.168.0.32]) by hive.panopticon (Postfix) with ESMTP id E90A0B878 for ; Thu, 4 Jun 2009 05:07:19 +0400 (MSD) Received: by hades.panopticon (Postfix, from userid 1000) id E3C93108839; Thu, 4 Jun 2009 05:07:19 +0400 (MSD) Date: Thu, 4 Jun 2009 05:07:19 +0400 From: Dmitry Marakasov To: freebsd-current@FreeBSD.org Message-ID: <20090604010719.GC15659@hades.panopticon> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: Mutt/1.5.19 (2009-01-05) Cc: Subject: libarchive extattr i386/amd64 syscall issue 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: Thu, 04 Jun 2009 01:07:26 -0000 Hi! The problem: on recent current, 32bit bsdtar won't write archives when running under 64bit kernel, dying with exit code 140 and `Bad system call' message. I've ran into that using i386 tinderbox jail on amd64 host. The problem actually happens in libarchive: --- lib/libarchive/archive_read_disk_entry_from_file.c --- 484 if (!a->follow_symlinks) 485 list_size = extattr_list_link(path, namespace, NULL, 0); // <-- HERE 486 else 487 list_size = extattr_list_file(path, namespace, NULL, 0); --- lib/libarchive/archive_read_disk_entry_from_file.c --- -- Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D amdmi3@amdmi3.ru ..: jabber: amdmi3@jabber.ru http://www.amdmi3.ru