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

Re: [Xen-devel] vif's disappear after dom1 reboot

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] vif's disappear after dom1 reboot
From: Wensheng Wang <wenshengwang@xxxxxxxxx>
Date: Fri, 6 Jan 2006 14:36:38 -0600
Delivery-date: Fri, 06 Jan 2006 20:42:14 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=WJmxqBpV+WXsoput04sPZFyGWbJeKMiM4V45u8U06PobwVVisk5EaLwtK4zvcPTGVC6F/f1bejGundnFAtmD1FupTKL+AEmgsFbXmhssPWsvsX33y1A0Cbc/06X2EfCr2XTUFJph0hFCGSGtCvRTJtxGgZpGGpLqruZB9JXMR9w=
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
So nobody experienced this bug?

I'd like to add some more info I just found.
I can now reliably reproduce this bug with only 2 domainU's

Rebooting dom 1 will disable vif1?.0 (like vif11.0 vif12.0 vif13.0
...); rebooting dom2 will disable vif2?.0, rebooting dom3 will disable
vif3?.0

To reproduce, prepare 2 lvm for guest domain for example
/dev/vg0/breezy and /dev/vg0/sarge
Their config files are in /etc/xen/auto/breezy and /etc/xen/auto/sarge

Bring one guest domain up first, it will have a domain id 1
#xm create /etc/xen/auto/breezy

Mount the other lvm to /mnt and create guest domain.  Because lvm is
mounted, domain creation will not be successful, it will be in paused
state. This is purely for incrementing dom id number.
#mount /dev/vg0/sarge /mnt
#for i in `seq 2 10`;do xm create /etc/xen/auto/sarge || xm destroy $i;done

umount that lvm and create that domain, the domain will have id 11
#umount /mnt
#xm create /etc/xen/auto/sarge

Now 2 domainU alive, "brctl show" show vif0.0 vif1.0 vif11.0
#xm list
#brctl show

now reboot domain 1
#xm shutdown -R 1

What should happen is that after this there should be 2 domain with id
11 and 12 using vif11.0 and vif12.0

What actually happen is:
1, there is only one domain: domain 11
2, vif11 dissapeared.
3. there is dangling vif12.0
4, domain 11 dead

here is what I get if I do "xm console 11"
----------------------------------------------------------------------
[root@m5 ~]# xm console 11
Unable to handle kernel paging request at virtual address f578ee01
 printing eip:
c0110220
00560000 -> *pde = 00000001:5d409001
0059e000 -> *pme = 00000001:6c190067
00040000 -> *pte = 00000000:00000000
Oops: 0000 [#1]
SMP
Modules linked in:
CPU:    0
EIP:    0061:[<c0110220>]    Not tainted VLI
EFLAGS: 00010086   (2.6.12.6-xenU)
EIP is at send_IPI_mask_bitmask+0x20/0x120
eax: f578ee00   ebx: 00000000   ecx: 00000000   edx: 00000000
esi: 00000000   edi: f578c000   ebp: 00000000   esp: c0586020
ds: 007b   es: 007b   ss: 0069
Unable to handle kernel NULL pointer dereference at virtual address 00000000
 printing eip:
c01162c6
Unable to handle kernel NULL pointer dereference at virtual address 00000000
 printing eip:
c01161af
Unable to handle kernel NULL pointer dereference at virtual address 00000000
 printing eip:
c01161af
................
----------------------------------------------------------------

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

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