From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arun Sharma Subject: blkdev_name_to_number issues while running xenU Date: Wed, 24 Aug 2005 14:45:52 -0700 Message-ID: <430CEA90.3030608@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: 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 List-Id: xen-devel@lists.xenproject.org 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'