amd64 host + i386 jail + ls -l = core dumped

Boris Samorodov bsam at ipt.ru
Fri Dec 4 21:21:14 UTC 2009


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


More information about the freebsd-current mailing list