Date: Wed, 13 Oct 2004 10:43:32 +0200 From: Geert Hendrickx <geert.hendrickx@ua.ac.be> To: freebsd-questions@freebsd.org Subject: Re: Maple troubles with SMP -- solved. How to contribute this to the FBSD documentation now? Message-ID: <20041013084332.GB96867@lori.mine.nu> In-Reply-To: <20041012165042.GA93462@lori.mine.nu> References: <20041012165042.GA93462@lori.mine.nu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Oct 12, 2004 at 06:50:42PM +0200, Geert Hendrickx wrote: > Hello, > > I'm running FreeBSD 4.10-STABLE on a hyperthreaded i386 processor. My > kernel has SMP enabled, and with sysctl machdep.hlt_logical_cpus=0, top > shows two logical cpu's up and running. Works fine. > > Now I have some weird experiences running Maple 9.5 (with Linux > emulation). When sysctl machdep.hlt_logical_cpus is set to 0, Maple > won't start. I get the splash screen, but it hangs forever (top shows a > java process eating all cpu time). It takes a kill -9 to stop it. > > When machdep.hlt_logical_cpus is set to 1 (single cpu), Maple starts > fine, I can enter commands and everything works ok (except the help > function, it crashes very often). When I set the sysctl back to 0, > Maple gets very unstable when I enter further commands. Sometimes it > hangs (without any cpu action like before), sometimes it crashes, very > unpredictable behaviour really. > > Does anyone have any clue about what is happening? And about who is to > blame, FreeBSD's SMP code, Maple, or maybe the Linux emulation code? > > GH The problems described above appear to have to do with the Java RE that comes with the newer versions of Maple (older versions -- at least I know about version 7 -- didn't use Java, and worked perfectly on FreeBSD). I have hacked and patched some Maple shell scripts, so that Maple uses the native FreeBSD JDK which I have compiled from the Ports, and now it seems to work right. When I have fully tested this, I would like to update the FreeBSD documentation (the part about Linux emulation), which describes how to get Maple running on FreeBSD, and include the patches I've written. How should I do this? GH -- :wq
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041013084332.GB96867>