From owner-freebsd-emulation Wed May 31 21:25:25 2000 Delivered-To: freebsd-emulation@freebsd.org Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (Postfix) with ESMTP id 1661A37BD93 for ; Wed, 31 May 2000 21:25:23 -0700 (PDT) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id AAA29602; Thu, 1 Jun 2000 00:17:47 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.9.3/8.9.1) id AAA46048; Thu, 1 Jun 2000 00:17:17 -0400 (EDT) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Thu, 1 Jun 2000 00:17:16 -0400 (EDT) To: Bruce Evans Cc: Marcel Moolenaar , freebsd-emulation@FreeBSD.ORG Subject: Re: AW: Oracle8.1.6/Linux inst prob (Is JRE prob). In-Reply-To: References: <393578F7.91380DE4@cup.hp.com> X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs Lucid Message-ID: <14645.57912.402341.215958@grasshopper.cs.duke.edu> Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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