From owner-freebsd-emulation Mon Dec 7 05:37:33 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA28317 for freebsd-emulation-outgoing; Mon, 7 Dec 1998 05:37:33 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from orangoutang.newsmedia.com (gsy10.ienet.com [206.253.30.106] (may be forged)) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA28312 for ; Mon, 7 Dec 1998 05:37:30 -0800 (PST) (envelope-from watchdog@newsmedia.com) Received: from orangoutang.newsmedia.com (localhost.wnsnews.com [127.0.0.1] (may be forged)) by orangoutang.newsmedia.com (8.9.1/8.9.1) with SMTP id FAA10261 for ; Mon, 7 Dec 1998 05:37:40 -0800 (PST) Message-ID: <366BDA23.41C67EA6@newsmedia.com> Date: Mon, 07 Dec 1998 05:37:39 -0800 From: Charlie Root X-Mailer: Mozilla 3.01Gold (X11; I; FreeBSD 2.2.7-RELEASE i386) MIME-Version: 1.0 To: freebsd-emulation@FreeBSD.ORG Subject: (no subject) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org subscribe freebsd-emulation watchdog@newsmedia.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Mon Dec 7 11:42:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA05142 for freebsd-emulation-outgoing; Mon, 7 Dec 1998 11:42:46 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from ns.tar.com (ns.tar.com [204.95.187.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA05137 for ; Mon, 7 Dec 1998 11:42:41 -0800 (PST) (envelope-from lists@tar.com) Received: from ppro.tar.com (ppro.tar.com [204.95.187.9]) by ns.tar.com (8.9.1/8.9.1) with SMTP id NAA11122 for ; Mon, 7 Dec 1998 13:42:37 -0600 (CST) (envelope-from lists@tar.com) Message-Id: <199812071942.NAA11122@ns.tar.com> From: "Richard Seaman, Jr." To: "emulation@freebsd.org" Date: Mon, 07 Dec 98 13:42:37 -0600 Reply-To: "Richard Seaman, Jr." X-Mailer: PMMail 1.92 For OS/2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: linux_pipe, broken? Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Is the pipe call in linux emulation (linux_pipe) broken? I've been experimenting with getting linux threads running in linux emulation mode. Linux threads creates a thread manager thread and uses a pipe to communicate requests for thread creation and termination to the thread manager. It appears that the thread manager gets corrupted data when it reads from the pipe. The thread manager thread appears to be created ok, and hangs when it gets a bad address in data read from the pipe (why it doesn't seg fault is beyond me -- the address it gets in the data is 0x4, which happens to be the fd of the write end of the pipe, the read end is 0x3). Also, I tried getting StarOffice 5.0 running, and the setup program seg faults immediately after executing a pipe call, before linux threads is started. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Mon Dec 7 12:57:21 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA14768 for freebsd-emulation-outgoing; Mon, 7 Dec 1998 12:57:21 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from kolasc.net.ru ([195.209.249.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA14761 for ; Mon, 7 Dec 1998 12:57:14 -0800 (PST) (envelope-from andre@kolasc.net.ru) From: andre@kolasc.net.ru Received: (from root@localhost) by kolasc.net.ru (8.8.2-MVC-281096/8.8.2) id XAA20168; Mon, 7 Dec 1998 23:57:49 +0300 (MSK) Date: Mon, 7 Dec 1998 23:57:49 +0300 (MSK) Message-Id: <199812072057.XAA20168@kolasc.net.ru> To: freebsd-emulation@FreeBSD.ORG X-URL: mailto:freebsd-emulation@freebsd.org X-Mailer: Lynx, Version 2-4-2 X-Personal_name: Andre Subject: mailto:freebsd-emulation@freebsd.org Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org subscribe freebsd-emulation To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Mon Dec 7 14:27:07 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA25120 for freebsd-emulation-outgoing; Mon, 7 Dec 1998 14:27:07 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from fallout.campusview.indiana.edu (fallout.campusview.indiana.edu [149.159.1.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA25028 for ; Mon, 7 Dec 1998 14:27:05 -0800 (PST) (envelope-from jfieber@fallout.campusview.indiana.edu) Received: from localhost (jfieber@localhost) by fallout.campusview.indiana.edu (8.9.1/8.9.1) with ESMTP id RAA38135; Mon, 7 Dec 1998 17:26:44 -0500 (EST) Date: Mon, 7 Dec 1998 17:26:44 -0500 (EST) From: John Fieber To: "Richard Seaman, Jr." cc: "emulation@freebsd.org" Subject: Re: linux_pipe, broken? In-Reply-To: <199812071942.NAA11122@ns.tar.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, 7 Dec 1998, Richard Seaman, Jr. wrote: > Is the pipe call in linux emulation (linux_pipe) broken? There are pipe related problems that prevent Oracle and the backup server in Sybase from working. I haven't looked into it but you might check the emulation list archives for references to oracle, sybase and pipes. -john To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Mon Dec 7 16:32:47 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA08768 for freebsd-emulation-outgoing; Mon, 7 Dec 1998 16:32:47 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from dingo.cdrom.com (ppp4.portal.net.au [202.12.71.104]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA08758 for ; Mon, 7 Dec 1998 16:32:43 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id QAA01257; Mon, 7 Dec 1998 16:30:42 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199812080030.QAA01257@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: "Richard Seaman, Jr." cc: "emulation@freebsd.org" Subject: Re: linux_pipe, broken? In-reply-to: Your message of "Mon, 07 Dec 1998 13:42:37 CST." <199812071942.NAA11122@ns.tar.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 07 Dec 1998 16:30:41 -0800 From: Mike Smith Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Is the pipe call in linux emulation (linux_pipe) broken? There have been periodic reports that it's not Doing the Right Thing. > I've been experimenting with getting linux threads running in > linux emulation mode. Linux threads creates a thread manager > thread and uses a pipe to communicate requests for thread > creation and termination to the thread manager. It appears > that the thread manager gets corrupted data when it reads > from the pipe. The thread manager thread appears to be > created ok, and hangs when it gets a bad address in data > read from the pipe (why it doesn't seg fault is beyond me -- > the address it gets in the data is 0x4, which happens to be > the fd of the write end of the pipe, the read end is 0x3). > > Also, I tried getting StarOffice 5.0 running, and the setup > program seg faults immediately after executing a pipe call, > before linux threads is started. I would suggest that you should sit down for a little while and work out what's going on then - this does indeed seem quite broken. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Mon Dec 7 19:10:18 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA27961 for freebsd-emulation-outgoing; Mon, 7 Dec 1998 19:10:18 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from rush.u-netsys.com.br (rush.u-netsys.com.br [200.246.214.10]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id TAA27956 for ; Mon, 7 Dec 1998 19:10:14 -0800 (PST) (envelope-from paul@u-net.com.br) Received: (qmail 21396 invoked from network); 8 Dec 1998 03:10:07 -0000 Received: from ppp17-pm2.u-netsys.com.br (HELO home.u-net.com.br) (200.246.214.206) by rush.u-netsys.com.br with SMTP; 8 Dec 1998 03:10:07 -0000 Message-ID: <366C988E.4A2E7849@u-net.com.br> Date: Tue, 08 Dec 1998 01:10:06 -0200 From: "Paulo C. Marques F." Organization: U-Net Internet X-Mailer: Mozilla 4.01 [en] (Win95; I) MIME-Version: 1.0 To: freebsd-emulation@FreeBSD.ORG Subject: ELF binary type not known. X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, I'm using the linux emulation on a FreeBSD 3.0 box to run the Interbase RDBMS. It works perfectly. Now, I am trying to compile some binaries to do SQL queries to the Interbase server. I have installed the linux_devel port, And when I try executing the binary, I get this error: # /compat/linux/usr/bin/gcc -o try try.c -lgds # ./try ELF binary type not known Abort trap Any ideas? The binaries for the Interbase RDBMS have the format (taking gbak as an example): # file /path/to/interbase/bin/gbak /path/to/interbase/bin/gbak: ELF 32-bit LSB executable, Intel 80386, version 1, dynamically linked, not stripped And the linux emulator is up and running: # modstat Type Id Off Loadaddr Size Info Rev Module Name EXEC 0 4 f2bf4000 0020 f2bfb010 1 linux_mod Thanks in advance. Regards, Paulo. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Mon Dec 7 19:49:36 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA03103 for freebsd-emulation-outgoing; Mon, 7 Dec 1998 19:49:36 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from poboxer.pobox.com (port95.prairietech.net [208.141.230.95] (may be forged)) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA03097 for ; Mon, 7 Dec 1998 19:49:34 -0800 (PST) (envelope-from alk@poboxer.pobox.com) Received: (from alk@localhost) by poboxer.pobox.com (8.9.1/8.9.1) id VAA61893; Mon, 7 Dec 1998 21:47:48 -0600 (CST) (envelope-from alk) From: Tony Kimball MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Mon, 7 Dec 1998 21:47:48 -0600 (CST) X-Face: \h9Jg:Cuivl4S*UP-)gO.6O=T]]@ncM*tn4zG);)lk#4|lqEx=*talx?.Gk,dMQU2)ptPC17cpBzm(l'M|H8BUF1&]dDCxZ.c~Wy6-j,^V1E(NtX$FpkkdnJixsJHE95JlhO 5\M3jh'YiO7KPCn0~W`Ro44_TB@&JuuqRqgPL'0/{):7rU-%.*@/>q?1&Ed Reply-To: alk@pobox.com To: paul@u-net.com.br Cc: freebsd-emulation@FreeBSD.ORG Subject: ELF binary type not known. References: <366C988E.4A2E7849@u-net.com.br> X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs Lucid Message-ID: <13932.41261.137989.541392@avalon.east> Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Quoth Paulo C. Marques F. on Tue, 8 December: : : # /compat/linux/usr/bin/gcc -o try try.c -lgds : # ./try : ELF binary type not known : Abort trap I'm guessing this is the FAQ item: % brandelf -t Linux try To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Tue Dec 8 10:22:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA25019 for freebsd-emulation-outgoing; Tue, 8 Dec 1998 10:22:13 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from ns.tar.com (ns.tar.com [204.95.187.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA25010 for ; Tue, 8 Dec 1998 10:22:07 -0800 (PST) (envelope-from lists@tar.com) Received: from ppro.tar.com (ppro.tar.com [204.95.187.9]) by ns.tar.com (8.9.1/8.9.1) with SMTP id MAA08374; Tue, 8 Dec 1998 12:21:45 -0600 (CST) (envelope-from lists@tar.com) Message-Id: <199812081821.MAA08374@ns.tar.com> From: "Richard Seaman, Jr." To: "John Fieber" Cc: "emulation@freebsd.org" Date: Tue, 08 Dec 98 12:21:44 -0600 Reply-To: "Richard Seaman, Jr." X-Mailer: PMMail 1.92 For OS/2 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="_=_=_=IMA.BOUNDARY.F3NPK8138764=_=_=_" Subject: Re: linux_pipe, broken? Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --_=_=_=IMA.BOUNDARY.F3NPK8138764=_=_=_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Mon, 7 Dec 1998 17:26:44 -0500 (EST), John Fieber wrote: >On Mon, 7 Dec 1998, Richard Seaman, Jr. wrote: > >> Is the pipe call in linux emulation (linux_pipe) broken? > >There are pipe related problems that prevent Oracle and the >backup server in Sybase from working. I haven't looked into it >but you might check the emulation list archives for references to >oracle, sybase and pipes. The attached diffs appear to correct the problems I was having with linux_pipe. I'd be curious if they solve your problems as well. The example programs that come with linux threads now appear to work in emulation mode (with additional patches that I haven't sent). After a little more testing, I'll post the full diffs for linux threads. --_=_=_=IMA.BOUNDARY.F3NPK8138764=_=_=_ Content-Type: application/octet-stream; name="diffs" Content-Transfer-Encoding: base64 SW5kZXg6IGxpbnV4X21pc2MuYwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09ClJDUyBmaWxlOiAvaG9tZS9uY3ZzL3NyYy9z eXMvaTM4Ni9saW51eC9saW51eF9taXNjLmMsdgpyZXRyaWV2aW5nIHJldmlzaW9uIDEuNDYKZGlm ZiAtYyAtcjEuNDYgbGludXhfbWlzYy5jCioqKiBsaW51eF9taXNjLmMJMTk5OC8xMi8wNCAyMjo1 NDo1MAkxLjQ2Ci0tLSBsaW51eF9taXNjLmMJMTk5OC8xMi8wOCAxODoxMTowNAoqKioqKioqKioq KioqKioKKioqIDY1OSw2NzIgKioqKgogIGxpbnV4X3BpcGUoc3RydWN0IHByb2MgKnAsIHN0cnVj dCBsaW51eF9waXBlX2FyZ3MgKmFyZ3MpCiAgewogICAgICBpbnQgZXJyb3I7CiAgCiAgI2lmZGVm IERFQlVHCiAgICAgIHByaW50ZigiTGludXgtZW11bCglZCk6IHBpcGUoKilcbiIsIHAtPnBfcGlk KTsKICAjZW5kaWYKISAgICAgaWYgKGVycm9yID0gcGlwZShwLCAwKSkKICAJcmV0dXJuIGVycm9y OwohICAgICBpZiAoZXJyb3IgPSBjb3B5b3V0KHAtPnBfcmV0dmFsLCBhcmdzLT5waXBlZmRzLCAy KnNpemVvZihpbnQpKSkKICAJcmV0dXJuIGVycm9yOwogICAgICBwLT5wX3JldHZhbFswXSA9IDA7 CiAgICAgIHJldHVybiAwOwogIH0KLS0tIDY1OSw2ODEgLS0tLQogIGxpbnV4X3BpcGUoc3RydWN0 IHByb2MgKnAsIHN0cnVjdCBsaW51eF9waXBlX2FyZ3MgKmFyZ3MpCiAgewogICAgICBpbnQgZXJy b3I7CisgICAgIGludCByZWdfZWR4OwogIAogICNpZmRlZiBERUJVRwogICAgICBwcmludGYoIkxp bnV4LWVtdWwoJWQpOiBwaXBlKCopXG4iLCBwLT5wX3BpZCk7CiAgI2VuZGlmCiEgICAgIHJlZ19l ZHggPSBwLT5wX3JldHZhbFsxXTsKISAgICAgaWYgKGVycm9yID0gcGlwZShwLCAwKSkgewohICAg ICAgICAgcC0+cF9yZXR2YWxbMV0gPSByZWdfZWR4OwogIAlyZXR1cm4gZXJyb3I7CiEgICAgIH0K ISAKISAgICAgaWYgKGVycm9yID0gY29weW91dChwLT5wX3JldHZhbCwgYXJncy0+cGlwZWZkcywg MipzaXplb2YoaW50KSkpIHsKISAgICAgICAgIHAtPnBfcmV0dmFsWzFdID0gcmVnX2VkeDsKICAJ cmV0dXJuIGVycm9yOworICAgICB9CisgICAgICAKKyAgICAgcC0+cF9yZXR2YWxbMV0gPSByZWdf ZWR4OwogICAgICBwLT5wX3JldHZhbFswXSA9IDA7CiAgICAgIHJldHVybiAwOwogIH0K --_=_=_=IMA.BOUNDARY.F3NPK8138764=_=_=_-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Wed Dec 9 06:00:36 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA17872 for freebsd-emulation-outgoing; Wed, 9 Dec 1998 06:00:36 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from ns.tar.com (ns.tar.com [204.95.187.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA17865 for ; Wed, 9 Dec 1998 06:00:32 -0800 (PST) (envelope-from lists@tar.com) Received: from ppro.tar.com (ppro.tar.com [204.95.187.9]) by ns.tar.com (8.9.1/8.9.1) with SMTP id HAA72067; Wed, 9 Dec 1998 07:59:23 -0600 (CST) (envelope-from lists@tar.com) Message-Id: <199812091359.HAA72067@ns.tar.com> From: "Richard Seaman, Jr." To: "Vladimir N. Silyaev" Cc: "emulation@freebsd.org" Date: Wed, 09 Dec 98 07:59:22 -0600 Reply-To: "Richard Seaman, Jr." X-Mailer: PMMail 1.92 For OS/2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: Re: linux threads binary Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, 09 Dec 98 09:27:53 +0200, Vladimir N. Silyaev wrote: >Hi! > >If you didn't receive samples for linux threads it's my five cents. > >This samples compiled gcc-2.7.2.3 from glibc-2.0.7-29 examples code, >with some modification of Makefile. >All examples a runnable in my Linux box, but sometime this examples >are coredumped, IMHO at exit stage. Thanks. Johan Larsson also provided me with the compiled examples. I can get all the examples to run in emulation emulation mode, apparently correctly, with one exception. ex4 appears to hang on exit (no coredump), requiring a Ctrl-c to finally end it. ex4 does a pthread_exit on the main thread, so I'm still looking at how our FreeBSD patches handle exit and wait processing. When I can isolate the problem with ex4, I'll post the patches to make linux threads work. I can now also get StarOffice 5.0 to execute its setup program without dumping core (though the core dump that occured in setup did not appear to be a threads problem, but rather a linxu_pipe problem). However, it reports that I'm missing libvos505li.so. I'll have to track down a copy of that lib before I can test this further. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Wed Dec 9 12:18:23 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA22009 for freebsd-emulation-outgoing; Wed, 9 Dec 1998 12:18:23 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from neale.econ.vt.edu (neale.econ.vt.edu [128.173.173.159]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA22001 for ; Wed, 9 Dec 1998 12:18:21 -0800 (PST) (envelope-from rdmurphy@neale.econ.vt.edu) Received: (from rdmurphy@localhost) by neale.econ.vt.edu (8.8.8/8.8.8) id PAA03820; Wed, 9 Dec 1998 15:19:37 -0500 (EST) (envelope-from rdmurphy) Date: Wed, 9 Dec 1998 15:19:37 -0500 (EST) Message-Id: <199812092019.PAA03820@neale.econ.vt.edu> From: "Russell D. Murphy" To: FreeBSD-emulation@FreeBSD.ORG Subject: Gauss Mime-Version: 1.0 (generated by tm-edit 7.106) Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Has anyone gotten the linux version of gauss (a math and statistics package featuring nice matrix processing capabilities, see www.aptech.com) to work under stable? I have installed the latest linux version of gauss (3.2.43), linux_lib-2.6, and 2.2.8-Stable (cvs'd around 1:00pm Nov. 30). Gauss seems to have an interface program (gauss) which calls another program to carry out the actual calculations (gex). Starting gauss gives: ---------- neale [rdmurphy]% /usr/local/gauss/gauss-3.2.43/gauss -v GAUSS Version 3.2.43 (Nov 11 1998) (C) Copyright 1984-1998 Aptech Systems, Inc. Maple Valley, WA All Rights Reserved. 10229752 bytes free (gauss) call ols("",rndu(7,5),rndu(7,1)); (gauss) x = { 1, 2, 3; 4, 5, 6}; (0) : error G0008 : '' : Syntax error (gauss) x = { 1 2 3, 4 5 6 }; (gauss) quit GAUSS terminating... neale [rdmurphy]% ---------- I've typed four commands at the command prompt; "quit" correctly exits and the second matrix assignment (with the ;) correctly indicates a syntax error. The other two commands ("call ols" and "x =") generate no output, but the following system messages: ---------- Dec 9 15:08:02 neale /kernel: pid 3753 (gex), uid 1000: exited on signal 11 Dec 9 15:10:32 neale /kernel: pid 3769 (gex), uid 1000: exited on signal 11 ---------- If you've gotten gauss to run, I'd love to hear how you did it. If you have any suggestions on what might be wrong, I'd love the hear those as well. I've installed linux_devel-0.2 and linux_kdump-1.0, but didn't learn too much from trying out linux_kdump (I didn't know much about what to look for). If anyone has any pointers, I'm willing to poke around some more. Thanks much- Russ Murphy To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Wed Dec 9 13:21:28 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA28894 for freebsd-emulation-outgoing; Wed, 9 Dec 1998 13:21:28 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from zed.ludd.luth.se (zed.ludd.luth.se [130.240.16.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA28878 for ; Wed, 9 Dec 1998 13:21:24 -0800 (PST) (envelope-from gozer@ludd.luth.se) Received: from speedy.ludd.luth.se (speedy.ludd.luth.se [130.240.16.164]) by zed.ludd.luth.se (8.8.5/8.8.5) with ESMTP id WAA14068; Wed, 9 Dec 1998 22:20:48 +0100 Date: Wed, 9 Dec 1998 22:20:48 +0100 (CET) From: Johan Larsson To: "Richard Seaman, Jr." cc: "Vladimir N. Silyaev" , "emulation@freebsd.org" Subject: Re: linux threads binary In-Reply-To: <199812091359.HAA72067@ns.tar.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, 9 Dec 1998, Richard Seaman, Jr. wrote: > When I can isolate the problem with ex4, I'll post the patches > to make linux threads work. Cool :) > > I can now also get StarOffice 5.0 to execute its setup program > without dumping core (though the core dump that occured in setup > did not appear to be a threads problem, but rather a linxu_pipe > problem). However, it reports that I'm missing libvos505li.so. That file is installed in the Office50 catalogue. So it should be in the staroffice installation :) > I'll have to track down a copy of that lib before I can test this > further. >From a linuxmachine with SO5 installed: /usr/local/Office50/lib/libvos505li.so Johan -- * mailto:gozer@ludd.luth.se * http://www.ludd.luth.se/users/gozer/ * * Powered by FreeBSD. http://www.se.freebsd.org/ +-+-+-+-+-+-+-+-+ * To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Wed Dec 9 14:48:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA07647 for freebsd-emulation-outgoing; Wed, 9 Dec 1998 14:48:13 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from storage.delta.odessa.ua (maxa01.TM.Odessa.UA [195.66.192.61]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA07627 for ; Wed, 9 Dec 1998 14:48:07 -0800 (PST) (envelope-from vns@delta.odessa.ua) Received: (from vns@localhost) by storage.delta.odessa.ua (8.9.1/8.8.8) id AAA00667; Thu, 10 Dec 1998 00:47:07 +0200 (EET) (envelope-from vns) Date: Thu, 10 Dec 1998 00:47:07 +0200 (EET) From: "Vladimir N.Silyaev" Message-Id: <199812092247.AAA00667@storage.delta.odessa.ua> To: lists@tar.com Subject: Re: linux threads binary Cc: emulation@FreeBSD.ORG In-Reply-To: <199812091359.HAA72067@ns.tar.com> Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi! > > Thanks. Johan Larsson also provided me with the compiled examples. > > I can get all the examples to run in emulation emulation mode, > apparently correctly, with one exception. ex4 appears to hang > on exit (no coredump), requiring a Ctrl-c to finally end it. > ex4 does a pthread_exit on the main thread, so I'm still looking > at how our FreeBSD patches handle exit and wait processing. > > When I can isolate the problem with ex4, I'll post the patches > to make linux threads work. It's great. Are you realy ready for some more complicated tests? If you are ready, the next is for you. Some preambule: In the NET exist the project ACE (Adaptive Communication Environment). The home of this project is a http://www.cs.wustl.edu/~schmidt/ACE.html. This project is a C++ library which actualy active used threads in its core. The library is a free software whose available in source code with very friendly copyright. This library well tested for Linux platform (its has been ported on the FreeBSD too). The tests program from this library and sample applications may be rich source of small testing applications for the testing suite for FreeBSD linuxthreads emulation code. The some binary from this library now available at the http://www.altern.org/cbah/linuxthreads/README - Some comments http://www.altern.org/cbah/linuxthreads/acelib.tar.gz - core library and libstdc ++ http://www.altern.org/cbah/linuxthreads/acetests.tar.gz - test suite from librar y and linux results With best regards, V.Silyaev To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Wed Dec 9 17:40:43 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA01275 for freebsd-emulation-outgoing; Wed, 9 Dec 1998 17:40:43 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from dingo.cdrom.com (ppp-db.dialup.hilink.com.au [203.2.144.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA01261 for ; Wed, 9 Dec 1998 17:40:37 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id RAA01775; Wed, 9 Dec 1998 17:31:31 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199812100131.RAA01775@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: "Russell D. Murphy" cc: FreeBSD-emulation@FreeBSD.ORG Subject: Re: Gauss In-reply-to: Your message of "Wed, 09 Dec 1998 15:19:37 EST." <199812092019.PAA03820@neale.econ.vt.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 09 Dec 1998 17:31:31 -0800 From: Mike Smith Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > Has anyone gotten the linux version of gauss (a math and statistics > package featuring nice matrix processing capabilities, see > www.aptech.com) to work under stable? I have installed the latest > linux version of gauss (3.2.43), linux_lib-2.6, and 2.2.8-Stable > (cvs'd around 1:00pm Nov. 30). > > Gauss seems to have an interface program (gauss) which calls another > program to carry out the actual calculations (gex). Starting gauss > gives: > > ---------- > neale [rdmurphy]% /usr/local/gauss/gauss-3.2.43/gauss -v > GAUSS Version 3.2.43 (Nov 11 1998) > (C) Copyright 1984-1998 Aptech Systems, Inc. Maple Valley, WA > All Rights Reserved. > > 10229752 bytes free > > (gauss) call ols("",rndu(7,5),rndu(7,1)); > (gauss) x = { 1, 2, 3; 4, 5, 6}; > > (0) : error G0008 : '' : Syntax error > (gauss) x = { 1 2 3, 4 5 6 }; > (gauss) quit > GAUSS terminating... > neale [rdmurphy]% > ---------- > > I've typed four commands at the command prompt; "quit" correctly exits > and the second matrix assignment (with the ;) correctly indicates a > syntax error. The other two commands ("call ols" and "x =") generate > no output, but the following system messages: > > ---------- > Dec 9 15:08:02 neale /kernel: pid 3753 (gex), uid 1000: exited on signal 11 > Dec 9 15:10:32 neale /kernel: pid 3769 (gex), uid 1000: exited on signal 11 > ---------- > > If you've gotten gauss to run, I'd love to hear how you did it. If > you have any suggestions on what might be wrong, I'd love the hear > those as well. The gex program's clearly dying painfully. You should start 'gauss' under ktrace with: # ktrace -di gauss and then feed the ktrace.out file to the linux_kdump utility (you'll need to install the package). You should be able to find the 'gex' program dying in there, and the trace of its activity leading up to that point would be a good place to start. You might also want to try the patches for -current that we just posted here since it's quite possible that the pipe bugs will be causing gex to become confused. > I've installed linux_devel-0.2 and linux_kdump-1.0, but didn't learn > too much from trying out linux_kdump (I didn't know much about what to > look for). If anyone has any pointers, I'm willing to poke around > some more. > > > Thanks much- > > Russ Murphy > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-emulation" in the body of the message > -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Thu Dec 10 15:36:23 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA07511 for freebsd-emulation-outgoing; Thu, 10 Dec 1998 15:36:23 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from ns.tar.com (ns.tar.com [204.95.187.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA07503 for ; Thu, 10 Dec 1998 15:36:18 -0800 (PST) (envelope-from lists@tar.com) Received: from ppro.tar.com (ppro.tar.com [204.95.187.9]) by ns.tar.com (8.9.1/8.9.1) with SMTP id RAA28229; Thu, 10 Dec 1998 17:36:05 -0600 (CST) (envelope-from lists@tar.com) Message-Id: <199812102336.RAA28229@ns.tar.com> From: "Richard Seaman, Jr." To: "Johan Larsson" Cc: "emulation@freebsd.org" , "Vladimir N. Silyaev" Date: Thu, 10 Dec 98 17:36:04 -0600 Reply-To: "Richard Seaman, Jr." X-Mailer: PMMail 1.92 For OS/2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: StarOffice 5.0 (was Re: linux threads binary) Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, 9 Dec 1998 22:20:48 +0100 (CET), Johan Larsson wrote: >> I can now also get StarOffice 5.0 to execute its setup program >> without dumping core (though the core dump that occured in setup >> did not appear to be a threads problem, but rather a linxu_pipe >> problem). However, it reports that I'm missing libvos505li.so. > >That file is installed in the Office50 catalogue. So it should be in the >staroffice installation :) > >> I'll have to track down a copy of that lib before I can test this >> further. > >>From a linuxmachine with SO5 installed: > >/usr/local/Office50/lib/libvos505li.so Ok. I found it. I needed to do a little more manipulation of the LD_CONFIG_PATH in ways not found in the SO docs. I've now managed to get through setup and have so50 running. Its only been running for about 30 minutes, but I can confirm its running multiple threads, and there are no apparent problems so far. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Thu Dec 10 16:21:04 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA15593 for freebsd-emulation-outgoing; Thu, 10 Dec 1998 16:21:04 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from zed.ludd.luth.se (zed.ludd.luth.se [130.240.16.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA15588 for ; Thu, 10 Dec 1998 16:21:01 -0800 (PST) (envelope-from gozer@ludd.luth.se) Received: from speedy.ludd.luth.se (speedy.ludd.luth.se [130.240.16.164]) by zed.ludd.luth.se (8.8.5/8.8.5) with ESMTP id BAA08110; Fri, 11 Dec 1998 01:20:47 +0100 Date: Fri, 11 Dec 1998 01:20:47 +0100 (CET) From: Johan Larsson To: "Richard Seaman, Jr." cc: "emulation@freebsd.org" , "Vladimir N. Silyaev" Subject: Re: StarOffice 5.0 (was Re: linux threads binary) In-Reply-To: <199812102336.RAA28229@ns.tar.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, 10 Dec 1998, Richard Seaman, Jr. wrote: > On Wed, 9 Dec 1998 22:20:48 +0100 (CET), Johan Larsson wrote: > > >> I can now also get StarOffice 5.0 to execute its setup program > >> without dumping core (though the core dump that occured in setup > >> did not appear to be a threads problem, but rather a linxu_pipe > >> problem). However, it reports that I'm missing libvos505li.so. > > > >That file is installed in the Office50 catalogue. So it should be in the > >staroffice installation :) > > > >> I'll have to track down a copy of that lib before I can test this > >> further. > > > >>From a linuxmachine with SO5 installed: > > > >/usr/local/Office50/lib/libvos505li.so > > Ok. I found it. I needed to do a little more manipulation of the > LD_CONFIG_PATH in ways not found in the SO docs. I've now managed > to get through setup and have so50 running. Its only been running > for about 30 minutes, but I can confirm its running multiple threads, > and there are no apparent problems so far. This sounds more than great!!! :-) Did you have to do some tweaks with /proc? Patches are where? ;-) Johan -- * mailto:gozer@ludd.luth.se * http://www.ludd.luth.se/users/gozer/ * * Powered by FreeBSD. http://www.se.freebsd.org/ +-+-+-+-+-+-+-+-+ * To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Fri Dec 11 05:35:33 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA06565 for freebsd-emulation-outgoing; Fri, 11 Dec 1998 05:35:33 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from ns.tar.com (ns.tar.com [204.95.187.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA06560 for ; Fri, 11 Dec 1998 05:35:31 -0800 (PST) (envelope-from lists@tar.com) Received: from ppro.tar.com (ppro.tar.com [204.95.187.9]) by ns.tar.com (8.9.1/8.9.1) with SMTP id HAA32764; Fri, 11 Dec 1998 07:35:14 -0600 (CST) (envelope-from lists@tar.com) Message-Id: <199812111335.HAA32764@ns.tar.com> From: "Richard Seaman, Jr." To: "Johan Larsson" Cc: "emulation@freebsd.org" Date: Fri, 11 Dec 98 07:35:13 -0600 Reply-To: "Richard Seaman, Jr." X-Mailer: PMMail 1.92 For OS/2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: Re: StarOffice 5.0 (was Re: linux threads binary) Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, 11 Dec 1998 01:20:47 +0100 (CET), Johan Larsson wrote: >On Thu, 10 Dec 1998, Richard Seaman, Jr. wrote: >> Ok. I found it. I needed to do a little more manipulation of the >> LD_CONFIG_PATH in ways not found in the SO docs. I've now managed >> to get through setup and have so50 running. Its only been running >> for about 30 minutes, but I can confirm its running multiple threads, >> and there are no apparent problems so far. > >This sounds more than great!!! :-) Well, it doesn't run perfectly yet. No core dumps, but occasional partial screen freezes. I suspect that maybe thread exit processing is not quite right yet. >Did you have to do some tweaks with /proc? I did the cmdLine patch. That was before I discovered the linux_pipe problem, when I was trying to get through setup. Don't know if its necessary. There are a number of kernel patches, not insignificant, that are necessary. >Patches are where? ;-) They're not quite ready for prime time, but I'd make them available to anyone who wants to test them and work on them. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Fri Dec 11 08:32:38 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA26080 for freebsd-emulation-outgoing; Fri, 11 Dec 1998 08:32:38 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from Guard.PolyNet.Lviv.UA (Guard.PolyNet.Lviv.UA [194.44.138.1]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id IAA26045 for ; Fri, 11 Dec 1998 08:32:25 -0800 (PST) (envelope-from pam@polynet.lviv.ua) From: pam@polynet.lviv.ua Received: (qmail 10512 invoked by alias); 11 Dec 1998 16:32:11 -0000 Received: (qmail 10503 invoked from network); 11 Dec 1998 16:32:10 -0000 Received: from postoffice.polynet.lviv.ua (194.44.138.1) by guard.polynet.lviv.ua with SMTP; 11 Dec 1998 16:32:10 -0000 Received: (qmail 5130 invoked by uid 1001); 11 Dec 1998 16:32:09 -0000 Date: 11 Dec 1998 18:32:09 +0200 Date: Fri, 11 Dec 1998 18:32:09 +0200 (EET) X-Sender: pam@NetSurfer.lp.lviv.ua To: "Richard Seaman, Jr." cc: emulation@FreeBSD.ORG Subject: Linux Interbase client library for Perl (was Re: linux threads binary) In-Reply-To: <199812111335.HAA32764@ns.tar.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello, I'm experimenting with Linux version of Interbase - very flexible and powerful RDBMS server (http://www.interbase.com) under FreeBSD-current. Interbase v 4.0 seems to run ok under current linuxlator. Worse are things with clients: command line client works, but it lacks features to be suitable for appliaction development. So I've downloaded IBPerl (freeware Interbase client library for Perl5) and compiled it as Linux Perl module under emulation (it comes only with Linux binary library, so no chances for native client :-( IBPerl module starts and fails on execution of gds_pipe - some sort of communication application for Interbase server access. I'd like to try your patches to see if they could help resolve gds_pipe failure. BTW, -current port of linux_kdump is marked as broken, where I can find this utility for recent current? Or can I trust usual kdump? Thanks in advance, Adrian Pavlykevych email: System Administrator phone/fax: +380 (322) 742041 State University "Lvivska Polytechnica" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message