Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 05 Sep 2002 17:43:57 +0100 (BST)
From:      Duncan Barclay <dmlb@dmlb.org>
To:        Marcel Moolenaar <marcel@xcllnt.net>
Cc:        emulation@FreeBSD.org
Subject:   Re: TIOCSCTTY not implemented in linuxulator?
Message-ID:  <XFMail.20020905174357.dmlb@computer.my.domain>
In-Reply-To: <20020905162929.GA779@dhcp01.pn.xcllnt.net>

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

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




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