LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How do you get an emulator to work? (https://www.linuxquestions.org/questions/linux-software-2/how-do-you-get-an-emulator-to-work-83335/)

bmike1 08-18-2003 09:53 PM

How do you get an emulator to work?
 
First I tried WINE (it is so an emulator!) (WINdows Emulator) (and I don't care what they say)
It will not work. I want to run quicken so I type wine quicken (until the HD dies I think I'll use quicken)and sometimes it says that it cannot find the configuaration file. Other times it fails with a status of 1.
Then I heard of bochs. From what I have read about it and what little I've seen of it it seems to pretend to be the M$ OS itself.
I really want this one to work but its screen appears and popup windows pop up stating:
Failed to open plex86 device
&
ata0/0 cannot have zero cylinders, heads, or sectors/tracks
&
ata0-0: could not open hard drive image file '/home/bmike1/.bochs/guest.hd0'
&
Could not open 'dev/lp0' to write parport1 output
&
BIOS panic at rombios.c, lin 1558
&
BIOS panic at rombios.c, lin 7715

and the emulator has displayed on its screen in the final state of things:
_________________________________________________________
Plex 86/Bochs VGABios current-cvs 24 Mar 2003
ThisVGA/VBE Bios is released under the GNU LGPL

Please visit :
. http://www.plex86.org
. http://bochs.sourceforge.net
. http://www.nongnu.org/vgabios
Bochs VBE Display Adapter enabled

Bochs BIOS, 1 cpu, $Revision: 1.93 $ $Date: 2003/04/25 22:13:24 $

ata0 master: Generic 1234 ATA-2 Hard-Disk (0 MBytes)
ata0 slave: Generic 1234 ATAPI-4 CD-Rom/DVD-Rom

CDROM boot failure code : 0003
Boot from CD-Rom failed
FATAL: Could not read the boot disk
________________________________________________________

Here is the terminal's text:

bmike1@bmike1:/root$ bochs
00000000000i[APIC?] local apic in initializing
========================================================================
Bochs x86 Emulator 2.0.cvs
Build from CVS, after 2.0
========================================================================
00000000000i[ ] LTDL_LIBRARY_PATH not set. using compile time default '/usr/lib/bochs/plugins'
00000000000i[ ] BXSHARE not set. using compile time default '/usr/share/bochs'
00000000000i[ ] reading configuration from /home/bmike1/.bochsrc
00000000000e[ ] /home/bmike1/.bochsrc: ataX-master/slave cannot have zero cylinders, heads, or sectors/track
00000000000i[ ] lt_dlhandle is 0x824a228
00000000000i[ ] loaded plugin libbx_wx.la
19:21:35: Starting Bochs simulation
Opening VM.
Trying /dev/misc/plex86...failed.
Trying /dev/plex86...failed.
won't use the Plex86 backend.
open: No such file or directory
00000000000p[ ] >>PANIC<< Failed to open plex86 device.
19:21:36: message size is 342,17
19:21:36: minsize is 372,184
19:21:41: you pressed button id=46, return value=0
00000000000i[ ] using log file /dev/stdout
00000000000e[IO ] Couldn't open log file: /dev/stdout, using stderr instead
00000000000i[ ] Bochs x86 Emulator 2.0.cvs
00000000000i[ ] Build from CVS, after 2.0
00000000000i[ ] System configuration
00000000000i[ ] processors: 1
00000000000i[ ] A20 line support: yes
00000000000i[ ] APIC support: yes
00000000000i[ ] CPU configuration
00000000000i[ ] level: 6
00000000000i[ ] fpu support: yes
00000000000i[ ] paging support: yes, tlb enabled: yes
00000000000i[ ] mmx support: yes
00000000000i[ ] sse support: 2
00000000000i[ ] v8086 mode support: yes
00000000000i[ ] PAE support: yes
00000000000i[ ] PGE support: yes
00000000000i[ ] PSE support: yes
00000000000i[ ] x86-64 support: yes
00000000000i[ ] SEP support: no
00000000000i[ ] Optimization configuration
00000000000i[ ] Guest2HostTLB support: yes
00000000000i[ ] RepeatSpeedups support: yes
00000000000i[ ] Icache support: yes
00000000000i[ ] Host Asm support: yes
00000000000i[MEM0 ] 0.00MB
00000000000i[MEM0 ] allocated memory at 0x40a97008. after alignment, vector=0x40a98000
00000000000i[MEM0 ] 32.00MB
00000000000i[MEM0 ] rom at 0xf0000/65536 ('/usr/share/bochs/BIOS-bochs-latest')
00000000000i[MEM0 ] rom at 0xc0000/28484 ('/usr/share/vgabios/vgabios.bin')
00000000000i[APIC?] local apic in initializing
00000000000i[APIC0] 80686
00000000000i[ ] lt_dlhandle is 0x82d1980
00000000000i[PLGIN] loaded plugin libbx_unmapped.la
00000000000i[ ] lt_dlhandle is 0x82db0d8
00000000000i[PLGIN] loaded plugin libbx_biosdev.la
00000000000i[ ] lt_dlhandle is 0x82d7250
00000000000i[PLGIN] loaded plugin libbx_cmos.la
00000000000i[ ] lt_dlhandle is 0x82d10f0
00000000000i[PLGIN] loaded plugin libbx_dma.la
00000000000i[ ] lt_dlhandle is 0x82d6db0
00000000000i[PLGIN] loaded plugin libbx_pic.la
00000000000i[ ] lt_dlhandle is 0x82d6fd0
00000000000i[PLGIN] loaded plugin libbx_vga.la
00000000000i[ ] lt_dlhandle is 0x82d83e0
00000000000i[PLGIN] loaded plugin libbx_floppy.la
00000000000i[ ] lt_dlhandle is 0x82dd9c8
00000000000i[PLGIN] loaded plugin libbx_harddrv.la
00000000000i[ ] lt_dlhandle is 0x82e7bc8
00000000000i[PLGIN] loaded plugin libbx_keyboard.la
00000000000i[ ] lt_dlhandle is 0x82de208
00000000000i[PLGIN] loaded plugin libbx_serial.la
00000000000i[ ] lt_dlhandle is 0x82de138
00000000000i[PLGIN] loaded plugin libbx_parallel.la
00000000000i[ ] lt_dlhandle is 0x82de198
00000000000i[PLGIN] loaded plugin libbx_extfpuirq.la
00000000000i[CMOS ] Setting initial clock to: Mon Aug 18 19:21:42 2003 (time0=1061227302)
00000000000i[DMA ] channel 4 used by cascade
00000000000i[DMA ] channel 2 used by Floppy Drive
00000000000i[FDD ] tried to open /dev/fd0 read/write: Success
00000000000i[FDD ] tried to open /dev/fd0 read only: Success
00000000000i[FDD ] fd0: '/dev/fd0' ro=1, h=0,t=0,spt=0
00000000000i[ ] lt_dlhandle is 0x82defa8
00000000000i[PLGIN] loaded plugin libbx_sb16.la
00000000000i[VGA ] interval=300000
00000000000i[VGA ] VBE Bochs Display Extension Enabled
00000000000i[PLGIN] init_mem of 'harddrv' plugin device by virtual method
00000000000i[PLGIN] init_mem of 'keyboard' plugin device by virtual method
00000000000i[PLGIN] init_mem of 'serial' plugin device by virtual method
00000000000i[PLGIN] init_mem of 'parallel' plugin device by virtual method
00000000000i[PLGIN] init_mem of 'extfpuirq' plugin device by virtual method
00000000000i[PLGIN] init_mem of 'sb16' plugin device by virtual method
00000000000i[PLGIN] init_dev of 'harddrv' plugin device by virtual method
00000000000i[HD ] HD on ata0-0: '/home/bmike1/.bochs/guest.hd0' 'flat' mode
00000000000p[HD ] >>PANIC<< ata0/0 cannot have zero cylinders, heads, or sectors/track
19:21:42: message size is 603,17
19:21:42: minsize is 633,184
19:23:01: you pressed button id=46, return value=0
00000000000p[HD ] >>PANIC<< ata0-0: could not open hard drive image file '/home/bmike1/.bochs/guest.hd0'
19:23:01: message size is 765,17
19:23:01: minsize is 795,184
19:26:02: you pressed button id=46, return value=0
00000000000i[HD ] CD on ata0-1: '/dev/cdrom'
00000000000i[CD ] load cdrom with path=/dev/cdrom
00000000000e[CD ] open cd failed for /dev/cdrom: Success
00000000000i[HD ] Could not locate CD-ROM, continuing with media not present
00000000000i[HD ] translation on ata0-0 set to 'none'
00000000000i[HD ] Boot device will be 'cdrom'
00000000000i[HD ] Floppy boot signature check is enabled
00000000000i[PLGIN] init_dev of 'keyboard' plugin device by virtual method
00000000000i[KBD ] will paste characters every 1000 keyboard ticks
00000000000i[PLGIN] init_dev of 'serial' plugin device by virtual method
00000000000i[SER ] com1 at 0x3f8/8 irq 4
00000000000i[PLGIN] init_dev of 'parallel' plugin device by virtual method
00000000000i[PAR ] parallel port 1 at 0x378
00000000000p[PAR ] >>PANIC<< Could not open '/dev/lp0' to write parport1 output
19:26:03: message size is 531,17
19:26:03: minsize is 561,184
19:27:28: you pressed button id=46, return value=0
00000000000i[PLGIN] init_dev of 'extfpuirq' plugin device by virtual method
00000000000i[PLGIN] init_dev of 'sb16' plugin device by virtual method
00000000000e[SB16 ] Error opening file /dev/stdout. Logging disabled.
00000000000i[SB16 ] midi=1,/dev/midi00 wave=1,/dev/dsp log=0,/dev/stdout dmatimer=600000
00000000000i[DMA ] channel 1 used by SB16
00000000000i[PLGIN] reset of 'harddrv' plugin device by virtual method
00000000000i[PLGIN] reset of 'keyboard' plugin device by virtual method
00000000000i[PLGIN] reset of 'serial' plugin device by virtual method
00000000000i[PLGIN] reset of 'parallel' plugin device by virtual method
00000000000i[PLGIN] reset of 'extfpuirq' plugin device by virtual method
00000000000i[PLGIN] reset of 'sb16' plugin device by virtual method
00000003980i[BIOS ] rombios.c,v 1.93 2003/04/25 22:13:24 cbothamy Exp $
00000317797i[KBD ] reset-disable command received
00000321598i[VBIOS] VGABios $Id: vgabios.c,v 1.27 2003/02/09 19:59:21 vruppert Exp $
00000321829i[VGA ] VBE known Display Interface b0c1
00000321914i[VGA ] VBE known Display Interface b0c0
00000324859i[VBIOS] VBE Bios $Id: vbe.c,v 1.26 2003/02/11 19:17:59 vruppert Exp $
00000324974i[VGA ] VBE known Display Interface b0c1
00000325058i[VGA ] VBE disabling
00000560879i[VGA ] VBE known Display Interface b0c1
00000600000i[WX ] dimension update x=720 y=400 fontheight=16 fontwidth=9
00000656115i[BIOS ] ata0-0: PCHS=0/16/63 translation=none LCHS=0/16/63
00000758798e[HD ] atapi_cmd_error channel=00 key=02 asc=3a
00000783659i[BIOS ] CDROM boot failure code : 0003
00000804134i[BIOS ] Boot from CD-Rom failed
00000834320i[BIOS ] FATAL: Could not read the boot disk
00000835723p[BIOS ] >>PANIC<< BIOS panic at rombios.c, line 1558
19:27:29: message size is 387,17
19:27:29: minsize is 417,184
19:28:33: you pressed button id=46, return value=0
00000835742p[BIOS ] >>PANIC<< BIOS panic at rombios.c, line 7715
19:28:33: message size is 387,17
19:28:33: minsize is 417,184
19:29:11: you pressed button id=46, return value=0

dejan_j 08-18-2003 11:59 PM

dont copy ur hole code not like any1 is gonna read it all...read ur "readme" file and it will work as it had worked 100% 4 me

acid_kewpie 08-19-2003 04:57 AM

Quote:

First I tried WINE (it is so an emulator!) (WINdows Emulator) (and I don't care what they say)
it so isn't... feel free to define what an emulator is (in respect to a compatability layer or a virtual machine) and justify this.... :)

tchernobog 08-19-2003 10:14 AM

Yeah! WINE stands for "WINE is NOT an emulator"!! A recursive definition in pure hackerish style. Like GNU is...

And btw, if you have wine works correctly, it's the best software around...


All times are GMT -5. The time now is 10:06 AM.