当前位置: 技术问答>linux和unix
我编译的OpenSolaris的内核,为什么启动后出现panic
来源: 互联网 发布时间:2016-03-22
本文导语: 我编译的是87版本的,按照opensolaris.org上的提示一步一步的做的,编译的时候没有出现问题,但运行时系统panic了,我用串口将出错信息打印出来了: SunOS Release 5.11 Version onnv-gate 64-bit Copyright 1983-2008 Sun Microsystems, Inc. ...
我编译的是87版本的,按照opensolaris.org上的提示一步一步的做的,编译的时候没有出现问题,但运行时系统panic了,我用串口将出错信息打印出来了:
SunOS Release 5.11 Version onnv-gate 64-bit
Copyright 1983-2008 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
DEBUG enabled
WARNING: Couldn't initialize xpv framework
panic[cpu0]/thread=fffffffffbc340a0: unable to configure /xpvd nexus
fffffffffbc53f20 hvm_bootstrap:hvmboot_rootconf+7c ()
fffffffffbc53f60 unix:stubs_common_code+51 ()
fffffffffbc53fa0 genunix:rootconf+21 ()
fffffffffbc53ff0 genunix:vfs_mountroot+65 ()
fffffffffbc54030 genunix:main+128 ()
fffffffffbc54040 unix:_locore_start+92 ()
panic: entering debugger (no dump device, continue to reboot)
Loaded modules: [ scsi_vhci uppc specfs pcplusmp ]
kmdb: target stopped at:
kmdb_enter+0xb: movq %rax,%rdi
[0]>
|
这是一个bug,在Nevada build 89以后就fix了。workaround的方法是
rm -f /platform/i86pc//misc/hvm_bootstrap
rm -f /platform/i86pc//misc/amd64/hvm_bootstrap
rm -f /platform/i86pc//misc/hvm_bootstrap
rm -f /platform/i86pc//misc/amd64/hvm_bootstrap