From owner-freebsd-emulation Sun May 20 14: 8:13 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from kawoserv.kawo2.rwth-aachen.de (kawoserv.kawo2.RWTH-Aachen.DE [134.130.180.1]) by hub.freebsd.org (Postfix) with ESMTP id 12ABE37B424 for ; Sun, 20 May 2001 14:08:10 -0700 (PDT) (envelope-from root@big.endian.de) Received: from zerogravity.kawo2.rwth-aachen.de (zerogravity.kawo2.rwth-aachen.de [134.130.181.28]) by kawoserv.kawo2.rwth-aachen.de (8.9.3/8.6.9) with ESMTP id XAA22829; Sun, 20 May 2001 23:08:08 +0200 Received: by zerogravity.kawo2.rwth-aachen.de (Postfix, from userid 0) id 5440314CB3; Sun, 20 May 2001 23:08:08 +0200 (CEST) Date: Sun, 20 May 2001 23:08:08 +0200 From: Alexander Langer To: "Richard E. Hawkins" Cc: freebsd-emulation@FreeBSD.ORG Subject: Re: ready to pull my hair out over networking under vmware Message-ID: <20010520230808.E737@zerogravity.kawo2.rwth-aachen.d> References: <200105191936.f4JJa7g06289@fac13.ds.psu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200105191936.f4JJa7g06289@fac13.ds.psu.edu>; from dochawk@psu.edu on Sat, May 19, 2001 at 03:36:07PM -0400 X-PGP-Fingerprint: 44 28 CA 4C 46 5B D3 A8 A8 E3 BA F3 4E 60 7D 7F X-PGP-at: finger alex@big.endian.de X-Verwirrung: Dieser Header dient der allgemeinen Verwirrung. 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 Thus spake Richard E. Hawkins (dochawk@psu.edu): > What in the world am I supposed to tell it? All I want is for my > virtual linux and win98 boxes to be able to see the outside world, adn > for my virtual linux to be able to use my X display rather than its own. For FreeBSD, it's so nice to just choose an unused network (I used 10.0.0.0), enable netgraph bridging using this network (you have to edit the vmware config file though) and then, in VMWare, use hostonly networking. You can then set the IP of your guest-os as if it was physically on the local network. Thanks to Chris for telling me this as well some weeks ago. :-) Alex PS: This are the important parts of my config: zerogravity% less vmware/config vmware.fullpath = "/usr/local/lib/vmware/bin/vmware" wizard.fullpath = "/usr/local/lib/vmware/bin/vmware-wizard" dhcpd.fullpath = "/usr/local/lib/vmware/bin/vmnet-dhcpd" loop.fullpath = ""/usr/local/lib/vmware/bin/vmware-loop" libdir = "/usr/local/lib/vmware/lib" vmnet1.HostOnlyAddress = "10.0.0.1" vmnet1.HostOnlyNetMask = "255.255.255.0" and in rc.d/vmware.sh I use: networking=1 bridged=YES bridge_interface=xl0 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Mon May 21 0:26:54 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 86BDE37B42C for ; Mon, 21 May 2001 00:26:50 -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.3/8.11.3) with ESMTP id f4L7Qnd66733 for ; Mon, 21 May 2001 09:26:49 +0200 (CEST) (envelope-from ohartman@klima.physik.uni-mainz.de) Date: Mon, 21 May 2001 09:26:49 +0200 (CEST) From: "Hartmann, O." To: Subject: Linux emulation strange ... Message-ID: 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 Dear Sirs. I posted within the last days a message about a strange, suddenly revealed behaviour in Linux emulation. This is triggered by the Lahey/Fujitsu Fortran 95 compiler and the VAST F90 compiler, which has been used here successfuly prior to the last cvsupdate FreeBSD has been updated before the critical date on 6th May and has been done its tasks clear also for the LF95 compiler). I checked today dmesg on two machines and got this, hope someone of the gurus out here has a glue what's going on. linux: syscall setfsuid is obsoleted or not implemented (pid=46591) As I said before: LF95 has been used here for a long time successfuly and we compiled several projects without problems, but now there is a problem with, I guess I/O. When compiling a simnple hello world like this: PROGRAM IOTEST OPEN (unit=10, file='io.out', status='new') WRITE (10,1) 'Hello World!' 1 FORMAT (a) CLOSE (10) END PROGRAM IOTEST and running i, it works well for the first call. It produces an file io.out and you should delete it after the second run. But when calling the same program after deleting io.out (which is trivial!) a second time, you get this: An I/O error was detected (c library=getcwd, unit=10). This happens within a chrooted Linux shell (preferably sh or bash but also for tcsh and csh) and also within FreeBSD environment. Lahey's compiler has been installed the following way: Installation from the normal CD ROM. The cd'ing into its ./bin directory and doing a 'brandelf -t Linux *' for all binaries (otherwise I get a lot of mislinked libs when linker is running). For testing purposes we NFS-export the /compat/linux/usr/local directory to other machines due the fact our scientist group has two labs they are working in and it's the easiest way to export their environment. Has anyone a glue, a hint, or simply a tip? Thanks in advance, Oliver -- 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 (Maschinensaal) 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 May 21 4:24:26 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from pageplanet.com (england.pageplanet.com [205.160.14.30]) by hub.freebsd.org (Postfix) with ESMTP id 97A5E37B446 for ; Mon, 21 May 2001 04:24:20 -0700 (PDT) (envelope-from sreeram@tachyontech.net) Received: from ks.tachyon.tech (202.9.160.64) by pageplanet.com with SMTP (Eudora Internet Mail Server 3.0.1) for ; Mon, 21 May 2001 07:25:08 -0400 Received: (qmail 798 invoked from network); 20 May 2001 12:05:33 -0000 Received: from localhost (HELO ks.tachyon.tech) (127.0.0.1) by localhost with SMTP; 20 May 2001 12:05:33 -0000 Content-Type: text/plain; charset="iso-8859-1" From: K S Sreeram To: questions@freebsd.org, emulation@freebsd.org Subject: VMWare plain disk Date: Sun, 20 May 2001 17:35:33 +0530 X-Mailer: KMail [version 1.2] MIME-Version: 1.0 Message-Id: <01052017353303.00615@ks.tachyon.tech> Content-Transfer-Encoding: 8bit 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 Can somebody tell me how to locally mount a vmware plain disk, without using vmware? I installed win98 on a plain disk, and i would like to use the same installation when running with wine KS To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Mon May 21 4:37:53 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by hub.freebsd.org (Postfix) with SMTP id 8530737B422; Mon, 21 May 2001 04:37:48 -0700 (PDT) (envelope-from iedowse@maths.tcd.ie) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 21 May 2001 12:37:47 +0100 (BST) To: K S Sreeram Cc: questions@freebsd.org, emulation@freebsd.org, iedowse@maths.tcd.ie Subject: Re: VMWare plain disk In-Reply-To: Your message of "Sun, 20 May 2001 17:35:33 +0530." <01052017353303.00615@ks.tachyon.tech> Date: Mon, 21 May 2001 12:37:46 +0100 From: Ian Dowse Message-ID: <200105211237.aa90748@salmon.maths.tcd.ie> 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 In message <01052017353303.00615@ks.tachyon.tech>, K S Sreeram writes: >Hi > >Can somebody tell me how to locally mount a vmware plain disk, without using >vmware? You could try using vnconfig: e.g. (cd /dev; sh MAKEDEV vn0) vnconfig -e -s labels /dev/vn0 /path/to/plain/disk mkdir /vmdisk mount -t msdos /dev/vn0s1 /vmdisk and then when you're finished, use umount /vmdisk vnconfig -u /dev/vn0 Ian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Mon May 21 4:47:34 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from pageplanet.com (england.pageplanet.com [205.160.14.30]) by hub.freebsd.org (Postfix) with ESMTP id 9A43137B422 for ; Mon, 21 May 2001 04:47:30 -0700 (PDT) (envelope-from sreeram@tachyontech.net) Received: from ks.tachyon.tech (202.9.160.64) by pageplanet.com with SMTP (Eudora Internet Mail Server 3.0.1) for ; Mon, 21 May 2001 07:48:34 -0400 Received: (qmail 3397 invoked from network); 21 May 2001 11:53:16 -0000 Received: from localhost (HELO ks.tachyon.tech) (127.0.0.1) by localhost with SMTP; 21 May 2001 11:53:16 -0000 Content-Type: text/plain; charset="iso-8859-1" From: K S Sreeram To: Ian Dowse Subject: Re: VMWare plain disk Date: Mon, 21 May 2001 17:23:16 +0530 X-Mailer: KMail [version 1.2] Cc: questions@freebsd.org, emulation@freebsd.org References: <200105211237.aa90748@salmon.maths.tcd.ie> In-Reply-To: <200105211237.aa90748@salmon.maths.tcd.ie> MIME-Version: 1.0 Message-Id: <01052117231608.00615@ks.tachyon.tech> Content-Transfer-Encoding: 8bit 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 It doesnt work.. i created the plain disk using the configuration editor in vmware. I created a 3GB plain disk, and vmware created 2 files (win981.dat and win982.dat), each being 1.5GB. I guest its not working because the partitions in the disk are not at the beginning of the file. KS On Monday 21 May 2001 17:07, Ian Dowse wrote: > In message <01052017353303.00615@ks.tachyon.tech>, K S Sreeram writes: > >Hi > > > >Can somebody tell me how to locally mount a vmware plain disk, without > > using vmware? > > You could try using vnconfig: e.g. > > (cd /dev; sh MAKEDEV vn0) > vnconfig -e -s labels /dev/vn0 /path/to/plain/disk > mkdir /vmdisk > mount -t msdos /dev/vn0s1 /vmdisk > > and then when you're finished, use > > umount /vmdisk > vnconfig -u /dev/vn0 > > Ian > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Mon May 21 5: 2:21 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from pageplanet.com (england.pageplanet.com [205.160.14.30]) by hub.freebsd.org (Postfix) with ESMTP id 9162737B422 for ; Mon, 21 May 2001 05:02:20 -0700 (PDT) (envelope-from sreeram@tachyontech.net) Received: from ks.tachyon.tech (202.9.160.64) by pageplanet.com with SMTP (Eudora Internet Mail Server 3.0.1) for ; Mon, 21 May 2001 08:03:24 -0400 Received: (qmail 3478 invoked from network); 21 May 2001 12:08:01 -0000 Received: from localhost (HELO ks.tachyon.tech) (127.0.0.1) by localhost with SMTP; 21 May 2001 12:08:01 -0000 Content-Type: text/plain; charset="iso-8859-1" From: K S Sreeram To: emulation@freebsd.org Subject: Running Wine Date: Mon, 21 May 2001 17:38:01 +0530 X-Mailer: KMail [version 1.2] MIME-Version: 1.0 Message-Id: <01052117380109.00615@ks.tachyon.tech> Content-Transfer-Encoding: 8bit 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 Can anybody tell me how to run IE 5 and Visual Studio under Wine? KS To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Mon May 21 14:17: 5 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from vexpert.dbai.tuwien.ac.at (vexpert.dbai.tuwien.ac.at [128.130.111.12]) by hub.freebsd.org (Postfix) with ESMTP id 7098C37B422 for ; Mon, 21 May 2001 14:16:58 -0700 (PDT) (envelope-from pfeifer@dbai.tuwien.ac.at) Received: from deneb (deneb [128.130.111.2]) by vexpert.dbai.tuwien.ac.at (8.11.1/8.11.1) with ESMTP id f4LLGmM08564; Mon, 21 May 2001 23:16:52 +0200 (MET DST) Date: Mon, 21 May 2001 23:16:48 +0200 (CEST) From: Gerald Pfeifer To: K S Sreeram Cc: Subject: Re: Running Wine In-Reply-To: <01052117380109.00615@ks.tachyon.tech> Message-ID: 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 On Mon, 21 May 2001, K S Sreeram wrote: > Can anybody tell me how to run IE 5 and Visual Studio under Wine? I don't know (and actually doubt) whether these two will successfully run under Wine yet, but if it works, just try wine nameofprogram.exe Gerald -- Gerald "Jerry" pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Mon May 21 14:51:35 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by hub.freebsd.org (Postfix) with SMTP id B508D37B422; Mon, 21 May 2001 14:51:30 -0700 (PDT) (envelope-from iedowse@maths.tcd.ie) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 21 May 2001 22:51:30 +0100 (BST) To: K S Sreeram Cc: questions@freebsd.org, emulation@freebsd.org Subject: Re: VMWare plain disk In-Reply-To: Your message of "Mon, 21 May 2001 17:23:16 +0530." <01052117231608.00615@ks.tachyon.tech> Date: Mon, 21 May 2001 22:51:29 +0100 From: Ian Dowse Message-ID: <200105212251.aa64563@salmon.maths.tcd.ie> 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 In message <01052117231608.00615@ks.tachyon.tech>, K S Sreeram writes: >It doesnt work.. > >i created the plain disk using the configuration editor in vmware. I created >a 3GB plain disk, and vmware created 2 files (win981.dat and win982.dat), >each being 1.5GB. I guest its not working because the partitions in the disk >are not at the beginning of the file. Hmm, I guess this may be because VMware is limited by the Linux file size limits - you just created one 3GB partition on the vmware disk, right? I certainly got this to work fine with a 2Gb plain VMware disk, but VMWare produced only one file then. BTW, I think '-s labels' bit may have been wrong in the previous commands. The commands should probably have been (cd /dev; sh MAKEDEV vn0) vnconfig -e /dev/vn0 /path/to/plain/disk mkdir /vmdisk mount -t msdos /dev/vn0s1 /vmdisk ... umount /vmdisk vnconfig -u /dev/vn0 Ian (PS when something doesn't work, please try to post exactly what you typed and exact error messages; this will usually result in responses that are more relevant and correct). To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Mon May 21 15:12:24 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from atlantis.homeip.net (d110240.upc-d.chello.nl [213.46.110.240]) by hub.freebsd.org (Postfix) with SMTP id 4335C37B422 for ; Mon, 21 May 2001 15:12:21 -0700 (PDT) (envelope-from wvengen@stack.nl) Received: (qmail 23789 invoked from network); 21 May 2001 22:12:19 -0000 Received: from unknown (HELO stack.nl) (192.168.1.4) by d110240.upc-d.chello.nl with SMTP; 21 May 2001 22:12:19 -0000 Message-ID: <3B09769F.71592483@stack.nl> Date: Mon, 21 May 2001 22:12:15 +0200 From: Willem van Engen X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: K S Sreeram , freebsd-emulation@freebsd.org Subject: Re: Running Wine References: <01052117380109.00615@ks.tachyon.tech> 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 K S Sreeram wrote: > > Hi > > Can anybody tell me how to run IE 5 and Visual Studio under Wine? I couldn't get IE5 to install. The wizard starts ok, but when it tries to go installing, it says that there's no internet connection. The wine log indicates that some unimplemented setupapi functions are called (I'm using wine release 20010510). - Willem van Engen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Mon May 21 15:20:40 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from barry.mail.mindspring.net (barry.mail.mindspring.net [207.69.200.25]) by hub.freebsd.org (Postfix) with ESMTP id DB19637B422 for ; Mon, 21 May 2001 15:20:36 -0700 (PDT) (envelope-from vsilyaev@mindspring.com) Received: from delta.rc.ny.us (nyf-ny3-45.ix.netcom.com [198.211.16.173]) by barry.mail.mindspring.net (8.9.3/8.8.5) with ESMTP id SAA03155; Mon, 21 May 2001 18:20:34 -0400 (EDT) Received: (from vsilyaev@localhost) by delta.rc.ny.us (8.11.1/8.9.3) id f4LMKTJ00493; Mon, 21 May 2001 18:20:29 -0400 (EDT) (envelope-from vsilyaev) Date: Mon, 21 May 2001 18:20:29 -0400 From: Vladimir Silyaev To: "Hartmann, O." Cc: freebsd-emulation@freebsd.org Subject: Re: Fortran problems/Linux emu problems Message-ID: <20010521182029.A427@delta.rc.ny.us> References: <20010518213535.A306@delta.rc.ny.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from ohartman@klima.physik.uni-mainz.de on Sat, May 19, 2001 at 04:12:32PM +0200 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 As far as I understood you, you have a problem with binaries builded under FreeBSD by Linux fortran compiler. The same source code builded in the native linux environment looks ok, right? If so I see only one possible problem (besides wrong installation of fortran) - that during compilation fortran used some part of FreeBSD system (i.e. libraries, or even linker, C-compiler). If you think that it was working before you may use ktrace/linux_kdump or strace to see what differences before and after upgrade. Regards, Vladimir P.S. You may want see how binaries builded on FreeBSD works under native Linux and what's ldd saying there. P.S.S. Did you aware about brandelf utility? > Well, I did the 'doublecheck' so far, without success. > I tried to 'chroot' myself into /compat/linux and encapsulate > all actions by starting a Linux shell by exec-ing a > /compat/linux/bin/sh, without success. > > But why should I do that when I know that all systems run all > right before? > > Using ldd within this encapsulated environment gives me an error > like this: > > root: /bin: ldd dd > /usr/bin/ldd: /lib/ld-linux.so.2: cannot execute binary file > ldd: /lib/ld-linux.so.2 exited with unknown exit code (126) > > This is the Linux dd. > > All programs are compiled against Linux ones, I presume. > It is curois to me that some systems are not working properly since > we did the last update. > :>You should doublecheck that your linux executabled are linked against > :>Linux libraries, not FreeBSD ones. You may check that by using ldd from the > :>linux devtools. > :> > :>Another thing what you may try to do, it's to compile from environment > :>'chrooted' into the /compat/linux. > :> > :>-- > :>Regards, > :>Vladimir > :> > :> -- Vladimir To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Tue May 22 0:22: 1 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 8C78837B50B for ; Tue, 22 May 2001 00:21:52 -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.3/8.11.3) with ESMTP id f4M7LnT03985; Tue, 22 May 2001 09:21:49 +0200 (CEST) (envelope-from ohartman@klima.physik.uni-mainz.de) Date: Tue, 22 May 2001 09:21:49 +0200 (CEST) From: "Hartmann, O." To: Vladimir Silyaev Cc: Subject: Re: Fortran problems/Linux emu problems In-Reply-To: <20010521182029.A427@delta.rc.ny.us> Message-ID: 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 On Mon, 21 May 2001, Vladimir Silyaev wrote: :> :>As far as I understood you, you have a problem with binaries builded :>under FreeBSD by Linux fortran compiler. The same source code builded :>in the native linux environment looks ok, right? That is correct. :> :>If so I see only one possible problem (besides wrong installation :>of fortran) - that during compilation fortran used some part :>of FreeBSD system (i.e. libraries, or even linker, C-compiler). That was my first idea and it seems that way, but the same installation (which hasn't been changed) worked before. :> :>If you think that it was working before you may use ktrace/linux_kdump :>or strace to see what differences before and after upgrade. :> :>Regards, :>Vladimir :> :>P.S. You may want see how binaries builded on FreeBSD works under native :>Linux and what's ldd saying there. :>P.S.S. Did you aware about brandelf utility? I'm surely aware of brandelf, but that doesn't matter. A couriosity is, that on one machine, the NFS server, after restarting mountd, the problem disappeared on the NFS server. I can now compile my software normaly. But not on the other systems, the clients of the NFS server. It looks weird ...' :> :>> Well, I did the 'doublecheck' so far, without success. :>> I tried to 'chroot' myself into /compat/linux and encapsulate :>> all actions by starting a Linux shell by exec-ing a :>> /compat/linux/bin/sh, without success. :>> :>> But why should I do that when I know that all systems run all :>> right before? :>> :>> Using ldd within this encapsulated environment gives me an error :>> like this: :>> :>> root: /bin: ldd dd :>> /usr/bin/ldd: /lib/ld-linux.so.2: cannot execute binary file :>> ldd: /lib/ld-linux.so.2 exited with unknown exit code (126) :>> :>> This is the Linux dd. :>> :>> All programs are compiled against Linux ones, I presume. :>> It is curois to me that some systems are not working properly since :>> we did the last update. :>> :>You should doublecheck that your linux executabled are linked against :>> :>Linux libraries, not FreeBSD ones. You may check that by using ldd from the :>> :>linux devtools. :>> :> :>> :>Another thing what you may try to do, it's to compile from environment :>> :>'chrooted' into the /compat/linux. :>> :> :>> :>-- :>> :>Regards, :>> :>Vladimir :>> :> :>> :> :> :>-- :>Vladimir :> :> -- 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 (Maschinensaal) 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 Tue May 22 17: 9:25 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from mail.disney.com (mail.disney.com [204.128.192.15]) by hub.freebsd.org (Postfix) with ESMTP id 97AF537B42C for ; Tue, 22 May 2001 17:09:23 -0700 (PDT) (envelope-from Jim.Pirzyk@disney.com) Received: from pain10.corp.disney.com (root@pain10.corp.disney.com [153.7.110.100]) by mail.disney.com (Switch-2.0.1/Switch-2.0.1) with SMTP id f4N08hA29346 for ; Tue, 22 May 2001 17:08:43 -0700 (PDT) Received: from louie.fa.disney.com by pain.corp.disney.com with ESMTP for freebsd-emulation@freebsd.org; Tue, 22 May 2001 17:10:02 -0700 Received: from mercury.fan.fa.disney.com (mercury.fan.fa.disney.com [153.7.119.1]) by louie.fa.disney.com (8.9.2/8.9.2) with ESMTP id RAA22019 for ; Tue, 22 May 2001 17:09:13 -0700 (PDT) (envelope-from Jim.Pirzyk@disney.com) Received: from snoopy.fan.fa.disney.com by mercury.fan.fa.disney.com for freebsd-emulation@freebsd.org; Tue, 22 May 2001 17:09:12 -0700 Content-Type: text/plain; charset="us-ascii" From: Jim Pirzyk Organization: Walt Disney Feature Animation To: freebsd-emulation@freebsd.org Subject: Linux:/var/run/utmp Date: Tue, 22 May 2001 17:09:12 -0700 X-Mailer: KMail [version 1.2] MIME-Version: 1.0 Message-Id: <01052217091200.00708@snoopy> Content-Transfer-Encoding: 8bit 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 So I have a program here that needs to read the Linux /var/run/utmp file (Platform's LSF software), but the problem is that Linux's utmp format is not the same as FreeBSD's. Linux format is closer to SVR4. So my question is what would be the best way to support this app? Here are my ideas so far: 1) write an app that stats /var/run/utmp and when it is changed, it updates /compat/linux/var/run/utmp with the correct information. 2) modify /usr/bin/login so that if it detects the Linux compatability module is loaded, write utmp entries to /var/run/utmp and /compat/linux/var/run/utmp. - JimP -- --- @(#) $Id: dot.signature,v 1.10 2001/05/17 23:38:49 Jim.Pirzyk Exp $ __o Jim.Pirzyk@disney.com ------------- pirzyk@freebsd.org _'\<,_ Senior Systems Engineer, Walt Disney Feature Animation (*)/ (*) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Wed May 23 11: 5:16 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from fge.if.usp.br (fge.if.usp.br [143.107.130.1]) by hub.freebsd.org (Postfix) with ESMTP id 8F6AB37B5AF; Wed, 23 May 2001 11:04:58 -0700 (PDT) (envelope-from guidi@fge.if.usp.br) Received: from localhost (guidi@localhost) by fge.if.usp.br (8.9.3/8.9.3) with SMTP id PAA01326; Wed, 23 May 2001 15:04:47 -0300 (EST) Date: Wed, 23 May 2001 15:04:46 -0300 (EST) From: Leonardo Fernandes Guidi Reply-To: Leonardo Fernandes Guidi To: freebsd-questions@freebsd.org Cc: freebsd-emulation@freebsd.org Subject: Mathematica 4.0-4.1 x FreeBSD 4.3 Message-ID: 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 Greetings, I've been working with Mathematica 4.0 under FreeBSD 4.2R for a long time with any trouble at all. My machine is a K6-2 - EpoX MVP3G5. After doing a clean install of 4.3R I just can't use Mathematica 4.0 neither Mathematica 4.1 kernels (math or MathKernel). Everytime I try to run it I get the following message: pid 307 (MathKernel), uid 1001: exited on signal 11 (core dumped) The front-end program (mathematica) works fine but alone it is useless. Besides the GENERIC kernel, I've tried a new kernel: . . . ##################################################################### # GENERAL OPTIONS # # # machine i386 ident KERNEL-43R maxusers 32 makeoptions CONF_CFLAGS=-fno-builtin #Don't allow use of memcmp, etc. See LINT options MAXDSIZ="(518*1024*1024)" #See LINT options DFLDSIZ="(256*1024*1024)" #See LINT #options COMPAT_LINUX #options I586_PMC_GUPROF=0x70000 ##################################################################### # CPU OPTIONS # # # cpu I586_CPU # Options for CPU features - See LINT for details # options CPU_FASTER_5X86_FPU options CPU_WT_ALLOC options NO_MEMORY_HOLE options NO_F00F_HACK ##################################################################### # COMPATIBILITY OPTIONS # # # options COMPAT_43 options USER_LDT #allow user-level control of i386 ldt # System V shared memory and tunable parameters options SYSVSHM # include support for shared memory # System V semaphores and tunable parameters options SYSVSEM # include support for semaphores # System V message queues and tunable parameters options SYSVMSG # include support for message queues # XXX - this doesn't belong here. # Allow ordinary users to take the console - this is useful for X. options UCONSOLE ~ # XXX - this doesn't belong here either options USERCONFIG #boot -c editor options INTRO_USERCONFIG #imply -c and show intro screen options VISUAL_USERCONFIG #visual boot -c editor . . . I've also tried COMPAT_LINUX enabled . I've tried the patched version of linux_base port (which uses some RedHat 7.0 rpms - yes, I've managed to install it properly), again with no success. The strangest thing, in my opinion, is the fact that both 4.2R and 4.3R have the same linux_base package. Wouldn't it be something in the kernel code, specially the AMD,K6,K6-2 stuff? In other machines (an Athlon - ASUS A7V) with 4.3R, Mathematica 4.1 runs flawlessly. It also runs OK in my machine using Linux. Any hints? Sincerely Leonardo F. Guidi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message