VM starts in 2.4.5 but not work in 2.4.6

Help
Trampleb
2011-10-12
2012-10-15
  • Trampleb
    Trampleb
    2011-10-12

    Hellow!
    I have compiled 2.4.6 under cygwin (like 2.4.5, even with same options) and
    with my img I have recieved:

    00000000000i Bochs x86 Emulator 2.4.6
    00000000000i Build from CVS snapshot, on February 22, 2011
    00000000000i Compiled at Oct 12 2011, 18:18:16
    00000000000i System configuration
    00000000000i processors: 1 (cores=1, HT threads=1)
    00000000000i A20 line support: yes
    00000000000i CPU configuration
    00000000000i level: 6
    00000000000i SMP support: no
    00000000000i APIC support: yes
    00000000000i FPU support: yes
    00000000000i MMX support: yes
    00000000000i 3dnow! support: no
    00000000000i SEP support: yes
    00000000000i SSE support: sse2
    00000000000i XSAVE support: no
    00000000000i AES support: no
    00000000000i MOVBE support: no
    00000000000i x86-64 support: yes
    00000000000i 1G paging support: no
    00000000000i VMX support: no
    00000000000i Optimization configuration
    00000000000i RepeatSpeedups support: yes
    00000000000i Trace cache support: yes
    00000000000i Fast function calls: yes
    00000000000i Devices configuration
    00000000000i ACPI support: yes
    00000000000i NE2000 support: yes
    00000000000i PCI support: yes, enabled=yes
    00000000000i SB16 support: yes
    00000000000i USB support: yes
    00000000000i VGA extension support: vbe
    00000000000i allocated memory at 09F40020. after alignment, vector=09F41000
    00000000000i 32,00MB
    00000000000i mem block size = 0x00100000, blocks=32
    00000000000i rom at 0xfffe0000/131072 ('C:\bochs\bochs-2.4.6\share\bochs\BIOS-
    bochs-latest')
    00000000000i rom at 0xc0000/40448 ('C:\bochs\bochs-2.4.6\share\bochs\VGABIOS-
    lgpl-latest')
    00000000000i Using local time for initial clock
    00000000000i Setting initial clock to: Wed Oct 12 18:46:31 2011
    (time0=1318430791)
    00000000000i channel 4 used by cascade
    00000000000i channel 2 used by Floppy Drive
    00000000000i 440FX Host bridge present at device 0, function 0
    00000000000i PIIX3 PCI-to-ISA bridge present at device 1, function 0
    00000000000i interval=50000
    00000000000i Register memory access handlers: 0x00000000000a0000 -
    0x00000000000bffff
    00000000000i Desktop Window dimensions: 1680 x 1050
    00000000000i Number of Mouse Buttons = 8
    00000000000i IME disabled
    00000000000i Register memory access handlers: 0x00000000e0000000 -
    0x00000000e0ffffff
    00000000000i VBE Bochs Display Extension Enabled
    00000000000i init_dev of 'unmapped' plugin device by virtual method
    00000000000i init_dev of 'biosdev' plugin device by virtual method
    00000000000i init_dev of 'speaker' plugin device by virtual method
    00000000000i init_dev of 'extfpuirq' plugin device by virtual method
    00000000000i init_dev of 'gameport' plugin device by virtual method
    00000000000i init_dev of 'pci_ide' plugin device by virtual method
    00000000000i PIIX3 PCI IDE controller present at device 1, function 1
    00000000000i init_dev of 'acpi' plugin device by virtual method
    00000000000i ACPI Controller present at device 1, function 3
    00000000000i init_dev of 'ioapic' plugin device by virtual method
    00000000000i initializing I/O APIC
    00000000000i Register memory access handlers: 0x00000000fec00000 -
    0x00000000fec00fff
    00000000000i init_dev of 'keyboard' plugin device by virtual method
    00000000000i will paste characters every 1000 keyboard ticks
    00000000000i init_dev of 'harddrv' plugin device by virtual method
    00000000000i HD on ata0-0: 'D:\images\my.bochs.2.4.6\My.img', 'sparse' mode
    00000000000i translation on ata0-0 set to 'lba'
    00000000000i Using boot sequence disk, none, none
    00000000000i Floppy boot signature check is enabled
    00000000000i init_dev of 'serial' plugin device by virtual method
    00000000000i com1 at 0x03f8 irq 4
    00000000000i init_dev of 'parallel' plugin device by virtual method
    00000000000i parallel port 1 at 0x0378 irq 7
    00000000000i register state of 'unmapped' plugin device by virtual method
    00000000000i register state of 'biosdev' plugin device by virtual method
    00000000000i register state of 'speaker' plugin device by virtual method
    00000000000i register state of 'extfpuirq' plugin device by virtual method
    00000000000i register state of 'gameport' plugin device by virtual method
    00000000000i register state of 'pci_ide' plugin device by virtual method
    00000000000i register state of 'acpi' plugin device by virtual method
    00000000000i register state of 'ioapic' plugin device by virtual method
    00000000000i register state of 'keyboard' plugin device by virtual method
    00000000000i register state of 'harddrv' plugin device by virtual method
    00000000000i register state of 'serial' plugin device by virtual method
    00000000000i register state of 'parallel' plugin device by virtual method
    00000000000i bx_pc_system_c::Reset(HARDWARE) called
    00000000000i cpu hardware reset
    00000000000i allocate APIC id=0 (MMIO enabled) to 0x00000000fee00000
    00000000000i CPUID: 0000000b 756e6547 6c65746e 49656e69
    00000000000i CPUID: 00000f23 00000800 00202000 07cbfbff
    00000000000i CPUID: 00410601 00000000 00000000 00000000
    00000000000i CPUID: 00000000 00000000 00000000 00000000
    00000000000i CPUID: 00000000 00000000 00000000 00000000
    00000000000i CPUID: 00000000 00000000 00000000 00000000
    00000000000i CPUID: 80000008 00000000 00000000 00000000
    00000000000i CPUID: 00000000 00000000 00000001 2a100800
    00000000000i CPUID: 20202020 20202020 20202020 6e492020
    00000000000i CPUID: 286c6574 50202952 69746e65 52286d75
    00000000000i CPUID: 20342029 20555043 20202020 00202020
    00000000000i CPUID: 00000000 42004200 02008140 00000000
    00000000000i CPUID: 00000000 00000000 00000000 00000000
    00000000000i CPUID: 00003028 00000000 00000000 00000000
    00000000000i reset of 'unmapped' plugin device by virtual method
    00000000000i reset of 'biosdev' plugin device by virtual method
    00000000000i reset of 'speaker' plugin device by virtual method
    00000000000i reset of 'extfpuirq' plugin device by virtual method
    00000000000i reset of 'gameport' plugin device by virtual method
    00000000000i reset of 'pci_ide' plugin device by virtual method
    00000000000i reset of 'acpi' plugin device by virtual method
    00000000000i reset of 'ioapic' plugin device by virtual method
    00000000000i reset of 'keyboard' plugin device by virtual method
    00000000000i reset of 'harddrv' plugin device by virtual method
    00000000000i reset of 'serial' plugin device by virtual method
    00000000000i reset of 'parallel' plugin device by virtual method
    00000003305i $Revision: 1.257 $ $Date: 2011/01/26 09:52:02 $
    00000200000i dimension update x=720 y=400 fontheight=16 fontwidth=9 bpp=8
    00000318042i reset-disable command received
    00000444800i VGABios $Id: vgabios.c,v 1.69 2009/04/07 18:18:20 vruppert Exp $

    00000444871i VBE known Display Interface b0c0
    00000444903i VBE known Display Interface b0c5
    00000447828i VBE Bios $Id: vbe.c,v 1.62 2009/01/25 15:46:25 vruppert Exp $
    00000760517i Starting rombios32
    00000761014i Shutdown flag 0
    00000761695i ram_size=0x02000000
    00000762173i ram_end=32MB
    00000802745i Found 1 cpu(s)
    00000821732i bios_table_addr: 0x000fb928 end=0x000fcc00
    00000821835i 440FX PMC write to PAM register 59 (TLB Flush)
    00001149532i 440FX PMC write to PAM register 59 (TLB Flush)
    00001477460i PCI IRQ routing: PIRQA# set to 0x0b
    00001477481i PCI IRQ routing: PIRQB# set to 0x09
    00001477502i PCI IRQ routing: PIRQC# set to 0x0b
    00001477523i PCI IRQ routing: PIRQD# set to 0x09
    00001477533i write: ELCR2 = 0x0a
    00001478418i PIIX3/PIIX4 init: elcr=00 0a
    00001486376i PCI: bus=0 devfn=0x00: vendor_id=0x8086 device_id=0x1237
    class=0x0600
    00001488938i PCI: bus=0 devfn=0x08: vendor_id=0x8086 device_id=0x7000
    class=0x0601
    00001491339i PCI: bus=0 devfn=0x09: vendor_id=0x8086 device_id=0x7010
    class=0x0101
    00001491569i new BM-DMA address: 0xc000
    00001492273i region 4: 0x0000c000
    00001494583i PCI: bus=0 devfn=0x0b: vendor_id=0x8086 device_id=0x7113
    class=0x0680
    00001494821i new irq line = 11
    00001494835i new irq line = 9
    00001494865i new PM base address: 0xb000
    00001494879i new SM base address: 0xb100
    00001494907i setting SMRAM control register to 0x4a
    00001659001i Enter to System Management Mode
    00001659011i RSM: Resuming from System Management Mode
    00001823031i setting SMRAM control register to 0x0a
    00001832202i MP table addr=0x000fba00 MPC table addr=0x000fb930 size=0xd0
    00001834261i SMBIOS table addr=0x000fba10
    00001836649i ACPI tables: RSDP addr=0x000fbb30 ACPI DATA addr=0x01ff0000
    size=0x988
    00001839887i Firmware waking vector 0x1ff00cc
    00001851000i 440FX PMC write to PAM register 59 (TLB Flush)
    00001851844i bios_table_cur_addr: 0x000fbb54
    00001864696i ata0-0: PCHS=16383/16/63 translation=lba LCHS=1024/255/63
    00005745020i IDE time out
    00017871337p >>PANIC<< No bootable device.
    00017871337i CPU is in real mode (active)
    00017871337i CS.d_b = 16 bit
    00017871337i SS.d_b = 16 bit
    00017871337i EFER = 0x00000000
    00017871337i | RAX=000000000000040a RBX=000000000000cd04
    00017871337i | RCX=0000000000000004 RDX=0000000000000402
    00017871337i | RSP=000000000000ffa8 RBP=000000000000ffac
    00017871337i | RSI=00000000000e0000 RDI=000000000000ffac
    00017871337i | R8=0000000000000000 R9=0000000000000000
    00017871337i | R10=0000000000000000 R11=0000000000000000
    00017871337i | R12=0000000000000000 R13=0000000000000000
    00017871337i | R14=0000000000000000 R15=0000000000000000
    00017871337i | IOPL=0 id vip vif ac vm rf nt of df if tf sf ZF af PF cf
    00017871337i | SEG selector base limit G D
    00017871337i | SEG sltr(index|ti|rpl) base limit G D
    00017871337i | CS:f000( 0004| 0| 0) 000f0000 0000ffff 0 0
    00017871337i | DS:0000( 0005| 0| 0) 00000000 0000ffff 0 0
    00017871337i | SS:0000( 0005| 0| 0) 00000000 0000ffff 0 0
    00017871337i | ES:07c0( 0005| 0| 0) 00007c00 0000ffff 0 0
    00017871337i | FS:0000( 0005| 0| 0) 00000000 0000ffff 0 0
    00017871337i | GS:0000( 0005| 0| 0) 00000000 0000ffff 0 0
    00017871337i | MSR_FS_BASE:0000000000000000
    00017871337i | MSR_GS_BASE:0000000000000000
    00017871337i | RIP=0000000000000560 (000000000000055f)
    00017871337i | CR0=0x60000010 CR2=0x0000000000000000
    00017871337i | CR3=0x00000000 CR4=0x00000000
    00017871337i 0x000000000000055f>> out dx, al : EE
    00017871337i Last time is 1318430795 (Wed Oct 12 18:46:35 2011)
    00017871337i restoring default signal behavior
    00017871337i quit_sim called with exit code 1

    I'm a newby in Bochs so could somebody help me please.
    Thanks very much.

     
  • Trampleb
    Trampleb
    2011-10-14

    I have dealed with that. There was some error in my compilation (although I
    thought that this was a problem). Now it works.
    There are some difficulties in bochsrc too. With bochsrc generated by myself
    VM 'looped' in reading MSR 0x179 (in bochsout there were the planty of
    'readmsr' lines til the end). Goog bochsrc I've get through precompiled (.exe)
    version.
    Good luck everybody. Bochs is great tool for reseaching the OSs but demand
    some braine to work with ;)