From owner-freebsd-emulation Sun Aug 17 18:55:32 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id SAA11527 for emulation-outgoing; Sun, 17 Aug 1997 18:55:32 -0700 (PDT) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id SAA11522 for ; Sun, 17 Aug 1997 18:55:26 -0700 (PDT) Received: (from msmith@localhost) by genesis.atrad.adelaide.edu.au (8.8.5/8.7.3) id LAA08632; Mon, 18 Aug 1997 11:25:11 +0930 (CST) From: Michael Smith Message-Id: <199708180155.LAA08632@genesis.atrad.adelaide.edu.au> Subject: Re: semget in linux emulation? In-Reply-To: <199708050922.LAA04626@nietzsche.bowtie.nl> from Marc van Kempen at "Aug 5, 97 11:22:13 am" To: marc@bowtie.nl Date: Mon, 18 Aug 1997 11:25:11 +0930 (CST) Cc: emulation@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Ooh, old mail 8) Marc van Kempen stands accused of saying: > > I have a Linux application that I want to run on a > 2.2.2 system, but it seems to use shared memory. > I config'ed shared memory in my kernel. > > The application complains about a failing SEMGET, > and when I looked in the linux_ipc.c, the call returns > ENOSYS, does this mean that the semget won't work???? Yes. > If so, is anyone working on fixing this? Or, how difficult > is it to add? I don't believe so. Adding it basically just involves writing a shim that translates the Linux system call arguments/return to/from the BSD syscall arguments. It should be pretty straightforward, once you work out what the Linux code actually wants. Grr. Looking at the Linux section-2 manpages, they lay their shared-memory region out differently from ours. Theirs looks like : struct shmid_ds { struct ipc_perm shm_perm; /* operation perms */ int shm_segsz; /* size of segment (bytes) */ time_t shm_atime; /* last attach time */ time_t shm_dtime; /* last detach time */ time_t shm_ctime; /* last change time */ unsigned short shm_cpid; /* pid of creator */ unsigned short shm_lpid; /* pid of last operator */ short shm_nattch; /* no. of current attaches */ /* the following are private */ unsigned short shm_npages; /* size of segment (pages) */ unsigned long *shm_pages; /* array of ptrs to frames -> SHMMAX */ struct vm_area_struct *attaches; /* descriptors for attaches */ }; And ours is : /* * As defined+described in "X/Open System Interfaces and Headers" * Issue 4, p. XXX */ struct shmid_ds { struct ipc_perm shm_perm; /* operation permission structure */ int shm_segsz; /* size of segment in bytes */ pid_t shm_lpid; /* process ID of last shared memory op */ pid_t shm_cpid; /* process ID of creator */ short shm_nattch; /* number of current attaches */ time_t shm_atime; /* time of last shmat() */ time_t shm_dtime; /* time of last shmdt() */ time_t shm_ctime; /* time of last change by shmctl() */ void *shm_internal; /* sysv stupidity */ }; This might be moderately tricky; you would have to identify whether the segment was created Linux-style or BSD-style and handle it accordingly. > Marc van Kempen BowTie Technology -- ]] Mike Smith, Software Engineer msmith@gsoft.com.au [[ ]] Genesis Software genesis@gsoft.com.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control. (ph) +61-8-8267-3493 [[ ]] Unix hardware collector. "Where are your PEZ?" The Tick [[ From owner-freebsd-emulation Sun Aug 17 19:28:19 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id TAA13401 for emulation-outgoing; Sun, 17 Aug 1997 19:28:19 -0700 (PDT) From: owner-freebsd-emulation Received: from green.net.ua (zsp@sivka.carrier.kiev.ua [193.193.193.101]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id TAA13395 for ; Sun, 17 Aug 1997 19:28:13 -0700 (PDT) Received: (from root@localhost) by green.net.ua (8.8.5/8.8.5) id FAA00564; Mon, 18 Aug 1997 05:26:17 +0300 (EEST) Date: Mon, 18 Aug 1997 05:26:17 +0300 (EEST) Message-Id: <199708180226.FAA00564@green.net.ua> To: emulation@freebsd.org X-URL: file://localhost/usr/share/doc/FAQ/FAQ84.html X-Mailer: Lynx, Version 2.7 X-Personal_name: Green Subject: file://localhost/usr/share/doc/FAQ/FAQ84.html Sender: owner-freebsd-emulation@freebsd.org X-Loop: FreeBSD.org Precedence: bulk From owner-freebsd-emulation Mon Aug 18 03:16:54 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id DAA12180 for emulation-outgoing; Mon, 18 Aug 1997 03:16:54 -0700 (PDT) Received: from gatekeeper.ukrv.de (gatekeeper.ukrv.de [193.175.72.2]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id DAA12175 for ; Mon, 18 Aug 1997 03:16:49 -0700 (PDT) Received: by gatekeeper.ukrv.de; (5.65/1.1.8.2/17Oct95-0336PM) id AA15614; Mon, 18 Aug 1997 12:16:47 +0200 Received: from mailhost(193.175.66.33) by gatekeeper.ukrv.de via smap (V1.3-JSC) id sma015607; Mon Aug 18 12:16:38 1997 Received: from merlin.ukrv.de by mailhost.ukrv.de; (5.65/1.1.8.2/08Mar95-0213PM) id AA12366; Mon, 18 Aug 1997 12:16:37 +0200 Received: by merlin.ukrv.de (4.1/UKRV-Gen PCG 0.1) id AA25733; Mon, 18 Aug 97 12:16:37 +0200 From: Udo Wolter Message-Id: <9708181016.AA25733@merlin.ukrv.de> Subject: Re: Willows again In-Reply-To: <85B4E5CB3@colstate.edu> from Christian at "Jul 17, 97 02:11:21 pm" To: emulation@freebsd.org Date: Mon, 18 Aug 1997 12:16:37 +0200 (MET DST) X-Mailer: ELM [version 2.4ME+ PL31 (25)] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi ! > Anyone seen what has happened to willows as of late? I know this is late to get this topic out again. But after playing with wine, I'm trying to make willows work. No success at this time. Maybe anyone else made it ? > In case you haven't, they have released the sources to their windows emulator > under the GPL. Also, they have linux binaries available on their web site. > Has anyone tried these under FreeBSD? If someone has tried this and had > success, let me know how well this works. Yeah, I'd really like to see at which level the willows-people are. Wine is a real mess...:-( Bye, Udo -- Udo Wolter, email: uwp@cs.tu-berlin.de !!! LOW-TECH Page: http://low-tech.home.ml.org !!! From owner-freebsd-emulation Mon Aug 18 09:55:11 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id JAA02529 for emulation-outgoing; Mon, 18 Aug 1997 09:55:11 -0700 (PDT) Received: from ingenieria ([168.176.15.11]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id JAA02515 for ; Mon, 18 Aug 1997 09:55:01 -0700 (PDT) Received: from unalmodem.usc.unal.edu.co by ingenieria (SMI-8.6/SMI-SVR4) id MAA18762; Mon, 18 Aug 1997 12:41:22 -0400 Message-ID: <33F89984.61D9@fps.biblos.unal.edu.co> Date: Mon, 18 Aug 1997 11:50:44 -0700 From: "Pedro Giffuni S," Organization: Universidad Nacional de Colombia X-Mailer: Mozilla 3.01Gold [it] (Win16; I) MIME-Version: 1.0 To: emulation@freebsd.org Subject: Re: Willows again References: <9708181626.AA18124@usc.usc.unal.edu.co> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Udo Wolter wrote: > > Hi ! > > > Anyone seen what has happened to willows as of late? > > Yeah, I'd really like to see at which level the willows-people are. Wine is > a real mess...:-( > Willows is even worse, at least at the building level :-(. msmith sent me some patches, but I stopped working on it because of time constraints. Contact Jimen Ching to see what is the current state and how you can help. I'll send you the patches I have. Pedro. > > -- > Udo Wolter, email: uwp@cs.tu-berlin.de > !!! LOW-TECH Page: http://low-tech.home.ml.org !!! From owner-freebsd-emulation Tue Aug 19 04:46:11 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id EAA00213 for emulation-outgoing; Tue, 19 Aug 1997 04:46:11 -0700 (PDT) Received: from gatekeeper.ukrv.de (gatekeeper.ukrv.de [193.175.72.2]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id EAA00208 for ; Tue, 19 Aug 1997 04:46:08 -0700 (PDT) Received: by gatekeeper.ukrv.de; (5.65/1.1.8.2/17Oct95-0336PM) id AA21593; Tue, 19 Aug 1997 13:45:47 +0200 Received: from mailhost(193.175.66.33) by gatekeeper.ukrv.de via smap (V1.3-JSC) id sma008098; Tue Aug 19 13:45:41 1997 Received: from merlin.ukrv.de by mailhost.ukrv.de; (5.65/1.1.8.2/08Mar95-0213PM) id AA25591; Tue, 19 Aug 1997 13:45:40 +0200 Received: by merlin.ukrv.de (4.1/UKRV-Gen PCG 0.1) id AA29004; Tue, 19 Aug 97 13:45:40 +0200 From: Udo Wolter Message-Id: <9708191145.AA29004@merlin.ukrv.de> Subject: Re: Willows again In-Reply-To: <33F893EE.4CB9@fps.biblos.unal.edu.co> from "Pedro Giffuni S," at "Aug 18, 97 11:26:54 am" To: pgiffuni@fps.biblos.unal.edu.co (Pedro Giffuni S ) Date: Tue, 19 Aug 1997 13:45:40 +0200 (MET DST) Cc: emulation@freebsd.org X-Mailer: ELM [version 2.4ME+ PL31 (25)] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > Yeah, I'd really like to see at which level the willows-people are. Wine is > > a real mess...:-( > > Willows is even worse, at least at the building level :-(. msmith sent > me some patches, but I stopped working on it because of time > constraints. > > Contact Jimen Ching to see what is the current state > and how you can help. I'll send you the patches I have. Thanks ! At the moment I have no success but the patches seems to work ok. Only compile crashes...:-((( Bye, Udo -- Udo Wolter, email: uwp@cs.tu-berlin.de !!! LOW-TECH Page: http://low-tech.home.ml.org !!! From owner-freebsd-emulation Fri Aug 22 02:08:45 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id CAA27296 for emulation-outgoing; Fri, 22 Aug 1997 02:08:45 -0700 (PDT) Received: from inter1.congresgebouw.nl (congresgebouw.bart.nl [194.158.161.112]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id CAA27289 for ; Fri, 22 Aug 1997 02:08:38 -0700 (PDT) Received: from rbsoen ([1.0.0.45]) by inter1.congresgebouw.nl (8.7.6/8.7.3) with SMTP id LAA09334 for ; Fri, 22 Aug 1997 11:07:51 GMT Received: by rbsoen with Microsoft Mail id <01BCAEEC.4419FD00@rbsoen>; Fri, 22 Aug 1997 11:12:23 +0200 Message-ID: <01BCAEEC.4419FD00@rbsoen> From: Robert Soen To: "'emulation@freebsd.org'" Subject: Dos emulating Date: Fri, 22 Aug 1997 11:12:17 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Is it already possible to run simple dos programs under BSD? And can they use the serial port as well? Robert Soen rsoen@congresses.com From owner-freebsd-emulation Fri Aug 22 02:47:58 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id CAA28519 for emulation-outgoing; Fri, 22 Aug 1997 02:47:58 -0700 (PDT) Received: from word.smith.net.au (word.smith.net.au [202.0.75.3]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id CAA28504 for ; Fri, 22 Aug 1997 02:47:53 -0700 (PDT) Received: from word.smith.net.au (localhost.smith.net.au [127.0.0.1]) by word.smith.net.au (8.8.7/8.8.5) with ESMTP id TAA01056; Fri, 22 Aug 1997 19:16:29 +0930 (CST) Message-Id: <199708220946.TAA01056@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: Robert Soen cc: "'emulation@freebsd.org'" Subject: Re: Dos emulating In-reply-to: Your message of "Fri, 22 Aug 1997 11:12:17 +0200." <01BCAEEC.4419FD00@rbsoen> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 22 Aug 1997 19:16:28 +0930 From: Mike Smith Sender: owner-freebsd-emulation@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > Is it already possible to run simple dos programs under BSD? Yes. > And can they use the serial port as well? DOS programs that use serial ports are not simple. 8) ie. No. In most cases, DOS serial comms apps are already covered by a similar BSD app; what in particular are you hoping to run? mike From owner-freebsd-emulation Sat Aug 23 08:31:16 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id IAA20975 for emulation-outgoing; Sat, 23 Aug 1997 08:31:16 -0700 (PDT) Received: from mail.ruhrgebiet.individual.net (in-ruhr.ruhr.de [141.39.224.38]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id IAA20970 for ; Sat, 23 Aug 1997 08:31:13 -0700 (PDT) Received: from robkaos.ruhr.de (admin@localhost) by mail.ruhrgebiet.individual.net (8.8.5-r-beta/8.8.5) with UUCP id RAA08673 for freebsd.org!emulation; Sat, 23 Aug 1997 17:06:11 +0200 (MET DST) Received: by robkaos.ruhr.de (Smail-3.2 1996-Jul-4 #1) id ; Sat, 23 Aug 1997 17:04:43 +0200 (MET DST) Message-Id: From: robsch@robkaos.ruhr.de (Robert Schien) Subject: kernel config option for doscmd To: emulation@freebsd.org Date: Sat, 23 Aug 1997 17:04:42 +0200 (MET DST) X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I am running 3.0-current (as of today) and I tried running doscmd. But all I get is sigreturn failed : Invalid argument doscmd: fatal error vm86 returned (no kernel support?) Init: -1 How do I enable kernel support for vm86? I tried options VM86 in the kernel config file, but this was considered as a 'syntax error' by config. I browsed through /usr/share/* but could not find anything. Certainly, I have overlooked something elementary :-) TIA Robert From owner-freebsd-emulation Sat Aug 23 08:47:23 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id IAA22614 for emulation-outgoing; Sat, 23 Aug 1997 08:47:23 -0700 (PDT) Received: from hydrogen.nike.efn.org (resnet.uoregon.edu [128.223.170.28]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id IAA22608 for ; Sat, 23 Aug 1997 08:47:20 -0700 (PDT) Received: (from jmg@localhost) by hydrogen.nike.efn.org (8.8.5/8.8.5) id IAA16997; Sat, 23 Aug 1997 08:47:13 -0700 (PDT) Message-ID: <19970823084713.27147@hydrogen.nike.efn.org> Date: Sat, 23 Aug 1997 08:47:13 -0700 From: John-Mark Gurney To: Robert Schien Cc: emulation@FreeBSD.ORG Subject: Re: kernel config option for doscmd References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.69 In-Reply-To: ; from Robert Schien on Sat, Aug 23, 1997 at 05:04:42PM +0200 Reply-To: John-Mark Gurney Organization: Cu Networking X-Operating-System: FreeBSD 2.2.1-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ Sender: owner-freebsd-emulation@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Robert Schien scribbled this message on Aug 23: > I am running 3.0-current (as of today) and I tried running > doscmd. But all I get is > > sigreturn failed : Invalid argument > doscmd: fatal error vm86 returned (no kernel support?) > Init: -1 > > How do I enable kernel support for vm86? I tried > options VM86 put VM86 in quotes like: options "VM86" it's needed when the option has numbers in it... > in the kernel config file, but this was considered as a 'syntax error' > by config. > > I browsed through /usr/share/* but could not find anything. thanks for pointing this out that it wasn't documented in LINT... ttyl.. -- John-Mark Gurney Modem/FAX: +1 541 683 6954 Cu Networking Live in Peace, destroy Micro$oft, support free software, run FreeBSD