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] Re: unpredictable Xen crash w NetBSD 5.0.2(XEN3PAE_DOMU)

On Sat, Sep 25, 2010 at 09:36:16PM +0800, ? wrote:
> Sorry for my English.
> Let me explain more detail what I would like to do.
> Here is my setup.
> 
> 1. One Linux box(D0) acts as dom0 with Xen4.0
> 
> 2. One NetBSD 5.0.2(Du502) act as domU on D0
> 2.1 pkg_add aoe-vblade in Du502 and run as an AoE target[1,2], AoE is
> similar to iSCSI
> 2.2 ex: vblade 1 1 xennet0 /TEST.img
> 
> 3. Another Linux box(C1) issues read/write requests with dd
> 3.1. the /dev/etherd/e?.?[3] is AoE target block device which is
> exported by Du502 and
>        is showed under C1's /dev/etherd path
> 3.2 ex: modprobe aoe # ls /dev/etherd will find /dev/etherd/e1.1
>            for i in {1..65535}; dd if=/dev/zero of=/dev/etherd/e1.1 bs=4K; 
> done
> 
> 4. wait for 20~40mins, D0 reboot without any warning.

looks like a Xen or dom0 bug. Even if NetBSD is doing something
forbidden, this should not crash the hypervisor or dom0.

>   dd of=/dev/zero if=/dev/etherd/e1.1
> 
> And Yes, I tried
> ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-5.1_RC4/i386/binary/kernel/netbsd-XEN3PAE_DOMU.gz
> I'll try 
> ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-4.0.1/i386/binary/kernel/netbsd-XEN3_DOMU.gz
> netbsd-current and Xen 3.4.2 later, but it would take a little time
> And I try figure out how to remote debug netbsd kernel.(Is it possible?)

there is still some KGDB support around but I've never tried using it.
I usually use the in-kernel debugger on the console

-- 
Manuel Bouyer <bouyer@xxxxxxxxxxxxxxx>
     NetBSD: 26 ans d'experience feront toujours la difference
--

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel