From owner-freebsd-emulation Sun Apr 16 10:56:46 2000 Delivered-To: freebsd-emulation@freebsd.org Received: from hotmail.com (f83.law8.hotmail.com [216.33.241.83]) by hub.freebsd.org (Postfix) with SMTP id 4995537B8F8 for ; Sun, 16 Apr 2000 10:56:41 -0700 (PDT) (envelope-from jmd526@hotmail.com) Received: (qmail 51291 invoked by uid 0); 16 Apr 2000 17:56:40 -0000 Message-ID: <20000416175640.51290.qmail@hotmail.com> Received: from 209.220.228.2 by www.hotmail.com with HTTP; Sun, 16 Apr 2000 10:56:40 PDT X-Originating-IP: [209.220.228.2] From: "John Daniels" To: marcel@cup.hp.com Cc: freebsd-emulation@freebsd.org Subject: Re: linux application Date: Sun, 16 Apr 2000 13:56:40 EDT Mime-Version: 1.0 Content-Type: text/plain; format=flowed Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi: Thanks for your explanation. I have a few questions. The handbook says that Linux binaries have to be "branded." Your description doesn't say anything about that. I am really just interested running my program(s) on my FreeBSD system (4.0-RELEASE) that uses the API. If my program(s) run "native" or under linux emulation is a secondary concern. I am not specifically developing linux applications. With that said, if the API binaries are linked in, it would seem logical that I would then then have to develop "under Linux" as you outlined -- but wouldn't I need to "brand" the programs that I develop? (If they are not branded, I would think that they would then only run under the linux "development" shell.) And, if the API is implemented with *shared* binaries, couldn't I just "brand" those and develop my programs under FreeBSD? Also, I know that I have the Linux compatibility installed (I did that when I installed the system and I am running Linux Netscape and Star Office), but how can I know if I already have linux_devtools installed (I may have installed it, I'm not sure)? Your remarks lead me to believe that as long as I am working in a "linux shell" I am developing under linux, otherwise I am developing under FreeBSD. Please let me know if this assumption is not correct. Did you specifically mention C/C++ because that is what is supported by linux_devtools? Do I have to have be running the Linux versions of other languages (e.g. Java) if I want to use them for development under the linux shell? (The API that I am working with is implemented in both C/C++ and Java) Thanks for your help. John You wrote: >Forget the ports collection. After you've setup /compat/linux >(install >linux_base and linux_devtools) you will only be using Linux >binaries to do the compilation. You should be able to do it just as >if you were on a Linux machine yourself. > > > Basically, what do I have to do to create/compile/run programs > > that use libraries developed on Linux. > >1. Use a linux shell (ie run /compat/linux/bin/sh) >2. Create a C/C++ source file >3. Optionally create a makefile >4. Build/compile the source file >5. Run the freshly compiled binary > >Ad 4: Compiling a Linux binary is as simple as typing "gcc -o foo >foo.c", but only when done from within a Linux shell (see 1) > >Your manual should describe any options/parameters/libraries you need >to add to use the API. > >HTH, > >-- >Marcel Moolenaar > mail: marcel@cup.hp.com / marcel@FreeBSD.org > tel: (408) 447-4222 ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Sun Apr 16 11:56: 9 2000 Delivered-To: freebsd-emulation@freebsd.org Received: from sabre.velocet.net (sabre.velocet.net [198.96.118.66]) by hub.freebsd.org (Postfix) with ESMTP id 5A1D937B9AD for ; Sun, 16 Apr 2000 11:56:04 -0700 (PDT) (envelope-from dgilbert@office.tor.velocet.net) Received: from office.tor.velocet.net (trooper.velocet.net [216.126.82.226]) by sabre.velocet.net (Postfix) with ESMTP id BF8C5137F74 for ; Sun, 16 Apr 2000 14:55:19 -0400 (EDT) Received: (from dgilbert@localhost) by office.tor.velocet.net (8.9.3/8.9.3) id OAA10732 for freebsd-emulation@freebsd.org; Sun, 16 Apr 2000 14:55:19 -0400 (EDT) (envelope-from dgilbert) Date: Sun, 16 Apr 2000 14:55:19 -0400 (EDT) Message-Id: <200004161855.OAA10732@office.tor.velocet.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit From: David Gilbert To: freebsd-emulators@freebsd.org, freebsd-stable@freebsd.org Subject: rpm and WordPerfect Office 2000. X-Mailer: VM 6.75 under 20.4 "Emerald" XEmacs Lucid Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org FreeBSD Linux emulation is, at this point, quite mature, IMHO. There are a few cracks in the installtion, though. Recently, I was trying to install WordPerfect Office 2000, and there were a few failure modes that gave me trouble. The first was that we had /usr/compat/linux/bin/rpm in addition to /usr/local/bin/rpm. It's difficult and non-obvious how to launch the installers which may use shells such that they find the right rpm. The FreeBSD-compiled rpm doesn't know about it's own installation without arguments, so the WordPerfect installer would fail because rpm didn't know /bin/sh is installed. It makes me wonder if we shouldn't add jail-like semantics to Linux emulator... Anyways... has anyone else try installing WordPerfect Office 2000? If I install it on our debian systems around the office, it's not configured correctly to run on our rpm-based system (or so it seems). I've got paradox to run, and I've got Railroad Tycoon II to run (included with WP Office), but wordperfect itself won't run. Wine crashes on an IOCTL (posted yesterday). Dave. -- ============================================================================ |David Gilbert, Velocet Communications. | Two things can only be | |Mail: dgilbert@velocet.net | equal if and only if they | |http://www.velocet.net/~dgilbert | are precisely opposite. | =========================================================GLO================ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Mon Apr 17 1:57:56 2000 Delivered-To: freebsd-emulation@freebsd.org Received: from merkur.hrz.uni-giessen.de (merkur.hrz.uni-giessen.de [134.176.2.12]) by hub.freebsd.org (Postfix) with ESMTP id 8265437B664; Mon, 17 Apr 2000 01:57:47 -0700 (PDT) (envelope-from Ariel.Burbaickij@mni.fh-giessen.de) Received: from caspar.mni.fh-giessen.de by merkur.hrz.uni-giessen.de with ESMTP; Mon, 17 Apr 2000 10:58:04 +0200 Received: from sun10.mni.fh-giessen.de ([134.176.183.110]) by caspar.mni.fh-giessen.de with esmtp (Exim 2.12 #6) id 12h7Dl-0003Mr-00; Mon, 17 Apr 2000 10:49:29 +0200 Received: from localhost (hg9456@localhost) by sun10.mni.fh-giessen.de (8.9.3+Sun/8.8.8) with ESMTP id KAA22883; Mon, 17 Apr 2000 10:58:06 +0200 (MET DST) X-Authentication-Warning: sun10.mni.fh-giessen.de: hg9456 owned process doing -bs Date: Mon, 17 Apr 2000 10:58:05 +0200 (MET DST) From: Ariel Burbaickij X-Sender: hg9456@sun10 To: emulation@freebsd.org, freebsd-questions@freebsd.org Subject: Help with doscmd still needed(2 try) Message-Id: MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-559023410-851401618-955961885=:22879" Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. ---559023410-851401618-955961885=:22879 Content-Type: TEXT/PLAIN; charset=US-ASCII Well first of all thanks to Marc for his concise ,down to the matter explanation.Error message about missing vga font is gone. But doscmd is still not tamed. I try to boot-up from floppy disk ,message I got was: "Not enough place to create DOS boot partition" It is translated and may vary somehow from the canonical message. The original message is in German and sounds so: "Kein Platz vorhanden um DOS Bootpartition zu erstellen". I have attached some files in hope the whole matter will be clearer for you with these files. Files are: 1)configur it is my /etc/doscmdrc file 2)dosresererved file contains output of command ls -al /usr/dos/c 3)debugoutput is what I got from following sequence : doscmd -bxD -d debugoutput tail -100 debugoutput I use fbsd 3.3-release on PII 450Mhz with 64Mb in case it matters Any solutions, suggestions, hints are highly welcome. I would be glad to provide additional information related to problem in case you should need it. Kind Regards, Ariel ---559023410-851401618-955961885=:22879 Content-Type: TEXT/PLAIN; charset=US-ASCII; name=configur Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: attachment; filename=configur WDExX0ZPTlQ9dmdhDQphc3NpZ24gQTogL2Rldi9yZmQwLjE0NDAgMTQ0MA0K IyBXZSBhc3NpZ24gYnkgdHlwZSBhcyBzcGVjaWZpZWQgaW4gbWFudWFsDQph c3NpZ24gaGFyZCAvdXNyL2Rvcy9jIDA1DQo= ---559023410-851401618-955961885=:22879 Content-Type: TEXT/PLAIN; charset=US-ASCII; name=dosreservedfile Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: attachment; filename=dosreservedfile LXJ3eHJ3eHJ3eCAgMSByb290ICB3aGVlbCAgMCBBcHIgIDcgMjA6MDcgL3Vz ci9kb3MvYw0K ---559023410-851401618-955961885=:22879 Content-Type: TEXT/PLAIN; charset=US-ASCII; name=debugoutput Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: attachment; filename=debugoutput VmVyaWZ5IGVycm9yDQpWZXJpZnkgMTcgc2VjdG9ycyBmcm9tIDk0MjQ4DQpW ZXJpZnkgZXJyb3INClZlcmlmeSAxNyBzZWN0b3JzIGZyb20gOTQyNDgNClZl cmlmeSBlcnJvcg0KVmVyaWZ5IDE3IHNlY3RvcnMgZnJvbSA5NDI0OA0KVmVy aWZ5IGVycm9yDQpWZXJpZnkgMTcgc2VjdG9ycyBmcm9tIDk0MzUwDQpWZXJp ZnkgZXJyb3INClZlcmlmeSAxNyBzZWN0b3JzIGZyb20gOTQzNTANClZlcmlm eSBlcnJvcg0KVmVyaWZ5IDE3IHNlY3RvcnMgZnJvbSA5NDM1MA0KVmVyaWZ5 IGVycm9yDQpWZXJpZnkgMTcgc2VjdG9ycyBmcm9tIDk0NDUyDQpWZXJpZnkg ZXJyb3INClZlcmlmeSAxNyBzZWN0b3JzIGZyb20gOTQ0NTINClZlcmlmeSBl cnJvcg0KVmVyaWZ5IDE3IHNlY3RvcnMgZnJvbSA5NDQ1Mg0KVmVyaWZ5IGVy cm9yDQpWZXJpZnkgMTcgc2VjdG9ycyBmcm9tIDk0NTU0DQpWZXJpZnkgZXJy b3INClZlcmlmeSAxNyBzZWN0b3JzIGZyb20gOTQ1NTQNClZlcmlmeSBlcnJv cg0KVmVyaWZ5IDE3IHNlY3RvcnMgZnJvbSA5NDU1NA0KVmVyaWZ5IGVycm9y DQpWZXJpZnkgMTcgc2VjdG9ycyBmcm9tIDk0NjU2DQpWZXJpZnkgZXJyb3IN ClZlcmlmeSAxNyBzZWN0b3JzIGZyb20gOTQ2NTYNClZlcmlmeSBlcnJvcg0K VmVyaWZ5IDE3IHNlY3RvcnMgZnJvbSA5NDY1Ng0KVmVya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401618-955961885=:22879-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Mon Apr 17 10:31:46 2000 Delivered-To: freebsd-emulation@freebsd.org Received: from atlrel2.hp.com (atlrel2.hp.com [156.153.255.202]) by hub.freebsd.org (Postfix) with ESMTP id 0CE8337BA3C for ; Mon, 17 Apr 2000 10:31:44 -0700 (PDT) (envelope-from marcel@cup.hp.com) Received: from adlmail.cup.hp.com (adlmail.cup.hp.com [15.0.100.30]) by atlrel2.hp.com (Postfix) with ESMTP id 3AF31827; Mon, 17 Apr 2000 13:31:42 -0400 (EDT) Received: from cup.hp.com (gauss.cup.hp.com [15.28.97.152]) by adlmail.cup.hp.com with ESMTP (8.8.6 (PHNE_17135)/8.7.3 TIS 5.0.1) id KAA14248; Mon, 17 Apr 2000 10:31:35 -0700 (PDT) Message-ID: <38FB4A77.C437E132@cup.hp.com> Date: Mon, 17 Apr 2000 10:31:35 -0700 From: Marcel Moolenaar Organization: Hewlett-Packard X-Mailer: Mozilla 4.72 [en] (X11; I; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: John Daniels Cc: freebsd-emulation@freebsd.org Subject: Re: linux application References: <20000416175640.51290.qmail@hotmail.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org John Daniels wrote: > With that said, if the API binaries are linked in, it would seem logical > that I would then then have to develop "under Linux" as you outlined -- but > wouldn't I need to "brand" the programs that I develop? (If they are not > branded, I would think that they would then only run under the linux > "development" shell.) And, if the API is implemented with *shared* > binaries, couldn't I just "brand" those and develop my programs under > FreeBSD? You only need to brand static binaries. Shared binaries have the name of the interpreter (dynamic linker) embedded in them, which automaticly tells what kind of binary it is. Note that branding an ELF file doesn't limit its use on other systems... > Also, I know that I have the Linux compatibility installed (I did that when > I installed the system and I am running Linux Netscape and Star Office), but > how can I know if I already have linux_devtools installed (I may have > installed it, I'm not sure)? See pkg_info(1). > Your remarks lead me to believe that as long as I am working in a "linux > shell" I am developing under linux, otherwise I am developing under FreeBSD. > Please let me know if this assumption is not correct. Technically it's not correct. Practically, it is. When you're using a Linux shell, then every external command will basicly be looked up under /compat/linux first (depending on path). This means that you use the Linux binaries if they are installed and the FreeBSD binaries otherwise (loosely speaking). Thus, within a Linux shell, you will use the Linux compiler and not the FreeBSD compiler (in general). This is not hardcoded anywhere and is therefore not a "rule". If you know how things work, you can easily change this behaviour and create a setup in which this doesn't work. But, again: In general your assumption is right. > Did you specifically mention C/C++ because that is what is supported by > linux_devtools? Yes. > Do I have to have be running the Linux versions of other > languages (e.g. Java) if I want to use them for development under the linux > shell? In general, if you are creating Linux binaries or need to link with Linux libraries (either at compile-time or at run-time), you need a Linux version of the language tools. Otherwise you should be able to use FreeBSD native tools. -- Marcel Moolenaar mail: marcel@cup.hp.com / marcel@FreeBSD.org tel: (408) 447-4222 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Mon Apr 17 15:20:55 2000 Delivered-To: freebsd-emulation@freebsd.org Received: from oracle.clara.net (oracle.clara.net [195.8.69.94]) by hub.freebsd.org (Postfix) with ESMTP id E337937BAAD for ; Mon, 17 Apr 2000 15:20:50 -0700 (PDT) (envelope-from alex@clara.co.uk) Received: from [195.8.89.74] (helo=myname.my.domain) by oracle.clara.net with esmtp (Exim 2.12 #2) id 12hJsv-0000Y2-00 for freebsd-emulation@freebsd.org; Mon, 17 Apr 2000 23:20:49 +0100 Received: (from alex@localhost) by myname.my.domain (8.9.3/8.9.3) id XAA00784 for freebsd-emulation@freebsd.org; Mon, 17 Apr 2000 23:17:18 +0100 (BST) (envelope-from alex) Date: Mon, 17 Apr 2000 23:17:17 +0100 From: Aleksandar Simic To: freebsd-emulation@freebsd.org Subject: Win4Linux Message-ID: <20000417231717.A763@frustum.clara.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, has anybody tried this under good ol' FreeBSD ? http://www.trelos.com/ It's like a halfway house between WINE and VMWare and costs $50. --Alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Tue Apr 18 9:11:16 2000 Delivered-To: freebsd-emulation@freebsd.org Received: from steinbeck.gabor.org (cb846402-a.mdsn1.wi.home.com [24.10.222.94]) by hub.freebsd.org (Postfix) with ESMTP id E8F1F37B6FE for ; Tue, 18 Apr 2000 09:11:13 -0700 (PDT) (envelope-from gabor@acm.org) Received: from acm.org (localhost [127.0.0.1]) by steinbeck.gabor.org (8.9.3/8.9.3) with ESMTP id LAA10690 for ; Tue, 18 Apr 2000 11:11:13 -0500 (CDT) (envelope-from gabor@acm.org) Message-ID: <38FC8921.4F440DE5@acm.org> Date: Tue, 18 Apr 2000 11:11:13 -0500 From: Gabor Kincses X-Mailer: Mozilla 4.72 [en] (X11; U; FreeBSD 4.0-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: emulation@freebsd.org Subject: Linux kill -PWR Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Will kill -30 cause the same against a Linux (emu) process? Thanks, -- Gabor Kincses (gabor@acm.org) Running FreeBSD 4.0-RELEASE To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Tue Apr 18 9:54:58 2000 Delivered-To: freebsd-emulation@freebsd.org Received: from gvr.gvr.org (gvr.gvr.org [194.151.74.97]) by hub.freebsd.org (Postfix) with ESMTP id 086D237BCA7 for ; Tue, 18 Apr 2000 09:54:55 -0700 (PDT) (envelope-from guido@gvr.org) Received: by gvr.gvr.org (Postfix, from userid 657) id 09DA9A85A; Tue, 18 Apr 2000 18:54:53 +0200 (CEST) Date: Tue, 18 Apr 2000 18:54:53 +0200 From: Guido van Rooij To: Arjan de Vet Cc: freebsd-emulation@freebsd.org Subject: Re: Vmware 2.0 / NT4 / 100% system CPU time [FIXED] Message-ID: <20000418185452.A26055@gvr.gvr.org> References: <20000403150934.A11399@adv.iae.nl> <20000407132241.A24578@adv.iae.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.6i In-Reply-To: <20000407132241.A24578@adv.iae.nl>; from Arjan de Vet on Fri, Apr 07, 2000 at 01:22:41PM +0200 Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, Apr 07, 2000 at 01:22:41PM +0200, Arjan de Vet wrote: > I wrote: > > >I'm currently evaluating VMware 2.0 for Linux (build 476) using the > >vmware2 port on a recent 4.0-stable kernel with XFree 3.3.3.1. > > OK, I've been playing some more, including going back to VMware 1.1.2. > > I upgraded: > > - kernel and linux.ko to todays 4.0-stable version; > - XFree to 3.3.6; > - added rtc port; > > With vmware 1.1.2 this still gives 99% system CPU but after switching > back to VMware 2.0 I now have more normal levels of CPU usage (<5%). I > have no idea where the problem has been but as far as I can see it works > now. > We'e solved it. It turned out to be the VMWare tools suite. You have to upgrade those as well, and apparently we forgot that. Uninstalling the old one and installing the new one fixes it. -Guido To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Wed Apr 19 3:57: 1 2000 Delivered-To: freebsd-emulation@freebsd.org Received: from isabase.philol.msu.ru (isabase.philol.msu.ru [195.208.217.73]) by hub.freebsd.org (Postfix) with ESMTP id B57D737BC4F for ; Wed, 19 Apr 2000 03:56:57 -0700 (PDT) (envelope-from grg@isabase.philol.msu.ru) Received: (from grg@localhost) by isabase.philol.msu.ru (8.9.3/8.9.2) id OAA42858 for freebsd-emulation@FreeBSD.ORG; Wed, 19 Apr 2000 14:56:36 +0400 (MSD) (envelope-from grg) Date: Wed, 19 Apr 2000 14:56:36 +0400 From: Grigoriy Strokin To: freebsd-emulation@FreeBSD.ORG Subject: VMware Message-ID: <20000419145636.A42635@isabase.philol.msu.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello, I am asked to install VMware with Windows NT 4.0 under FreeBSD 4-STABLE. Where can I find the instructions on how to deal with FreeBSD-specific issues? I have already found a linprocfs port accidentally. I wonder, however, why it is not in the ports tree. Among other things, I would like to know: 1) what's to be done when vmware configuration wizard fails trying to call 'df -T'. I know that Linux df has the -T option, whereas FreeBSD doesn't 2) how to deal with the vmware's attempt to find /dev/tty4 or so 3) why vmware says that I have 'old DGA' and therefore full screen mode be disabled. Thanks in advance. -- === Grigoriy Strokin, Lomonosov University (MGU), Moscow === === contact info: http://isabase.philol.msu.ru/~grg/ === To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Wed Apr 19 6:36:40 2000 Delivered-To: freebsd-emulation@freebsd.org Received: from ms.tokyo.jcom.ne.jp (ms.tokyo.jcom.ne.jp [210.234.123.18]) by hub.freebsd.org (Postfix) with ESMTP id 5CDA737BCD0 for ; Wed, 19 Apr 2000 06:36:36 -0700 (PDT) (envelope-from knu@idaemons.org) Received: from daemon.local.idaemons.org (203-165-77-40.sugnm1.kt.home.ne.jp [203.165.77.40]) by ms.tokyo.jcom.ne.jp (8.9.1/3.7W 04/18/00) with ESMTP id WAA00780; Wed, 19 Apr 2000 22:36:25 +0900 (JST) Received: by daemon.local.idaemons.org (8.9.3/3.7W) id WAA52793; Wed, 19 Apr 2000 22:35:54 +0900 (JST) Date: Wed, 19 Apr 2000 22:35:53 +0900 Message-ID: <868zyadxhi.wl@localhost.local.idaemons.org> From: "Akinori -Aki- MUSHA" To: grg@philol.msu.ru Cc: freebsd-emulation@FreeBSD.ORG Subject: Re: VMware In-Reply-To: In your message of "Wed, 19 Apr 2000 14:56:36 +0400" <20000419145636.A42635@isabase.philol.msu.ru> References: <20000419145636.A42635@isabase.philol.msu.ru> User-Agent: Wanderlust/1.1.1 (Purple Rain) EMIKO/1.13.12 (Euglena sociabilis) FLIM/1.13.2 (Kasanui) APEL/10.2 MULE XEmacs/21.1 (patch 9) (Canyonlands) (i386--freebsd) Organization: Associated I. Daemons X-PGP-Public-Key: finger knu@FreeBSD.org X-PGP-Fingerprint: 1BEF D9B2 BABD 25D7 659A FD08 89C2 F3BE E981 4E16 MIME-Version: 1.0 (generated by EMIKO 1.13.12 - "Euglena sociabilis") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org At Wed, 19 Apr 2000 14:56:36 +0400, Grigoriy Strokin wrote: > Where can I find > the instructions on how to deal with FreeBSD-specific > issues? Aren't you using the emulators/vmware2 port?? We are maintaining Hints.FreeBSD to collect and provide such kind of information. > I have already found a linprocfs port accidentally. > I wonder, however, why it is not in the ports tree. Because there has been an issue how we should get it in the source tree, and someone had once imported linprocfs in the tree. 5-CURRENT has it and 4-STABLE as of yesterday had it as part of the base system. > Among other things, I would like to know: > 1) what's to be done when vmware configuration wizard > fails trying to call 'df -T'. I know > that Linux df has the -T option, whereas FreeBSD doesn't Again, I just wonder why you don't use vmware2 port. It has a hack that should cope with that problem, i.e. it provides a fake Linux df. > 2) how to deal with the vmware's attempt to find /dev/tty4 > or so Ditto. The vmware2 port creates them on installation. > 3) why vmware says that I have 'old DGA' and therefore > full screen mode be disabled. Ditto. I wrote a mention of that issue in Hints.FreeBSD. -- / /__ __ / ) ) ) ) / Akinori -Aki- MUSHA aka / (_ / ( (__( "If you choose not to decide you still have made a choice." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Wed Apr 19 6:48:48 2000 Delivered-To: freebsd-emulation@freebsd.org Received: from isabase.philol.msu.ru (isabase.philol.msu.ru [195.208.217.73]) by hub.freebsd.org (Postfix) with ESMTP id CA83C37B9BF for ; Wed, 19 Apr 2000 06:48:31 -0700 (PDT) (envelope-from grg@isabase.philol.msu.ru) Received: (from grg@localhost) by isabase.philol.msu.ru (8.9.3/8.9.2) id RAA44909; Wed, 19 Apr 2000 17:48:24 +0400 (MSD) (envelope-from grg) Date: Wed, 19 Apr 2000 17:48:24 +0400 From: Grigoriy Strokin To: Akinori -Aki- MUSHA Cc: grg@philol.msu.ru, freebsd-emulation@FreeBSD.ORG Subject: Re: VMware Message-ID: <20000419174824.A44576@isabase.philol.msu.ru> References: <20000419145636.A42635@isabase.philol.msu.ru> <868zyadxhi.wl@localhost.local.idaemons.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <868zyadxhi.wl@localhost.local.idaemons.org>; from knu@idaemons.org on Wed, Apr 19, 2000 at 10:35:53PM +0900 Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello, Thanks for the explanation. On Wed, Apr 19, 2000 at 10:35:53PM +0900, Akinori -Aki- MUSHA wrote: > At Wed, 19 Apr 2000 14:56:36 +0400, > Grigoriy Strokin wrote: > > Where can I find > > the instructions on how to deal with FreeBSD-specific > > issues? > > Aren't you using the emulators/vmware2 port?? We are maintaining > Hints.FreeBSD to collect and provide such kind of information. I use it. First of all, it just didn't compile saying "broken -- This software absolutely requires Linux procfs support" until I found the URL of linprocfs post accidentally. > > I have already found a linprocfs port accidentally. > > I wonder, however, why it is not in the ports tree. > > Because there has been an issue how we should get it in the source > tree, and someone had once imported linprocfs in the tree. 5-CURRENT > has it and 4-STABLE as of yesterday had it as part of the base system. > > > Among other things, I would like to know: > > 1) what's to be done when vmware configuration wizard > > fails trying to call 'df -T'. I know > > that Linux df has the -T option, whereas FreeBSD doesn't > > Again, I just wonder why you don't use vmware2 port. It has a hack > that should cope with that problem, i.e. it provides a fake Linux df. Sorry. I might have missed something. Really, there is a file /usr/local/lib/vmware/bin/df, but during the installation of the port, I think I haven't seen any instructions telling to prepend /usr/local/lib/vmware/bin to the $PATH. > > > 2) how to deal with the vmware's attempt to find /dev/tty4 > > or so > > Ditto. The vmware2 port creates them on installation. No. It hasn't created them for me. > > > 3) why vmware says that I have 'old DGA' and therefore > > full screen mode be disabled. > > Ditto. I wrote a mention of that issue in Hints.FreeBSD. Excellent. There are not pointers from README to this file, however, so I couldn't know about its existence. Thanks again. With this information, I hope I will solve my problems. -- === Grigoriy Strokin, Lomonosov University (MGU), Moscow === === contact info: http://isabase.philol.msu.ru/~grg/ === To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Wed Apr 19 7: 6:39 2000 Delivered-To: freebsd-emulation@freebsd.org Received: from ms.tokyo.jcom.ne.jp (ms.tokyo.jcom.ne.jp [210.234.123.18]) by hub.freebsd.org (Postfix) with ESMTP id 374A537BC9A for ; Wed, 19 Apr 2000 07:06:34 -0700 (PDT) (envelope-from knu@idaemons.org) Received: from daemon.local.idaemons.org (203-165-77-40.sugnm1.kt.home.ne.jp [203.165.77.40]) by ms.tokyo.jcom.ne.jp (8.9.1/3.7W 04/18/00) with ESMTP id XAA08951; Wed, 19 Apr 2000 23:06:29 +0900 (JST) Received: by daemon.local.idaemons.org (8.9.3/3.7W) id XAA53093; Wed, 19 Apr 2000 23:05:57 +0900 (JST) Date: Wed, 19 Apr 2000 23:05:55 +0900 Message-ID: <8666tedw3g.wl@localhost.local.idaemons.org> From: "Akinori -Aki- MUSHA" To: grg@philol.msu.ru Cc: freebsd-emulation@FreeBSD.ORG Subject: Re: VMware In-Reply-To: In your message of "Wed, 19 Apr 2000 17:48:24 +0400" <20000419174824.A44576@isabase.philol.msu.ru> References: <20000419145636.A42635@isabase.philol.msu.ru> <868zyadxhi.wl@localhost.local.idaemons.org> <20000419174824.A44576@isabase.philol.msu.ru> User-Agent: Wanderlust/1.1.1 (Purple Rain) EMIKO/1.13.12 (Euglena sociabilis) FLIM/1.13.2 (Kasanui) APEL/10.2 MULE XEmacs/21.1 (patch 9) (Canyonlands) (i386--freebsd) Organization: Associated I. Daemons X-PGP-Public-Key: finger knu@FreeBSD.org X-PGP-Fingerprint: 1BEF D9B2 BABD 25D7 659A FD08 89C2 F3BE E981 4E16 MIME-Version: 1.0 (generated by EMIKO 1.13.12 - "Euglena sociabilis") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org At Wed, 19 Apr 2000 17:48:24 +0400, Grigoriy Strokin wrote: > On Wed, Apr 19, 2000 at 10:35:53PM +0900, Akinori -Aki- MUSHA wrote: > > Aren't you using the emulators/vmware2 port?? We are maintaining > > Hints.FreeBSD to collect and provide such kind of information. > > I use it. First of all, it just didn't compile saying > "broken -- This software absolutely requires Linux procfs support" > until I found the URL of linprocfs post accidentally. In case you don't, please grab the latest port (tree) to avoid out-of-date Q&A's. > Sorry. I might have missed something. Really, there is a file > /usr/local/lib/vmware/bin/df, but during the installation of the port, I > think I haven't seen any instructions telling to prepend > /usr/local/lib/vmware/bin to the $PATH. You don't need to do that. Actually, you need to do nothing if you successfully installed the vmware2 port. > > > 2) how to deal with the vmware's attempt to find /dev/tty4 > > > or so > > > > Ditto. The vmware2 port creates them on installation. > > No. It hasn't created them for me. Don't you see /compat/linux/dev/tty4? Too weird. I might dare presume you don't have /compat at all. > > > 3) why vmware says that I have 'old DGA' and therefore > > > full screen mode be disabled. > > > > Ditto. I wrote a mention of that issue in Hints.FreeBSD. > > Excellent. There are not pointers from README to this file, > however, so I couldn't know about its existence. When the port/package installation is done, a message that asks you to refer to the docs installed under `${PREFIX}/share/doc/vmare/' should have appeared. I think you missed it. -- / /__ __ / ) ) ) ) / Akinori -Aki- MUSHA aka / (_ / ( (__( "If you choose not to decide you still have made a choice." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Wed Apr 19 21:38:35 2000 Delivered-To: freebsd-emulation@freebsd.org Received: from smtp.millennium20.com (smtp.thecyberguys.net [209.79.190.13]) by hub.freebsd.org (Postfix) with ESMTP id 9210637BD87 for ; Wed, 19 Apr 2000 21:38:32 -0700 (PDT) (envelope-from glennpj@bayouhome.net) Received: from gforce.johnson.home (1Cust97.tnt2.covington.la.da.uu.net [63.31.31.97]) by smtp.millennium20.com (8.10.0/8.10.0) with SMTP id e3K4bW625651 for ; Wed, 19 Apr 2000 21:37:33 -0700 Received: (from glenn@localhost) by gforce.johnson.home (8.9.3/8.9.3) id XAA02214 for freebsd-emulation@freebsd.org; Wed, 19 Apr 2000 23:38:28 -0500 (CDT) (envelope-from glenn) From: Glenn Johnson Date: Wed, 19 Apr 2000 23:38:28 -0500 To: freebsd-emulation@freebsd.org Subject: Linux RPC Message-ID: <20000419233828.A2156@gforce.johnson.home> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I just got a Linux software program at work (no source code). One of its features is to do distributed processing via RPC. I set everything up according to the vendor's documantation and it does not work. I sent an e-mail to them but I started thinking that this might be a problem with the Linux mode in FreeBSD. I am using FreeBSD 4.0-STABLE, with the latest Linux_base port. The software runs fine except for the RPC. Here is what I did. I added the following line to /etc/rpc: bminrd 630474513 I then updated the NIS maps and verified that the info was getting across to each host via rpcinfo -p. I started up the daemon, bminrd, on each of the hosts that will be running calculations. The daemon is running and appears to be fine but communication does not work as evidenced by the following output of rpcinfo -t node6 bminrd: rpcinfo: RPC: Unable to receive; errno = Connection reset by peer program 630474513 version 0 is not available Does RPC for Linux binaries work in FreeBSD? If so, what do I need to do? Thanks in advance. -- Glenn Johnson glennpj@bayouhome.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Wed Apr 19 21:57: 6 2000 Delivered-To: freebsd-emulation@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id 2831737BD86 for ; Wed, 19 Apr 2000 21:56:51 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.9.3/8.9.3) id XAA00545; Wed, 19 Apr 2000 23:56:48 -0500 (CDT) (envelope-from dan) Date: Wed, 19 Apr 2000 23:56:47 -0500 From: Dan Nelson To: Gabor Kincses Cc: emulation@FreeBSD.ORG Subject: Re: Linux kill -PWR Message-ID: <20000419235647.A29468@dan.emsphone.com> References: <38FC8921.4F440DE5@acm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.1.9i In-Reply-To: <38FC8921.4F440DE5@acm.org>; from "Gabor Kincses" on Tue Apr 18 11:11:13 GMT 2000 X-OS: FreeBSD 5.0-CURRENT Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In the last episode (Apr 18), Gabor Kincses said: > > Will kill -30 cause the same against a Linux (emu) process? Signal 30 is SIGUSR1; there is no BSD equivalent for Lnux'es SIGPWR. You might try using a native Linux kill binary to send SIGPWR to a Linux process. -- Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Thu Apr 20 15:26:12 2000 Delivered-To: freebsd-emulation@freebsd.org Received: from vihta.saunalahti.fi (posti.saunalahti.fi [195.74.0.45]) by hub.freebsd.org (Postfix) with ESMTP id 8B34D37B61A; Thu, 20 Apr 2000 15:25:55 -0700 (PDT) (envelope-from juksi@iname.com) Received: from sjukebox (MXX.rdyn.saunalahti.fi [195.197.136.120]) by vihta.saunalahti.fi (8.9.1/8.9.1) with ESMTP id BAA15430; Fri, 21 Apr 2000 01:18:01 +0300 (EET DST) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Fri, 21 Apr 2000 01:25:29 +0300 (EEST) From: Jukka Simila To: emulation@freebsd.org Subject: Wine from ports doesn't build with X6.4? Cc: questions@freebsd.org Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Please CC, I'm not subscribed, this is my problem: I tried to install wine (991114) from ports, with the following result. Is this solved already, am I doing something wrong? I tried also 'make -i': same "previously declared" messages appear with every d3d file. > uname -a FreeBSD sjukebox 4.0-STABLE FreeBSD 4.0-STABLE #2: Thu Mar 30 20:38:49 EEST 2000 sjuke@sjukebox:/usr/src/sys/compile/CELERON i386 > pkg_info -a | grep XFree86 Information for XFree86-4.0: X11R6.4/XFree86 core distribution # cd /usr/ports/emulators/wine/ # make [lots of stuff before this] In file included from /usr/X11R6/include/GL/glx.h:28, from ../../include/wine_gl.h:21, from ../../include/d3d.h:7, from ../../include/dsound.h:6, from ./dsound_main.c:64: /usr/X11R6/include/X11/Xmd.h:125: conflicting types for `INT32' ../../include/basetsd.h:58: previous declaration of `INT32' /usr/X11R6/include/X11/Xmd.h:127: redefinition of `INT16' ../../include/windef.h:141: `INT16' previously declared here /usr/X11R6/include/X11/Xmd.h:149: redefinition of `BYTE' ../../include/windef.h:148: `BYTE' previously declared here /usr/X11R6/include/X11/Xmd.h:150: conflicting types for `BOOL' ../../include/windef.h:157: previous declaration of `BOOL' ./dsound_main.c:2406: warning: initialization from incompatible pointer type *** Error code 1 Stop in /usr/ports/emulators/wine/work/wine-991114/dlls/dsound. *** Error code 1 @-`--,--`--- Jukka Simila To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message