All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arun Sharma <arun.sharma@intel.com>
To: xen-devel <xen-devel@lists.xensource.com>
Subject: blkdev_name_to_number issues while running xenU
Date: Wed, 24 Aug 2005 14:45:52 -0700	[thread overview]
Message-ID: <430CEA90.3030608@intel.com> (raw)


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'

             reply	other threads:[~2005-08-24 21:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-24 21:45 Arun Sharma [this message]
2005-08-25  9:53 ` blkdev_name_to_number issues while running xenU Christian Limpach
2005-08-25 23:51   ` Arun Sharma

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=430CEA90.3030608@intel.com \
    --to=arun.sharma@intel.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.