From owner-freebsd-emulation Sun Aug 5 3:46:46 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from palle.girgensohn.se (c213.89.167.190.cm-upc.chello.se [213.89.167.190]) by hub.freebsd.org (Postfix) with ESMTP id 3DCC637B401; Sun, 5 Aug 2001 03:46:40 -0700 (PDT) (envelope-from girgen@partitur.se) Received: from partitur.se (localhost [127.0.0.1]) by palle.girgensohn.se (8.11.5/8.11.5) with ESMTP id f75Akcq93590; Sun, 5 Aug 2001 12:46:38 +0200 (CEST) (envelope-from girgen@partitur.se) Message-ID: <3B6D240D.3584ABD6@partitur.se> Date: Sun, 05 Aug 2001 12:46:37 +0200 From: Palle Girgensohn Organization: Partitur X-Mailer: Mozilla 4.78 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: sv, en MIME-Version: 1.0 To: des@freebsd.org Cc: emulation@freebsd.org Subject: my opera fails to load libpng Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 Hi! I have a problem with opera (www/linux-opera): $ ldd /usr/local/bin/opera-bin /usr/local/bin/opera-bin: /usr/local/bin/opera-bin: error in loading shared libraries: libpng.so.2: ELF file ABI version invalid. /usr/local/bin/opera-bin: exit status 127 $ file /compat/linux/usr/lib/libpng.so.2 libpng.so.2@ libpng.so.2.1.0.3* palle:linux-opera$ file /compat/linux/usr/lib/libpng.so.2.1.0.3 file: Using regular magic file `/usr/share/misc/magic' /compat/linux/usr/lib/libpng.so.2.1.0.3: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), not stripped Opera cannot be started (same error as for ldd). Both opera and linux-png are freshly installed from the ports collection. Any ideas what might be wrong? /Palle To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Sun Aug 5 19:20:25 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from chg.ru (netserv1.chg.ru [193.233.46.3]) by hub.freebsd.org (Postfix) with ESMTP id 4212A37B401 for ; Sun, 5 Aug 2001 19:20:22 -0700 (PDT) (envelope-from dima@chg.ru) Received: (from dima@localhost) by chg.ru (8.9.3/8.9.3) id GAA07634 for freebsd-emulation@freebsd.org; Mon, 6 Aug 2001 06:20:20 +0400 (MSD) (envelope-from dima) Date: Mon, 6 Aug 2001 06:20:20 +0400 From: "Dmitry S. Sivachenko" To: freebsd-emulation@freebsd.org Subject: kylix Message-ID: <20010806062020.A7594@netserv1.chg.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i 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 Hello! Did anybody succeed in running Borland Kylix Open Edition? (www.borland.com/kylix/)? Thanks, --dima To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Mon Aug 6 6:40:45 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from klima.physik.uni-mainz.de (klima.Physik.Uni-Mainz.DE [134.93.180.162]) by hub.freebsd.org (Postfix) with ESMTP id C91D437B401; Mon, 6 Aug 2001 06:40:35 -0700 (PDT) (envelope-from ohartman@klima.physik.uni-mainz.de) Received: from klima.Physik.Uni-Mainz.DE (Sturm@klima.Physik.Uni-Mainz.DE [134.93.180.162]) by klima.physik.uni-mainz.de (8.11.5/8.11.4) with ESMTP id f76DeYA14880; Mon, 6 Aug 2001 15:40:35 +0200 (CEST) (envelope-from ohartman@klima.physik.uni-mainz.de) Date: Mon, 6 Aug 2001 15:40:34 +0200 (CEST) From: "Hartmann, O." To: Cc: Subject: Several Linux errors, please explain Message-ID: <20010806143624.D14215-100000@klima.physik.uni-mainz.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Hello. I need some help form those who are close to the Linuxulator. While FreeBSD lacks in a usable Netscape we use the Linux Netscape V4.78 right now and on all machines where this image runs produce this error: linux: syscall fstat64 is obsoleted or not implemented (pid=8481) Does anyone know what this means and how to get rid of it? Another much more serious problem is related to my investigations of how KYLIX (Delphi for Linux) could be installed on a FreeBSD box. For those who wants to try it, I'll try to explain what I did first. On FreeBSD side you need to enable options USER_LDT in the kernel! First you need to update several Linux libraries, watch the suggestions at www.borlande.com or look at the KYLIX CD set (I ran the patches for glibc for RedHat 6.2). After a succesfuly installation of the patched libraries I need to install the linux-jpeg package from the ports. After this has been done, you need a directory of about 200MB free space capacity to copy the content of the Linux CD to this directory. In reality, you don't need the whole CD set, but for my ease I copied the whole bunch. Then you should cd down the setup.data directory and please 'barndelf -t Linux' all binaries you'll find. The reason for this is that FreeBSD recognizes all binaries located there as SYSV binaries - but they're Linux! After you've done this you should a kind of shell script to call setup.sh in the root directory. I made a shellscript with the guidance of many guys out of here who helped me prioly (thanks a lot). You need to ensure that the Linux binaries are found first before the FreeBSD ones get found, so reset the PATH environment variable to something like PATH=/compat/linux ....:/usr/bin:/usr/sbin where the last search paths are those for FreeBSD trees. After you've done this, the installation shell script should work properly and the installation should be very simple. The next step is to call via 'startkylix' KYLIX or Delphi and watch out whats going on. In my case, a window popped up with a messages that several matrices of fonts get created. These windows seem to be the 'eternal' windows, they never hide away ... Stopping these subprocesses by a explicit kill and restarting 'startkylix' produces a core dump of Delphi and the kernel logs report this to me: . . . . linux: 'ioctl' fd=11, cmd=7201 ('r',1) not implemented pid 8420 (delphi), uid 1000: exited on signal 4 (core dumped) pid 8421 (delphi), uid 1000: exited on signal 4 (core dumped) pid 8416 (delphi), uid 1000: exited on signal 4 (core dumped) The message 'linux: 'ioctl' fd=11, cmd=7201 ('r',1) not implemented' occurs many times before the delphi image coredumps. Kylix or delphi gets started by a scmall shell script and on the calling shell this reports an illegal instruction while starting the Kylix image. Can anyone help or tell me whether this is a hopeless case? Thanks. -- MfG O. Hartmann ohartman@klima.physik.uni-mainz.de ---------------------------------------------------------------- IT-Administration des Institut fuer Physik der Atmosphaere (IPA) ---------------------------------------------------------------- Johannes Gutenberg Universitaet Mainz Becherweg 21 55099 Mainz Tel: +496131/3924662 (Maschinenraum) Tel: +496131/3924144 FAX: +496131/3923532 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Mon Aug 6 9:28: 3 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from 1upmc-msximc2.isdip.upmc.edu (1upmc-msximc2.isdip.upmc.edu [128.147.18.40]) by hub.freebsd.org (Postfix) with ESMTP id C4EAA37B401 for ; Mon, 6 Aug 2001 09:27:58 -0700 (PDT) (envelope-from personrp@ccbh.com) Received: by 1upmc-msximc2.isdip.upmc.edu with Internet Mail Service (5.5.2653.19) id ; Mon, 6 Aug 2001 12:19:23 -0400 Message-ID: <46AEB8C1B628D511969200508B6FE42A66852E@1upmc-msx6.isdip.upmc.edu> From: "Person, Roderick" To: "'Dmitry S. Sivachenko'" , freebsd-emulation@freebsd.org Subject: RE: kylix Date: Mon, 6 Aug 2001 12:16:48 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C11E93.31B69680" 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 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C11E93.31B69680 Content-Type: text/plain; charset="iso-8859-1" I tried to get it to install but I get errors with glibc and libjpeg compatiblity. glibc needs version 2.2 I think, and I didn't see a linux version in the BSD ports I upgraded my freebsd version to 2.8 but nothing. and as far as I can tell the jpeg version is correct at 6.1. My know of linux emulation is not much so I stuck. I've tried editing the Borland install script but no matter what I can't get past the glib error. Roderick P. Person Programmer II personrp@ccbh.com "You ever feel like you just been cheated? " - Johnny Rotten > -----Original Message----- > From: Dmitry S. Sivachenko [mailto:dima@Chg.RU] > Sent: August 05, 2001 10:20 PM > To: freebsd-emulation@freebsd.org > Subject: kylix > > > Hello! > > Did anybody succeed in running Borland Kylix Open Edition? > (www.borland.com/kylix/)? > > Thanks, > --dima > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-emulation" in the body of the message > ------_=_NextPart_001_01C11E93.31B69680 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable RE: kylix

I tried to get it to install but I get errors with = glibc and libjpeg compatiblity.
glibc needs version 2.2 I think, and I didn't see a = linux version in the BSD ports I upgraded my freebsd version to 2.8 but = nothing. and as far as I can tell the jpeg version is correct at 6.1. = My know of linux emulation is not much so I stuck. I've tried editing = the Borland install script but no matter what I can't get past the glib = error.

Roderick P. Person
Programmer II
personrp@ccbh.com

"You ever feel like you just been cheated? = "
- Johnny Rotten


> -----Original Message-----
> From: Dmitry S. Sivachenko [mailto:dima@Chg.RU]
> Sent: August 05, 2001 10:20 PM
> To: freebsd-emulation@freebsd.org
> Subject: kylix
>
>
> Hello!
>
> Did anybody succeed in running Borland Kylix = Open Edition?
> (www.borland.com/kylix/)?
>
> Thanks,
> --dima
>
> To Unsubscribe: send mail to = majordomo@FreeBSD.org
> with "unsubscribe freebsd-emulation" = in the body of the message
>

------_=_NextPart_001_01C11E93.31B69680-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Mon Aug 6 16:31:14 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from mailout06.sul.t-online.de (mailout06.sul.t-online.com [194.25.134.19]) by hub.freebsd.org (Postfix) with ESMTP id B402737B403; Mon, 6 Aug 2001 16:31:10 -0700 (PDT) (envelope-from se@FreeBSD.org) Received: from fwd04.sul.t-online.de by mailout06.sul.t-online.de with smtp id 15Ttq1-0007Gb-04; Tue, 07 Aug 2001 01:31:09 +0200 Received: from Gatekeeper.FreeBSD.org (520047440004-0001@[217.81.3.81]) by fmrl04.sul.t-online.com with esmtp id 15Ttpw-1Z6BjEC; Tue, 7 Aug 2001 01:31:04 +0200 Received: from StefanEsser.FreeBSD.org (StefanEsser [10.0.0.1]) by Gatekeeper.FreeBSD.org (Postfix) with ESMTP id 6830CF8B0; Mon, 6 Aug 2001 23:09:42 +0200 (CEST) Received: by StefanEsser.FreeBSD.org (Postfix, from userid 200) id 178E51407; Mon, 6 Aug 2001 23:09:42 +0200 (CEST) Date: Mon, 6 Aug 2001 23:09:41 +0200 From: Stefan Esser To: "Hartmann, O." Cc: freebsd-emulation@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG, Stefan Esser Subject: Re: Several Linux errors, please explain Message-ID: <20010806230941.A1746@StefanEsser.FreeBSD.org> Reply-To: Stefan Esser Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20010806143624.D14215-100000@klima.physik.uni-mainz.de> User-Agent: Mutt/1.3.18i X-Sender: 520047440004-0001@t-dialin.net 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 2001-08-06 15:40 +0200, "Hartmann, O." wrote: > the whole bunch. Then you should cd down the setup.data directory and please > 'barndelf -t Linux' all binaries you'll find. The reason for this is that > FreeBSD recognizes all binaries located there as SYSV binaries - but they're > Linux! This should work as well: # sysctl kern.fallback_elf_brand=3 Regards, STefan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Tue Aug 7 9:17: 3 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from n18.groups.yahoo.com (n18.groups.yahoo.com [216.115.96.68]) by hub.freebsd.org (Postfix) with SMTP id 794B237B41C for ; Tue, 7 Aug 2001 09:15:38 -0700 (PDT) (envelope-from notify-return-freebsd-emulation=freebsd.org@egroups.co.uk) X-eGroups-Return: notify-return-freebsd-emulation=freebsd.org@egroups.co.uk Received: from [10.1.10.141] by mr.egroups.com with NNFMP; 07 Aug 2001 16:15:31 -0000 Date: 7 Aug 2001 16:15:27 -0000 Message-ID: <997200927.4835.12669.f8@egroups.co.uk> From: freebsd-lists-for-dayan-only Moderator Reply-To: freebsd-lists-for-dayan-only-unsubscribe@egroups.co.uk To: freebsd-emulation@freebsd.org Subject: Welcome to the freebsd-lists-for-dayan-only group MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit 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 Hello, I've added you to my freebsd-lists-for-dayan-only group at eGroups, a free, easy-to-use email group service. As a member of this group, you may send messages to the entire group using just one email address: freebsd-lists-for-dayan-only@egroups.co.uk. eGroups also makes it easy to store photos and files, coordinate events, and more. Here's a description of the group: ------------------------------------------------------------------------ This list is subscribed to various FreeBSD lists only for Dayan. ------------------------------------------------------------------------ Here's my introductory message for you: ------------------------------------------------------------------------ Hello, Welcome to the freebsd-lists-for-dayan-only group at eGroups, a free, easy-to-use email group service. Please take a moment to review this message. To start sending messages to members of this group, simply send email to freebsd-lists-for-dayan-only@egroups.co.uk If you do not wish to belong to freebsd-lists-for-dayan-only, you may unsubscribe by sending an email to freebsd-lists-for-dayan-only-unsubscribe@egroups.co.uk You may also visit the eGroups web site to modify your subscriptions: http://www.egroups.co.uk/mygroups Regards, Moderator, freebsd-lists-for-dayan-only ------------------------------------------------------------------------ TO START SENDING messages to members of this group, simply send email to freebsd-lists-for-dayan-only@egroups.co.uk If you do not wish to belong to the freebsd-lists-for-dayan-only group, you can unsubscribe by replying to this message, or by sending an email to freebsd-lists-for-dayan-only-unsubscribe@egroups.co.uk Regards, Moderator, freebsd-lists-for-dayan-only SPECIAL NOTE FROM eGroups: Because eGroups values your privacy, it is a violation of our service rules for moderators to add subscribers to a group against their wishes. If you feel this has happened, please notify us at abuse@egroups.co.uk P.S. If you would like to learn more about the freebsd-lists-for-dayan-only group, please visit http://www.egroups.co.uk/group/freebsd-lists-for-dayan-only and enter the following sign-in information: Email address: freebsd-emulation@freebsd.org Password: bdljsabtltrqafa This password has been randomly generated for you. Once you have signed in, you should change your password by visiting http://www.egroups.co.uk/myprofile To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Tue Aug 7 13: 3:49 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id E3C9437B416 for ; Tue, 7 Aug 2001 13:03:46 -0700 (PDT) (envelope-from des@ofug.org) Received: (from des@localhost) by flood.ping.uio.no (8.9.3/8.9.3) id WAA07766; Tue, 7 Aug 2001 22:03:45 +0200 (CEST) (envelope-from des@ofug.org) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Palle Girgensohn Cc: emulation@freebsd.org Subject: Re: my opera fails to load libpng References: <3B6D240D.3584ABD6@partitur.se> From: Dag-Erling Smorgrav Date: 07 Aug 2001 22:03:44 +0200 In-Reply-To: <3B6D240D.3584ABD6@partitur.se> Message-ID: Lines: 8 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 Palle Girgensohn writes: > Any ideas what might be wrong? Nope. Works fine here. DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Wed Aug 8 15:35:52 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from Daffy.timing.com (daffy.timing.com [206.168.13.218]) by hub.freebsd.org (Postfix) with ESMTP id D030A37B40B for ; Wed, 8 Aug 2001 15:35:46 -0700 (PDT) (envelope-from jhein@timing.com) Received: from brain.timing.com (brain.timing.com [206.168.13.195]) by Daffy.timing.com (8.9.3/8.9.3) with ESMTP id QAA36529; Wed, 8 Aug 2001 16:35:41 -0600 (MDT) (envelope-from jhein@timing.com) Received: (from jhein@localhost) by brain.timing.com (8.11.3/8.11.3) id f78MZdj50494; Wed, 8 Aug 2001 16:35:39 -0600 (MDT) (envelope-from jhein@brain.timing.com) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15217.48827.763275.306777@brain.timing.com> Date: Wed, 8 Aug 2001 16:35:39 -0600 From: John E Hein To: freebsd-emulation@freebsd.org Cc: Shiro Ikeda In-Reply-To: <20001208.201621.55429972.shiro@brain.riken.go.jp> References: <20001208.201621.55429972.shiro@brain.riken.go.jp> Subject: can't quit matlab 12.1 under linux_base6.1 X-Mailer: VM 6.95 under Emacs 20.7.1 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 I just installed matlab version 6.1.0.450 (R12.1) and have a similar problem to Shiro. I don't get any warning about /dev/ptmx, but I DO get the following in /var/log/messages, and I am also unable to quit (like Shiro). Other than these symptoms, matlab seems to work fine. Aug 8 16:30:23 heron /kernel: linux: 'ioctl' fd=4, cmd=1 ('',1) not implemented Aug 8 16:30:23 heron /kernel: linux: 'ioctl' fd=4, cmd=1 ('',1) not implemented Aug 8 16:30:23 heron /kernel: linux: 'ioctl' fd=4, cmd=540e ('T',14) not implemented I am running FreeBSD 4.3-Release. First... is anyone else able to successfully quit matlab? Shiro Ikeda wrote on Fri, 08 Dec 2000 20:16:21 +0900 (JST): > Subject: Linux /dev/ptmx is needed by MATLAB R12 > > I am using MATLAB for Linux on FreeBSD, and got a problem. The latest > MATLAB for Linux needs Linux kernel of version 2.2.x and libc.so.6. I > installed linux_base6.1 on FreeBSD 4.2-STABLE and cheated the install > program of MATLAB. I could install everything, but when I run MATLAB, > it gives the following message before opening a window, > > ??? MATLAB was unable to open the pseudo-tty master device /dev/ptmx. > The unix() and ! commands will not work in this MATLAB session. Other > commands which depend upon unix() and ! will also fail. Please check > with your system administrator and confirm that this device exists with > the proper permissions. > > Finally it opens a window, and I can use MATLAB, but I cannot close > the window, and cannot quit but have to kill the process. I am sure > latest MATLAB needs /dev/ptmx for managing the tty, but I don't know > how to realize it on FreeBSD. If anyone gives me a hint, it helps me a > lot. > > thanks, > > /)\ Shiro Ikeda > o o "Information and Human Activity", PRESTO, JST > - Lab. for Mathematical Neuroscience, RIKEN BSI To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Thu Aug 9 6: 6:12 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from knock.econ.vt.edu (knock.econ.vt.edu [128.173.172.240]) by hub.freebsd.org (Postfix) with ESMTP id 11F7537B401 for ; Thu, 9 Aug 2001 06:06:07 -0700 (PDT) (envelope-from rdmurphy@knock.econ.vt.edu) Received: (from rdmurphy@localhost) by knock.econ.vt.edu (8.11.5/8.11.4) id f79D62C11279; Thu, 9 Aug 2001 09:06:02 -0400 (EDT) (envelope-from rdmurphy) From: "Russell D. Murphy Jr." MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15218.35514.511382.285461@localhost.econ.vt.edu> Date: Thu, 9 Aug 2001 09:06:02 -0400 To: John E Hein Cc: freebsd-emulation@FreeBSD.ORG, Shiro Ikeda Subject: Re: can't quit matlab 12.1 under linux_base6.1 In-Reply-To: <15217.48827.763275.306777@brain.timing.com> References: <20001208.201621.55429972.shiro@brain.riken.go.jp> <15217.48827.763275.306777@brain.timing.com> X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Reply-To: rdmurphy@vt.edu 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 Matlab runs, complains about /dev/ptmx, does *not* (as far as I can tell) generate the ioctl complaints, and *does* quit fine. knock [rdmurphy]% uname -a FreeBSD knock.econ.vt.edu 4.4-PRERELEASE FreeBSD 4.4-PRERELEASE #0: Fri Aug 3 19:22:32 EDT 2001 root@knock.econ.vt.edu:/usr/obj/usr/src/sys/KNOCK i386 knock [rdmurphy]% /sbin/sysctl -a | grep linux compat.linux.osname: Linux compat.linux.osrelease: 2.2.12 compat.linux.oss_version: 198144 knock [rdmurphy]% pkg_info | grep linux_base linux_base-6.1 The base set of packages needed in Linux mode The device would be nice, but basic Matlab seems to work OK without it. Russ M. According to John E Hein (August 8, 2001): | I just installed matlab version 6.1.0.450 (R12.1) and have a similar | problem to Shiro. I don't get any warning about /dev/ptmx, but I DO | get the following in /var/log/messages, and I am also unable to quit | (like Shiro). Other than these symptoms, matlab seems to work fine. | | Aug 8 16:30:23 heron /kernel: linux: 'ioctl' fd=4, cmd=1 ('',1) not implemented | Aug 8 16:30:23 heron /kernel: linux: 'ioctl' fd=4, cmd=1 ('',1) not implemented | Aug 8 16:30:23 heron /kernel: linux: 'ioctl' fd=4, cmd=540e ('T',14) not implemented | | I am running FreeBSD 4.3-Release. | | First... is anyone else able to successfully quit matlab? -- Russell D. Murphy Department of Economics Virginia Polytechnic Institute and State University Blacksburg, Virginia 24061 (540) 231-4537 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Thu Aug 9 6:58:24 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from Daffy.timing.com (daffy.timing.com [206.168.13.218]) by hub.freebsd.org (Postfix) with ESMTP id 150D937B405 for ; Thu, 9 Aug 2001 06:58:21 -0700 (PDT) (envelope-from jhein@timing.com) Received: from brain.timing.com (brain.timing.com [206.168.13.195]) by Daffy.timing.com (8.9.3/8.9.3) with ESMTP id HAA39464; Thu, 9 Aug 2001 07:58:19 -0600 (MDT) (envelope-from jhein@timing.com) Received: (from jhein@localhost) by brain.timing.com (8.11.3/8.11.3) id f79DwJ930261; Thu, 9 Aug 2001 07:58:19 -0600 (MDT) (envelope-from jhein@brain.timing.com) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15218.38651.258849.4333@brain.timing.com> Date: Thu, 9 Aug 2001 07:58:19 -0600 From: John E Hein To: rdmurphy@vt.edu Cc: freebsd-emulation@FreeBSD.ORG, Shiro Ikeda Subject: Re: can't quit matlab 12.1 under linux_base6.1 In-Reply-To: <15218.35514.511382.285461@localhost.econ.vt.edu> References: <20001208.201621.55429972.shiro@brain.riken.go.jp> <15217.48827.763275.306777@brain.timing.com> <15218.35514.511382.285461@localhost.econ.vt.edu> X-Mailer: VM 6.91 under Emacs 20.7.1 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 Russell D. Murphy Jr. wrote at 09:06 -0400 on Aug 9: > > Matlab runs, complains about /dev/ptmx, does *not* (as far as I can > tell) generate the ioctl complaints, and *does* quit fine. > > knock [rdmurphy]% uname -a > FreeBSD knock.econ.vt.edu 4.4-PRERELEASE FreeBSD 4.4-PRERELEASE #0: > Fri Aug 3 19:22:32 EDT 2001 > root@knock.econ.vt.edu:/usr/obj/usr/src/sys/KNOCK i386 > > knock [rdmurphy]% /sbin/sysctl -a | grep linux > compat.linux.osname: Linux > compat.linux.osrelease: 2.2.12 > compat.linux.oss_version: 198144 > > knock [rdmurphy]% pkg_info | grep linux_base > linux_base-6.1 The base set of packages needed in Linux mode > > The device would be nice, but basic Matlab seems to work OK without > it. Russell, What version of Matlab are you running? And when you say, "basic Matlab", I assume you mean everything but ! and unix()? From the archives, it seems like R12 complains about /dev/ptmx, but I haven't seen any messages from anyone running R12.1 Note that when I 'ln -s /dev/null /dev/ptmx', I DO get the complaint about /dev/ptmx and not the 'ioctl not implemented' messages. And in this case (with the bogus /dev/ptmx), I cannot use matlab unix() or ! commands. And, yes, it *does* quit fine. When I truss matlab R12.1 WITHOUT the faked /dev/ptmx sym link, it tries to open /dev/ptmx, fails, and then tries opening /dev/ptyp0 then 1 then... linux_open("/dev/ptmx",2,027757751270) ERR#2 'No such file or directory' linux_rt_sigaction(0x11,0xbfbfb500,0xbfbfb474,0x8) = 4 (0x4) linux_rt_sigprocmask(0x1,0xbfbfb690,0x0,0x8) = 4 (0x4) linux_open("/dev/ptyp0",2,0160) ERR#5 'Input/output error' linux_open("/dev/ptyp1",2,0160) ERR#5 'Input/output error' linux_open("/dev/ptyp2",2,0160) = 3 (0x3) linux_open("/dev/ttyp2",2,0160) = 3 (0x3) Perhaps Mathworks tried to implement some workaround in R12.1 for an OS that doesn't have Unix98 ptys? Anyway, I get no complaint about /dev/ptmx (this is still the scenario without the faked /dev/ptmx sym link) and unix() and ! commands from within matlab work fine. However, when I quit it hangs and leaves 3 matlab processes around (1 is a zombie) that I have to kill from another shell (can't even Ctrl-Z to suspend the matlab). So there's a tradeoff: - make a bogus /dev/ptmx sym linked to /dev/null and lose unix() and ! functionality in matlab (and matlab whines about /dev/ptmx) - or run matlab R12.1 without the fake /dev/ptmx sym link, and you can't quit (and the linux emulator whines about unimplemented ioctls) To get a completely functioning matlab, it looks like we need to at least identify and fake, if not implement, the unimplemented ioctls. Has anyone heard talk of implementing unix98 ptys in FreeBSD or faking it somehow for linux emulation? There seems to be some discussion of doing it recently on the tech-kern NetBSD mailing list, but I don't see anything in archives of FreeBSD mailing lists. John Hein To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Thu Aug 9 7:14:53 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from knock.econ.vt.edu (knock.econ.vt.edu [128.173.172.240]) by hub.freebsd.org (Postfix) with ESMTP id CB6C937B401 for ; Thu, 9 Aug 2001 07:14:48 -0700 (PDT) (envelope-from rdmurphy@knock.econ.vt.edu) Received: (from rdmurphy@localhost) by knock.econ.vt.edu (8.11.5/8.11.4) id f79EEjq11899; Thu, 9 Aug 2001 10:14:45 -0400 (EDT) (envelope-from rdmurphy) From: "Russell D. Murphy Jr." MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15218.39637.311548.512594@localhost.econ.vt.edu> Date: Thu, 9 Aug 2001 10:14:45 -0400 To: John E Hein Cc: freebsd-emulation@FreeBSD.ORG, Shiro Ikeda Subject: Re: can't quit matlab 12.1 under linux_base6.1 In-Reply-To: <15218.38651.258849.4333@brain.timing.com> References: <20001208.201621.55429972.shiro@brain.riken.go.jp> <15217.48827.763275.306777@brain.timing.com> <15218.35514.511382.285461@localhost.econ.vt.edu> <15218.38651.258849.4333@brain.timing.com> X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Reply-To: rdmurphy@vt.edu 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 John- According to John E Hein (August 9, 2001): | Russell, | What version of Matlab are you running? And when you say, "basic Matlab", | I assume you mean everything but ! and unix()? | | >From the archives, it seems like R12 complains about /dev/ptmx, but I | haven't seen any messages from anyone running R12.1 I'm running 12, not 12.1: < M A T L A B > Copyright 1984-2000 The MathWorks, Inc. Version 6.0.0.88 Release 12 Sep 21 2000 And, yes, I mean, all but ! and unix() - but I haven't used it heavily, so it's possible there are other sticking points. | Note that when I 'ln -s /dev/null /dev/ptmx', I DO get the complaint | about /dev/ptmx and not the 'ioctl not implemented' messages. | And in this case (with the bogus /dev/ptmx), I cannot use matlab | unix() or ! commands. And, yes, it *does* quit fine. I haven't done that: knock [newey-iv]% matlab & [1] 11449 knock [newey-iv]% ??? MATLAB was unable to open the pseudo-tty master device /dev/ptmx. The unix() and ! commands will not work in this MATLAB session. Other commands which depend upon unix() and ! will also fail. Please check with your system administrator and confirm that this device exists with the proper permissions. [1] Done matlab -glnx86 knock [newey-iv]% which matlab matlab: aliased to matlab -glnx86 knock [newey-iv]% ls -l /dev | grep ptmx knock [newey-iv]% ps waux | grep matlab rdmurphy 11641 0.0 0.0 268 148 p1 R+ 10:05AM 0:00.00 grep matlab | When I truss matlab R12.1 WITHOUT the faked /dev/ptmx sym link, it tries | to open /dev/ptmx, fails, and then tries opening /dev/ptyp0 then 1 then... | | linux_open("/dev/ptmx",2,027757751270) ERR#2 'No such file or directory' | linux_rt_sigaction(0x11,0xbfbfb500,0xbfbfb474,0x8) = 4 (0x4) | linux_rt_sigprocmask(0x1,0xbfbfb690,0x0,0x8) = 4 (0x4) | linux_open("/dev/ptyp0",2,0160) ERR#5 'Input/output error' | linux_open("/dev/ptyp1",2,0160) ERR#5 'Input/output error' | linux_open("/dev/ptyp2",2,0160) = 3 (0x3) | linux_open("/dev/ttyp2",2,0160) = 3 (0x3) | | Perhaps Mathworks tried to implement some workaround in R12.1 for an OS | that doesn't have Unix98 ptys? | | Anyway, I get no complaint about /dev/ptmx (this is still the scenario | without the faked /dev/ptmx sym link) and unix() and ! commands from | within matlab work fine. However, when I quit it hangs and leaves 3 | matlab processes around (1 is a zombie) that I have to kill from another | shell (can't even Ctrl-Z to suspend the matlab). | | So there's a tradeoff: | - make a bogus /dev/ptmx sym linked to /dev/null and lose unix() and | ! functionality in matlab (and matlab whines about /dev/ptmx) | - or run matlab R12.1 without the fake /dev/ptmx sym link, and you can't | quit (and the linux emulator whines about unimplemented ioctls) | | | To get a completely functioning matlab, it looks like we need to at | least identify and fake, if not implement, the unimplemented ioctls. | | Has anyone heard talk of implementing unix98 ptys in FreeBSD or faking | it somehow for linux emulation? There seems to be some discussion of | doing it recently on the tech-kern NetBSD mailing list, but I don't see | anything in archives of FreeBSD mailing lists. | | John Hein I haven't heard of anything like that (but I'm not really likely to). Russ M. -- Russell D. Murphy Department of Economics Virginia Polytechnic Institute and State University Blacksburg, Virginia 24061 (540) 231-4537 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message