Hi folks!

I've done a FreeBSD Port, based on the NetBSD version.

However, I wonder if one of you could tell me, what the following is,
and if the problem is Plex86 userland or kernel-module specific?

root:~/work/plex86/user $ ./plex86 -f ../conf/freedos 
Processing command-line options
Opening VM (/dev/plex86)
Processing config file ../conf/freedos...
Allocating 4MB of physical memory in VM
Mapping virtualized physical memory into monitor
Zeroing virtualized physical memory
Mapping monitor print buffer into user mem.
bochs: ips = 1000000
unmapped_c::init: IGNORING unmapped ports
bochs: [cmos] Setting initial clock to: Fri Dec 29 17:02:03 2000
bochs: bx_options.floppy_command_delay = 500
vga construct static
bochs: font_width = 8
bochs: font_height = 16
bochs: default_depth = 16
bochs: waiting for MapNotify
bochs: MapNotify found.
bochs: vga: interval=200000
vga init called
bochs: TTY not used, serial port is not connected
ROM: loading image '../bios/BIOS-plex86-2000_0817a' @ 0xf0000 (65536
bytes)
ROM: loading image '../bios/VGABIOS-elpin-2.40' @ 0xc0000 (32768
bytes)
Setting prescan depth to 3
prescan on
Processed 62 lines of config file '../conf/freedos'
Initializing plugins
Running VM
bochs: timer0 period set to 18 hz
bochs: CMOS: write reg 14h: value = 05h
Fatal monitor error caused Panic
eax:0x2
ebx:0xf4240
ecx:0x36
edx:0x97401
ebp:0x0
esi:0x0
edi:0x500
esp:0xfffc
eflags:0x46
eip:0x3c21
cs:s=0xf000, dl=0xffff, dh=0x9b0f, valid=1
ss:s=0x0, dl=0xffff, dh=0x9300, valid=1
ds:s=0x0, dl=0xffff, dh=0x9300, valid=1
es:s=0x0, dl=0xffff, dh=0x9300, valid=1
fs:s=0x0, dl=0xffff, dh=0x9300, valid=1
gs:s=0x0, dl=0xffff, dh=0x9300, valid=1
ldtr:s=0x0, dl=0x0, dh=0x0, valid=0
tr:s=0x0, dl=0x0, dh=0x0, valid=0
gdtr:base=0x0, limit=0x0
idtr:base=0x0, limit=0x3ff
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:
 F000.00003C21  E471                     inb     $0x71, %al

Shutting down plugins
bochs: Note: X11: bx_gui_c::exit() not implemented yet.
Unmapping guest physical memory.
Unmapping monitor print buffer.
Tearing down VM
Closing VM

To be more specific, I have set monitor_pages.start_addr to the offset
where the module has been loaded in the kernel.
I hope this is correct, at least this is what I think is done with the
NetBSD and Linux version as well.

Since I see a monitor error, I wonder if this is really correct.

Thanks

Alex

Reply via email to