Date: Mon, 28 Nov 2005 11:48:47 -0500 From: John Baldwin <jhb@freebsd.org> To: freebsd-amd64@freebsd.org Cc: amd64@freebsd.org, java@freebsd.org, freebsd-emulation@freebsd.org Subject: Re: quest for help on a linux emul problem (source unknown) Message-ID: <200511281148.49017.jhb@freebsd.org> In-Reply-To: <wpveye506j.fsf@heho.labo> References: <wpveye506j.fsf@heho.labo>
next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 26 November 2005 08:50 pm, Arno J. Klaassen wrote: > Hello, > > > I try to get a commercial linux32 package to work on amd64; > this package includes it's own binary distrib of some > linux-jdk1.3.1 and works OK on i386 (RELENG_5 and RELENG_6) but > hangs on amd64-RELENG_6 (though it did work on a couple > of months old amd64-RELENG-5, but I do not any longer have such > a box around ... ). > > I write this email in the hope someone can put me on the right > track to nail down this problem : > > when I do a ktrace on i386 I get : > > CALL mincore(0xbfbfc480,0) > RET mincore 0 > CALL #175(0,0,0xbfbfc2b4,0x8) > RET #175 0 > CALL #175(0x1,0xbfbfc3b8,0xbfbfc338,0x8) > RET #175 0 > CALL mincore(0xbfbfc290,0) > RET mincore 0 > CALL getdomainname(0xbfbfc288,0) > RET getdomainname 0 > > then some dozens of : > > CALL #175(0x2,0xbfbfc338,0,0x8) > RET #175 0 > CALL mincore(0xbfbfc480,0) > RET mincore 0 > CALL #175(0,0,0xbfbfc2b4,0x8) > RET #175 0 > CALL #175(0x1,0xbfbfc3b8,0xbfbfc338,0x8) > RET #175 0 > CALL mincore(0xbfbfc290,0) > RET mincore 0 > CALL getdomainname(0xbfbfc288,0) > RET getdomainname 0 > > > and finally : > > CALL #175(0x2,0xbfbfc338,0,0x8) > RET #175 0 > CALL write(0xb,0x83189e8,0x18) > GIO fd 11 wrote 24 bytes FYI, there is a 'linux-kdump' in ports that parses the syscalls from a ktrace on a linux binary. You can use that to make sure your mapping of 175 to sigprocmask() is correct. -- John Baldwin <jhb@FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511281148.49017.jhb>