[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-users] OpenSolaris domU on RedHat Linux dom0



Yes. 'brctl show' matches with vif. This error seems to be related to the deviceid '0' that I'm using for my disk. The xend.log file shows the following details about the error.

[2009-09-09 15:12:41 xend 3718] DEBUG (blkif:24) exception looking up device number for 0: [Errno 2] No such file or directory: '/dev/0'
[2009-09-09 15:12:41 xend.XendDomainInfo 3718] ERROR (XendDomainInfo:212) Domain construction failed
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 205, in create
    vm.initDomain()
  File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 1463, in initDomain
    self.createDevices()
  File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 1679, in createDevices
    self.createDevice(n, c)
  File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 1154, in createDevice
    return self.getDeviceController(deviceClass).createDevice(devconfig)
  File "/usr/lib/python2.4/site-packages/xen/xend/server/DevController.py", line 80, in createDevice
    (devid, back, front) = self.getDeviceDetails(config)
  File "/usr/lib/python2.4/site-packages/xen/xend/server/blkif.py", line 85, in getDeviceDetails
    raise VmError('Unable to find number for device (%s)' % (dev))
VmError: Unable to find number for device (0)
[2009-09-09 15:12:41 xend.XendDomainInfo 3718] DEBUG (XendDomainInfo:1557) XendDomainInfo.destroy: domid=95
[2009-09-09 15:12:41 xend.XendDomainInfo 3718] DEBUG (XendDomainInfo:1566) XendDomainInfo.destroyDomain(95)

Thanks,
Viswanath

On Wed, 2009-09-09 at 06:24 -0500, Pallab Chakrabarty wrote:
Btwy, 'brctl show' is it matching to your  vif ?


- regards
   Pallab




-----Original Message-----
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Viswanath
Durbha
Sent: Wednesday, September 09, 2009 4:51 PM
To: xen-users
Subject: [Xen-users] OpenSolaris domU on RedHat Linux dom0

Hi,

I'm trying to create OpenSolaris (2008.11) domU on RedHat Linux dom0. I'm
using a file backed VBD. I used the iso image to first launch and install
OpenSolaris into the file VBD. Once that process is complete, I'm trying
to run it using the config file below:

name    = 'opensolaris'
vcpus   = 1
memory  = "512"
vif     = ['bridge=br0']
ip = "10.226.33.98"
netmask = "255.255.255.0"
gateway = "10.226.33.1"
disk    = [ 'file:/Application/xen/images/opensolaris_2008_11.disk,0,w' ]
kernel  = '/boot/osol/kernel.opensolaris'
ramdisk = '/boot/osol/ramdisk.opensolaris'
extra   = '/platform/i86xpv/kernel/unix -B
zfs-bootfs=rpool/54,bootpath=/xpvd/xdf@0:a'




When I do that, I get an error message like this.

Unable to find number for device (0)

Can someone please help me debug this problem?

Thanks,
Viswanath


This e-mail and any files transmitted with it are for the sole use of
the intended recipient(s) and may contain confidential and privileged
information.
If you are not the intended recipient, please contact the sender by
reply e-mail and destroy all copies of the original message.
Any unauthorized review, use, disclosure, dissemination, forwarding,
printing or copying of this email or any action taken in reliance on this
e-mail is strictly prohibited and may be unlawful.




No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.409 / Virus Database: 270.13.86/2355 - Release Date: 09/08/09
20:45:00


This e-mail and any files transmitted with it are for the sole use of
the intended recipient(s) and may contain confidential and privileged
information.
If you are not the intended recipient, please contact the sender by
reply e-mail and destroy all copies of the original message.
Any unauthorized review, use, disclosure, dissemination, forwarding,
printing or copying of this email or any action taken in reliance on this
e-mail is strictly prohibited and may be unlawful.


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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.