WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: Xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] how to debug the guest os?
From: 牛立新 <topperxin@xxxxxxx>
Date: Wed, 17 Nov 2010 18:53:47 +0800 (CST)
Cc:
Delivery-date: Wed, 17 Nov 2010 02:54:26 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] how to debug the guest os?, 牛立新 <=