From: Wensheng Wang Subject: Re: vif's disappear after dom1 reboot Date: Fri, 6 Jan 2006 14:36:38 -0600 Message-ID: <7b22037d0601061236q522f89e2m19d0b92a4aff2e7f@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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 =3D 00000001:5d409001 0059e000 -> *pme =3D 00000001:6c190067 00040000 -> *pte =3D 00000000:00000000 Oops: 0000 [#1] SMP Modules linked in: CPU: 0 EIP: 0061:[] 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 0000000= 0 printing eip: c01162c6 Unable to handle kernel NULL pointer dereference at virtual address 0000000= 0 printing eip: c01161af Unable to handle kernel NULL pointer dereference at virtual address 0000000= 0 printing eip: c01161af ................ ----------------------------------------------------------------