From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: kernel BUG at arch/x86/xen/mmu.c:1860! Date: Tue, 8 Mar 2011 14:29:50 -0500 Message-ID: <20110308192950.GA4562@dumpdata.com> References: <20110127203218.GB4194@dumpdata.com> <20110228162023.GA11720@dumpdata.com> <20110303221639.GB12175@dumpdata.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="SUOF0GtieIMvvwua" Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Teck Choon Giam Cc: xen-devel@lists.xensource.com, "Fajar A. Nugraha" List-Id: xen-devel@lists.xenproject.org --SUOF0GtieIMvvwua Content-Type: text/plain; charset=us-ascii Content-Disposition: inline > Yes. All are set in my kernel config and I believed Konrad has my kernel > config. I didn't use nomodeset as my servers don't have those graphic > cards... ... I am having a hard-time reproducing this. I made six LV's: [root@tst011 ~]# lvs LV VG Attr LSize Origin Snap% Move Log Copy% Convert LogVol00 VolGroup00 -wi-ao 17.56G LogVol01 VolGroup00 -wi-ao 5.81G data-1.ext3 XenGroup -wi-ao 10.00G data-2.ext3 XenGroup owi-ao 10.00G data-2.ext3-snapshot XenGroup swi-a- 1.00G data-2.ext3 2.41 data-3.ext3 XenGroup -wi-a- 10.00G scratch-1.ext3 XenGroup -wi-ao 10.00G scratch-2.ext3 XenGroup -wi-ao 10.00G scratch-3.ext3 XenGroup -wi-a- 10.00G [root@tst011 ~]# Where each scratch-X/data-X was prepared with 'mkfs.ext3' And ran two guests, where each guest configuration looks as so: kernel="/mnt/lab/latest/vmlinuz" ramdisk="/mnt/lab/latest/initramfs.cpio.gz" extra="console=hvc0 debug" memory=768 vcpus=4 on_crash="preserve" #vif = [ 'mac=00:0f:4b:00:00:68, bridge=switch' ] vfb = [ 'vnc=1, vnclisten=0.0.0.0,vncunused=1'] disk = [ 'phy:/dev/XenGroup/scratch-1.ext3,xvda,w', 'phy:/dev/XenGroup/data-1.ext3,xvdb,w'] (the other is using -2 obviously). And each guest is running 'mount /dev/xvda /mnt-1;(cd /mnt-1;fio iometer-file-access-server)' to produce I/Os on the xvdb/xvda disks. As those guests are chugging along, I ran your script with: root 6250 4438 0 10:12 pts/4 00:00:00 /bin/sh ./lvm-test.sh loop 100 1G 5 (I tried 100 1G 0) and so far it is running.... how long should I wait until I hit this problem? This is on CentOS 5.5 and also on Fedora Core 13. Dom0 and DomU are all x86_64. Dom0 is: commit 892d2f052e979cf1916647c752b94cf62ec1c6dc Merge: 35e2e28... 376faec... Author: Jeremy Fitzhardinge Date: Fri Feb 11 13:31:03 2011 -0800 Merge commit 'v2.6.32.28' into xen/next-2.6.32 (plus one patch I just posted - but that is to fix the serial console, so it is not relevant to this problem). DomU is 2.6.38 kernel, but I can swap over to the same as Dom0.. Attached is the script I am using. --SUOF0GtieIMvvwua Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=iometer-file-access-server # This job file tries to mimic the Intel IOMeter File Server Access Pattern [global] description=Emulation of Intel IOmeter File Server Access Pattern [iometer] bssplit=512/10:1k/5:2k/5:4k/60:8k/2:16k/4:32k/4:64k/10 rw=randrw rwmixread=80 direct=1 size=4g ioengine=libaio # IOMeter defines the server loads as the following: # iodepth=1 Linear # iodepth=4 Very Light # iodepth=8 Light # iodepth=64 Moderate # iodepth=256 Heavy iodepth=64 --SUOF0GtieIMvvwua Content-Type: application/x-sh Content-Disposition: attachment; filename="lvm-test.sh" Content-Transfer-Encoding: quoted-printable #!/bin/sh=0A#=0A# This script is to create lvm snapshot, mount it, umount i= t and remove in a=0A# specified number of loops to test whether it will cra= sh the host server.=0A#=0A# Created by Giam Teck Choon=0A#=0A=0A# The LV na= me and for this case we are using XenGroup=0ALVGroupName=3DXenGroup=0A=0A# = return 1 if is mounted otherwise return 0=0Acheck_mount() {=0A local che= ckdir=3D${1}=0A if [ -n "$checkdir" ] ; then=0A local check=3D`gr= ep "$checkdir" /proc/mounts`=0A if [ -n "$check" ] ; then=0A = return 1=0A fi=0A fi=0A return 0=0A}=0A=0Ado_lvm_create_re= move() {=0A # number of loops default is 1=0A local loopcountlimit=3D= ${1:-1}=0A # snapshot size default is 1G=0A local snapshotsize=3D${2:= -1G}=0A # implement a sleep between create, mount, umount and remove (de= fault is 0 which is no pause)=0A local pauseinterval=3D${3:-0}=0A # W= e filter out control, snapshot and swap=0A local count=3D0=0A if [ -d= "/dev/${LVGroupName}" ] ; then=0A while [ "$count" -lt "$loopcountl= imit" ]=0A do=0A count=3D`expr $count + 1`=0A = echo "${count} ... ... "=0A for i in `ls /dev/${LVGroupName} | g= rep -Ev 'snapshot$' | grep -Ev 'swap$'`; do=0A if [ -h "/dev= /${LVGroupName}/${i}" ] ; then=0A echo -n "lvcreate -s -= v -n ${i}-snapshot -L ${snapshotsize} /dev/${LVGroupName}/${i} ... ... "=0A= lvcreate -s -v -n ${i}-snapshot -L ${snapshotsize} /dev= /${LVGroupName}/${i}=0A echo "done."=0A = sleep ${pauseinterval}=0A mkdir -p /mnt/testlvm/${i}= =0A if [ -h "/dev/${LVGroupName}/${i}-snapshot" ] ; then= =0A check_mount /mnt/testlvm/${i}=0A = local ismount=3D$?=0A if [ "$ismount" -eq 0 = ] ; then=0A echo -n "mount /dev/${LVGroupName}/$= {i}-snapshot /mnt/testlvm/${i} ... ... "=0A moun= t /dev/${LVGroupName}/${i}-snapshot /mnt/testlvm/${i}=0A = echo "done."=0A sleep ${pauseinterval}= =0A fi=0A check_mount /mnt/te= stlvm/${i}=0A local ismount2=3D$?=0A = if [ "$ismount2" -eq 1 ] ; then=0A echo = -n "umount /mnt/testlvm/${i} ... ... "=0A umount= /mnt/testlvm/${i}=0A echo "done."=0A = sleep ${pauseinterval}=0A fi=0A = fi=0A rm -rf /mnt/testlvm/${i}=0A = echo -n "lvremove -f /dev/${LVGroupName}/${i}-snapshot ... ...= "=0A lvremove -f /dev/${LVGroupName}/${i}-snapshot=0A = echo "done."=0A sleep ${pauseinterval}= =0A fi=0A done=0A rm -fr /mnt/testlvm= =0A done=0A else=0A echo "/dev/${LVGroupName} directory no= t found!"=0A exit 1=0A fi=0A}=0A=0Acase $1 in=0A loop) shif= t=0A do_lvm_create_remove "$@"=0A ;;=0A *) echo "Usage:= $0 loop loopcountlimit(default is 1) snapshotsize(default is 1GB) pauseint= erval (default is 0)"=0A ;;=0Aesac=0A --SUOF0GtieIMvvwua Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --SUOF0GtieIMvvwua--