- 论坛徽章:
- 0
|
本帖最后由 BlackFaceWa 于 2010-07-14 18:24 编辑
环境:
XP, Bochs2.4.5, buntu-10.04-desktop-i386.iso
配置文件:
###############################################################
# bochsrc.txt file for DLX Linux disk image.
###############################################################
# how much memory the emulated machine will have
megs: 128
# filename of ROM images
romimage: file=C:\Progra~1\Bochs-2.4.5\BIOS-bochs-latest #, address=0xf0000
vgaromimage: file=C:\Progra~1\Bochs-2.4.5\VGABIOS-elpin-2.40
# what disk images will be used
# hard disk
ata0-master: type=disk, path="X:\ubuntu\c.img", cylinders=8126, heads=16, spt=63
# where do we send log messages?
log: bochsout.txt
panic: action=ask
error: action=report
info: action=report
debug: action=ignore
clock: sync=realtime, time0=1
#ips: 3000000
# disable the mouse, since DLX is text only
mouse: enabled=0
user_shortcut: keys=ctrlaltdel
# choose the boot disk.
boot: cdrom
#ata0-slave: type=cdrom, path="X:\", status=inserted
ata0-slave: type=cdrom, path="X:\ubuntu\ubuntu-10.04-desktop-i386.iso", status=inserted
第一次碰到的问题:
Kernel panic - not syncing :IO-APIC + timer doesnt work ! boot with apic=debug and send a request. Then try booting with the 'noapic' option
网上的解决办法:
1) when you reach the boot menu, Select Ubuntu entry
2) Press E
3) at the end of line Type: noapic
4) Now press enter and press CTRL-x
If it does not work, then try the following options, one by one.
* noapic nolapic
* acpi=off
* irqpoll
* lapic pci=routeirq
但是这个办法是在真机安装时候可以用的,Bochs好像不能进入Grub进行编辑。
重启机器后又再次进行安装:
截屏的内容:
[ 7848.163396] [<c0588e7a>] panic+0x48/0xf3b 30 85 f6 74 51 8b 50 0c <8b> 14 96
[ 7848.167628] [<c014ec0d>] forget_original_parent+0x2bd/0x2c0
[ 7848.172417] [<c014ec23>] exit_notify+0x13/0x170x57/0x120 SS:ESP 0068:c3733d4
[ 7848.176669] [<c0150531>] do_exit+0x181/0x310
[ 7848.180796] [<c014c19f>] ? print_oops_end_marker+0x2f/0x40
[ 7848.185448] [<c058c4b5>] oops_end+0x95/0xd0
[ 7848.189682] [<c01068e4>] die+0x54/0x80
[ 7848.193800] [<c058c256>] do_general_protection+0xa6/0x170
[ 7848.199390] [<c01cef67>] ? get_page_from_freelist+0x147/0x360
[ 7848.204223] [<c058c1b0>] ? do_general_protection+0x0/0x170
[ 7848.208824] [<c058b983>] error_code+0x73/0x80
[ 7848.212940] [<c02091cf>] ? get_empty_filp+0xcf/0x1c0
[ 7848.217533] [<c01fcfd7>] ? kmem_cache_alloc+0x57/0x120
[ 7848.222720] [<c02091cf>] ? get_empty_filp+0xcf/0x1c0
[ 7848.227219] [<c04b5a80>] ? sock_init_data+0xb0/0x1d0
[ 7848.231743] [<c02091cf>] get_empty_filp+0xcf/0x1c0
[ 7848.236213] [<c021ea9d>] ? alloc_fd+0xbd/0xf0
[ 7848.240512] [<c04b2636>] sock_alloc_fd+0x26/0x50
[ 7848.244787] [<c04b2740>] sock_map_fd+0x20/0x70
[ 7848.249148] [<c04b2dbc>] sys_socket+0x5c/0x70
[ 7848.253436] [<c04b4791>] sys_socketcall+0x91/0x280
[ 7848.258659] [<c058dae0>] ? do_page_fault+0x160/0x3a0
[ 7848.263390] [<c015176e>] ? sys_time+0x1e/0x60
[ 7848.267565] [<c01033ec>] syscall_call+0x7/0xb
?
最后:
请大家给点意见该如何解决?? |
|