English 中文(简体)
• 处理碎片回归错误
原标题:running OS on bochs returned error
  • 时间:2012-04-06 23:56:39
  •  标签:
  • bochs

I m 从事一个名为Pintos的非洲顾问办方案项目。 它是在指挥<密码>后运行的。 OfProcess

And here s the error message I get

Writing command line to /tmp/eKW3NMXoGT.dsk...
squish-pty bochs -q
========================================================================
                     Bochs x86 Emulator 2.5.1.svn
             Built from SVN snapshot, after release 2.5.1
                  Compiled on Apr  6 2012 at 19:37:19
========================================================================
00000000000i[     ] reading configuration from bochsrc.txt
00000000000i[     ] installing x module as the Bochs GUI
00000000000i[     ] using log file bochsout.txt
Next at t=0
Writing command line to /tmp/eKW3NMXoGT.dsk...
squish-pty bochs -q
========================================================================
                     Bochs x86 Emulator 2.5.1.svn
             Built from SVN snapshot, after release 2.5.1
                  Compiled on Apr  6 2012 at 19:37:19
========================================================================
00000000000i[     ] reading configuration from bochsrc.txt
00000000000i[     ] installing x module as the Bochs GUI
00000000000i[     ] using log file bochsout.txt
Next at t=0
(0) [0x00000000fffffff0] f000:fff0 (unk. ctxt): (invalid)                 ; ffff
<bochs:1> fgets() returned ERROR.
debugger interrupt request was 0
(0).[0] [0x00000000fffffff0] f000:fff0 (unk. ctxt): (invalid)                 ; ffff
(0) [0x00000000fffffff0] f000:fff0 (unk. ctxt): (invalid)                 ; ffff
<bochs:1> fgets() returned ERROR.
debugger interrupt request was 0
(0).[0] [0x00000000fffffff0] f000:fff0 (unk. ctxt): (invalid)                 ; ffff

另外,我还 b。

romimage: file=$BXSHARE/BIOS-bochs-latest, address=0xe0000  
vgaromimage: file=$BXSHARE/VGABIOS-lgpl-latest
boot: disk
cpu: ips=1000000
megs: 4
log: bochsout.txt
panic: action=fatal
clock: sync=none, time0=0
ata0-master: type=disk, path=/tmp/eKW3NMXoGT.dsk, mode=flat, cylinders=1, heads=16, spt=63, translation=none
com1: enabled=1, mode=term, dev=/dev/stdout

Bochs是从来源建造的,在我的乌兰巴图11.04上有额外配置。

问题回答

I had the same problem and I asked a question on OSDev forum. I used file=$BXSHARE/BIOS-bochs-legacy because I needed 64K BIOS. It didn t work with:

罗姆:档案=BXSHARE/BIOS-bochs-legacy,地址=0xf0000

in .bochsrc file. And it works without "address=0xf0000" part.

请删除以下简称表的起始地址:

罗姆:档案=BXSHARE/BIOS-bochs-latest, Address=0xe0000

育儿假:

罗姆:档案=BXSHARE/BIOS-bochs-latest

页: 1 txt

Install qemu und bosch:

sudo apt-get install qemu

如果 recent木版本是最近版本的话,你需要建立从“qemu-system-i386”到“qemu”的模拟链。

sudo ln -s /usr/bin/qemu-system-i386 /usr/bin/qemu

如果qemu的版本小到1.0个,则不需要这样做。 现在,你可以使用qemu,例如:

pintos --qemu -- run alarm-multiple




相关问题
• 处理碎片回归错误

I m 从事一个名为Pintos的非洲顾问办方案项目。 它是在指挥用动脉下运行的。

Something wrong while installing Bochs

After I type: ./configure --enable-debugger --enable-disasm something goes wrong: checking for ALL optimizations enabled... no ERROR: handlers-chaining speedups are not supported with internal ...

Compiling Bochs 2.4.6 under Cygwin

Could anyone tell me a version of Cygwin that can compile successfully Bochs 2.4.6? I ve tried with the latest version of Cygwin (1.7.9(0.237/5/3)) but I ran into a bunch of errors. In specific, I ...

How can I use Bochs to run Assembly code?

I want to use Bochs as an 8086 emulator. Is there an easy way to do this? What I want is something like emu8086 (http://www.emu8086.com/).

NASM on DOS (Intel 8086): invalid effective address

I am writing code for DOS using Bochs. I am compiling the program using NASM Lets suppose i have the following code: [BITS 16] SEGMENT code ..start: mov ax, data mov ds, ax mov bx, msg mov al, ...

BIOS INT 0x15 Function 0x88 always returns same memory size

I m using BIOS int 0x15 on my Bochs emulator, however this always returns the same memory size (34440) no matter what I have configured: mov ax, 0x88 int 0x15 I know that there are better methods of ...

热门标签