From owner-freebsd-emulation Sun Jun 8 18:33:05 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id SAA26588 for emulation-outgoing; Sun, 8 Jun 1997 18:33:05 -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 SAA26570; Sun, 8 Jun 1997 18:32:56 -0700 (PDT) Received: (from msmith@localhost) by genesis.atrad.adelaide.edu.au (8.8.5/8.7.3) id LAA23427; Mon, 9 Jun 1997 11:02:44 +0930 (CST) From: Michael Smith Message-Id: <199706090132.LAA23427@genesis.atrad.adelaide.edu.au> Subject: Re: "mtv" - unimplemented ioctl In-Reply-To: <19970605183544.41475@ct.picker.com> from Randall Hopper at "Jun 5, 97 06:35:44 pm" To: rhh@ct.picker.com (Randall Hopper) Date: Mon, 9 Jun 1997 11:02:44 +0930 (CST) Cc: emulation@FreeBSD.ORG, multimedia@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-emulation@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Randall Hopper stands accused of saying: > mtv, a nice Linux MPEG audio/video/system player, generates this error > when I try to play an MPEG system stream (audio and video mixed): > > LINUX: 'ioctl' fd=10, typ=0x450(P), num=0xf not implemented > > I get a brief microsecond burst of audio and that's it, so that may be > related. > > Is this ioctl supported in the latest -current emulation? And out of > curiousity, what is the function of this particular ioctl?a It's not so much the emulation as the current sound drivers that are the issue here. It's defined in as : #define SNDCTL_DSP_GETTRIGGER _IOR ('P',16, int) #define SNDCTL_DSP_SETTRIGGER _IOW ('P',16, int) The OSS lite beta driver may support it, but it's known to be buggy. > Randall -- ]] 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 Jun 8 20:20:19 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id UAA00715 for emulation-outgoing; Sun, 8 Jun 1997 20:20:19 -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 UAA00710 for ; Sun, 8 Jun 1997 20:20:16 -0700 (PDT) Received: (from msmith@localhost) by genesis.atrad.adelaide.edu.au (8.8.5/8.7.3) id MAA24169; Mon, 9 Jun 1997 12:46:27 +0930 (CST) From: Michael Smith Message-Id: <199706090316.MAA24169@genesis.atrad.adelaide.edu.au> Subject: Re: Wabi? In-Reply-To: from Adrian Chadd at "May 14, 97 07:49:25 pm" To: adrian@obiwan.psinet.net.au (Adrian Chadd) Date: Mon, 9 Jun 1997 12:46:27 +0930 (CST) Cc: msmith@atrad.adelaide.edu.au, 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-emulation@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk I didn't reply to this; it got buried 8( Adrian Chadd stands accused of saying: > On Tue, 13 May 1997, Michael Smith wrote: > > > Please post emulation-related questions to the -emulation list. > > > > Johan Larsson stands accused of saying: > > > Hi. I wonder if anyone got wabi for linux to work under freebsd. Aplixware > > > works as you all know just fine, but wabi seems to need some > > > /proc/meminfo etc.. Or is it any other problems that makes this impossible? > > > > There are other problems. I've looked at them, and I know at least one > > or two others are looking (probably harder). The problem isn't impossible, > > but it's not going to happen overnight, sorry. > > > > Who is working on /proc/meminfo btw? Nobody that I know of. > If noone is / has done it, I'd like a try. Please do! > Adrian > > -- ]] 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 Jun 8 20:52:41 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id UAA02055 for emulation-outgoing; Sun, 8 Jun 1997 20:52:41 -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 UAA02050 for ; Sun, 8 Jun 1997 20:52:38 -0700 (PDT) Received: (from msmith@localhost) by genesis.atrad.adelaide.edu.au (8.8.5/8.7.3) id NAA24406; Mon, 9 Jun 1997 13:22:23 +0930 (CST) From: Michael Smith Message-Id: <199706090352.NAA24406@genesis.atrad.adelaide.edu.au> Subject: Re: doscmd -bx In-Reply-To: <9705160104.AA25159@cabri.obs-besancon.fr> from Jean-Marc Zucconi at "May 16, 97 02:04:22 am" To: jmz@cabri.obs-besancon.fr (Jean-Marc Zucconi) Date: Mon, 9 Jun 1997 13:22:23 +0930 (CST) Cc: freebsd-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-emulation@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Jean-Marc Zucconi stands accused of saying: > > I still have no luck trying to boot dos. With a 6.22 version, the > machine locks. I managed to find a 5.0 version and tried again: > bash# doscmd -bx > Unknown interrupt 15 function 4101 > ax=ff24 bx=0002 cx=0000 dx=9a03 > si=0023 di=06f0 sp=059a bp=08e6 > cs=059a ss=907c ds=0070 es=0000 > ip=ffff eflags=30217 > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > addb %al,(%bx+%si) > unsupported instruction > bash# > > :-( My .doscmd file has 2 lines: > boot A: > assign A: 1.44 1440 > > And I have no problem with pcemu booting from this file. > > What can I do? Sorry for the delay. Try : assign A: /tmp/1.44 1440 boot A: and see whether that helps. Also make sure you are running the latest set of kernel patches, and that they installed cleanly. Also make sure that you have the LKM loaded, and that you haven't _unloaded_ it. > Jean-Marc -- ]] 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 Mon Jun 9 07:51:28 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id HAA25699 for emulation-outgoing; Mon, 9 Jun 1997 07:51:28 -0700 (PDT) Received: from cabri.obs-besancon.fr (cabri.obs-besancon.fr [193.52.184.3]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id HAA25694 for ; Mon, 9 Jun 1997 07:51:23 -0700 (PDT) Received: by cabri.obs-besancon.fr (5.57/Ultrix3.0-C) id AA06730; Mon, 9 Jun 97 16:51:04 +0100 Date: Mon, 9 Jun 97 16:51:04 +0100 Message-Id: <9706091551.AA06730@cabri.obs-besancon.fr> From: Jean-Marc Zucconi To: msmith@atrad.adelaide.edu.au Cc: freebsd-emulation@freebsd.org In-Reply-To: <199706090352.NAA24406@genesis.atrad.adelaide.edu.au> (message from Michael Smith on Mon, 9 Jun 1997 13:22:23 +0930 (CST)) Subject: Re: doscmd -bx X-Mailer: Emacs Sender: owner-emulation@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >>>>> Michael Smith writes: > Sorry for the delay. Try : Better late than never :-) > assign A: /tmp/1.44 1440 > boot A: > and see whether that helps. Also make sure you are running the latest > set of kernel patches, and that they installed cleanly. Also make sure > that you have the LKM loaded, and that you haven't _unloaded_ it. I have solved my problem just by installing the latest patches. Now doscmd works well with dos 6.22. Thanks, Jean-Marc _____________________________________________________________________________ Jean-Marc Zucconi Observatoire de Besancon F 25010 Besancon cedex PGP Key: finger jmz@cabri.obs-besancon.fr ============================================================================= From owner-freebsd-emulation Mon Jun 9 19:05:00 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id TAA00385 for emulation-outgoing; Mon, 9 Jun 1997 19:05:00 -0700 (PDT) Received: from cactus.fi.uba.ar (cactus.fi.uba.ar [157.92.49.108]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id TAA00321; Mon, 9 Jun 1997 19:04:37 -0700 (PDT) Received: (from msagre@localhost) by cactus.fi.uba.ar (8.8.5/8.8.5) id XAA26412; Mon, 9 Jun 1997 23:06:09 GMT Date: Mon, 9 Jun 1997 23:06:09 +0000 () From: Miguel Angel Sagreras To: hackers@freebsd.org, current@freebsd.org, emulation@freebsd.org Subject: IBCS2 emulation bug installing ORACLE Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-emulation@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Installing Oracle from CD-ROM, with ORACLE 7.3.2.1 Installer, I got a bus error caused by a 16 bits versus 32 bits alignament problem in ftime xenix system call The original code is in ibcs2_xenix.c in function xenix_ftime line 132 return copyout((caddr_t)&itb, (caddr_t)SCARG(uap, tp), sizeof(struct timeb)); The modify code is return copyout((caddr_t)&itb, (caddr_t)SCARG(uap, tp), sizeof(struct timeb)-2); I know this is not the best way to correct the code but it works. I think that there are more bugs like this. Now I working with another bug with the ibcs2_getgroups, with ORACLE Installer too. Regards Miguel Angel From owner-freebsd-emulation Wed Jun 11 04:46:14 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id EAA17958 for emulation-outgoing; Wed, 11 Jun 1997 04:46:14 -0700 (PDT) Received: from stevenson.cogsci.ed.ac.uk (stevenson144.cogsci.ed.ac.uk [129.215.144.1]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id EAA17947 for ; Wed, 11 Jun 1997 04:46:10 -0700 (PDT) From: richard@cogsci.ed.ac.uk Received: from pitcairn.cogsci.ed.ac.uk (pitcairn [129.215.197.19]) by stevenson.cogsci.ed.ac.uk (8.8.5/8.8.5) with SMTP id MAA06013 for ; Wed, 11 Jun 1997 12:46:02 +0100 (BST) Date: Wed, 11 Jun 1997 12:46:01 +0100 Message-Id: <1976.199706111146@pitcairn.cogsci.ed.ac.uk> To: freebsd-emulation@freebsd.org Subject: Linux Allegro Common Lisp Sender: owner-emulation@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I just got the free Allegro CL for Linux, and have been trying to get it working under FreeBSD. I encountered a few problems: (1) Linux pwd (probably getcwd()) doesn't work when I'm under /tmp, which is a memory file system. It returns /foo/bar instead of /tmp/foo/bar. Presumably Linux's method of detecting the root directory isn't working. (2) I managed to twice damage my ext2fs filesystem. Both times a directory was corrupted (and fixed by Linux fsck), and one time a directory was detatched. Is the ext2fs code known to have problems? Is it reasonable to replace /compat/linux with a link to my ext2fs partition? (3) (The serious one) ACL dies with a bus error. The problem appears to be that ACL uses the common technique of using SIGSEGV to detect when it needs to allocate more memory. It looks as if FreeBSD sends a SIGBUS in some circumstance in which Linux sends SIGSEGV. I hacked the emulator so that when ACL sets its SIGSEGV handler, it really sets the SIGBUS handler, and that seems to fix it, at least to the stage where I can run some benchmarks. I'll look into this more closely myself, but maybe someone can tell me exactly what are the circumstances in which FreeBSD sends SIGSEGV and SIGBUS? Is it practical to have the rules be different for an emulated process? BTW, I'm using 2.2-gamma. -- Richard From owner-freebsd-emulation Fri Jun 13 14:30:38 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id OAA21502 for emulation-outgoing; Fri, 13 Jun 1997 14:30:38 -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 OAA21496 for ; Fri, 13 Jun 1997 14:30:34 -0700 (PDT) Received: (from msmith@localhost) by genesis.atrad.adelaide.edu.au (8.8.5/8.7.3) id HAA28153; Sat, 14 Jun 1997 07:00:10 +0930 (CST) From: Michael Smith Message-Id: <199706132130.HAA28153@genesis.atrad.adelaide.edu.au> Subject: Re: svgalib in Linux emulator? In-Reply-To: <6111.199706131840@figroll.csv.warwick.ac.uk> from Mr M P Searle at "Jun 13, 97 07:40:17 pm" To: csubl@csv.warwick.ac.uk (Mr M P Searle) Date: Sat, 14 Jun 1997 07:00:10 +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-emulation@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Please direct emulation-related questions to the emulation list. Mr M P Searle stands accused of saying: > Has anyone got anything to work in the Linux emulator that uses svgalib? > That would be a Very Good Thing, I'm sure there's as much svgalib stuff > for Linux as there is X. When you're ready, please submit your patches to one or more of the console drivers to allow the complete recovery of an unrecordable, unpredictable stae machine (the VGA chipset). Translation : VGALIB sucks. It is a festering abomination, and supporting it is more headache than Soren (our console hero) or anyone else is particularly keen on right now. -- ]] 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 [[