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-users

[Xen-users] Xen domU crashes accessing to drbd disk if using maxmem.

To: "Xen Users" <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] Xen domU crashes accessing to drbd disk if using maxmem.
From: "Valerio Granato" <contact@xxxxxxxxxx>
Date: Mon, 4 Oct 2010 17:01:57 +0200
Delivery-date: Mon, 04 Oct 2010 08:08:36 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hello all,

I've just installed a new dom0 with openSUSE 11.3 (x86_64)
and I'm seeing domUs crashes when reading from disks.
The problem occours when in domU configuration I use

memory=1024
maxmem=2048

My setup is DRBD on LVM on Software RAID 10 and drbd
devices are used as disks for domUs, using

phy:/dev/drbd0,hda,w
phy:/dev/drbd1,hdb,w

The domU in test is HVM, I'm using the openSUSE 11.3 rescue
system for testing. drbd0 is 300Gb and is partitioned this way:

     Device Boot      Start         End      Blocks   Id  System
/dev/drbd0p1            2048    31459327    15728640   83  Linux
/dev/drbd0p2        31459328   614381175   291460924   83  Linux

On dom0 I can successfully do

dd if=/dev/drbd0 of=/dev/null bs=1M
(~185 MB/s speed, if it can be useful)

the same (similar) command in domU on /dev/sda (dev/drbd0 as seen
by domU) causes domU to crash, but only if I start the domain using less
memory than maxmem. If I have memory=maxmem the disk read is ok
(~175MB/s speed).

I've found the problem trying to check the FS on /dev/sda2 (ReiserFS)
and then discovered that it's relative to any "massive" disk access I do.

In Xen logs:

[2010-10-04 15:34:55 5816] WARNING (XendDomainInfo:2106) Domain has crashed: name=mydomu id=15. [2010-10-04 15:34:55 5816] DEBUG (XendDomainInfo:3115) XendDomainInfo.destroy: domid=15 [2010-10-04 15:34:56 5816] DEBUG (XendDomainInfo:2450) Destroying device model
[2010-10-04 15:34:57 5816] INFO (image:626) mydomu device model terminated
[2010-10-04 15:34:57 5816] DEBUG (XendDomainInfo:2457) Releasing devices

I've tried using openSUSE 11.2 and 11.3 boot disks and a trk disk
to do the 'dd' or the 'reiserfsck' having identical results (domU crash).
Dom0 kernel is 2.6.34.7-0.3-xen, one of tested kernel is 2.6.34-12-default
(openSUSE rescue disk).

Some hint about this? What am I missing?

Thanks,
Valerio Granato


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

<Prev in Thread] Current Thread [Next in Thread>