From owner-freebsd-emulation@FreeBSD.ORG Tue Jan 27 04:07:20 2004 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D8C8916A4CE for ; Tue, 27 Jan 2004 04:07:20 -0800 (PST) Received: from supermarine.crossflight.co.uk (supermarine.crossflight.co.uk [195.172.72.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 061D843D5E for ; Tue, 27 Jan 2004 04:07:08 -0800 (PST) (envelope-from guy@crossflight.co.uk) Received: from mailscan1.crossflight.co.uk (mailscan1.crossflight.co.uk [195.172.72.202])i0RC75jp021366 for ; Tue, 27 Jan 2004 12:07:05 GMT Received: from crossflight.co.uk (unverified) by mailscan1.crossflight.co.uk (Content Technologies SMTPRS 4.3.1) with ESMTP id ; Tue, 27 Jan 2004 12:07:05 +0000 Message-ID: <40165464.5040605@crossflight.co.uk> Date: Tue, 27 Jan 2004 12:07:00 +0000 From: Guy Dawson Organization: Crossflight Limited User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 Cc: freebsd-emulation@freebsd.org References: <400DFED8.9060105@vbservices.net> <20040120234358.0667bb7e@vixen42.> In-Reply-To: <20040120234358.0667bb7e@vixen42.> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: microsoft windows services for linux X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jan 2004 12:07:21 -0000 kitsune wrote: > On Tue, 20 Jan 2004 23:23:52 -0500 > mjoyner wrote: > > >>>Windows Services for Unix is a compatibility layer that runs on >>>Linux to allow legacy Win32 applications to be compiled and used >>>on Linux. For applications which cannot be compiled, it features >>>an emulation package similar to WINE, but with all of the hidden >>>APIs implemented and with support for .NET web services. >>>Additionally, it also features a suite of GUI-based Linux >>>administration tools patterned off the GUI applications used to >>>configure Windows 2000. >> >>Anyone tried to get this Microsoft beast running? > > > Where did you grab that from? I all ways thought it was something to > give Windows a more unix like enviroment, like cygwin does... It is. It's a POSIX subsystem for Windows. MS hope it will encourage programs to be ported from UNIX(tm etc) to Windows. > I downloaded the free 3.5 one lately, and did not see any thing about > it running on linux. I think the OP has got it back to front... Guy -- -------------------------------------------------------------------- Guy Dawson I.T. Manager Crossflight Ltd guy@crossflight.co.uk 07973 797819 01753 776104 ********************************************************************** This email contains the views and opinions of a Crossflight Limited employee and at this stage are in no way a direct representation of Crossflight Limited. This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. To ensure the integrity and appropriate use of its email system, Crossflight Limited reserves the right to examine any email held on its email system or sent to or from it. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. We strongly recomend that you check this email with your own virus software as Crossflight Limited will not be held responsible for any damage caused by viruses as a result of opening this email. ********************************************************************** From owner-freebsd-emulation@FreeBSD.ORG Tue Jan 27 08:10:10 2004 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9CE7D16A4CE for ; Tue, 27 Jan 2004 08:10:10 -0800 (PST) Received: from smtp.enc.edu (fw1.enc.edu [63.85.52.127]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B7B243D68 for ; Tue, 27 Jan 2004 08:09:29 -0800 (PST) (envelope-from charles.n.owens@enc.edu) Received: from localhost (new-av.r.its.enc.edu [10.100.0.201]) by smtp.enc.edu (Postfix) with ESMTP id 2A3352CF12; Tue, 27 Jan 2004 11:08:33 -0500 (EST) Received: from smtp.enc.edu ([10.100.0.201]) by localhost (smtp.enc.edu [10.100.0.201]) (amavisd-new, port 10024) with ESMTP id 99794-02; Tue, 27 Jan 2004 11:08:32 -0500 (EST) Received: from enc.edu (r1s10.r.its.enc.edu [10.100.0.20]) by smtp.enc.edu (Postfix) with ESMTP id D4A472CF0D; Tue, 27 Jan 2004 11:08:32 -0500 (EST) Message-ID: <40168D1D.8040105@enc.edu> Date: Tue, 27 Jan 2004 11:09:01 -0500 From: "Charles N. Owens" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Mike Silbersack References: <20040124151131.I29927@odysseus.silby.com> <20040124191500.J29927@odysseus.silby.com> <20040125160052.GB620@einstein.lab> <20040126014941.L1599@odysseus.silby.com> In-Reply-To: <20040126014941.L1599@odysseus.silby.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at enc.edu cc: emulation@freebsd.org Subject: Re: New /dev/rtc driver for vmware X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jan 2004 16:10:10 -0000 Mke, Thanks for you work on this! I have a few minor questions: 1. how tricky will it be to get device node cloning to work (item #2 on your todo list)? Any idea when this might happen? 2. Does your new rtc work well under FreeBSD 4.x (4.9 to be specific)? With 4.x can it be used with multiple guests right now? (via manual mknod'ing of additional /dev/rtc* entriies, I'm guessing) Charles Mike Silbersack wrote: >On Sun, 25 Jan 2004, Marco Trentini wrote: > > > >>So, updating the port vmware (last version) and rtc (your version) not >>only I don't get more the panic at shutdown phase but I've seen a lot of >>improvements in my Virtual Machine. >> >>Now the audio/video (as .mp3 and .mpg) are very fluid. When I worked >>without the rtc module, the audio/video were unusable because them were >>reproduced jerkily. >> >>I've also noted a general improvement on the rapidity to run >>applications. >> >>A positive vote for me :) >> >>I run vmware on FreeBSD RELEASE-5.2 with "options HZ=1500" in my kernel >>and my virtual machine is a Windows 2000 Pro with SP4. >> >>Many thanks. >> >> >>-- >>Marco Trentini mark@remotelab.org >> >> > >I'm glad it's working well, but to be honest, it's not working correctly! >I just discovered that the way I wrote it, it will only work properly at >HZ=1000. I'll post the updated file once I have fixed it, which should be >soon. > >Actually, I should rephrase that... the way I wrote it, anything over >hz=1000 should work relatively well, but anything under hz=1000 would have >serious timing issues. > >Of course, I'd still appreciate it if people would continue testing... >just keep the hz setting near 1000. (I haven't found any other bugs yet.) > >Mike "Silby" Silbersack >_______________________________________________ >freebsd-emulation@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-emulation >To unsubscribe, send any mail to "freebsd-emulation-unsubscribe@freebsd.org" > > > -- \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ Charles N. Owens charles.n.owens@enc.edu http://www.enc.edu/~charles.n.owens Senior Technology Officer Information Technology Services Eastern Nazarene College ///////////////////////////////////////////////////////////////////////// From owner-freebsd-emulation@FreeBSD.ORG Tue Jan 27 19:59:49 2004 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8412916A4CE for ; Tue, 27 Jan 2004 19:59:49 -0800 (PST) Received: from relay.pair.com (relay.pair.com [209.68.1.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 4885343D5E for ; Tue, 27 Jan 2004 19:59:48 -0800 (PST) (envelope-from silby@silby.com) Received: (qmail 50652 invoked from network); 28 Jan 2004 03:59:47 -0000 Received: from niwun.pair.com (HELO localhost) (209.68.2.70) by relay.pair.com with SMTP; 28 Jan 2004 03:59:47 -0000 X-pair-Authenticated: 209.68.2.70 Date: Tue, 27 Jan 2004 21:59:45 -0600 (CST) From: Mike Silbersack To: "Charles N. Owens" In-Reply-To: <40168D1D.8040105@enc.edu> Message-ID: <20040127214912.T1121@odysseus.silby.com> References: <20040124151131.I29927@odysseus.silby.com> <20040125160052.GB620@einstein.lab><40168D1D.8040105@enc.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: emulation@freebsd.org Subject: Re: New /dev/rtc driver for vmware X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jan 2004 03:59:49 -0000 On Tue, 27 Jan 2004, Charles N. Owens wrote: > Mke, > > Thanks for you work on this! > > I have a few minor questions: > > 1. how tricky will it be to get device node cloning to work (item #2 > on your todo list)? Any idea when this might happen? > 2. Does your new rtc work well under FreeBSD 4.x (4.9 to be > specific)? With 4.x can it be used with multiple guests right > now? (via manual mknod'ing of additional /dev/rtc* entriies, I'm > guessing) > > Charles The new rtc should work fine on 4.x, at least for one guest. I can't give a good estimate on when I'll have device cloning implemented or whether mknoding additional nodes works, because I really don't understand the cloning situation well yet. :) I'll be posting a slightly updated version that works at hz != 1000 in the next two days or so, either way. Mike "Silby" Silbersack From owner-freebsd-emulation@FreeBSD.ORG Wed Jan 28 00:18:38 2004 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 59EFD16A4CE for ; Wed, 28 Jan 2004 00:18:38 -0800 (PST) Received: from relay.pair.com (relay.pair.com [209.68.1.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 78E5A43D48 for ; Wed, 28 Jan 2004 00:18:37 -0800 (PST) (envelope-from silby@silby.com) Received: (qmail 17796 invoked from network); 28 Jan 2004 08:18:36 -0000 Received: from niwun.pair.com (HELO localhost) (209.68.2.70) by relay.pair.com with SMTP; 28 Jan 2004 08:18:36 -0000 X-pair-Authenticated: 209.68.2.70 Date: Wed, 28 Jan 2004 02:18:35 -0600 (CST) From: Mike Silbersack To: emulation@freebsd.org Message-ID: <20040128021624.P1516@odysseus.silby.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: RTC driver committed X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jan 2004 08:18:38 -0000 Although there are more things I would like to do to the rtc driver (add device cloning, improve the rtc_read call to return a value like linux's rtc does, etc), I went ahead and committed my updated rtc driver to the ports collection. This is basically the version I sent out a few days ago, with the minor change that it now works properly at hz values other than 1000. Please tell me if there are any problems with it. Thanks, Mike "Silby" Silbersack From owner-freebsd-emulation@FreeBSD.ORG Sat Jan 31 12:16:20 2004 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9199116A4CE for ; Sat, 31 Jan 2004 12:16:20 -0800 (PST) Received: from blueshiftdesign.com (user-37ka4gj.dialup.mindspring.com [207.69.18.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3865443D1D for ; Sat, 31 Jan 2004 12:16:19 -0800 (PST) (envelope-from ddollar@grepninja.com) Received: from grepninja.com (neon.periodic.local [10.1.2.254]) by blueshiftdesign.com (Postfix) with ESMTP id 9F34B204D; Sat, 31 Jan 2004 15:16:17 -0500 (EST) Message-ID: <401C0CFD.2070003@grepninja.com> Date: Sat, 31 Jan 2004 15:15:57 -0500 From: David Dollar User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6b) Gecko/20040129 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-emulation@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: orlando.bassotto@ieo-research.it Subject: VMWare 3.2.1 :: SMP support broken in 5.2-RELEASE X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Jan 2004 20:16:20 -0000 I've recently tried to install VMWare 3.2.1 from portsemulation/vmware3) onto my 5.2-RELEASE system. I'm running an SMP kernel, using P4 HyperThreading. I've come across an inability to use VMWare, that I've tracked down to the vmmon_smp.ko driver, and the following lines of code **[vmware-distrib/vmmon-only/freebsd/driver.c]**[line 313]************** #if __FreeBSD_version >= 501113 /* XXX This is temporary until a fix */ printf(DEVICE_NAME ": SMP support for this release is BROKEN.\n"); return EINVAL; #endif ************************************************************************ These lines of code prevent the module from loading on my 5.2-RELEASE system. Does anyone know what causes SMP to be unsupported for releases later than 5.1? I tried forcing around this check, recompling, and got VMWare to successfully launch, but on power on of the virtual machine, it reported an unsupported CPU bit. If anyone could let me know if there is any attempt to fix this issue, or whether any progress has been made towards identifying and eliminating the problem, I would be more than happy to lend a hand. Thanks in advance, David -- David Dollar From owner-freebsd-emulation@FreeBSD.ORG Sat Jan 31 12:17:01 2004 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 58E8E16A4CE for ; Sat, 31 Jan 2004 12:17:01 -0800 (PST) Received: from blueshiftdesign.com (user-37ka4gj.dialup.mindspring.com [207.69.18.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F00E43D1F for ; Sat, 31 Jan 2004 12:17:00 -0800 (PST) (envelope-from ddollar@grepninja.com) Received: from grepninja.com (neon.periodic.local [10.1.2.254]) by blueshiftdesign.com (Postfix) with ESMTP id 4348920B8; Sat, 31 Jan 2004 15:16:59 -0500 (EST) Message-ID: <401C0D27.5060406@grepninja.com> Date: Sat, 31 Jan 2004 15:16:39 -0500 From: David Dollar User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6b) Gecko/20040129 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-emulation@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: orlando.bassotto@ieo-research.it Subject: VMWare 3.2.1 :: SMP support broken in 5.2-RELEASE X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Jan 2004 20:17:01 -0000 I've recently tried to install VMWare 3.2.1 from portsemulation/vmware3) onto my 5.2-RELEASE system. I'm running an SMP kernel, using P4 HyperThreading. I've come across an inability to use VMWare, that I've tracked down to the vmmon_smp.ko driver, and the following lines of code **[vmware-distrib/vmmon-only/freebsd/driver.c]**[line 313]************** #if __FreeBSD_version >= 501113 /* XXX This is temporary until a fix */ printf(DEVICE_NAME ": SMP support for this release is BROKEN.\n"); return EINVAL; #endif ************************************************************************ These lines of code prevent the module from loading on my 5.2-RELEASE system. Does anyone know what causes SMP to be unsupported for releases later than 5.1? I tried forcing around this check, recompling, and got VMWare to successfully launch, but on power on of the virtual machine, it reported an unsupported CPU bit. If anyone could let me know if there is any attempt to fix this issue, or whether any progress has been made towards identifying and eliminating the problem, I would be more than happy to lend a hand. Thanks in advance, David -- David Dollar From owner-freebsd-emulation@FreeBSD.ORG Sat Jan 31 12:18:27 2004 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B49DA16A4CE for ; Sat, 31 Jan 2004 12:18:27 -0800 (PST) Received: from blueshiftdesign.com (user-37ka4gj.dialup.mindspring.com [207.69.18.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id B26DE43D1D for ; Sat, 31 Jan 2004 12:18:26 -0800 (PST) (envelope-from ddollar@grepninja.com) Received: from grepninja.com (neon.periodic.local [10.1.2.254]) by blueshiftdesign.com (Postfix) with ESMTP id 96311204D; Sat, 31 Jan 2004 15:18:25 -0500 (EST) Message-ID: <401C0D7E.9030204@grepninja.com> Date: Sat, 31 Jan 2004 15:18:06 -0500 From: David Dollar User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6b) Gecko/20040129 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-emulation@freebsd.org, orlando.bassotto@ieo-research.it Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: VMWare 3.2.1 :: SMP support broken on 5.2-RELEASE X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Jan 2004 20:18:27 -0000 I've recently tried to install VMWare 3.2.1 from portsemulation/vmware3) onto my 5.2-RELEASE system. I'm running an SMP kernel, using P4 HyperThreading. I've come across an inability to use VMWare, that I've tracked down to the vmmon_smp.ko driver, and the following lines of code **[vmware-distrib/vmmon-only/freebsd/driver.c]**[line 313]************** #if __FreeBSD_version >= 501113 /* XXX This is temporary until a fix */ printf(DEVICE_NAME ": SMP support for this release is BROKEN.\n"); return EINVAL; #endif ************************************************************************ These lines of code prevent the module from loading on my 5.2-RELEASE system. Does anyone know what causes SMP to be unsupported for releases later than 5.1? I tried forcing around this check, recompling, and got VMWare to successfully launch, but on power on of the virtual machine, it reported an unsupported CPU bit. If anyone could let me know if there is any attempt to fix this issue, or whether any progress has been made towards identifying and eliminating the problem, I would be more than happy to lend a hand. Thanks in advance, David -- David Dollar From owner-freebsd-emulation@FreeBSD.ORG Mon Feb 2 01:39:22 2004 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 19ED816A4CE; Mon, 2 Feb 2004 01:39:22 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E2A1E43D54; Mon, 2 Feb 2004 01:39:20 -0800 (PST) (envelope-from trevor@FreeBSD.org) Received: from freefall.freebsd.org (trevor@localhost [127.0.0.1]) i129dKFR011721; Mon, 2 Feb 2004 01:39:20 -0800 (PST) (envelope-from trevor@freefall.freebsd.org) Received: (from trevor@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i129dKxf011717; Mon, 2 Feb 2004 01:39:20 -0800 (PST) (envelope-from trevor) Date: Mon, 2 Feb 2004 01:39:20 -0800 (PST) From: Trevor Johnson Message-Id: <200402020939.i129dKxf011717@freefall.freebsd.org> To: trevor@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, emulation@FreeBSD.org Subject: Re: kern/53874: /usr/ports/emulators/linux_base isn't working properly X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Feb 2004 09:39:22 -0000 Synopsis: /usr/ports/emulators/linux_base isn't working properly Responsible-Changed-From-To: freebsd-ports-bugs->emulation Responsible-Changed-By: trevor Responsible-Changed-When: Mon Feb 2 01:35:37 PST 2004 Responsible-Changed-Why: not a ports problem http://www.freebsd.org/cgi/query-pr.cgi?pr=53874 From owner-freebsd-emulation@FreeBSD.ORG Mon Feb 2 08:46:37 2004 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 25D0616A4CE; Mon, 2 Feb 2004 08:46:37 -0800 (PST) Received: from webmail.tiscali.de (relay1.tiscali.de [62.26.116.129]) by mx1.FreeBSD.org (Postfix) with ESMTP id 973A143D4C; Mon, 2 Feb 2004 08:45:50 -0800 (PST) (envelope-from walter@pelissero.de) Received: from daemon.home.loc (62.246.49.227) by webmail.tiscali.de (6.7.019) id 400E95AD003FEEC6; Mon, 2 Feb 2004 17:45:25 +0100 Received: from hyde.home.loc (hyde.home.loc [10.0.0.2]) by daemon.home.loc (8.12.10/8.12.8) with ESMTP id i12GjMXC090105; Mon, 2 Feb 2004 17:45:22 +0100 (CET) (envelope-from wcp@hyde.home.loc) Received: from hyde.home.loc (localhost [127.0.0.1]) by hyde.home.loc (8.12.9/8.12.8) with ESMTP id i12GjKU5065137; Mon, 2 Feb 2004 17:45:20 +0100 (CET) (envelope-from wcp@hyde.home.loc) Received: (from wcp@localhost) by hyde.home.loc (8.12.9/8.12.6/Submit) id i12GjJbx065134; Mon, 2 Feb 2004 17:45:19 +0100 (CET) (envelope-from wcp) From: "Walter C. Pelissero" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16414.32414.975014.398336@hyde.home.loc> Date: Mon, 2 Feb 2004 17:45:18 +0100 To: freebsd-questions@freebsd.org, freebsd-emulation@freebsd.org In-Reply-To: <200401291747.i0THlLL04725@clunix.cl.msu.edu> References: <16409.17392.62258.191839@hyde.home.loc> <200401291747.i0THlLL04725@clunix.cl.msu.edu> X-Mailer: VM 7.16 under Emacs 21.3.50.1 X-Attribution: WP X-For-Spammers: blacklistme@pelissero.de Subject: Re: Acu Cobol 6.0 for Linux X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: walter@pelissero.de List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Feb 2004 16:46:37 -0000 I realised that the ktrace log was rubbish; most of the syscalls names were not properly mapped. I tried to track down the exact spot were the Linux executable gets the SEGV signal, running strace on a Debian system and comparing the values passed to the system calls. Here is an extract: rt_sigaction(SIGTSTP, {0x8072ce0, [TSTP], SA_RESTART|0x4000000}, {SIG_IGN}, 8) = 0 rt_sigaction(SIGHUP, {0x8072ca0, [HUP], SA_RESTART|0x4000000}, {SIG_DFL}, 8) = 0 rt_sigaction(SIGTERM, {0x8072bf0, [TERM], SA_RESTART|0x4000000}, {SIG_DFL}, 8) = 0 rt_sigaction(SIGFPE, {0x804f910, [FPE], SA_RESTART|0x4000000}, {SIG_DFL}, 8) = 0 rt_sigaction(SIGBUS, {0x804f940, [BUS], SA_RESTART|0x4000000}, {SIG_DFL}, 8) = 0 rt_sigaction(SIGSEGV, {0x804f910, [SEGV], SA_RESTART|0x4000000}, {SIG_DFL}, 8) = 0 rt_sigaction(SIGILL, {0x804f910, [ILL], SA_RESTART|0x4000000}, {SIG_DFL}, 8) = 0 rt_sigaction(SIGSYS, {0x804f910, [SYS], SA_RESTART|0x4000000}, {SIG_DFL}, 8) = 0 rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}, 8) = 0 rt_sigaction(SIGALRM, NULL, {SIG_DFL}, 8) = 0 rt_sigaction(SIGALRM, {SIG_DFL}, NULL, 8) = 0 brk(0x81c2000) = 0x81c2000 ^^^^^^^^^^^^^^--- SEGV on FreeBSD! brk(0x81c3000) = 0x81c3000 brk(0x81c4000) = 0x81c4000 brk(0x81c5000) = 0x81c5000 brk(0x81c6000) = 0x81c6000 So it was rt_sigaction() and not pwrite(); brk() and not ktrace(). Does this shed a new light? -- walter pelissero http://www.pelissero.de From owner-freebsd-emulation@FreeBSD.ORG Mon Feb 2 11:02:11 2004 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 49B1116A4CE for ; Mon, 2 Feb 2004 11:02:11 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 89EFB43D46 for ; Mon, 2 Feb 2004 11:01:36 -0800 (PST) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.10/8.12.10) with ESMTP id i12J1SFR020385 for ; Mon, 2 Feb 2004 11:01:28 -0800 (PST) (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i12J1SQu020379 for emulation@freebsd.org; Mon, 2 Feb 2004 11:01:28 -0800 (PST) (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 2 Feb 2004 11:01:28 -0800 (PST) Message-Id: <200402021901.i12J1SQu020379@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: emulation@FreeBSD.org Subject: Current problem reports assigned to you X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Feb 2004 19:02:11 -0000 Current FreeBSD problem reports Critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2003/06/28] kern/53874 emulation /usr/ports/emulators/linux_base isn't wor 1 problem total. Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2000/09/21] kern/21463 emulation Linux compatability mode should not allow o [2000/11/13] kern/22826 emulation Memory limits have no effect in linux com o [2000/12/14] misc/23561 emulation Linux compatibility mode does not support o [2001/03/28] kern/26171 emulation not work Linux-emulator, but hi is work i 4 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2000/06/19] misc/19391 emulation Evilness with Linux Terminus, causes X to o [2002/08/11] kern/41543 emulation Easier wine/w23 support p [2002/09/04] kern/42404 emulation TIOCSCTTY not implemented in linuxulator o [2002/11/26] kern/45785 emulation Linux WineX seems to require a few new li 4 problems total. From owner-freebsd-emulation@FreeBSD.ORG Mon Feb 2 12:18:20 2004 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 54D5A16A4CE for ; Mon, 2 Feb 2004 12:18:20 -0800 (PST) Received: from smtp804.mail.sc5.yahoo.com (smtp804.mail.sc5.yahoo.com [66.163.168.183]) by mx1.FreeBSD.org (Postfix) with SMTP id A0C7C43D3F for ; Mon, 2 Feb 2004 12:18:14 -0800 (PST) (envelope-from zenin@rhps.org) Received: from unknown (HELO rhps.org) (zenin@sbcglobal.net@68.122.34.146 with plain) by smtp804.mail.sc5.yahoo.com with SMTP; 2 Feb 2004 20:18:14 -0000 Message-ID: <401EB119.4060201@rhps.org> Date: Mon, 02 Feb 2004 12:20:41 -0800 From: Zenin User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en, ja MIME-Version: 1.0 To: emulation@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: VMWare2 / 4.9-STABLE networking oddness (RTC related?) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Feb 2004 20:18:20 -0000 I've got an updated 4.9-STABLE setup running VMWare 2 (W2k SP4, etc) with the latest RTC driver (major improvement btw, thanks!) and my kernel built with HZ=10000, which has done wonders to improve my VMWare performance across the board. -With the default HZ=100 VMWare is basically unusable, this is on a P4/2.4ghz box with 1GB RAM and very little other load. I've tried both bridged and host-only (with bimap NAT via IPNat) and both have the same problems. Now the W2k VMWare client seems to work well for most things, and even ping flooding it over my DSL line 400 miles away I get a solid 15ms ping response and zero packet loss. However...the point of this VMWare client is to run a Windows-only game server (MS's "Allegiance"). It looks like everything is fine until one actually tries to use the server... The game client is reporting 40ms pings but yet has unplayable lag issues (not being able to "zone" or do much of anything). The client's TCP and UDP layers seem solid, but it seems like the client is running completely off its "prediction" code and not actually getting any real information back from the server at all. Normally the symptoms shown by this setup are from someone trying to run this server over a low-bandwidth connection like DSL with 128kb max upload and have too many clients attached, but this setup is hosted at a colo on multi-homed 100Mbs connections with only two test players on the server. Is there anything more extensive I can do to debug the networking systems of this beast? Of course I'm also assuming it's a networking problem, but perhaps it's something more with the server app not getting interrupts correctly and thus just "not responding" to client events because it's not seeing them? The server's networking is based on DirectPlay 7 if it helps. TIA! -Zenin From owner-freebsd-emulation@FreeBSD.ORG Mon Feb 2 14:06:45 2004 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 54AA516A4CE for ; Mon, 2 Feb 2004 14:06:45 -0800 (PST) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.189]) by mx1.FreeBSD.org (Postfix) with ESMTP id B741743D45 for ; Mon, 2 Feb 2004 14:06:30 -0800 (PST) (envelope-from gwk@rahn-koltermann.de) Received: from [212.227.126.155] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1AnmD7-00023h-00; Mon, 02 Feb 2004 23:06:29 +0100 Received: from [217.232.130.57] (helo=[192.168.0.3]) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 1AnmD7-0003un-00; Mon, 02 Feb 2004 23:06:29 +0100 From: "Georg-W. Koltermann" To: ntai@smartfuit.com In-Reply-To: <3FB15430.4070707@smartfruit.com> References: <20031107154918.GA33872@lns.com> <3FB15430.4070707@smartfruit.com> Content-Type: text/plain Message-Id: <1075759588.992.1.camel@localhost.muc.eu.mscsoftware.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Mon, 02 Feb 2004 23:06:28 +0100 Content-Transfer-Encoding: 7bit X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:90bcaad5e51ecc993b2919ba4b74e6dc cc: freebsd-emulation@freebsd.org Subject: Re: emulators/vmware2 vs. emulators/linux_base-8 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Feb 2004 22:06:45 -0000 I'm happy to report that the patch below also works for VMware 2. -- Regards, Georg. Am Di, den 11.11.2003 schrieb ein unbekannter Absender um 14:31: > Tim Pozar wrote: > > > FYI... > > > > I was getting a number of panics for Vmare2 with the > > "emulators/linux_base-8" package. Seems that folks may want to > > stay with the "emulators/linux_base" or "7" package. > > > > Tim > > _______________________________________________ > > freebsd-emulation@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-emulation > > To unsubscribe, send any mail to "freebsd-emulation-unsubscribe@freebsd.org" > > I have solved this problem with VMware3. > (Not VMware2) > > After googling for a while, this is probably due to the > change in nice() in GNU C library. > > You can fix the problem by either going back to old library > or patch the VMware binary to make it work with newer libc. > > > Here is what you can do. Download a patch. > There are many patches available. I used the latest in obsolete. > I do not know which one is which. But, this one worked for me. > > vmware-any-any-update42.tar.gz > > Just google it and find it somewhere. > > After downloading, untar in a directory. > > Then, you have > > runme.pl > services.sh > services2.sh > update > update.c > vmmon.tar > vmnet.tar > > in vmware-any-any-update42 directory. > update.c looks like it patches the file, and update is probably > compiled binary. So, I > > cc -o ./foo update.c > ./foo /usr/local/lib/vmware/bin/vmware > > This patches the vmware binary. > At the moment, VMware is running on R4.9, am installing RH9. > > Since update.c looks like it does patch vmware binary and > does not need to be linux binary, compiling update.c may be > universally possible for all paltforms. > > Good luck. > > -- > Naoyuki "Tai" Tai, ntai a t smartfruit d o t com > From owner-freebsd-emulation@FreeBSD.ORG Tue Feb 3 10:57:16 2004 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 52B6316A4CE; Tue, 3 Feb 2004 10:57:16 -0800 (PST) Received: from webmail.tiscali.de (relay1.tiscali.de [62.26.116.129]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B37643D54; Tue, 3 Feb 2004 10:57:13 -0800 (PST) (envelope-from walter@pelissero.de) Received: from daemon.home.loc (62.246.41.30) by webmail.tiscali.de (6.7.019) id 400E9485004E1240; Tue, 3 Feb 2004 19:57:11 +0100 Received: from hyde.home.loc (hyde.home.loc [10.0.0.2]) by daemon.home.loc (8.12.10/8.12.8) with ESMTP id i13IuPIV077459; Tue, 3 Feb 2004 19:56:25 +0100 (CET) (envelope-from wcp@hyde.home.loc) Received: from hyde.home.loc (localhost [127.0.0.1]) by hyde.home.loc (8.12.9/8.12.8) with ESMTP id i13IuPU5081892; Tue, 3 Feb 2004 19:56:25 +0100 (CET) (envelope-from wcp@hyde.home.loc) Received: (from wcp@localhost) by hyde.home.loc (8.12.9/8.12.6/Submit) id i13IuPI5081889; Tue, 3 Feb 2004 19:56:25 +0100 (CET) (envelope-from wcp) Message-ID: <16415.61145.783013.602178@hyde.home.loc> Date: Tue, 3 Feb 2004 19:56:25 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit From: "Walter C. Pelissero" To: freebsd-questions@freebsd.org, freebsd-emulation@freebsd.org In-Reply-To: <200401291747.i0THlLL04725@clunix.cl.msu.edu> References: <16409.17392.62258.191839@hyde.home.loc> <200401291747.i0THlLL04725@clunix.cl.msu.edu> X-Mailer: VM 7.16 under Emacs 21.3.50.1 X-Attribution: WP X-For-Spammers: blacklistme@pelissero.de cc: walter@pelissero.de Subject: Re: Acu Cobol 6.0 for Linux X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: walter@pelissero.de List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Feb 2004 18:57:16 -0000 I tried linux_kdump (from ports) and things seem to clarify a bit. I concentrated on acushare, which is the daemon that supervises inter-process locking (locking on file access) and licence verification. Whereas acushare seems to start properly, an attempt to kill it through the recommended means (not with kill(1)), yields an IPC error. On Linux strace on the daemon process shows: msgrcv(256, {1, "\254\1\0\0\6\0\0\0\6\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...}, 100, 1, MSG_NOERROR) = 12 getpid() = 376 getuid32() = -1 ENOSYS (Function not implemented) msgctl(256, IPC_STAT, 0xbffffa54) = 0 msgsnd(256, {428, "x\1\0\0\6\0\0\0\6\0\0\0"}, 12, 0) = 0 That is, msgrcv returns a 12 bytes long message and the daemon answers. On FreeBSD, on the other hand: 75838 acushare RET linux_ipc 12/0xc 75838 acushare CALL linux_getpid 75838 acushare RET linux_getpid 75838/0x1283e 75838 acushare CALL linux_ipc(0xe,0x50000,0x102,0,0xbfbff444,0) 75838 acushare RET linux_ipc -1 errno 22 Invalid argument 75838 acushare CALL linux_time(0xbfbff49c) 75838 acushare RET linux_time 1075830865/0x401fe051 75838 acushare CALL write(0,0x2806f000,0x4a) 75838 acushare GIO fd 0 wrote 74 bytes "acushare: 2004-02-03 18:54:25: Error replying to test message from run\ cbl " That is, linux_ipc (possibly a catch-all name for the Linux IPC functions family), returns a 12 bytes long message, but when it is supposed to do the msgctl it fails miserably with an errno 22. I couldn't make sense out of the six arguments to linux_ipc shown in the kdump. Does anyone know how to interprete them? -- walter pelissero http://www.pelissero.de From owner-freebsd-emulation@FreeBSD.ORG Tue Feb 3 11:20:35 2004 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BBBE916A4CF; Tue, 3 Feb 2004 11:20:35 -0800 (PST) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A2AD43D4C; Tue, 3 Feb 2004 11:20:32 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.10/8.12.10) id i13JKVVM085309; Tue, 3 Feb 2004 13:20:31 -0600 (CST) (envelope-from dan) Date: Tue, 3 Feb 2004 13:20:31 -0600 From: Dan Nelson To: "Walter C. Pelissero" Message-ID: <20040203192031.GB77596@dan.emsphone.com> References: <16409.17392.62258.191839@hyde.home.loc> <200401291747.i0THlLL04725@clunix.cl.msu.edu> <16415.61145.783013.602178@hyde.home.loc> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <16415.61145.783013.602178@hyde.home.loc> X-OS: FreeBSD 5.2-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.5.1i cc: freebsd-emulation@freebsd.org cc: freebsd-questions@freebsd.org Subject: Re: Acu Cobol 6.0 for Linux X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Feb 2004 19:20:36 -0000 In the last episode (Feb 03), Walter C. Pelissero said: > I tried linux_kdump (from ports) and things seem to clarify a bit. > > I concentrated on acushare, which is the daemon that supervises > inter-process locking (locking on file access) and licence > verification. Whereas acushare seems to start properly, an attempt to > kill it through the recommended means (not with kill(1)), yields an > IPC error. On Linux strace on the daemon process shows: > > msgrcv(256, {1, "\254\1\0\0\6\0\0\0\6\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...}, 100, 1, MSG_NOERROR) = 12 > getpid() = 376 > getuid32() = -1 ENOSYS (Function not implemented) > msgctl(256, IPC_STAT, 0xbffffa54) = 0 > msgsnd(256, {428, "x\1\0\0\6\0\0\0\6\0\0\0"}, 12, 0) = 0 > > That is, msgrcv returns a 12 bytes long message and the daemon > answers. On FreeBSD, on the other hand: > > 75838 acushare RET linux_ipc 12/0xc > 75838 acushare CALL linux_getpid > 75838 acushare RET linux_getpid 75838/0x1283e > 75838 acushare CALL linux_ipc(0xe,0x50000,0x102,0,0xbfbff444,0) > 75838 acushare RET linux_ipc -1 errno 22 Invalid argument > 75838 acushare CALL linux_time(0xbfbff49c) > 75838 acushare RET linux_time 1075830865/0x401fe051 > 75838 acushare CALL write(0,0x2806f000,0x4a) > 75838 acushare GIO fd 0 wrote 74 bytes > "acushare: 2004-02-03 18:54:25: Error replying to test message from run\ > cbl > " > > That is, linux_ipc (possibly a catch-all name for the Linux IPC > functions family), returns a 12 bytes long message, but when it is > supposed to do the msgctl it fails miserably with an errno 22. > > I couldn't make sense out of the six arguments to linux_ipc shown in > the kdump. Does anyone know how to interprete them? linux_ipc is emulated in /sys//linux/linux_machdep.c, and in linux.h: #define LINUX_MSGCTL 14 so the switch() in linux_ipc ends up calling linux_msgctl in /sys/compat/linux/linux_ipc.c. Do you have SYSV message queues enabled in your kernel? Stick "options SYSVMSG" in your config file and rebuild, or "kldload sysvmsg" if you have the module. If you do have sysvmsg loaded, you may have to start adding printfs in linux_msgctl() to trace which call is failing and why. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-emulation@FreeBSD.ORG Tue Feb 3 17:27:18 2004 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 46AE516A4CE; Tue, 3 Feb 2004 17:27:18 -0800 (PST) Received: from webmail.tiscali.de (relay1.tiscali.de [62.26.116.129]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A72643D39; Tue, 3 Feb 2004 17:27:16 -0800 (PST) (envelope-from walter@pelissero.de) Received: from daemon.home.loc (62.246.38.78) by webmail.tiscali.de (6.7.019) id 400E95410048B138; Wed, 4 Feb 2004 02:27:13 +0100 Received: from hyde.home.loc (hyde.home.loc [10.0.0.2]) by daemon.home.loc (8.12.10/8.12.8) with ESMTP id i141QRIV078293; Wed, 4 Feb 2004 02:26:27 +0100 (CET) (envelope-from wcp@hyde.home.loc) Received: from hyde.home.loc (localhost [127.0.0.1]) by hyde.home.loc (8.12.9/8.12.8) with ESMTP id i141QQxA008144; Wed, 4 Feb 2004 02:26:26 +0100 (CET) (envelope-from wcp@hyde.home.loc) Received: (from wcp@localhost) by hyde.home.loc (8.12.9/8.12.6/Submit) id i141QQLX008141; Wed, 4 Feb 2004 02:26:26 +0100 (CET) (envelope-from wcp) From: "Walter C. Pelissero" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16416.19009.687804.858168@hyde.home.loc> Date: Wed, 4 Feb 2004 02:26:25 +0100 To: Dan Nelson In-Reply-To: <20040203192031.GB77596@dan.emsphone.com> References: <16409.17392.62258.191839@hyde.home.loc> <200401291747.i0THlLL04725@clunix.cl.msu.edu> <16415.61145.783013.602178@hyde.home.loc> <20040203192031.GB77596@dan.emsphone.com> X-Mailer: VM 7.16 under Emacs 21.3.50.1 X-Attribution: WP X-For-Spammers: blacklistme@pelissero.de cc: freebsd-emulation@freebsd.org cc: "Walter C. Pelissero" cc: freebsd-questions@freebsd.org Subject: Re: Acu Cobol 6.0 for Linux X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: walter@pelissero.de List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Feb 2004 01:27:18 -0000 Dan Nelson writes: > If you do have sysvmsg loaded, you may have to start adding printfs in > linux_msgctl() to trace which call is failing and why. Thanks. With your hints I made an interesting discovery that allowed me to improve the situation dramatically. In Linux's /usr/include/linux/ipc.h there is an interesting comment: /* * Version flags for semctl, msgctl, and shmctl commands * These are passed as bitflags or-ed with the actual command */ #define IPC_OLD 0 /* Old version (no 32-bit UID support on many architectures) */ #define IPC_64 0x0100 /* New version (support 32-bit UIDs, bigger message sizes, etc. */ In fact linux_msgctl receives a command 0x102 instead of 2. Although the following patch fixes the problem related to msgctl, I'm not quite sure it's enough to say that Acu Cobol runs perfectly on FreeBSD. Actually I've got the feeling msgrcv still doesn't work as expected, but I might be wrong. I'll probably reach a certain confidence in the following days. A side note. What is the impact of this IPC_64 flag on the FreeBSD code? Can we ignore it, or does it mean that the Linux emulator is outdated regarding this "new" flag? Cheers, -- walter pelissero http://www.pelissero.de Index: compat/linux/linux_ipc.c =================================================================== RCS file: /usr/home/src.cvs/src/sys/compat/linux/linux_ipc.c,v retrieving revision 1.17.2.3 diff -w -u -r1.17.2.3 linux_ipc.c --- compat/linux/linux_ipc.c 5 Nov 2001 19:08:22 -0000 1.17.2.3 +++ compat/linux/linux_ipc.c 4 Feb 2004 00:33:56 -0000 @@ -233,7 +233,7 @@ bsd_args.semnum = args->semnum; bsd_args.arg = unptr; - switch (args->cmd) { + switch (args->cmd & 0xff) { /* mask off the IPC_64 flag */ case LINUX_IPC_RMID: bsd_args.cmd = IPC_RMID; break; @@ -362,7 +362,7 @@ int error; bsd_args.msqid = args->msqid; - bsd_args.cmd = args->cmd; + bsd_args.cmd = args->cmd & 0xff; /* mask off the IPC_64 flag */ bsd_args.buf = (struct msqid_ds *)args->buf; error = msgctl(p, &bsd_args); return ((args->cmd == LINUX_IPC_RMID && error == EINVAL) ? 0 : error); @@ -429,7 +429,7 @@ int error; caddr_t sg = stackgap_init(); - switch (args->cmd) { + switch (args->cmd & 0xff) { /* mask off the IPC_64 flag */ case LINUX_IPC_STAT: bsd_args.shmid = args->shmid; bsd_args.cmd = IPC_STAT; From owner-freebsd-emulation@FreeBSD.ORG Tue Feb 3 18:07:12 2004 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F00CA16A4CE; Tue, 3 Feb 2004 18:07:12 -0800 (PST) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id D43C143D2D; Tue, 3 Feb 2004 18:07:11 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.10/8.12.10) id i1427BNc068936; Tue, 3 Feb 2004 20:07:11 -0600 (CST) (envelope-from dan) Date: Tue, 3 Feb 2004 20:07:11 -0600 From: Dan Nelson To: "Walter C. Pelissero" Message-ID: <20040204020710.GD77596@dan.emsphone.com> References: <16409.17392.62258.191839@hyde.home.loc> <200401291747.i0THlLL04725@clunix.cl.msu.edu> <16415.61145.783013.602178@hyde.home.loc> <20040203192031.GB77596@dan.emsphone.com> <16416.19009.687804.858168@hyde.home.loc> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <16416.19009.687804.858168@hyde.home.loc> X-OS: FreeBSD 5.2-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.5.1i cc: freebsd-emulation@freebsd.org cc: freebsd-questions@freebsd.org Subject: Re: Acu Cobol 6.0 for Linux X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Feb 2004 02:07:13 -0000 In the last episode (Feb 04), Walter C. Pelissero said: > A side note. What is the impact of this IPC_64 flag on the FreeBSD > code? Can we ignore it, or does it mean that the Linux emulator is > outdated regarding this "new" flag? Linux IPC_64 support was added to the 5.x tree over a year ago but never got merged back to 4.x. It looks like there are different structures for the IPC_64 case, so just stripping the IPC_64 bit won't work. Take a look at http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/compat/linux/linux_ipc.c.diff?r1=1.30&r2=1.31&f=h - it was a mega-commit, so there's more than just the IPC_64 stuff, but it's pretty easy to pick out the right bits (basically anything with a 64 in it :). -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-emulation@FreeBSD.ORG Wed Feb 4 03:46:08 2004 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B08B916A4CE; Wed, 4 Feb 2004 03:46:08 -0800 (PST) Received: from webmail.tiscali.de (relay1.tiscali.de [62.26.116.129]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2280D43D2F; Wed, 4 Feb 2004 03:46:07 -0800 (PST) (envelope-from walter@pelissero.de) Received: from daemon.home.loc (62.246.40.212) by webmail.tiscali.de (6.7.019) id 400E9541004ACA2D; Wed, 4 Feb 2004 12:46:05 +0100 Received: from hyde.home.loc (hyde.home.loc [10.0.0.2]) by daemon.home.loc (8.12.10/8.12.8) with ESMTP id i14Bjirt001547; Wed, 4 Feb 2004 12:45:45 +0100 (CET) (envelope-from wcp@hyde.home.loc) Received: from hyde.home.loc (localhost [127.0.0.1]) by hyde.home.loc (8.12.9/8.12.8) with ESMTP id i14BjixA010171; Wed, 4 Feb 2004 12:45:44 +0100 (CET) (envelope-from wcp@hyde.home.loc) Received: (from wcp@localhost) by hyde.home.loc (8.12.9/8.12.6/Submit) id i14Bjf6V010168; Wed, 4 Feb 2004 12:45:41 +0100 (CET) (envelope-from wcp) From: "Walter C. Pelissero" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16416.56165.308400.704832@hyde.home.loc> Date: Wed, 4 Feb 2004 12:45:41 +0100 To: Dan Nelson In-Reply-To: <20040204020710.GD77596@dan.emsphone.com> References: <16409.17392.62258.191839@hyde.home.loc> <200401291747.i0THlLL04725@clunix.cl.msu.edu> <16415.61145.783013.602178@hyde.home.loc> <20040203192031.GB77596@dan.emsphone.com> <16416.19009.687804.858168@hyde.home.loc> <20040204020710.GD77596@dan.emsphone.com> X-Mailer: VM 7.16 under Emacs 21.3.50.1 X-Attribution: WP X-For-Spammers: blacklistme@pelissero.de cc: freebsd-emulation@freebsd.org cc: "Walter C. Pelissero" cc: freebsd-questions@freebsd.org Subject: Re: Acu Cobol 6.0 for Linux X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: walter@pelissero.de List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Feb 2004 11:46:09 -0000 Dan Nelson writes: > In the last episode (Feb 04), Walter C. Pelissero said: > > A side note. What is the impact of this IPC_64 flag on the FreeBSD > > code? Can we ignore it, or does it mean that the Linux emulator is > > outdated regarding this "new" flag? > > Linux IPC_64 support was added to the 5.x tree over a year ago but > never got merged back to 4.x. Oops. Don't tell me Iv'e beeing trying to fix a bug that wasn't there. I'll try in the next days to install 5.2 at least on my laptop and see if it helps. (It's anyhow something that was already on my agenda.) -- walter pelissero http://www.pelissero.de From owner-freebsd-emulation@FreeBSD.ORG Fri Feb 6 08:58:57 2004 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 773F816A4CF for ; Fri, 6 Feb 2004 08:58:57 -0800 (PST) Received: from relay.pair.com (relay.pair.com [209.68.1.20]) by mx1.FreeBSD.org (Postfix) with SMTP id C3FB243D5D for ; Fri, 6 Feb 2004 08:58:55 -0800 (PST) (envelope-from silby@silby.com) Received: (qmail 53154 invoked from network); 6 Feb 2004 16:58:54 -0000 Received: from niwun.pair.com (HELO localhost) (209.68.2.70) by relay.pair.com with SMTP; 6 Feb 2004 16:58:54 -0000 X-pair-Authenticated: 209.68.2.70 Date: Fri, 6 Feb 2004 10:58:53 -0600 (CST) From: Mike Silbersack To: Zenin Message-ID: <20040206105349.G8272@odysseus.silby.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: emulation@freebsd.org Subject: Re: VMWare2 / 4.9-STABLE networking oddness (RTC related?) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Feb 2004 16:58:57 -0000 Hello, Zenin. It seems possible that your Allegiance server issues might be helped once I do some further updates to the rtc driver, as it may be guilty of causing vmware to sleep longer than desired. However, I doubt that it will have *that* big of an impact. Have you tried running other types of game servers on the machine? Perhaps you could try quake, unreal tournament, or some other game and see what your results are. My guess would be that there must be some sort of packet loss going on for the results to be as you say they are; unfortunately, we can't exactly use tcpdump to see if the game's packet flow is "normal". So, see what else works, that'll help us narrow down the problem. Mike "Silby" Silbersack From owner-freebsd-emulation@FreeBSD.ORG Sat Feb 7 08:59:00 2004 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CC9CE16A4CF; Sat, 7 Feb 2004 08:59:00 -0800 (PST) Received: from webmail.tiscali.de (relay1.tiscali.de [62.26.116.129]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B70943D2F; Sat, 7 Feb 2004 08:59:00 -0800 (PST) (envelope-from walter@pelissero.de) Received: from daemon.home.loc (62.246.6.168) by webmail.tiscali.de (6.7.019) id 400E962A00614B1D; Sat, 7 Feb 2004 17:58:58 +0100 Received: from hyde.home.loc (hyde.home.loc [10.0.0.2]) by daemon.home.loc (8.12.10/8.12.8) with ESMTP id i17GsMUE003771; Sat, 7 Feb 2004 17:54:22 +0100 (CET) (envelope-from wcp@hyde.home.loc) Received: from hyde.home.loc (localhost [127.0.0.1]) by hyde.home.loc (8.12.10/8.12.8) with ESMTP id i17GsM1r092665; Sat, 7 Feb 2004 17:54:22 +0100 (CET) (envelope-from wcp@hyde.home.loc) Received: (from wcp@localhost) by hyde.home.loc (8.12.10/8.12.6/Submit) id i17GsLr5092640; Sat, 7 Feb 2004 17:54:21 +0100 (CET) (envelope-from wcp) From: "Walter C. Pelissero" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16421.6203.725084.276910@hyde.home.loc> Date: Sat, 7 Feb 2004 17:54:19 +0100 To: Dan Nelson In-Reply-To: <20040204020710.GD77596@dan.emsphone.com> References: <16409.17392.62258.191839@hyde.home.loc> <200401291747.i0THlLL04725@clunix.cl.msu.edu> <16415.61145.783013.602178@hyde.home.loc> <20040203192031.GB77596@dan.emsphone.com> <16416.19009.687804.858168@hyde.home.loc> <20040204020710.GD77596@dan.emsphone.com> X-Mailer: VM 7.16 under Emacs 21.3.50.1 X-Attribution: WP X-For-Spammers: blacklistme@pelissero.de cc: freebsd-emulation@freebsd.org cc: "Walter C. Pelissero" cc: freebsd-questions@freebsd.org Subject: Re: Acu Cobol 6.0 for Linux X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: walter@pelissero.de List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Feb 2004 16:59:00 -0000 Dan Nelson writes: > In the last episode (Feb 04), Walter C. Pelissero said: > > A side note. What is the impact of this IPC_64 flag on the FreeBSD > > code? Can we ignore it, or does it mean that the Linux emulator is > > outdated regarding this "new" flag? > > Linux IPC_64 support was added to the 5.x tree over a year ago but > never got merged back to 4.x. It looks like there are different > structures for the IPC_64 case, so just stripping the IPC_64 bit won't > work. Take a look at > http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/compat/linux/linux_ipc.c.diff?r1=1.30&r2=1.31&f=h > - it was a mega-commit, so there's more than just the IPC_64 stuff, but > it's pretty easy to pick out the right bits (basically anything with a > 64 in it :). I've been spending the last two days upgrading to 5.2.1.-RC. Well, beside the predictable cultural impact (a few things have changed from 4.9), the first impression was that the Linux emulator worked much better, in fact it runs Acu Cobol 6.0 for Linux flawlessly! There are still some minor details that don't work as expected (ACPI-S1 and cardbus) and some that stopped working (snd_pcm). These will probably require delving in the documentation or possibly waiting for 5.3. But devfs and devd alone are worth upgrading. Congratulations guys. You've done an awesome job! -- walter pelissero http://www.pelissero.de