- 论坛徽章:
- 0
|
似乎这个发在这里并不合适,不过我在CU的坛子转了圈,似乎并没有找到合适的版面。先发在这里,希望这里高手多,哪位顺路给出个提示也好。
在ubuntu系统apt-get安装的bochs没有调试功能。于是下载代码重编了一个有调试功能的。
现在的现象是,启动bochs。$ bochs -qf "配置文件"。配置文件是一个linux0.11的img对应的配置文件。
使用apt-get安装的bochs没有调试功能的 可以正常引导进入linux0.11
使用自己编译的带有调试功能的bochs,运行到<bochs:1> 暂停,输入c继续,然而并不能正常进入linux0.11。看了一下产生的bochsout.txt文件有如下的调试信息
-->103行
00027768764i[FDD ] partial read() on floppy image returns 132/512
00027813719i[FDD ] read() on floppy image returns 0
00027858674i[FDD ] read() on floppy image returns 0
/*中间全部是同样的信息*/
00034343390i[FDD ] read() on floppy image returns 0
00034393837i[BIOS ] int13_harddisk: function 15, unmapped device for ELDL=81
00034674965e[CPU0 ] MOV_CdRd: #UD - control register 3 index out of range
00034677386e[CPU0 ] MOV_CdRd: #UD - control register 3 index out of range
/* 之后也同样都是如上的Log */
这可能是因为什么缘故,为什么进不去系统。哪位高手能给个提示。这里先谢过了。 |
|