Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 05 Dec 2009 00:21:12 +0300
From:      Boris Samorodov <bsam@ipt.ru>
To:        Kostik Belousov <kostikbel@gmail.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: amd64 host + i386 jail + ls -l = core dumped
Message-ID:  <43423639@h30.sp.ipt.ru>
In-Reply-To: <20091204195004.GK43143@deviant.kiev.zoral.com.ua> (Kostik Belousov's message of "Fri\, 4 Dec 2009 21\:50\:04 %2B0200")
References:  <20226798@bb.ipt.ru> <20091204173502.GJ43143@deviant.kiev.zoral.com.ua> <21986596@bb.ipt.ru> <20091204195004.GK43143@deviant.kiev.zoral.com.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43423639>