From owner-freebsd-emulation Thu Sep 5 9:44:10 2002 Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9A1AE37B400 for ; Thu, 5 Sep 2002 09:44:06 -0700 (PDT) Received: from dmlb.org (pc1-cmbg2-6-cust106.cam.cable.ntl.com [80.4.4.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 23E9643E42 for ; Thu, 5 Sep 2002 09:44:06 -0700 (PDT) (envelope-from dmlb@dmlb.org) Received: from slave.my.domain ([192.168.200.39]) by dmlb.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 3.36 #1) id 17mzja-000DHE-00; Thu, 05 Sep 2002 17:43:58 +0100 Received: from dmlb by slave.my.domain with local (Exim 3.36 #1) id 17mzjZ-0001VF-00; Thu, 05 Sep 2002 17:43:57 +0100 Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20020905162929.GA779@dhcp01.pn.xcllnt.net> Date: Thu, 05 Sep 2002 17:43:57 +0100 (BST) From: Duncan Barclay To: Marcel Moolenaar Subject: Re: TIOCSCTTY not implemented in linuxulator? Cc: emulation@FreeBSD.org Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On 05-Sep-2002 Marcel Moolenaar wrote: > On Thu, Sep 05, 2002 at 10:31:18AM +0100, Duncan Barclay wrote: >> >> >> PR filed, kern/42404 >> >> Is this enough? If it is I can add it. >> >> >> >> case LINUX_TIOCSCTTY: >> >> args->cmd = TIOCSCTTY; >> >> return (ioctl(p, (struct ioctl_args *)args)); >> > >> > Yes, that's it. I committed the version for -current. Do you want me to >> > ping re@ for inclusion in -stable? >> >> Yes please, unfortunately it only helps a little with the matlab >> thing. I'm still trying to track that one down. > > Oh, ok. In that case, I don't see much value to MFC it during a freeze. > I'd rather bug re@ if we really improved the quality or usability... Agreed, as it only helps a little lets MFC after 4.7 >> Did you close the PR? Or shall I? > > I didn't close the PR yet, because the change is not in -stable yet. > Feel free to close it if you're on top of it. I'll assign the PR to > me as to avoid it staying open for months, in the event that you leave > it open as well... okay > If you found out something new WRT matlab, let me know, I have just discovered that if you start matlab without the Jave VM running it exits cleanly: slave$ /ide3.g/matlab6p1/bin/matlab -glnx86 -nosplash -nojvm < M A T L A B > Copyright 1984-2001 The MathWorks, Inc. Version 6.1.0.1989a Release 12.1 Oct 5 2001 To get started, type one of these: helpwin, helpdesk, or demo. For product information, visit www.mathworks.com. >> plot(1,2) >> exit slave$ ls kdump_matlab ktrace_matlab_helper.out kdump_matlab_helper noX11/ ktrace_matlab.out This is _without_ the TIOCSCTTY patch. Will dig a bit more, but I have already noticed that matlab -nojvm doesn't spawn any threads. However, with the JVM about four or five threads are created. I suspect something is broken in the killing of threads. Duncan -- ________________________________________________________________________ Duncan Barclay | God smiles upon the little children, dmlb@dmlb.org | the alcoholics, and the permanently stoned. dmlb@freebsd.org| Steven King To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message