Re: Maple troubles with SMP -- solved. How to contribute this to the FBSD documentation now?

2004-10-13 Thread Geert Hendrickx
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
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Maple troubles with SMP -- solved. How to contribute this to the FBSD documentation now?

2004-10-13 Thread Kevin D. Kinsey, DaleCo, S.P.
Geert Hendrickx wrote:
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
 

You should probably submit appropriate problem reports.   Create
patches with dif(1), and quote them inline in the pr.  For documentation,
the procedure is the same, you just patch the document SGML source.
The FDP primer would have more info on this.
If you have patches for the Maple port itself, it should probably be
discussed on the ports@ list, or perhaps even with the maintainer
him/herself.
I certainly don't speak for the Project itself, but this would seem
to be the canonical way of contributing back to FreeBSD ...
HTH,
Kevin Kinsey
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Maple troubles with SMP -- solved. How to contribute this to the FBSD documentation now?

2004-10-13 Thread Geert Hendrickx
On Wed, Oct 13, 2004 at 09:16:42AM -0500, Kevin D. Kinsey, DaleCo, S.P. wrote:
 Geert Hendrickx wrote:
 
 
 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
 
  
 
 You should probably submit appropriate problem reports.   Create
 patches with dif(1), and quote them inline in the pr.  For documentation,
 the procedure is the same, you just patch the document SGML source.
 The FDP primer would have more info on this.
 
 If you have patches for the Maple port itself, it should probably be
 discussed on the ports@ list, or perhaps even with the maintainer
 him/herself.
 
 I certainly don't speak for the Project itself, but this would seem
 to be the canonical way of contributing back to FreeBSD ...
 
 HTH,
 
 Kevin Kinsey

There is no Maple port, Maple must be installed from a CD with a valid
license key.  But there is a section in the Handbook which describes how
to get Maple running on FreeBSD.  Only, it has become harder with the
newer versions of Maple. :-)  I think I would rather rewrite the current
section than patch it.  Anyway thanks for the notes.  

GH

-- 
:wq
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]