[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] how to debug the guest os?


  • To: Xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: 牛立新 <topperxin@xxxxxxx>
  • Date: Wed, 17 Nov 2010 18:53:47 +0800 (CST)
  • Cc:
  • Delivery-date: Wed, 17 Nov 2010 02:54:26 -0800
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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. 
       



网易163/126邮箱百分百兼容iphone ipad邮件收发
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.