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] Cannot create vbd / cannot create vif

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Cannot create vbd / cannot create vif
From: Eric Windisch <lists@xxxxxxxxxx>
Date: Thu, 08 Jun 2006 08:33:27 -0400
Delivery-date: Thu, 08 Jun 2006 08:57:33 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.4 (Macintosh/20060530)
Last week, I mentioned an error I was getting, as described below. I've seen several mailing list posts describing a similar problem as far back as December, 2005. This seems to be a problem plaguing all Xen 3 releases (to date).

3. After booting and then destroying approximately 25 domains, the system will require a reboot before I can add further domains. The error I receive is (approximately) '(vif) could not be connected'. If I comment the 'vif=' line in the domain's configuration, I then receive '(vbd) could not be connected'. Both messages were also followed by "Hotplug scripts not working." I suspect if I restart xenstored, this may be fixed, but I haven't yet had a chance to test that.

Upon further review, I think my problem is happening once two domains are started that have the same mac address assigned to their vif devices. When a second domain comes online with the same MAC address as an existing domain, Xen will not be able to create the vif, and exits -- but it does NOT properly clean up. After that point, Xen will refuse to create even properly-configured domains. No domains may be created from that point forward, until a reboot. I haven't yet found a workaround.

Once the system has encountered this problem, I see several variables within xenstore-ls associated with each of the domains which failed to 'create'. I manually removed the associated variable trees with xenstore-rm, but I still wasn't able to create a new domain, again with the message "(vdb) could not be connected".

Please let me know if you need further information to reproduce the error.. ;-)

Below is an excerpt from xenstore-ls showing information about a domain (rjackson) which was never created.. (I attempted to start it a few times, as you can see)

Thank you.

--
Eric Windisch


local = ""
 domain = ""
  0 = ""
   cpu = ""
    0 = ""
     availability = "online"
    1 = ""
     availability = "online"
   memory = ""
    target = "1896448"
   name = "Domain-0"
   console = ""
    limit = "1048576"
   vm = "/vm/00000000-0000-0000-0000-000000000000"
   domid = "0"
   backend = ""
    vbd = ""
     23 = ""
      2049 = ""
       domain = "rjackson"
       frontend = "/local/domain/23/device/vbd/2049"
       dev = "sda1"
       state = "5"
       params = "mapper/XenDomains-rjackson"
       mode = "w"
       frontend-id = "23"
       type = "phy"
      2050 = ""
       domain = "rjackson"
       frontend = "/local/domain/23/device/vbd/2050"
       dev = "sda2"
       state = "1"
       params = "mapper/Swap-rjackson"
       mode = "w"
       frontend-id = "23"
       type = "phy"
     24 = ""
      2049 = ""
       domain = "rjackson"
       frontend = "/local/domain/24/device/vbd/2049"
       dev = "sda1"
       state = "5"
       params = "mapper/XenDomains-rjackson"
       mode = "w"
       frontend-id = "24"
       type = "phy"
      2050 = ""
       domain = "rjackson"
       frontend = "/local/domain/24/device/vbd/2050"
       dev = "sda2"
       state = "1"
       params = "mapper/Swap-rjackson"
       mode = "w"
       frontend-id = "24"
       type = "phy"
     25 = ""
      2049 = ""
       domain = "rjackson"
       frontend = "/local/domain/25/device/vbd/2049"
       dev = "sda1"
       state = "5"
       params = "mapper/XenDomains-rjackson"
       mode = "w"
       frontend-id = "25"
       type = "phy"
      2050 = ""
       domain = "rjackson"
       frontend = "/local/domain/25/device/vbd/2050"
       dev = "sda2"
       state = "1"
       params = "mapper/Swap-rjackson"
       mode = "w"
       frontend-id = "25"
       type = "phy"

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Cannot create vbd / cannot create vif, Eric Windisch <=