Skip to contentSkip to conversation

how to debug the guest os?

DISCUSSION 牛立新 1 participant 1 message Nov 17, 2010

lore
Share & tools
lore

牛立新

author
#0 lore raw

hi all
Now I'm debugging the PV-driver's xen-vbd.ko module.The process like this:
(1)compile the modules on the target guest os, such as ubuntu 10.04.
(2)add the ko file to the initrd and modify the script with
"insmod xen-platform-pci.ko
insmod xen-balloon.ko
insmod xen-vnif.ko", and then create a new initrd file packet.
(3)modify the grub.cfg, add the start item with the new initrd file.
(4)reboot with new start item.
(5)because there is no hard disk to be as boot device, so the system will change to the console like this:
initramfs>
(6)then I do "insmod xen-vbd.ko"
next, the kernel crashed, I have no chance to debug it.
I want to know is there any methods to debug under this circumstances????? thanks a lot.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel