Subject: Re: problems with plex86 pkg on 1.5/i386
To: Matthias Buelow <mkb@mukappabeta.de>
From: Berndt Josef Wulf <wulf@ping.net.au>
List: netbsd-help
Date: 01/02/2001 21:20:49
Matthias Buelow wrote
> Hi folks,
> 
> I installed plex86 from pkgsrc (emulators/plex86) on 1.5:
> 
> # $NetBSD: Makefile,v 1.11 2000/12/17 17:43:18 tron Exp $
> DISTNAME=       plex86-20001216
> PKGNAME=        plex86-0.20001216
> 
> and tried to run it, however without much success:
> 
> # plex86
> Processing command-line options
> Opening VM (/dev/plex86)
> Initializing plugins
> Running VM
> ioctl MESSSAGEQ: : Invalid argument
> Shutting down plugins
> Unmapping guest physical memory.
> Unmapping monitor print buffer.
> munmap of monitor print buffer.: Invalid argument
> 
> The module is loaded and the netbsd_post.sh has been properly
> executed (and SysV IPC is also in the kernel, dunno if plex86
> requires it but the above looks like it.)
> The device node that was created looks like the following:
> crw-r--r--  1 root  wheel  29, 0 Jan  2 04:50 /dev/plex86
> 
> Did anybody encounter the above failure behaviour and found
> a way to resolve the problem?

I don't get this here, but admittendly, it took me a couple of
attempts to get it going using a boot floppy.

Here is the configuration that I use...
----------------- cut -------------------
memory = 4
plugin = /usr/X11R6/lib/plex86/plugin-bochs.so
bochs-opt boot: a
bochs-opt floppya: 1_44="/dev/fd0a", status=inserted
bochs-opt keyboard_serial_delay: 200
bochs-opt floppy_command_delay: 500
bochs-opt vga_update_interval: 200000
bochs-opt mouse: enabled=0
bochs-opt private_colormap: enabled=0
bochs-opt i440fxsupport: enabled=0
bochs-opt newharddrivesupport: enabled=1
bochs-opt ips: 1000000
bochs-init
load-rom: file=/usr/X11R6/lib/plex86/bios/BIOS-plex86-2000_0817a,
address=0xf0000 
load-rom: file=/usr/X11R6/lib/plex86/bios/VGABIOS-elpin-2.40,
address=0xc0000
----------------- cut -------------------

Hope this helps....

cheerio Berndt
-- 
Name    : Berndt Josef Wulf            | +++ With BSD on Packet Radio +++
E-Mail  : wulf@ping.net.au             |    tfkiss, tnt, dpbox, wampes
ICQ     : 18196098                     |  VK5ABN, Nairne, South Australia 
URL     : http://www.ping.net.au/~wulf | MBOX : vk5abn@vk5abn.#lmr.#sa.au.oc
Sysinfo : DEC AXPpci33+, NetBSD-1.4.2  | BBS  : vk5abn.#lmr.#sa.aus.oc