LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Unable too compile bochs-2.6 (https://www.linuxquestions.org/questions/linux-newbie-8/unable-too-compile-bochs-2-6-a-4175445795/)

micflunu 01-16-2013 12:41 AM

Unable too compile bochs-2.6
 
I was trying to compile bochs from the source.I did all of the compiling process using the site http://bochs.sourceforge.net/doc/doc...ng.html#AEN803 and then i got the following error message
Code:

00013040763p[BIOS ] >>PANIC<< No bootable device.
what should i do is there any one who can show me the way???

knudfl 01-16-2013 05:27 PM

This should do for 'bochs-2.6' : ./configure && make


Which OS are you using ? Name + version + architecture, please.


http://bochs.sourceforge.net/doc/doc...aq.html#AEN316


-

micflunu 01-17-2013 02:04 AM

I am using ubuntu 11.10.
uname -r=2.6.38-8-generic

knudfl 01-17-2013 02:35 AM

# 3.

? And the architecture : i686 or x86_64 ? That's : uname -m


( 'uname -r' is the kernel version only. "All" is 'uname -a'.)

micflunu 01-17-2013 02:58 AM

It is i686.Now i tried to install bochs again and i am getting ....
Code:

00000000000i[    ] installing x module as the Bochs GUI
00000000000i[    ] using log file bochsout.txt
Next at t=0
(0) [0x00000000fffffff0] f000:fff0 (unk. ctxt): jmp far f000:e05b        ; ea5be000f0
<bochs:1>

and bochsout.txt looks like
Code:

00000000000i[    ] Bochs x86 Emulator 2.5.1
00000000000i[    ]  Built from SVN snapshot on January 6, 2012
00000000000i[    ] Compiled on Jan 16 2013 at 23:48:31
00000000000i[    ] System configuration
00000000000i[    ]  processors: 1 (cores=1, HT threads=1)
00000000000i[    ]  A20 line support: yes
00000000000i[    ]  load configurable MSRs from file "msrs.def"
00000000000i[    ] IPS is set to 50000000
00000000000i[    ] CPU configuration
00000000000i[    ]  level: 6
00000000000i[    ]  SMP support: no
00000000000i[    ]  APIC support: xapic
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: no
00000000000i[    ]  MWAIT support: yes
00000000000i[    ] Optimization configuration
00000000000i[    ]  RepeatSpeedups support: no
00000000000i[    ]  Fast function calls: no
00000000000i[    ]  Handlers Chaining speedups: no
00000000000i[    ] Devices configuration
00000000000i[    ]  NE2000 support: no
00000000000i[    ]  PCI support: no, enabled=yes
00000000000i[    ]  SB16 support: no
00000000000i[    ]  USB support: no
00000000000i[    ]  VGA extension support: vbe
00000000000i[MEM0 ] allocated memory at 0xa7036008. after alignment, vector=0xa7037000
00000000000i[MEM0 ] 512.00MB
00000000000i[MEM0 ] mem block size = 0x00100000, blocks=512
00000000000i[MEM0 ] rom at 0xfffe0000/131072 ('/usr/local/share/bochs/BIOS-bochs-latest')
00000000000i[CPU0 ] loaded MSR[0x02c] type=0 00000000:00000000 00000000:00000000 00000000:00000000
00000000000e[DEV  ] Bochs is not compiled with PCI support
00000000000i[CMOS ] Using local time for initial clock
00000000000i[CMOS ] Setting initial clock to: Thu Jan 17 00:00:30 2013 (time0=1358370030)
00000000000i[DMA  ] channel 4 used by cascade
00000000000i[DMA  ] channel 2 used by Floppy Drive
00000000000i[FDD  ] tried to open '/dev/fd0' read/write: No such file or directory
00000000000i[FDD  ] tried to open '/dev/fd0' read only: No such file or directory
00000000000i[MEM0 ] Register memory access handlers: 0x00000000000a0000 - 0x00000000000bffff
00000000000i[XGUI ] test_alloc_colors: 16 colors available out of 16 colors tried
00000000000i[XGUI ] font 8 wide x 16 high, display depth = 24
00000000000i[VGA  ] interval=200000
00000000000i[MEM0 ] Register memory access handlers: 0x00000000e0000000 - 0x00000000e0ffffff
00000000000i[BXVGA] VBE Bochs Display Extension Enabled
00000000000i[MEM0 ] rom at 0xc0000/41472 ('/usr/local/share/bochs/VGABIOS-lgpl-latest')
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[SPEAK] Failed to open /dev/console: Resource temporarily unavailable
00000000000i[SPEAK] Deactivating beep on console
00000000000i[    ] init_dev of 'extfpuirq' plugin device by virtual method
00000000000i[    ] init_dev of 'iodebug' plugin device by virtual method
00000000000i[    ] init_dev of 'ioapic' plugin device by virtual method
00000000000i[IOAP ] initializing I/O APIC
00000000000i[MEM0 ] Register memory access handlers: 0x00000000fec00000 - 0x00000000fec00fff
00000000000i[    ] init_dev of 'keyboard' plugin device by virtual method
00000000000i[KBD  ] will paste characters every 1000 keyboard ticks
00000000000i[    ] init_dev of 'harddrv' plugin device by virtual method
00000000000i[HD  ] HD on ata0-0: '30M.sample', 'flat' mode
00000000000p[HD  ] >>PANIC<< ata0-0: could not open hard drive image file '30M.sample'
00000000000i[    ] init_dev of 'serial' plugin device by virtual method
00000000000i[SER  ] com1 at 0x03f8 irq 4
00000000000i[    ] init_dev of 'parallel' plugin device by virtual method
00000000000i[PAR  ] 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 'iodebug' 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[SYS  ] bx_pc_system_c::Reset(HARDWARE) called
00000000000i[CPU0 ] cpu hardware reset
00000000000i[APIC0] allocate APIC id=0 (MMIO enabled) to 0x00000000fee00000
00000000000i[CPU0 ] CPUID[0x00000000]: 00000005 756e6547 6c65746e 49656e69
00000000000i[CPU0 ] CPUID[0x00000001]: 00000633 00010800 00000008 0fcbfbff
00000000000i[CPU0 ] CPUID[0x00000002]: 00410601 00000000 00000000 00000000
00000000000i[CPU0 ] CPUID[0x00000003]: 00000000 00000000 00000000 00000000
00000000000i[CPU0 ] CPUID[0x00000004]: 00000000 00000000 00000000 00000000
00000000000i[CPU0 ] CPUID[0x00000005]: 00000040 00000040 00000003 00000020
00000000000i[CPU0 ] CPUID[0x80000000]: 80000004 00000000 00000000 00000000
00000000000i[CPU0 ] CPUID[0x80000001]: 00000000 00000000 00000000 00000000
00000000000i[CPU0 ] CPUID[0x80000002]: 20202020 20202020 20202020 6e492020
00000000000i[CPU0 ] CPUID[0x80000003]: 286c6574 50202952 69746e65 52286d75
00000000000i[CPU0 ] CPUID[0x80000004]: 20342029 20555043 20202020 00202020
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 'iodebug' 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
00000000000i[XGUI ] Mouse capture off
00000000000i[    ] set SIGINT handler to bx_debug_ctrlc_handler
00000000000i[XGUI ] Mouse capture off
00000000000i[    ] dbg: Quit
00000000000i[CPU0 ] CPU is in real mode (active)
00000000000i[CPU0 ] CS.mode = 16 bit
00000000000i[CPU0 ] SS.mode = 16 bit
00000000000i[CPU0 ] | EAX=00000000  EBX=00000000  ECX=00000000  EDX=00000000
00000000000i[CPU0 ] | ESP=00000000  EBP=00000000  ESI=00000000  EDI=00000000
00000000000i[CPU0 ] | IOPL=0 id vip vif ac vm rf nt of df if tf sf zf af pf cf
00000000000i[CPU0 ] | SEG sltr(index|ti|rpl)    base    limit G D
00000000000i[CPU0 ] |  CS:f000( 1e00| 0|  0) ffff0000 0000ffff 0 0
00000000000i[CPU0 ] |  DS:0000( 0000| 0|  0) 00000000 0000ffff 0 0
00000000000i[CPU0 ] |  SS:0000( 0000| 0|  0) 00000000 0000ffff 0 0
00000000000i[CPU0 ] |  ES:0000( 0000| 0|  0) 00000000 0000ffff 0 0
00000000000i[CPU0 ] |  FS:0000( 0000| 0|  0) 00000000 0000ffff 0 0
00000000000i[CPU0 ] |  GS:0000( 0000| 0|  0) 00000000 0000ffff 0 0
00000000000i[CPU0 ] | EIP=0000fff0 (0000fff0)
00000000000i[CPU0 ] | CR0=0x60000010 CR2=0x00000000
00000000000i[CPU0 ] | CR3=0x00000000 CR4=0x00000000
00000000000i[CMOS ] Last time is 1358370030 (Thu Jan 17 00:00:30 2013)
00000000000i[XGUI ] Exit
00000000000i[CTRL ] quit_sim called with exit code 0


knudfl 01-17-2013 04:17 AM

# 5 : Looks OK ?

? But :
Which command is providing the text output, that you get in post #5 ?


$ bochs
.. and "The seven options" should appear.
Option 7 : Quit.
Option 5 : Open the GUI.


? What do you want to emulate with bochs ?

-

micflunu 01-17-2013 05:28 AM

I have made some corrections to the .bochsrc and when ever i run bochs all i get is only the following options
Code:

1. Restore factory default configuration
2. Read options from...
3. Edit options
4. Save options to...
5. Restore the Bochs state from...
6. Begin simulation
7. Quit now

there is no open the GUI option and when i choose option[6] it provides me the black screen with
Code:

Bochs x86 emulator,http://bochs.sourceforge.net/
labled on it.I want it to act as a virtual machine in which i could install other OS.


All times are GMT -5. The time now is 07:42 PM.