Skip site navigation (1)Skip section navigation (2)
Date:      Thu,  1 Jun 2000 00:17:16 -0400 (EDT)
From:      Andrew Gallatin <gallatin@cs.duke.edu>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        Marcel Moolenaar <marcel@cup.hp.com>, freebsd-emulation@FreeBSD.ORG
Subject:   Re: AW: Oracle8.1.6/Linux inst prob (Is JRE prob).
Message-ID:  <14645.57912.402341.215958@grasshopper.cs.duke.edu>
In-Reply-To: <Pine.BSF.4.21.0006011237570.1558-100000@besplex.bde.org>
References:  <393578F7.91380DE4@cup.hp.com> <Pine.BSF.4.21.0006011237570.1558-100000@besplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help

Bruce Evans writes:
 > On Wed, 31 May 2000, Marcel Moolenaar wrote:
 > 
 > > Michael Reifenberger wrote:
 > > > 
 > > > Hi,
 > > > wouldn't it be possible to lower FreeBSD's MINSIGSTKSZ to 2k?
 > > 
 > > AFAICT: no.
 > 
 > Um, why not?  It seems to be a completely abritrary value.  It is only
 > checked at the start of the sigaltstack().  Perhaps it should be
 > related to PAGE_SIZE. but it is defined to 8192 for all machines.  If
 > 8192 is best for i386's, then it is not best for alphas.  It only has
 > to be related to the size of the signal frame, so that at least one
 > signal can be delivered on the signal stack.  Note that the recommended
 > stack size, SIGSTKSZ, is much larger than MINSIGSTKSZ (32768 larger
 > for all machines).  Under Linux-2.3.35, SIGSTKSZ is 4 times larger
 > than MINSIGSTKSZ on all machines, and the values are correctly
 > machine-dependent (twice as large for alphas as for i386's).
 > 
 > Bruce

That certainly sounds reasonable.

I tried this a few months back when I was trying to run IBMs older JDK
1.1.8. While it did silence sigaltstack, it did not fix the "real"
problem (kernel: kernel trap [9|12] with interrupts disabled).

Do either of you know how to fix (or even just debug) the bad args
problem in osigreturn() or sigreturn()?

Thanks,

Drew



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-emulation" in the body of the message




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