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] blkdev_name_to_number issues while running xenU

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] blkdev_name_to_number issues while running xenU
From: Arun Sharma <arun.sharma@xxxxxxxxx>
Date: Wed, 24 Aug 2005 14:45:52 -0700
Delivery-date: Wed, 24 Aug 2005 21:44:00 +0000
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
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)

Anytime I try to start xenU, it fails the first time with the traces below. The second invocation is ok (but doesn't boot yet - still debugging).

blkdev_name_to_number() failures don't seem to be benign this time..

        -Arun

Traceback (most recent call last):
  File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 566, in construct
    self.configure()
  File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 967, in configure
    self.create_devices()
File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 796, in create_devices
    self.create_configured_devices()
File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 785, in create_configured_devices
    self.createDevice(ctrl_type, dev_config)
File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 410, in createDevice
    backdb['physical-device'] = "%li" % blkdev_name_to_number(node)
File "/usr/lib/python/xen/util/blkif.py", line 27, in blkdev_name_to_number
    if re.match( '/dev/sd[a-p]([1-9]|1[0-5])?', n):
  File "/usr/lib/python2.3/sre.py", line 132, in match
    return _compile(pattern, flags).match(string)
TypeError: expected string or buffer
Traceback (most recent call last):
File "/usr/lib/python/xen/xend/server/SrvDomainDir.py", line 78, in op_create
    dominfo = self.xd.domain_create(config)
  File "/usr/lib/python/xen/xend/XendDomain.py", line 292, in domain_create
    dominfo = XendDomainInfo.create(self.dbmap, config)
  File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 161, in create
    vm.construct(config)
  File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 573, in construct
    self.destroy()
  File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 694, in destroy
    self.cleanup()
  File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 665, in cleanup
    self.release_devices()
File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 717, in release_devices
    Blkctl.block('unbind', devdb['type'].getData(),
File "/usr/lib/python/xen/xend/xenstore/xsobj.py", line 425, in __getitem__
    v = self.readChildDB(k)
File "/usr/lib/python/xen/xend/xenstore/xsobj.py", line 521, in readChildDB
    raise LookupError("invalid key '%s'" % k)
LookupError: invalid key 'type'

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

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