From owner-freebsd-current@FreeBSD.ORG Fri Dec 4 21:21:14 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 CEA22106566B for ; Fri, 4 Dec 2009 21:21:14 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id 899638FC08 for ; Fri, 4 Dec 2009 21:21:14 +0000 (UTC) Received: from gate.ipt.ru ([194.62.233.123] helo=h30.sp.ipt.ru) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1NGfaS-0003Lj-UC; Sat, 05 Dec 2009 00:21:12 +0300 To: Kostik Belousov References: <20226798@bb.ipt.ru> <20091204173502.GJ43143@deviant.kiev.zoral.com.ua> <21986596@bb.ipt.ru> <20091204195004.GK43143@deviant.kiev.zoral.com.ua> From: Boris Samorodov Date: Sat, 05 Dec 2009 00:21:12 +0300 In-Reply-To: <20091204195004.GK43143@deviant.kiev.zoral.com.ua> (Kostik Belousov's message of "Fri\, 4 Dec 2009 21\:50\:04 +0200") Message-ID: <43423639@h30.sp.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-current@freebsd.org Subject: Re: amd64 host + i386 jail + ls -l = core dumped 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: Fri, 04 Dec 2009 21:21:14 -0000 On Fri, 4 Dec 2009 21:50:04 +0200 Kostik Belousov wrote: > On Fri, Dec 04, 2009 at 09:26:51PM +0300, Boris Samorodov wrote: > > On Fri, 4 Dec 2009 19:35:02 +0200 Kostik Belousov wrote: > > > On Fri, Dec 04, 2009 at 06:36:49PM +0300, Boris Samorodov wrote: > > > > > > Loaded symbols for /libexec/ld-elf.so.1 > > > > #0 0x2814316f in __sys___acl_get_link () from /lib/libc.so.7 > > > > (gdb) bt > > > > #0 0x2814316f in __sys___acl_get_link () from /lib/libc.so.7 > > > > #1 0x2814303c in acl_get_link_np () from /lib/libc.so.7 > > > > #2 0x0804c2f9 in ?? () > > > > #3 0xffffcb83 in ?? () > > > > #4 0x00000004 in ?? () > > > > [...] > > > It seems that struct acl does not need translation. And another block > > > of acl-related syscalls do not touch it. > > > Please try the patch below. After application of the patch, cd to > > > sys/compat/freebsd32 directory and do make sysent. Then, rebuild > > > the kernel as usual. > > OK, I tried it, no go. I'll double check tomorrow if I made > > a mistake while patching/building/installing the kernel. > What do you mean by no go ? Show ktrace/kdump output. No go meant no changes. If I had a new info, I'd show it. ;-) The trace was the same and I suspected that I've done something wrong. BTW, while driving home I realized that I had built and installed the wrong kernel (the kernel for i386 diskless booting, with which I used to work the whole day). Well, it was a hard day. And finally you are a winner! After building and installing the kernel for the host machine the trouble went away. Yay! Kostik, great work, thanks! -- WBR, bsam