From owner-freebsd-emulation Mon Nov 22 11:50: 4 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from assurance.rstcorp.com (assurance.rstcorp.com [216.112.242.2]) by hub.freebsd.org (Postfix) with ESMTP id 9FF6E15314 for ; Mon, 22 Nov 1999 11:49:55 -0800 (PST) (envelope-from vshah@rstcorp.com) Received: (from uucp@localhost) by assurance.rstcorp.com (8.8.8/8.8.8) id OAA31012 for ; Mon, 22 Nov 1999 14:51:41 -0500 Received: from proxy.rstcorp.com(216.112.242.5) by assurance.rstcorp.com via smap (V2.0) id xma031008; Mon, 22 Nov 99 19:50:57 GMT Received: from jabberwock.rstcorp.com (jabberwock.rstcorp.com [192.168.2.98]) by sandbox.rstcorp.com (8.8.8/8.8.8) with ESMTP id OAA27059 for ; Mon, 22 Nov 1999 14:46:57 -0500 (EST) Received: (from vshah@localhost) by jabberwock.rstcorp.com (8.9.3/8.9.3) id OAA36603; Mon, 22 Nov 1999 14:49:11 -0500 (EST) (envelope-from vshah@rstcorp.com) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14393.40502.584798.911817@jabberwock.rstcorp.com> Date: Mon, 22 Nov 1999 14:49:10 -0500 (EST) From: "Viren R. Shah" To: freebsd-emulation@freebsd.org Subject: Seagate Backup Exec for Linux? X-Mailer: VM 6.72 under 19.16 "Lille" XEmacs Lucid Reply-To: "Viren R. Shah" X-Face: )~y+U*K:yzjz{q<5lzpI_SVef'U.])9g[C9`1N@]u3,MHY7f*l7C)[_NjM4y4K8$uIUh|\u (K&&HS6,M!61&GMTk'mqmB/Qg]]X}"?TzsFl]"2v!bl8']dma.:^IY^a[lbOI>U:b<~FyK3q-p{HmZ mn~g.`~BE!5{2D:}Yi+\_KkWe?XaHj9$ko1k8iKLYv5*_2c8"G=?Up[}hn+7RNM(bzBZ_wWk6!Pf&B ?3Tcm7M7B~W%K/I0aX3]*=jP?aM]H6HBPT`oLk+0n^_;N\2\%|Rhy;p}34Q.jEsM\qtnxcm;ag%Nq Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Has anyone gotten the "Seagate Backup Exec Agent" for Linux working on a -stable system? We are curently trying to get this to run, and it show top-lvel directories (for directories exported using its protocol) but mostly won't show any sub-directories. FreeBSD hal 3.2-STABLE FreeBSD 3.2-STABLE #0: Thu Jul 29 13:27:38 EDT 1999 root@dave:/usr/src/sys/compile/HAL2 i386 [Yeah, this is 3.2-STABLE, but I also tried it on a -current machine] Here's a truss: syscall (null)() returns 1 (0x1) syscall linux_socketcall(0x5,0xbfbfd798) returns 7 (0x7) syscall linux_socketcall(0xe,0xbfbfd788) returns 0 (0x0) syscall linux_socketcall(0xe,0xbfbfd788) returns 0 (0x0) syscall linux_socketcall(0xe,0xbfbfd788) returns 0 (0x0) syscall linux_socketcall(0xa,0xbfbfd768) returns 1 (0x1) syscall linux_socketcall(0xa,0xbfbfd774) returns 512 (0x200) syscall linux_sigprocmask(0x0,0x805adc4,0x0) returns 0 (0x0) syscall linux_sigprocmask(0x1,0x805adc4,0x0) returns 0 (0x0) syscall linux_socketcall(0x9,0xbfbfd764) returns 514 (0x202) syscall getpid() returns 51743 (0xca1f) syscall linux_sigprocmask(0x0,0x805adc4,0x0) returns 0 (0x0) syscall linux_sigprocmask(0x1,0x805adc4,0x0) returns 0 (0x0) syscall linux_sigprocmask(0x0,0x805adc4,0x0) returns 0 (0x0) syscall linux_sigprocmask(0x1,0x805adc4,0x0) returns 0 (0x0) syscall linux_sigprocmask(0x0,0x805adc4,0x0) returns 0 (0x0) syscall linux_sigprocmask(0x1,0x805adc4,0x0) returns 0 (0x0) syscall linux_fork() returns 10356 (0x2874) syscall close(7) returns 0 (0x0) SIGNAL 31 SIGNAL 31 SIGNAL 31 SIGNAL 20 syscall linux_select(0xbfbfdb68) errno -4 'Interrupted system call' syscall linux_sigaction(0xc,0xbfbfdad4,0xbfbfdac4) returns 0 (0x0) syscall linux_wait4(0xffffffff,0x0,0x0,0x0) returns 10356 (0x2874) syscall linux_sigreturn(0xbfbfdafc) errno -4 'Interrupted system call' syscall linux_select(0xbfbfdb68) returns 1 (0x1) syscall linux_socketcall(0x5,0xbfbfd798) returns 7 (0x7) syscall linux_socketcall(0xe,0xbfbfd788) returns 0 (0x0) syscall linux_socketcall(0xe,0xbfbfd788) returns 0 (0x0) syscall linux_socketcall(0xe,0xbfbfd788) and so on, ad nauseum.. Any ideas? Viren -- Viren R. Shah, viren @ rstcorp . com, http://www.rstcorp.com/~vshah/ If you understand what you're doing, you are not learning anything To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Tue Nov 23 22:32:29 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from fep7.mail.ozemail.net (fep7-old.mail.ozemail.net [203.2.192.99]) by hub.freebsd.org (Postfix) with ESMTP id 5892114ECD; Tue, 23 Nov 1999 22:32:22 -0800 (PST) (envelope-from c9710216@atlas.newcastle.edu.au) Received: from atlas.newcastle.edu.au (slnew55p42.ozemail.com.au [203.108.151.120]) by fep7.mail.ozemail.net (8.9.0/8.6.12) with ESMTP id RAA11220; Wed, 24 Nov 1999 17:31:59 +1100 (EST) Message-ID: <383B9403.6B162F59@atlas.newcastle.edu.au> Date: Wed, 24 Nov 1999 18:30:11 +1100 From: "Jacob A. Hart" X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 4.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-chat@freebsd.org, freebsd-emulation@freebsd.org Subject: Unreal Tournament (demo) playable under FreeBSD. Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I'd just like to mention that the Linux Unreal Tournament binaries work flawlessly under FreeBSD's Linux "emulation". This is *great* news because we now have both Q3A and UT -- this year's two hottest FPS releases -- completely playable under FreeBSD. Three cheers for the FreeBSD team! :-) Relevant hardware configuration: Intel PII Celeron @ 464MHz 128MB RAM 3DFX Voodoo II (SLI) Creative AWE64 PnP Relevant software installed: FreeBSD 4.0-CURRENT #6: Wed Nov 24 02:16:41 EST 1999 linux_base-5.2 XFree86-3.3.5 Glide_V2-2.53-1.i386.glibc.rpm UTDemo-Linux-x86-348.tar.gz Issues: When using the newpcm sound driver, audio seems to be lagged behind the game by about 250-500ms. This is similiar to the audio lag when playing Q3A (but without the weird "flanger/phaser" sound artifacts). UT seems to ignore MESA/3DFX environment variables when executing. If you want to disable v-sync or increase your refresh rate, for instance, you'll have to manually edit the ${UTBASE}/System/UnrealTournament.ini file. There's also a ${UTBASE}/README.Linux file that explains a few general issues with the Linux port of UT. Happy fragging ;-) -jake (obituary) Powered by FreeBSD c9710216@atlas.newcastle.edu.au http://www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Thu Nov 25 21:14:40 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from mail.HiWAAY.net (fly.HiWAAY.net [208.147.154.56]) by hub.freebsd.org (Postfix) with ESMTP id 0C30C14C36; Thu, 25 Nov 1999 21:14:36 -0800 (PST) (envelope-from kris@hiwaay.net) Received: from hiwaay.net (tnt6-216-180-4-132.dialup.HiWAAY.net [216.180.4.132]) by mail.HiWAAY.net (8.9.3/8.9.0) with ESMTP id XAA02006; Thu, 25 Nov 1999 23:13:13 -0600 (CST) Message-ID: <383E16E9.67CB5811@hiwaay.net> Date: Thu, 25 Nov 1999 23:13:13 -0600 From: Kris Kirby Organization: Non Illegitemus Carborundum. X-Mailer: Mozilla 4.08 [en] (X11; U; FreeBSD 3.2-RELEASE i386) MIME-Version: 1.0 To: "Jacob A. Hart" Cc: freebsd-chat@FreeBSD.ORG, freebsd-emulation@FreeBSD.ORG Subject: Re: Unreal Tournament (demo) playable under FreeBSD. References: <383B9403.6B162F59@atlas.newcastle.edu.au> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Jacob A. Hart wrote: > Relevant hardware configuration: > > Intel PII Celeron @ 464MHz > 128MB RAM > 3DFX Voodoo II (SLI) > Creative AWE64 PnP Voodoo2? When did this make it? I've got one I've been _itching_ to use under FreeBSD.... -- Kris Kirby, KE4AHR ------------------------------------------- TGIFreeBSD... 'Nuff said. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Thu Nov 25 21:31:41 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from zeus.tassie.net.au (zeus.tassie.net.au [203.57.213.21]) by hub.freebsd.org (Postfix) with ESMTP id C886614E1F for ; Thu, 25 Nov 1999 21:31:35 -0800 (PST) (envelope-from scott@tassie.net.au) Received: from ante (ante.hbt.off.tassie.net.au [203.57.212.22]) by zeus.tassie.net.au (8.8.8/8.8.8) with ESMTP id QAA27320; Fri, 26 Nov 1999 16:31:24 +1100 (EST) Message-Id: <4.2.2.19991126162208.00cd4880@imap.tassie.net.au> X-Sender: scott@imap.tassie.net.au X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.2 Date: Fri, 26 Nov 1999 16:24:54 +1100 To: "Viren R. Shah" , freebsd-emulation@FreeBSD.ORG From: Scott Donovan Subject: Re: Seagate Backup Exec for Linux? In-Reply-To: <14393.40502.584798.911817@jabberwock.rstcorp.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Has anyone gotten the "Seagate Backup Exec Agent" for Linux working on >a -stable system? We are curently trying to get this to run, and it >show top-lvel directories (for directories exported using its >protocol) but mostly won't show any sub-directories. > >FreeBSD hal 3.2-STABLE FreeBSD 3.2-STABLE #0: Thu Jul 29 13:27:38 EDT >1999 root@dave:/usr/src/sys/compile/HAL2 i386 Yep We have it working on of all things 3.2-Release, doesn't seem to behave on 3.3-Release though. Unfortunantely we didn;t do anything amazing, just hacked the install script to think it was linux, branded the binary as a Linux Binary and off it went. (Version 7.3 BTW) Perhaps something changed between 3.2-release and 3.2-stable in the emulation ? Ps. it has to be one of the best enterprise scale freebsd solutions we have found. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Fri Nov 26 1:56:43 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from mail.scc.nl (node1374.a2000.nl [62.108.19.116]) by hub.freebsd.org (Postfix) with ESMTP id BF0F814C3F for ; Fri, 26 Nov 1999 01:56:39 -0800 (PST) (envelope-from freebsd-emulation@scc.nl) Received: (from daemon@localhost) by mail.scc.nl (8.9.3/8.9.3) id KAA15897 for emulation@FreeBSD.org; Fri, 26 Nov 1999 10:32:53 +0100 (CET) (envelope-from freebsd-emulation@scc.nl) Received: from GATEWAY by dwarf.hq.scc.nl with netnews for emulation@FreeBSD.org (emulation@FreeBSD.org) To: emulation@FreeBSD.org Date: Fri, 26 Nov 1999 10:32:44 +0100 From: Marcel Moolenaar Message-ID: <383E53BC.F679F7B3@scc.nl> Organization: SCC vof Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <14393.40502.584798.911817@jabberwock.rstcorp.com>, <4.2.2.19991126162208.00cd4880@imap.tassie.net.au> Subject: Re: Seagate Backup Exec for Linux? Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Scott Donovan wrote: > Yep We have it working on of all things 3.2-Release, doesn't seem to behave > on 3.3-Release though. Unfortunantely we didn;t do anything amazing, just > hacked the install script to think it was linux, branded the binary as a > Linux Binary and off it went. (Version 7.3 BTW) > > Perhaps something changed between 3.2-release and 3.2-stable in the emulation ? Lots has changed. For a start, it doesn't announce itself as FreeBSD in Linux mode, but as Linux. You have to take care when running scripts. You'd best run them explicitely with /compat/linux/bin/sh... -- Marcel Moolenaar mailto:marcel@scc.nl SCC Internetworking & Databases http://www.scc.nl/ The FreeBSD project mailto:marcel@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 Nov 26 5:16:10 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from fep9.mail.ozemail.net (fep9.mail.ozemail.net [203.2.192.103]) by hub.freebsd.org (Postfix) with ESMTP id E528415007; Fri, 26 Nov 1999 05:16:04 -0800 (PST) (envelope-from c9710216@atlas.newcastle.edu.au) Received: from atlas.newcastle.edu.au (slnew54p36.ozemail.com.au [203.108.151.52]) by fep9.mail.ozemail.net (8.9.0/8.6.12) with ESMTP id AAA19109; Sat, 27 Nov 1999 00:15:57 +1100 (EST) Message-ID: <383E95BB.ED55A357@atlas.newcastle.edu.au> Date: Sat, 27 Nov 1999 01:14:19 +1100 From: "Jacob A. Hart" X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 4.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: Kris Kirby Cc: freebsd-chat@freebsd.org, freebsd-emulation@freebsd.org Subject: Re: Unreal Tournament (demo) playable under FreeBSD. Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Jacob A. Hart wrote: >> Relevant hardware configuration: >> >> Intel PII Celeron @ 464MHz >> 128MB RAM >> 3DFX Voodoo II (SLI) >> Creative AWE64 PnP > >Voodoo2? When did this make it? I've got one I've been _itching_ to use >under FreeBSD.... I've been using my Voodoo II cards for around 7-8 months under FreeBSD... guess I should have said something earlier ;-) The Voodoo II Linux-Glide drivers aren't part of ports, AFAIK, so you'll have to snarf the RPM and install it manually. You can get it from: http://www.3dfxgamers.com/docs/IO/36/ATT/Glide_V2-2.53-1.i386.glibc.rpm Then just fire up Q3A or UT. >-- >Kris Kirby, KE4AHR > >------------------------------------------- >TGIFreeBSD... 'Nuff said. -jake (obituary) Powered by FreeBSD c9710216@atlas.newcastle.edu.au http://www.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 Nov 26 11:36:48 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from assurance.rstcorp.com (assurance.rstcorp.com [216.112.242.2]) by hub.freebsd.org (Postfix) with ESMTP id 897A415B72 for ; Fri, 26 Nov 1999 11:36:39 -0800 (PST) (envelope-from vshah@rstcorp.com) Received: (from uucp@localhost) by assurance.rstcorp.com (8.8.8/8.8.8) id OAA04170; Fri, 26 Nov 1999 14:37:52 -0500 Received: from proxy.rstcorp.com(216.112.242.5) by assurance.rstcorp.com via smap (V2.0) id xma004165; Fri, 26 Nov 99 19:37:35 GMT Received: from jabberwock.rstcorp.com (jabberwock.rstcorp.com [192.168.2.98]) by sandbox.rstcorp.com (8.8.8+Sun/8.8.8) with ESMTP id OAA07528; Fri, 26 Nov 1999 14:33:52 -0500 (EST) Received: by jabberwock.rstcorp.com (Postfix, from userid 93) id 4EBC15AD3; Fri, 26 Nov 1999 14:36:11 -0500 (EST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14398.57642.861319.487652@jabberwock.rstcorp.com> Date: Fri, 26 Nov 1999 14:36:10 -0500 (EST) From: "Viren R.Shah" To: Scott Donovan Cc: freebsd-emulation@FreeBSD.ORG Subject: Re: Seagate Backup Exec for Linux? In-Reply-To: <4.2.2.19991126162208.00cd4880@imap.tassie.net.au> References: <14393.40502.584798.911817@jabberwock.rstcorp.com> <4.2.2.19991126162208.00cd4880@imap.tassie.net.au> X-Mailer: VM 6.72 under 19.16 "Lille" XEmacs Lucid Reply-To: "Viren R.Shah" X-Face: )~y+U*K:yzjz{q<5lzpI_SVef'U.])9g[C9`1N@]u3,MHY7f*l7C)[_NjM4y4K8$uIUh|\u (K&&HS6,M!61&GMTk'mqmB/Qg]]X}"?TzsFl]"2v!bl8']dma.:^IY^a[lbOI>U:b<~FyK3q-p{HmZ mn~g.`~BE!5{2D:}Yi+\_KkWe?XaHj9$ko1k8iKLYv5*_2c8"G=?Up[}hn+7RNM(bzBZ_wWk6!Pf&B ?3Tcm7M7B~W%K/I0aX3]*=jP?aM]H6HBPT`oLk+0n^_;N\2\%|Rhy;p}34Q.jEsM\qtnxcm;ag%Nq Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >>>>> "Scott" == Scott Donovan writes: >> Has anyone gotten the "Seagate Backup Exec Agent" for Linux working on >> a -stable system? We are curently trying to get this to run, and it Scott> Yep We have it working on of all things 3.2-Release, doesn't Scott> seem to behave on 3.3-Release though. Unfortunantely we didn;t Scott> do anything amazing, just hacked the install script to think Scott> it was linux, branded the binary as a Linux Binary and off it Scott> went. (Version 7.3 BTW) Scott> Perhaps something changed between 3.2-release and 3.2-stable Scott> in the emulation ? Well, I just looked thru my log file, and saw: Nov 22 13:58:14 jabberwock last message repeated 51 times Nov 22 13:58:15 jabberwock /kernel: linux: syscall ustat is obsoleted or not implemented (pid=35198) Does anyone know whether the emulation of ustat was removed form the linux compatibility code? Viren -- Viren R. Shah, viren @ rstcorp . com, http://www.rstcorp.com/~vshah/ If you understand what you're doing, you are not learning anything To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Sat Nov 27 2:56:54 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from mail.scc.nl (node1374.a2000.nl [62.108.19.116]) by hub.freebsd.org (Postfix) with ESMTP id 7EE6F1517C for ; Sat, 27 Nov 1999 02:56:43 -0800 (PST) (envelope-from freebsd-emulation@scc.nl) Received: (from daemon@localhost) by mail.scc.nl (8.9.3/8.9.3) id LAA85874 for emulation@FreeBSD.org; Sat, 27 Nov 1999 11:39:16 +0100 (CET) (envelope-from freebsd-emulation@scc.nl) Received: from GATEWAY by dwarf.hq.scc.nl with netnews for emulation@FreeBSD.org (emulation@FreeBSD.org) To: emulation@FreeBSD.org Date: Sat, 27 Nov 1999 11:39:11 +0100 From: Marcel Moolenaar Message-ID: <383FB4CF.CA6F6E79@scc.nl> Organization: SCC vof Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <4.2.2.19991126162208.00cd4880@imap.tassie.net.au>, <14398.57642.861319.487652@jabberwock.rstcorp.com> Subject: Re: Seagate Backup Exec for Linux? Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org "Viren R.Shah" wrote: > > Well, I just looked thru my log file, and saw: > > Nov 22 13:58:14 jabberwock last message repeated 51 times > Nov 22 13:58:15 jabberwock /kernel: linux: syscall ustat is obsoleted > or not implemented (pid=35198) > > Does anyone know whether the emulation of ustat was removed form the > linux compatibility code? It has not been removed. We now simply emit a diagnostic message so that people can find out why their Linux binary doesn't work. I'll try to implement it ASAP. Remember that it will live in -current for a couple of days before it will be merged to -stable. -- Marcel Moolenaar mailto:marcel@scc.nl SCC Internetworking & Databases http://www.scc.nl/ The FreeBSD project mailto:marcel@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Sat Nov 27 4:35:40 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from post.mail.nl.demon.net (post-11.mail.nl.demon.net [194.159.73.21]) by hub.freebsd.org (Postfix) with ESMTP id 1DE2E14CBA for ; Sat, 27 Nov 1999 04:35:35 -0800 (PST) (envelope-from marcel@scc.nl) Received: from [212.238.132.94] (helo=scones.sup.scc.nl) by post.mail.nl.demon.net with esmtp (Exim 2.12 #1) id 11rh4l-000MA3-00 for emulation@FreeBSD.org; Sat, 27 Nov 1999 12:35:39 +0000 Received: from scc.nl (scones.sup.scc.nl [192.168.2.4]) by scones.sup.scc.nl (8.9.3/8.9.3) with ESMTP id NAA59889 for ; Sat, 27 Nov 1999 13:35:31 +0100 (CET) (envelope-from marcel@scc.nl) Message-ID: <383FD013.703DD84D@scc.nl> Date: Sat, 27 Nov 1999 13:35:31 +0100 From: Marcel Moolenaar Organization: SCC vof X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.5 i386) X-Accept-Language: en MIME-Version: 1.0 To: emulation@FreeBSD.org Subject: PLEASE REVIEW: implementation of linux_ustat syscall Content-Type: multipart/mixed; boundary="------------29A391E6669B317013714B37" Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a multi-part message in MIME format. --------------29A391E6669B317013714B37 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, Please review the following implementation of the linux_ustat syscall. It will be committed shortly when noone objects. thanks, -- Marcel Moolenaar mailto:marcel@scc.nl SCC Internetworking & Databases http://www.scc.nl/ The FreeBSD project mailto:marcel@FreeBSD.org --------------29A391E6669B317013714B37 Content-Type: text/plain; charset=us-ascii; name="diff.out" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="diff.out" Index: linux_stats.c =================================================================== RCS file: /home/ncvs/src/sys/i386/linux/linux_stats.c,v retrieving revision 1.16 diff -u -r1.16 linux_stats.c --- linux_stats.c 1999/11/08 03:33:21 1.16 +++ linux_stats.c 1999/11/27 12:25:59 @@ -40,6 +40,7 @@ #include #include #include +#include #include #include @@ -68,6 +69,14 @@ u_long __unused5; }; +struct linux_ustat +{ + int f_tfree; + u_long f_tinode; + char f_fname[6]; + char f_fpack[6]; +}; + static int newstat_copyout(struct stat *buf, void *ubuf) { @@ -271,4 +280,57 @@ linux_statfs_buf.fnamelen = MAXNAMLEN; return copyout((caddr_t)&linux_statfs_buf, (caddr_t)args->buf, sizeof(struct linux_statfs_buf)); +} + +int +linux_ustat(p, uap) + struct proc *p; + struct linux_ustat_args *uap; +{ + struct linux_ustat lu; + dev_t dev; + struct vnode *vp; + struct statfs *stat; + int error; + +#ifdef DEBUG + printf("Linux-emul(%ld): ustat(%d, *)\n", (long)p->p_pid, uap->dev); +#endif + + /* Allow only root */ + error = suser(p); + if (error) + return (error); + + /* + * lu.f_fname and lu.f_fpack are not used. They are always zeroed. + * lu.f_tinode and lu.f_tfree are set from the device's super block. + */ + bzero(&lu, sizeof(lu)); + + /* + * XXX - Don't return an error if we can't find a vnode for the + * device. Our dev_t is 32-bits whereas Linux only has a 16-bits + * dev_t. The dev_t that is used now may as well be a truncated + * dev_t returned from previous syscalls. Just return a bzeroed + * ustat in that case. + */ + dev = makebdev(uap->dev >> 8, uap->dev & 0xFF); + if (vfinddev(dev, VBLK, &vp)) { + simple_lock(&mountlist_slock); + error = (vp->v_mount == NULL) ? EINVAL : 0; + if (!error) { + stat = &(vp->v_mount->mnt_stat); + error = VFS_STATFS(vp->v_mount, stat, p); + if (!error) { + lu.f_tfree = stat->f_bfree; + lu.f_tinode = stat->f_ffree; + } + } + simple_unlock(&mountlist_slock); + if (error) + return (error); + } + + return (copyout(&lu, uap->ubuf, sizeof(lu))); } --------------29A391E6669B317013714B37-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Sat Nov 27 9:43:56 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from smtp7.atl.mindspring.net (smtp7.atl.mindspring.net [207.69.128.51]) by hub.freebsd.org (Postfix) with ESMTP id 2363014CF4; Sat, 27 Nov 1999 09:43:28 -0800 (PST) (envelope-from vsilyaev@mindspring.com) Received: from mindspring.com (user-2iveaea.dialup.mindspring.com [165.247.41.202]) by smtp7.atl.mindspring.net (8.9.3/8.8.5) with ESMTP id MAA04711; Sat, 27 Nov 1999 12:43:26 -0500 (EST) Received: (from vsilyaev@localhost) by mindspring.com (8.9.3/8.9.3) id MAA01184; Sat, 27 Nov 1999 12:43:23 -0500 (EST) (envelope-from vsilyaev) Message-Id: <199911271743.MAA01184@mindspring.com> Subject: ANNOUNCE: VMware 1.1 for Linux on the FreeBSD To: freebsd-hackers@freebsd.org Date: Sat, 27 Nov 1999 12:43:22 -0500 (EST) Cc: emulation@freebsd.org From: "Vladimir N. Silyaev" X-Reply-To-Back: "Vladimir N. Silyaev" X-Touch-Of-Mind: vns@delta.odessa.ua X-Mailer: ELM [version 2.4ME+ PL61 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, At this time I can successful run the VMware 1.1 for Linux on the FreeBSD. It could be used to run Linux on the FreeBSD box, or to run another FreeBSD on the same box. Of course you can run some piece of Microsoft products: MS DOS, Windows 9X, Windows NT and etc. You can download the port (NOTE: -current only) from: http://www.mindspring.com/~vsilyaev/vmware/vmware.tar.gz Some more information about this port available at: http://www.mindspring.com/~vsilyaev/vmware/ General information about VMware available at: http://www.vmware.com Vladimir N. Silyaev To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Sat Nov 27 10:28:14 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from herring.nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (Postfix) with ESMTP id 5218314C36; Sat, 27 Nov 1999 10:28:07 -0800 (PST) (envelope-from dfr@nlsystems.com) Received: from salmon.nlsystems.com (salmon.nlsystems.com [10.0.0.3]) by herring.nlsystems.com (8.9.3/8.8.8) with ESMTP id SAA96125; Sat, 27 Nov 1999 18:33:41 GMT (envelope-from dfr@nlsystems.com) Date: Sat, 27 Nov 1999 18:33:41 +0000 (GMT) From: Doug Rabson To: "Vladimir N. Silyaev" Cc: freebsd-hackers@freebsd.org, emulation@freebsd.org Subject: Re: ANNOUNCE: VMware 1.1 for Linux on the FreeBSD In-Reply-To: <199911271743.MAA01184@mindspring.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 Sat, 27 Nov 1999, Vladimir N. Silyaev wrote: > Hi, > > At this time I can successful run the VMware 1.1 for Linux on the FreeBSD. > It could be used to run Linux on the FreeBSD box, or to run another FreeBSD > on the same box. Of course you can run some piece of Microsoft products: > MS DOS, Windows 9X, Windows NT and etc. You can download the port > (NOTE: -current only) from: > > http://www.mindspring.com/~vsilyaev/vmware/vmware.tar.gz > > > Some more information about this port available at: > http://www.mindspring.com/~vsilyaev/vmware/ > > General information about VMware available at: > http://www.vmware.com > > > Vladimir N. Silyaev Well done indeed! This is excellent work! -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 442 9037 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Sat Nov 27 12: 2:54 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from mass.cdrom.com (castles559.castles.com [208.214.165.123]) by hub.freebsd.org (Postfix) with ESMTP id 71B3B155EA; Sat, 27 Nov 1999 12:02:39 -0800 (PST) (envelope-from msmith@mass.cdrom.com) Received: from mass.cdrom.com (localhost [127.0.0.1]) by mass.cdrom.com (8.9.3/8.9.3) with ESMTP id MAA93837; Sat, 27 Nov 1999 12:03:13 -0800 (PST) (envelope-from msmith@mass.cdrom.com) Message-Id: <199911272003.MAA93837@mass.cdrom.com> X-Mailer: exmh version 2.1.1 10/15/1999 To: "Vladimir N. Silyaev" Cc: freebsd-hackers@freebsd.org, emulation@freebsd.org Subject: Re: ANNOUNCE: VMware 1.1 for Linux on the FreeBSD In-reply-to: Your message of "Sat, 27 Nov 1999 12:43:22 EST." <199911271743.MAA01184@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 27 Nov 1999 12:03:13 -0800 From: Mike Smith Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is great stuff, unfortunately VMware 1.1.1-330 isn't available anymore. Any chance of you updating your port to work with 1.1.2-364? > At this time I can successful run the VMware 1.1 for Linux on the FreeBSD. > It could be used to run Linux on the FreeBSD box, or to run another FreeBSD > on the same box. Of course you can run some piece of Microsoft products: > MS DOS, Windows 9X, Windows NT and etc. You can download the port > (NOTE: -current only) from: > > http://www.mindspring.com/~vsilyaev/vmware/vmware.tar.gz > > > Some more information about this port available at: > http://www.mindspring.com/~vsilyaev/vmware/ > > General information about VMware available at: > http://www.vmware.com > > > Vladimir N. Silyaev > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > -- \\ Give a man a fish, and you feed him for a day. \\ Mike Smith \\ Tell him he should learn how to fish himself, \\ msmith@freebsd.org \\ and he'll hate you for a lifetime. \\ 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 Sat Nov 27 12:17:10 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from peedub.muc.de (peedub.muc.de [193.149.49.109]) by hub.freebsd.org (Postfix) with ESMTP id C866414CCC; Sat, 27 Nov 1999 12:17:04 -0800 (PST) (envelope-from garyj@peedub.muc.de) Received: from peedub.muc.de (localhost [127.0.0.1]) by peedub.muc.de (8.9.3/8.6.9) with ESMTP id VAA08599; Sat, 27 Nov 1999 21:15:43 +0100 (CET) Message-Id: <199911272015.VAA08599@peedub.muc.de> X-Mailer: exmh version 2.1.0 09/18/1999 To: Mike Smith Cc: "Vladimir N. Silyaev" , freebsd-hackers@FreeBSD.ORG, emulation@FreeBSD.ORG Subject: Re: ANNOUNCE: VMware 1.1 for Linux on the FreeBSD Reply-To: Gary Jennejohn In-reply-to: Your message of "Sat, 27 Nov 1999 12:03:13 PST." <199911272003.MAA93837@mass.cdrom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 27 Nov 1999 21:15:43 +0100 From: Gary Jennejohn Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Mike Smith writes: > >This is great stuff, unfortunately VMware 1.1.1-330 isn't available >anymore. Any chance of you updating your port to work with 1.1.2-364? > I just grabbed VMware-1.1.1-330.tar.gz using his port, no problem. Couldn't run vmware, it complains that it can't find /dev/tty0 and exits. >> At this time I can successful run the VMware 1.1 for Linux on the FreeBSD. >> It could be used to run Linux on the FreeBSD box, or to run another FreeBSD >> on the same box. Of course you can run some piece of Microsoft products: >> MS DOS, Windows 9X, Windows NT and etc. You can download the port >> (NOTE: -current only) from: >> >> http://www.mindspring.com/~vsilyaev/vmware/vmware.tar.gz >> >> >> Some more information about this port available at: >> http://www.mindspring.com/~vsilyaev/vmware/ >> >> General information about VMware available at: >> http://www.vmware.com >> >> >> Vladimir N. Silyaev >> >> >> >> To Unsubscribe: send mail to majordomo@FreeBSD.org >> with "unsubscribe freebsd-hackers" in the body of the message >> > >-- >\\ Give a man a fish, and you feed him for a day. \\ Mike Smith >\\ Tell him he should learn how to fish himself, \\ msmith@freebsd.org >\\ and he'll hate you for a lifetime. \\ msmith@cdrom.com > > > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-emulation" in the body of the message > --- Gary Jennejohn / garyj@muc.de garyj@fkr.cpqcorp.net gj@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Sat Nov 27 12:26:15 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from smtp5.mindspring.com (smtp5.mindspring.com [207.69.200.82]) by hub.freebsd.org (Postfix) with ESMTP id D611E14EE3; Sat, 27 Nov 1999 12:26:09 -0800 (PST) (envelope-from vsilyaev@mindspring.com) Received: from mindspring.com (user-2ive63o.dialup.mindspring.com [165.247.24.120]) by smtp5.mindspring.com (8.8.5/8.8.5) with ESMTP id PAA00234; Sat, 27 Nov 1999 15:26:04 -0500 (EST) Received: (from vsilyaev@localhost) by mindspring.com (8.9.3/8.9.3) id PAA01324; Sat, 27 Nov 1999 15:26:01 -0500 (EST) (envelope-from vsilyaev) Message-Id: <199911272026.PAA01324@mindspring.com> Subject: Re: ANNOUNCE: VMware 1.1 for Linux on the FreeBSD In-Reply-To: <199911272003.MAA93837@mass.cdrom.com> from Mike Smith at "Nov 27, 1999 12:03:13 pm" To: Mike Smith Date: Sat, 27 Nov 1999 15:26:01 -0500 (EST) Cc: "Vladimir N. Silyaev" , freebsd-hackers@freebsd.org, emulation@freebsd.org From: "Vladimir N. Silyaev" X-Reply-To-Back: "Vladimir N. Silyaev" X-Touch-Of-Mind: vns@delta.odessa.ua X-Mailer: ELM [version 2.4ME+ PL61 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi > This is great stuff, unfortunately VMware 1.1.1-330 isn't available > anymore. I'm sorry what is mean not available? At this time you can download it from the VMware download sites (but you are need to know right URL, and port really know it). When you are obatined license, only mean major version number. From VMware website: Product [VMware 1.1.x for Linux____________________] > Any chance of you updating your port to work with 1.1.2-364? Sure. But right now, I don't investegate the difference between these versions. And I think will be very helpful to do some testing of the existing versions, because this driver doing some very unclean things with virtual memory. Vladimir N. Silyaev To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Sat Nov 27 12:27:15 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from mass.cdrom.com (castles559.castles.com [208.214.165.123]) by hub.freebsd.org (Postfix) with ESMTP id 013F615498; Sat, 27 Nov 1999 12:27:09 -0800 (PST) (envelope-from msmith@mass.cdrom.com) Received: from mass.cdrom.com (localhost [127.0.0.1]) by mass.cdrom.com (8.9.3/8.9.3) with ESMTP id MAA94237; Sat, 27 Nov 1999 12:27:43 -0800 (PST) (envelope-from msmith@mass.cdrom.com) Message-Id: <199911272027.MAA94237@mass.cdrom.com> X-Mailer: exmh version 2.1.1 10/15/1999 To: Mike Smith Cc: "Vladimir N. Silyaev" , freebsd-hackers@freebsd.org, emulation@freebsd.org Subject: Re: ANNOUNCE: VMware 1.1 for Linux on the FreeBSD In-reply-to: Your message of "Sat, 27 Nov 1999 12:03:13 PST." <199911272003.MAA93837@mass.cdrom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 27 Nov 1999 12:27:43 -0800 From: Mike Smith Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > This is great stuff, unfortunately VMware 1.1.1-330 isn't available > anymore. Any chance of you updating your port to work with 1.1.2-364? I take that back; it is available, but the 1.1.2 version is current. Now to see if I can wrangle this into working... -- \\ Give a man a fish, and you feed him for a day. \\ Mike Smith \\ Tell him he should learn how to fish himself, \\ msmith@freebsd.org \\ and he'll hate you for a lifetime. \\ 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 Sat Nov 27 12:35:19 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from smtp6.mindspring.com (smtp6.mindspring.com [207.69.200.110]) by hub.freebsd.org (Postfix) with ESMTP id 8F2F514EE5; Sat, 27 Nov 1999 12:35:14 -0800 (PST) (envelope-from vsilyaev@mindspring.com) Received: from mindspring.com (user-2ive63o.dialup.mindspring.com [165.247.24.120]) by smtp6.mindspring.com (8.9.3/8.8.5) with ESMTP id PAA28389; Sat, 27 Nov 1999 15:35:08 -0500 (EST) Received: (from vsilyaev@localhost) by mindspring.com (8.9.3/8.9.3) id PAA01410; Sat, 27 Nov 1999 15:35:06 -0500 (EST) (envelope-from vsilyaev) Message-Id: <199911272035.PAA01410@mindspring.com> Subject: Re: ANNOUNCE: VMware 1.1 for Linux on the FreeBSD In-Reply-To: <199911272015.VAA08599@peedub.muc.de> from Gary Jennejohn at "Nov 27, 1999 09:15:43 pm" To: Gary Jennejohn Date: Sat, 27 Nov 1999 15:35:06 -0500 (EST) Cc: Mike Smith , "Vladimir N. Silyaev" , freebsd-hackers@FreeBSD.ORG, emulation@FreeBSD.ORG From: "Vladimir N. Silyaev" X-Reply-To-Back: "Vladimir N. Silyaev" X-Touch-Of-Mind: vns@delta.odessa.ua X-Mailer: ELM [version 2.4ME+ PL61 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi > >This is great stuff, unfortunately VMware 1.1.1-330 isn't available > >anymore. Any chance of you updating your port to work with 1.1.2-364? > > > > I just grabbed VMware-1.1.1-330.tar.gz using his port, no problem. > > Couldn't run vmware, it complains that it can't find /dev/tty0 and > exits. Did you read section about Full Screen mode from README.FreeBSD file: - Fullscreen modes VMware would not even started session when our DISPLAY variable will be like ':0.0'. So to run VMware on the local display you are need to change DISPLAY environment to something like 'localhost:0.0'. For example use the following commands (for bourne shell): DISPLAY=localhost${DISPLAY};export DISPLAY Vladimir Silyaev To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Sat Nov 27 13:55:15 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from mass.cdrom.com (castles559.castles.com [208.214.165.123]) by hub.freebsd.org (Postfix) with ESMTP id D1DB315247; Sat, 27 Nov 1999 13:55:06 -0800 (PST) (envelope-from msmith@mass.cdrom.com) Received: from mass.cdrom.com (localhost [127.0.0.1]) by mass.cdrom.com (8.9.3/8.9.3) with ESMTP id NAA95151; Sat, 27 Nov 1999 13:55:34 -0800 (PST) (envelope-from msmith@mass.cdrom.com) Message-Id: <199911272155.NAA95151@mass.cdrom.com> X-Mailer: exmh version 2.1.1 10/15/1999 To: "Vladimir N. Silyaev" Cc: freebsd-hackers@freebsd.org, emulation@freebsd.org Subject: Re: ANNOUNCE: VMware 1.1 for Linux on the FreeBSD In-reply-to: Your message of "Sat, 27 Nov 1999 12:43:22 EST." <199911271743.MAA01184@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 27 Nov 1999 13:55:33 -0800 From: Mike Smith Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > At this time I can successful run the VMware 1.1 for Linux on the FreeBSD. Ok. Now I have some real commentary, and sorry for the erroneous complaint before. Firstly; the detection you do for a patched Linux module is great. I was very happy to be told off for not loading a new one first. 8) Secondly; you don't install the vmware-wizard script. Are there others that you might have missed? -- \\ Give a man a fish, and you feed him for a day. \\ Mike Smith \\ Tell him he should learn how to fish himself, \\ msmith@freebsd.org \\ and he'll hate you for a lifetime. \\ 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 Sat Nov 27 15:58:53 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from smtp6.mindspring.com (smtp6.mindspring.com [207.69.200.110]) by hub.freebsd.org (Postfix) with ESMTP id 0FD0C14E3D; Sat, 27 Nov 1999 15:58:41 -0800 (PST) (envelope-from vsilyaev@mindspring.com) Received: from mindspring.com (user-2iveap4.dialup.mindspring.com [165.247.43.36]) by smtp6.mindspring.com (8.9.3/8.8.5) with ESMTP id SAA12757; Sat, 27 Nov 1999 18:58:39 -0500 (EST) Received: (from vsilyaev@localhost) by mindspring.com (8.9.3/8.9.3) id SAA01856; Sat, 27 Nov 1999 18:58:37 -0500 (EST) (envelope-from vsilyaev) Message-Id: <199911272358.SAA01856@mindspring.com> Subject: Re: ANNOUNCE: VMware 1.1 for Linux on the FreeBSD In-Reply-To: <199911272155.NAA95151@mass.cdrom.com> from Mike Smith at "Nov 27, 1999 01:55:33 pm" To: Mike Smith Date: Sat, 27 Nov 1999 18:58:36 -0500 (EST) Cc: "Vladimir N. Silyaev" , freebsd-hackers@freebsd.org, emulation@freebsd.org From: "Vladimir N. Silyaev" X-Reply-To-Back: "Vladimir N. Silyaev" X-Touch-Of-Mind: vns@delta.odessa.ua X-Mailer: ELM [version 2.4ME+ PL61 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi > Secondly; you don't install the vmware-wizard script. Are there others > that you might have missed? What is the sense to install this script, when it doesn't have any chance to working??? It really very dependent from linux internals. At this time only one application working the vmware, nor vmware-wizard, nor something else. Ok. New port, based on the VMware 1.1.2 will be install all the executables. This port available right now from the old url: http://www.mindspring.com/~vsilyaev/vmware/vmware.tar.gz Nothing changed, only version number and user level application. Vladimir Silyaev. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Sat Nov 27 16:26:32 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from mass.cdrom.com (castles559.castles.com [208.214.165.123]) by hub.freebsd.org (Postfix) with ESMTP id 614BB14BC8 for ; Sat, 27 Nov 1999 16:26:30 -0800 (PST) (envelope-from msmith@mass.cdrom.com) Received: from mass.cdrom.com (localhost [127.0.0.1]) by mass.cdrom.com (8.9.3/8.9.3) with ESMTP id QAA95499; Sat, 27 Nov 1999 16:27:04 -0800 (PST) (envelope-from msmith@mass.cdrom.com) Message-Id: <199911280027.QAA95499@mass.cdrom.com> X-Mailer: exmh version 2.1.1 10/15/1999 To: "Vladimir N. Silyaev" Cc: emulation@freebsd.org Subject: Re: ANNOUNCE: VMware 1.1 for Linux on the FreeBSD In-reply-to: Your message of "Sat, 27 Nov 1999 18:58:36 EST." <199911272358.SAA01856@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 27 Nov 1999 16:27:04 -0800 From: Mike Smith Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I've dropped this off -hackers, since it's nitty-gritty time. > Hi > > Secondly; you don't install the vmware-wizard script. Are there others > > that you might have missed? > What is the sense to install this script, when it doesn't have any > chance to working??? It really very dependent from linux internals. Ah, ok. I had no idea. > At this time only one application working the vmware, nor vmware-wizard, > nor something else. > > Ok. New port, based on the VMware 1.1.2 will be install all the executables. Cool, thanks! Next step will be to work out how we can either fix their wizard or tweak the setup so that it's not offered as an option. Is the wizard tool the script itself, or a binary application? Sorry for the trivial questions - you've been through all this and I haven't yet. -- \\ Give a man a fish, and you feed him for a day. \\ Mike Smith \\ Tell him he should learn how to fish himself, \\ msmith@freebsd.org \\ and he'll hate you for a lifetime. \\ 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 Sat Nov 27 17:14:47 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from smtp6.mindspring.com (smtp6.mindspring.com [207.69.200.110]) by hub.freebsd.org (Postfix) with ESMTP id BB7DA14E3D; Sat, 27 Nov 1999 17:14:44 -0800 (PST) (envelope-from vsilyaev@mindspring.com) Received: from mindspring.com (user-2iveap4.dialup.mindspring.com [165.247.43.36]) by smtp6.mindspring.com (8.9.3/8.8.5) with ESMTP id UAA20128; Sat, 27 Nov 1999 20:14:42 -0500 (EST) Received: (from vsilyaev@localhost) by mindspring.com (8.9.3/8.9.3) id UAA03593; Sat, 27 Nov 1999 20:14:41 -0500 (EST) (envelope-from vsilyaev) Message-Id: <199911280114.UAA03593@mindspring.com> Subject: Re: ANNOUNCE: VMware 1.1 for Linux on the FreeBSD In-Reply-To: <199911280027.QAA95499@mass.cdrom.com> from Mike Smith at "Nov 27, 1999 04:27:04 pm" To: Mike Smith Date: Sat, 27 Nov 1999 20:14:40 -0500 (EST) Cc: "Vladimir N. Silyaev" , emulation@freebsd.org From: "Vladimir N. Silyaev" X-Reply-To-Back: "Vladimir N. Silyaev" X-Touch-Of-Mind: vns@delta.odessa.ua X-Mailer: ELM [version 2.4ME+ PL61 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Cool, thanks! Next step will be to work out how we can either fix their > wizard or tweak the setup so that it's not offered as an option. I think, currently we are have a much more important leaks. - virtual networking - fullscreen mode - floppy disk detection - serial ports - support for other hardware: parallel port, sound card > Is the > wizard tool the script itself, or a binary application? > > Sorry for the trivial questions - you've been through all this and I > haven't yet. > It's really easy question: > du /usr/local/lib/vmware/bin/vmware-wizard 1160 /usr/local/lib/vmware/bin/vmware-wizard > size /usr/local/lib/vmware/bin/vmware-wizard text data bss dec hex filename 782319 45040 75452 902811 dc69b /usr/local/lib/vmware/bin/vmware-wizard > file /usr/local/lib/vmware/bin/vmware-wizard /usr/local/lib/vmware/bin/vmware-wizard: ELF 32-bit LSB executable, Intel 80386, version 1, dynamically linked, not stripped But I believe that application size explainable by statically linked Motif. Vladimir Silyaev. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Sat Nov 27 19:20:34 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from mass.cdrom.com (castles511.castles.com [208.214.165.75]) by hub.freebsd.org (Postfix) with ESMTP id 50FDC14EF6; Sat, 27 Nov 1999 19:20:30 -0800 (PST) (envelope-from msmith@mass.cdrom.com) Received: from mass.cdrom.com (localhost [127.0.0.1]) by mass.cdrom.com (8.9.3/8.9.3) with ESMTP id TAA97385; Sat, 27 Nov 1999 19:21:01 -0800 (PST) (envelope-from msmith@mass.cdrom.com) Message-Id: <199911280321.TAA97385@mass.cdrom.com> X-Mailer: exmh version 2.1.1 10/15/1999 To: "Vladimir N. Silyaev" Cc: Mike Smith , emulation@freebsd.org Subject: Re: ANNOUNCE: VMware 1.1 for Linux on the FreeBSD In-reply-to: Your message of "Sat, 27 Nov 1999 20:14:40 EST." <199911280114.UAA03593@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 27 Nov 1999 19:21:01 -0800 From: Mike Smith Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > Cool, thanks! Next step will be to work out how we can either fix their > > wizard or tweak the setup so that it's not offered as an option. > > I think, currently we are have a much more important leaks. > - virtual networking > - fullscreen mode > - floppy disk detection > - serial ports > - support for other hardware: parallel port, sound card Ok. Sounds like a reasonable set of priorities. I would add "correct detection of available memory", since it's claiming that only 32MB is available on a 128MB machine. However, I'm currently having no luck with the configuration editor either; I can successfully edit the configuration, but when saving it VMware dies with (USER) Exiting on unexpected signal. Panic without a VM after writing just one line to the configuration file: #!/usr/local/lib/vmware/bin/vmware I note also that you don't install vmware setuid. Probably a good idea, but one that will trip a few people up. BTW, having looked more closely at the test you use for detecting whether the right linux module is loaded I'm not so sure it's entirely good: it does presume that the kernel sources are installed and that the running linux module was built from /sys. However, I can't come up with a better simple solution, so I'm not going to complain. 8) -- \\ Give a man a fish, and you feed him for a day. \\ Mike Smith \\ Tell him he should learn how to fish himself, \\ msmith@freebsd.org \\ and he'll hate you for a lifetime. \\ 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 Sat Nov 27 19:57:22 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from fb01.eng00.mindspring.net (fb01.eng00.mindspring.net [207.69.200.167]) by hub.freebsd.org (Postfix) with ESMTP id 62BDE14CB6; Sat, 27 Nov 1999 19:57:15 -0800 (PST) (envelope-from vsilyaev@mindspring.com) Received: from mindspring.com (user-2ivea6o.dialup.mindspring.com [165.247.40.216]) by fb01.eng00.mindspring.net (8.9.3/8.8.5) with ESMTP id WAA23308; Sat, 27 Nov 1999 22:57:13 -0500 (EST) Received: (from vsilyaev@localhost) by mindspring.com (8.9.3/8.9.3) id WAA00650; Sat, 27 Nov 1999 22:57:11 -0500 (EST) (envelope-from vsilyaev) Message-Id: <199911280357.WAA00650@mindspring.com> Subject: Re: ANNOUNCE: VMware 1.1 for Linux on the FreeBSD In-Reply-To: <199911280321.TAA97385@mass.cdrom.com> from Mike Smith at "Nov 27, 1999 07:21:01 pm" To: Mike Smith Date: Sat, 27 Nov 1999 22:57:11 -0500 (EST) Cc: "Vladimir N. Silyaev" , emulation@freebsd.org From: "Vladimir N. Silyaev" X-Reply-To-Back: "Vladimir N. Silyaev" X-Touch-Of-Mind: vns@delta.odessa.ua X-Mailer: ELM [version 2.4ME+ PL61 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > I think, currently we are have a much more important leaks. > > - virtual networking > > - fullscreen mode > > - floppy disk detection > > - serial ports > > - support for other hardware: parallel port, sound card > > Ok. Sounds like a reasonable set of priorities. I would add "correct > detection of available memory", since it's claiming that only 32MB is > available on a 128MB machine. We are really need good emulation for the linux procfs. At this time before vmware executable started, shell script located at /usr/local/lib/vmware/bin/fakeprocfs.sh create some files, with hardcoded contents. As temporary solution, it may be have a sense to obtain values for these files via sysctl. > > However, I'm currently having no luck with the configuration editor > either; I can successfully edit the configuration, but when saving it > VMware dies with > > (USER) Exiting on unexpected signal. > Panic without a VM > > after writing just one line to the configuration file: It's sounds like the problem with linux emulator. Sometime I was encountered the same problem. (This problem encountered before vmware ever trying to open /dev/vmmon). > > #!/usr/local/lib/vmware/bin/vmware Try to load this configuration, and tune the parameters, then write back. I never encounter problems when overwritten existing configuration. Sounds funny, isn't it? > > I note also that you don't install vmware setuid. Probably a good idea, > but one that will trip a few people up. It's depend from emulation linux procfs. To have a world writeable /compat/linux/proc, it's not so good idea, I mean. > > BTW, having looked more closely at the test you use for detecting whether > the right linux module is loaded I'm not so sure it's entirely good: it > does presume that the kernel sources are installed and that the running > linux module was built from /sys. However, I can't come up with a better > simple solution, so I'm not going to complain. 8) > It's not the test to right linux emulator, but this is a test to right source code. Testing to right linux emulator is pretty simple: build small dummy kld, and try to load them, if it loaded succesfull this mean that we are have right version of the linux emulator and vice versa. Vladimir Silyaev. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message