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] more on crash...

To: "xen-devel@xxxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] more on crash...
From: James Harper <JamesH@xxxxxxxxxxxxxxxx>
Date: Mon, 19 Jul 2004 22:14:32 +1000
Delivery-date: Mon, 19 Jul 2004 13:17:42 +0100
Envelope-to: steven.hand@xxxxxxxxxxxx
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
Thread-index: AcRtifKy2y4Xy17dReaCwxLA4hcCKw==
Thread-topic: more on crash...
okay I think I can reliably make it crash / corrupt. the server is an smp 550mhz p3 xeon with 768mb memory. dom0 has 128mb of memory with no swap. dom1 is a backup mail server which might accept an email every few minutes. It also does spam checking. dom2 is just a base debian install just sitting idle.
 
I have two identical 300mb files of random data (file3 & file4), and a script that repeatedly compares them (call it 'compare'):
 
#!/bin/sh
while [ 1 = 1 ]
do
 diff file3 file4 && echo okay
 cat file3 >/dev/null
done
I start this running in the background. (the cat is to effectively flush the buffers so that the diff won't fail again on the same corruption)
 
I also have a little c program to allocate all memory (call it 'exhaust') (unfortunately it's now crashed bad enough that I can't reboot it from home so i'll send the code tomorrow if anyone's interested)
 
The crash only seems to occur once I start both dom1 and dom2, or at least get dom0 + 1 other running on cpu 0, and then start running 'exhaust' over and over. Issuing a few 'xm list's seems to help speed up the process. Without running 'exhaust' at least once I can't get it to crash.
 
The crash that's just occured has generated a heap of oops's but most of them are probably caused by corruption and won't tell anything about the original error. i'll have a look and post any that seem interesting.
 
hope that helps...
 
James
 
<Prev in Thread] Current Thread [Next in Thread>