[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Plex86-devel] Re: Plex86-devel digest, Vol 1 #16 - 1 msg
From: |
philippe lhardy |
Subject: |
[Plex86-devel] Re: Plex86-devel digest, Vol 1 #16 - 1 msg |
Date: |
Fri, 7 Jun 2002 18:14:20 +0200 |
>
> Message: 1
> From: James Pellow <address@hidden>
> To: address@hidden
> Date: Thu, 6 Jun 2002 09:30:02 -0700
> Subject: [Plex86-devel] Plex startup problems.
>
> Hi all,
>
> I have been interrested in plex86 since its beginnings, and have had it u=
> p and=20
> running several times. I just downloaded the 20020502 version and have h=
> ad=20
> the following problems:
>
> In the bochs section of the configuration file, plex doesn't seem to reco=
> gnize=20
> "bochs-init"
>
> plex86: error in config file 'winnt', line 31
> bochs-init
> ^ Expecting recognized directive
>
> Looking at the code, it appears that the only valid directive from the bo=
> chs=20
> plugin is "bochs-opt". I have tried removing that line (assuming the=20
> initialization is being done automatically) and plex at least starts but =
> with=20
> the following problem:
>
>
> Processing command-line options
> Opening VM (/dev/plex86)
> Processing config file winnt...
> Allocating 32MB of physical memory in VM
> Mapping virtualized physical memory into monitor
> Zeroing virtualized physical memory
> Mapping monitor print buffer into user mem.
> ROM: loading image '/home/pellja/src/20020502/bios/BIOS-plex86-current' @=
> =20
> 0xf0000 (65536 bytes)
> ROM: loading image '/home/pellja/src/20020502/bios/VGABIOS-elpin-2.40' @=20
> 0xc0000 (32768 bytes)
> Setting prescan depth to 3
> prescan on
> Processed 62 lines of config file 'winnt'
> Initializing plugins
> Running VM
> ::init_monitor OK -----------------
> nexus_size =3D 0x24E
>
> ::sysIOOut: No handler defined for port 0x70!.
>
> ::sysIOIn: No handler defined for port 0x71.
>
> ::sysIOOut: No handler defined for port 0x71!.
>
> ::plex86 panic:
> ::emulate:1 default case of 5
>
> Fatal monitor error caused Panic
> eax:0x0
> ebx:0x0
> ecx:0x0
> edx:0x0
> ebp:0x0
> esi:0x0
> edi:0x0
> esp:0x1a
> eflags:0x46
> eip:0xa0000
> cs:s=3D0x0, dl=3D0xffff, dh=3D0x9b00, valid=3D1
> ss:s=3D0x0, dl=3D0xffff, dh=3D0x9300, valid=3D1
> ds:s=3D0x0, dl=3D0xffff, dh=3D0x9300, valid=3D1
> es:s=3D0x0, dl=3D0xffff, dh=3D0x9300, valid=3D1
> fs:s=3D0x0, dl=3D0xffff, dh=3D0x9300, valid=3D1
> gs:s=3D0x0, dl=3D0xffff, dh=3D0x9300, valid=3D1
> ldtr:s=3D0x0, dl=3D0x0, dh=3D0x0, valid=3D0
> tr:s=3D0x0, dl=3D0x0, dh=3D0x0, valid=3D0
> gdtr:base=3D0x0, limit=3D0x0
> idtr:base=3D0x0, limit=3D0x3ff
> dr0:0x0
> dr1:0x0
> dr2:0x0
> dr3:0x0
> dr6:0xffff0ff0
> dr7:0x400
> tr3:0x0
> tr4:0x0
> tr5:0x0
> tr6:0x0
> tr7:0x0
> cr0:0x60000032
> cr1:0x0
> cr2:0x0
> cr3:0x0
> cr4:0x0
> inhibit_mask:0
> Stack dump:
> Current instruction:
> 0000.000A0000 0000 addb %al, (%bx,%si)
>
> Shutting down plugins
> [GUI ] <INFO> Exit.
> Unmapping guest physical memory.
> Unmapping monitor print buffer.
> Tearing down VM
> Closing VM
>
>
> Any ideas? I am running linux kernel 2.4.18. I hope this hasn't already=
> been=20
> discussed in the list. I haven't seen it. I am trying to familiarize my=
> self=20
> with the plex code and would like to contribute from time to time. Great=
> =20
> project, I hope it takes off again soon.
>
> James Pellow
>
>
>
> --__--__--
>
> _______________________________________________
> Plex86-devel mailing list
> address@hidden
> http://mail.freesoftware.fsf.org/mailman/listinfo/plex86-devel
>
>
> End of Plex86-devel Digest
I finally managed to make tomsrtbt-1.7.361 working on my 2.4.17 kernel
this is a first step before starting a bigger system.
- First i used http://cbothamy.free.fr/projects/plex86/ patches. [ and
rombios.bin ]
- Second i took care of configuration commands order :
- defined vales boch-opts before any pluggins ( and removed bochs-init )
- Third i load all possible pluggins
[ in this configuration hard disk is not really used, but mk2fs it and mounted
it then hd system is working ]
Here an example of my conf :
####################################################################
# This is an example plex86 configuration file
####################################################################
####################################################################
# Memory settings
####################################################################
# number of megabytes for vm
memory = 16
####################################################################
# Plugins
####################################################################
plugin = ./plugins/bochs/plugin-bochs.so
bochs-opt boot: a
bochs-opt diskc: file="../../10M.vga", cyl=20, heads=16, spt=63
bochs-opt floppya: 1_44=/reiser2/compilations/tomsrtbt-1.7.361/tomsrtbt.raw,
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=0
bochs-opt ips: 1000000
plugin = ./plugins/bochs/iodev/cmos.so
plugin = ./plugins/bochs/iodev/dma.so
plugin = ./plugins/bochs/iodev/system.so
plugin = ./plugins/bochs/iodev/vga.so
plugin = ./plugins/bochs/iodev/serial.so
plugin = ./plugins/bochs/iodev/parallel.so
plugin = ./plugins/bochs/iodev/keyboard.so
plugin = ./plugins/bochs/iodev/floppy.so
plugin = ./plugins/bochs/iodev/harddrv.so
plugin = ./plugins/bochs/iodev/biosdev.so
CMOSChecksum
# The system BIOS
load-rom: file=../bios/rombios.bin, address=0xf0000
# The VGA BIOS
load-rom: file=../bios/VGABIOS-elpin-2.40, address=0xc0000
####################################################################
# Debugging settings
####################################################################
# syntax for disassembly
db_syntax = intel
####################################################################
# VM tweaks
####################################################################
# Maximum depth that the scan-before-execute code will try
# to recursively prescan code in the current code page, by
# following intra-page branches.
prescan: depth = 3, ring3 = on
####################################################################
# end of config file
####################################################################
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Plex86-devel] Re: Plex86-devel digest, Vol 1 #16 - 1 msg,
philippe lhardy <=