From: Arun Sharma <arun.sharma@intel.com>
To: Christian.Limpach@cl.cam.ac.uk
Cc: xen-devel <xen-devel@lists.xensource.com>
Subject: Re: blkdev_name_to_number issues while running xenU
Date: Thu, 25 Aug 2005 16:51:51 -0700 [thread overview]
Message-ID: <430E5997.7090101@intel.com> (raw)
In-Reply-To: <3d8eece20508250253735bc3af@mail.gmail.com>
Christian Limpach wrote:
> On 8/24/05, Arun Sharma <arun.sharma@intel.com> wrote:
>
>> 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):
>
>
> You might find it helpful to add something like log.error(node) in
> XendDomainInfo.py before the line which calls blkdev_name_to_number
> and see what's in node.
>
The value of node was None (because I have no /dev/hda on the host).
[2005-08-25 18:30:11 xend] DEBUG (blkif:24) exception looking up device
number for hda: [Errno 2] No such file or directory: '/dev/hda'
[2005-08-25 18:30:11 xend] INFO (XendDomainInfo:411) arun node: None
[2005-08-25 18:30:11 xend] DEBUG (blkif:24) exception looking up device
number for None: coercing to Unicode: need string or buffer, NoneType found
-Arun
prev parent reply other threads:[~2005-08-25 23:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-24 21:45 blkdev_name_to_number issues while running xenU Arun Sharma
2005-08-25 9:53 ` Christian Limpach
2005-08-25 23:51 ` Arun Sharma [this message]
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=430E5997.7090101@intel.com \
--to=arun.sharma@intel.com \
--cc=Christian.Limpach@cl.cam.ac.uk \
--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.