Newsgroup: it.comp.os.linux.iniziare
Titolo: bochs - simulation stopped

ho installato e configurato bochs
funziona solo per visualizzare il testo (per esempio quando parte un 
dischetto di boot).. ma non appena deve apparire una finestra grafica (anche 
dos) mi dice SIMULATION STOPPED e devo solo uscire.
che devo fare?
grazie 



Configuralo per scrivere su un log, e controlla poi le ultime righe prima
dell'uscita. Di solito c'e' scritto il motivo. E' in effetti strano che si
fermi senza notificarti nulla. Fra l'altro dovrebbe fermarsi solo
quando va in panic.
-- 
Mario "Reliant" Pascucci
http://ilpettegolo.altervista.org/

 ha 
scritto nel messaggio news:pan.2004.09.07....@libero.it...


 più tardi posto il log
Nel frattempo impara a quotare.
Ciao
  Andrea

Andrea Palazzi ha scritto:

ho avviato bochs con un dischetto di boot nel quale c'è grub.
questo è bochsrc:
config_interface: wx
display_library: wx
romimage: file=/usr/share/bochs/BIOS-bochs-latest, address=0xf0000
megs: 128
vgaromimage: /usr/share/vgabios/vgabios.bin
floppya: 1_44=/dev/fd0, status=inserted
ata0: enabled=1, ioaddr1=0x1f0, ioaddr2=0x3f0, irq=14
ata1: enabled=0, ioaddr1=0x170, ioaddr2=0x370, irq=15
ata2: enabled=0, ioaddr1=0x1e8, ioaddr2=0x3e0, irq=11
ata3: enabled=0, ioaddr1=0x168, ioaddr2=0x360, irq=9
ata0-master: type=disk, path="c.img", mode=flat, cylinders=14222, 
heads=16, spt=63
ata0-slave: type=cdrom, path="/dev/cdrom", status=inserted
boot: floppy
ips: 1000000
floppy_bootsig_check: disabled=0
log: /dev/stdout
panic: action=ask
error: action=report
info: action=report
debug: action=ignore
debugger_log: -
com1: enabled=1, dev=/dev/ttyS0
parport1: enabled=1, file="/dev/lp0"
sb16: midimode=1, midi=/dev/midi00, wavemode=1, wave=/dev/dsp, 
loglevel=2, log=/dev/stdout, dmatimer=600000
vga_update_interval: 300000
keyboard_serial_delay: 250
keyboard_paste_delay: 100000
floppy_command_delay: 500
mouse: enabled=1
private_colormap: enabled=0
#ne2k: ioaddr=0x240, irq=9, mac=b0:c4:20:00:00:00, ethmod=linux, ethdev=eth0
#keyboard_mapping: enabled=0, map=/usr/share/bochs/keymaps/x11-pc-de.map
#keyboard_type: mf
user_shortcut: keys=ctrlaltdel
#magic_break: enabled=1
#cmosimage: cmos.img
#load32bitOSImage: os=nullkernel, path=../kernel.img, iolog=../vga_io.log
#load32bitOSImage: os=linux, path=../linux.img, iolog=../vga_io.log, 
initrd=../initrd.img
#i440fxsupport: enabled=1
usb1: enabled=1, ioaddr=0xFF80, irq=10
#text_snapshot_check: enable
ecco il log:
00000000000i[HD   ] HD on ata0-0: 'c.img' 'flat' mode
00000000000i[HD   ] CD on ata0-1: '/dev/cdrom'
00000000000i[CD   ] load cdrom with path=/dev/cdrom
00000000000e[CD   ] open cd failed for /dev/cdrom: No medium found
00000000000i[HD   ] Could not locate CD-ROM, continuing with media not 
present
00000000000i[HD   ] translation on ata0-0 set to 'lba'
00000000000i[HD   ] Boot device will be 'a'
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 0x03f8 irq 4
00000000000i[PLGIN] init_dev of 'parallel' plugin device by virtual method
00000000000i[PAR  ] parallel port 1 at 0x0378 irq 7
00000000000i[PLGIN] init_dev of 'extfpuirq' plugin device by virtual method
00000000000i[PLGIN] init_dev of 'gameport' plugin device by virtual method
00000000000i[PLGIN] init_dev of 'speaker' plugin device by virtual method
00000000000i[SPEAK] Open /dev/console successfully
00000000000i[PLGIN] init_dev of 'sb16' plugin device by virtual method
00000000000i[SB16 ] midi=1,/dev/midi00  wave=1,/dev/dsp 
log=2,/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 'gameport' plugin device by virtual method
00000000000i[PLGIN] reset of 'speaker' plugin device by virtual method
00000000000i[PLGIN] reset of 'sb16' plugin device by virtual method
00000004049i[BIOS ]  rombios.c,v 1.114 2004/08/21 13:31:48 vruppert Exp $
00000317794i[KBD  ] reset-disable command received
00000321661i[VBIOS] VGABios $Id: vgabios.c,v 1.59 2004/07/18 20:22:43 
vruppert Exp $
00000321731i[VGA  ] VBE known Display Interface b0c0
00000321763i[VGA  ] VBE known Display Interface b0c3
00000324688i[VBIOS] VBE Bios $Id: vbe.c,v 1.45 2004/07/22 18:37:29 
vruppert Exp $
00000600000i[WX   ] dimension update x=720 y=400 fontheight=16 
fontwidth=9 bpp=800000605532i[BIOS ] ata0-0: PCHS=14222/16/63 
translation=lba LCHS=892/255/63
00001179252i[CPU  ] CMOV_GdEd: -enable-cpu-level=6 required
00001179252e[CPU  ] exception(): 3rd (13) exception with no resolution, 
shutdown status is 00h, resetting
00001179252i[SYS  ] bx_pc_system_c::Reset(SOFTWARE) called
00001179252i[     ] cpu loop quit, shutting down simulator
00001179252i[SYS  ] Last time is 1094610191
00001179252i[WX   ] bx_wx_gui_c::exit() not implemented yet.
00001179252i[CPU  ] real mode
00001179252i[CPU  ] CS.d_b = 16 bit
00001179252i[CPU  ] SS.d_b = 16 bit
00001179252i[CPU  ] | EAX=00000000  EBX=00000000  ECX=00000000  EDX=00000300
00001179252i[CPU  ] | ESP=00000000  EBP=00000000  ESI=00000000  EDI=00000000
00001179252i[CPU  ] | IOPL=0 NV UP DI PL NZ NA PO NC
00001179252i[CPU  ] | SEG selector     base    limit G D
00001179252i[CPU  ] | SEG sltr(index|ti|rpl)     base    limit G D
00001179252i[CPU  ] |  DS:0000( 0000| 0|  0) 00000000 0000ffff 0 0
00001179252i[CPU  ] |  ES:0000( 0000| 0|  0) 00000000 0000ffff 0 0
00001179252i[CPU  ] |  FS:0000( 0000| 0|  0) 00000000 0000ffff 0 0
00001179252i[CPU  ] |  GS:0000( 0000| 0|  0) 00000000 0000ffff 0 0
00001179252i[CPU  ] |  SS:0000( 0000| 0|  0) 00000000 0000ffff 0 0
00001179252i[CPU  ] |  CS:f000( 0000| 0|  0) 000f0000 0000ffff 0 0
00001179252i[CPU  ] | EIP=0000fff0 (0000fff0)
00001179252i[CPU  ] | CR0=0x60000010 CR1=0x00000000 CR2=0x00000000
00001179252i[CPU  ] | CR3=0x00000000 CR4=0x00000000
00001179252i[     ] restoring default signal behavior
04:23:15: Simulation stopped

 04:23:15: Simulation stopped
Ecco l'errore, e bochs ti suggerisce anche la soluzione:
CMOV_GdEd: -enable-cpu-level=6 required
Probabilmente stai eseguendo software per i686 mentre bochs e' compilato
per cpu <= i586, e quindi genera una triple exception. Controlla che
software e' e se puoi ricompila bochs per supportare il processore che si
aspetta il programma che lanci.


 
quindi devo per forza ricompilare?
non c'è qualche repository per debian dove trovare bochs già compilato x 
   686?