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

[Xen-users] domU hangs after "xm create command" having error "exception looking up device number for xvda"


  • To: xen-users@xxxxxxxxxxxxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: Arun Sharma <arunain@xxxxxxxxx>
  • Date: Mon, 12 Oct 2009 18:27:53 +0530
  • Cc:
  • Delivery-date: Mon, 12 Oct 2009 05:59:03 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Ben2l6YQ6UPQvgGvC/JWXwRqBE/7GBkN0bt/gcxo7MCATm9mHmrPqp3lAMEf7QQy1h RzjXdE2Gc900mW+D+38TYTz7rJIK3GXazuIDGLCXlEGQNSI/IDhepCaH0r0AMjH8dLKd lB1CE0RFCogvWruVJFCTUUZaudpktDvxFd3lI=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hello Xen users ,

I am facing one domU (Xubuntu 9.04 32 bit) hang problem on dom0 ( Centos 5.3 kernel 2.6.18-164.el5xen).

Error in logs - "(blkif:27) exception looking up device number for xvda: [Errno 2] No such file or directory: '/dev/xvda'"

Whenever i create vm using xm create command , it just hangs with below output.

# xm create -c  x.cfg
Using config file "./x.cfg".
Started domain x

I am not sure why it hangs on one dom0, but unfortunatly with same dom0 hardware configuration it works like a charm.  I have also attached xend logs along with this mail.


Any idea ?

Advance thanks

Arun Sharma


--- Xen x.cfg file looks like this -----


name = "x"
memory = 1024

disk = [ 'phy:/dev/VolGroup00/Blxubdm904_32_1,xvda,r',
         'tap:aio:/root/xubuntu/x.swap,xvdb,w',
         'tap:aio:/root/xubuntu/x.img,xvdd,w' ]

vif = ['mac=00:15:17:77:4E:E2, bridge=xenbr0']
bootloader="/usr/bin/pygrub"
vcpus=1
#vfb= ['type=vnc,vncunused=1']
>>>

---------------------------------------------------------------------------


Xend logs



-----------------------------------------------------------------------------------

[2009-10-12 06:57:23 xend.XendDomainInfo 4770] DEBUG (XendDomainInfo:200) XendDomainInfo.create(['vm', ['name', 'x'], ['memory', '1024'], ['on_poweroff', 'destroy'], ['on_reboot', 'destroy'], ['on_crash', 'destroy'], ['vcpus', 2], ['bootloader', '/usr/bin/pygrub'], ['image', ['linux', ['ramdisk', '/var/lib/xen/boot_ramdisk.JTQd57'], ['kernel', '/var/lib/xen/boot_kernel._q-nx0'], ['args', 'root=/dev/xvda ro  single']]], ['device', ['tap', ['uname', 'tap:aio:/root/xubuntu/Blxubdm904_32_1.img'], ['dev', 'xvda'], ['mode', 'r']]], ['device', ['tap', ['uname', 'tap:aio:/root/xubuntu/x.swap'], ['dev', 'xvdb'], ['mode', 'w']]], ['device', ['tap', ['uname', 'tap:aio:/root/xubuntu/x.img'], ['dev', 'xvdd'], ['mode', 'w']]], ['device', ['vif', ['bridge', 'xenbr0']]]])
[2009-10-12 06:57:23 xend.XendDomainInfo 4770] DEBUG (XendDomainInfo:312) parseConfig: config is ['vm', ['name', 'x'], ['memory', '1024'], ['on_poweroff', 'destroy'], ['on_reboot', 'destroy'], ['on_crash', 'destroy'], ['vcpus', 2], ['bootloader', '/usr/bin/pygrub'], ['image', ['linux', ['ramdisk', '/var/lib/xen/boot_ramdisk.JTQd57'], ['kernel', '/var/lib/xen/boot_kernel._q-nx0'], ['args', 'root=/dev/xvda ro  single']]], ['device', ['tap', ['uname', 'tap:aio:/root/xubuntu/Blxubdm904_32_1.img'], ['dev', 'xvda'], ['mode', 'r']]], ['device', ['tap', ['uname', 'tap:aio:/root/xubuntu/x.swap'], ['dev', 'xvdb'], ['mode', 'w']]], ['device', ['tap', ['uname', 'tap:aio:/root/xubuntu/x.img'], ['dev', 'xvdd'], ['mode', 'w']]], ['device', ['vif', ['bridge', 'xenbr0']]]]
[2009-10-12 06:57:23 xend.XendDomainInfo 4770] DEBUG (XendDomainInfo:417) parseConfig: result is {'shadow_memory': None, 'start_time': None, 'uuid': None, 'on_crash': 'destroy', 'on_reboot': 'destroy', 'localtime': None, 'image': ['linux', ['ramdisk', '/var/lib/xen/boot_ramdisk.JTQd57'], ['kernel', '/var/lib/xen/boot_kernel._q-nx0'], ['args', 'root=/dev/xvda ro  single']], 'on_poweroff': 'destroy', 'bootloader_args': None, 'cpus': None, 'name': 'x', 'backend': [], 'vcpus': 2, 'cpu_weight': None, 'features': None, 'vcpu_avail': None, 'memory': 1024, 'device': [('tap', ['tap', ['uname', 'tap:aio:/root/xubuntu/Blxubdm904_32_1.img'], ['dev', 'xvda'], ['mode', 'r']]), ('tap', ['tap', ['uname', 'tap:aio:/root/xubuntu/x.swap'], ['dev', 'xvdb'], ['mode', 'w']]), ('tap', ['tap', ['uname', 'tap:aio:/root/xubuntu/x.img'], ['dev', 'xvdd'], ['mode', 'w']]), ('vif', ['vif', ['bridge', 'xenbr0']])], 'bootloader': '/usr/bin/pygrub', 'cpu': None, 'maxmem': None}
[2009-10-12 06:57:23 xend.XendDomainInfo 4770] DEBUG (XendDomainInfo:1427) XendDomainInfo.construct: None
[2009-10-12 06:57:23 xend 4770] DEBUG (balloon:143) Balloon: 22571056 KiB free; need 2048; done.
[2009-10-12 06:57:23 xend.XendDomainInfo 4770] DEBUG (XendDomainInfo:1475) XendDomainInfo.initDomain: 18 1.0
[2009-10-12 06:57:23 xend.XendDomainInfo 4770] DEBUG (XendDomainInfo:1514) _initDomain:shadow_memory=0x0, maxmem=0x400, memory=0x400.
[2009-10-12 06:57:23 xend 4770] DEBUG (balloon:143) Balloon: 22571048 KiB free; need 1048576; done.
[2009-10-12 06:57:23 xend 4770] INFO (image:137) buildDomain os=linux dom=18 vcpus=2
[2009-10-12 06:57:23 xend 4770] DEBUG (image:206) domid          = 18
[2009-10-12 06:57:23 xend 4770] DEBUG (image:207) memsize        = 1024
[2009-10-12 06:57:23 xend 4770] DEBUG (image:208) image          = /var/lib/xen/boot_kernel._q-nx0
[2009-10-12 06:57:23 xend 4770] DEBUG (image:209) store_evtchn   = 1
[2009-10-12 06:57:23 xend 4770] DEBUG (image:210) console_evtchn = 2
[2009-10-12 06:57:23 xend 4770] DEBUG (image:211) cmdline        =  root=/dev/xvda ro  single
[2009-10-12 06:57:23 xend 4770] DEBUG (image:212) ramdisk        = /var/lib/xen/boot_ramdisk.JTQd57
[2009-10-12 06:57:23 xend 4770] DEBUG (image:213) vcpus          = 2
[2009-10-12 06:57:23 xend 4770] DEBUG (image:214) features       =
[2009-10-12 06:57:23 xend 4770] DEBUG (blkif:27) exception looking up device number for xvda: [Errno 2] No such file or directory: '/dev/xvda'
[2009-10-12 06:57:23 xend 4770] DEBUG (blkif:27) exception looking up device number for xvda: [Errno 2] No such file or directory: '/dev/xvda'
[2009-10-12 06:57:23 xend 4770] DEBUG (DevController:110) DevController: writing {'virtual-device': '51712', 'device-type': 'disk', 'protocol': 'x86_32-abi', 'backend-id': '0', 'state': '1', 'backend': '/local/domain/0/backend/tap/18/51712'} to /local/domain/18/device/vbd/51712.
[2009-10-12 06:57:23 xend 4770] DEBUG (DevController:112) DevController: writing {'domain': 'x', 'frontend': '/local/domain/18/device/vbd/51712', 'format': 'raw', 'dev': 'xvda', 'state': '1', 'params': 'aio:/root/xubuntu/Blxubdm904_32_1.img', 'mode': 'r', 'online': '1', 'frontend-id': '18', 'type': 'tap'} to /local/domain/0/backend/tap/18/51712.
[2009-10-12 06:57:23 xend 4770] DEBUG (blkif:27) exception looking up device number for xvdb: [Errno 2] No such file or directory: '/dev/xvdb'
[2009-10-12 06:57:23 xend 4770] DEBUG (blkif:27) exception looking up device number for xvdb: [Errno 2] No such file or directory: '/dev/xvdb'
[2009-10-12 06:57:23 xend 4770] DEBUG (DevController:110) DevController: writing {'virtual-device': '51728', 'device-type': 'disk', 'protocol': 'x86_32-abi', 'backend-id': '0', 'state': '1', 'backend': '/local/domain/0/backend/tap/18/51728'} to /local/domain/18/device/vbd/51728.
[2009-10-12 06:57:23 xend 4770] DEBUG (DevController:112) DevController: writing {'domain': 'x', 'frontend': '/local/domain/18/device/vbd/51728', 'format': 'raw', 'dev': 'xvdb', 'state': '1', 'params': 'aio:/root/xubuntu/x.swap', 'mode': 'w', 'online': '1', 'frontend-id': '18', 'type': 'tap'} to /local/domain/0/backend/tap/18/51728.
[2009-10-12 06:57:23 xend 4770] DEBUG (blkif:27) exception looking up device number for xvdd: [Errno 2] No such file or directory: '/dev/xvdd'
[2009-10-12 06:57:23 xend 4770] DEBUG (blkif:27) exception looking up device number for xvdd: [Errno 2] No such file or directory: '/dev/xvdd'
[2009-10-12 06:57:23 xend 4770] DEBUG (DevController:110) DevController: writing {'virtual-device': '51760', 'device-type': 'disk', 'protocol': 'x86_32-abi', 'backend-id': '0', 'state': '1', 'backend': '/local/domain/0/backend/tap/18/51760'} to /local/domain/18/device/vbd/51760.
[2009-10-12 06:57:23 xend 4770] DEBUG (DevController:112) DevController: writing {'domain': 'x', 'frontend': '/local/domain/18/device/vbd/51760', 'format': 'raw', 'dev': 'xvdd', 'state': '1', 'params': 'aio:/root/xubuntu/x.img', 'mode': 'w', 'online': '1', 'frontend-id': '18', 'type': 'tap'} to /local/domain/0/backend/tap/18/51760.
[2009-10-12 06:57:23 xend 4770] DEBUG (DevController:110) DevController: writing {'mac': '00:16:3e:3b:b8:30', 'handle': '0', 'protocol': 'x86_32-abi', 'backend-id': '0', 'state': '1', 'backend': '/local/domain/0/backend/vif/18/0'} to /local/domain/18/device/vif/0.
[2009-10-12 06:57:23 xend 4770] DEBUG (DevController:112) DevController: writing {'bridge': 'xenbr0', 'domain': 'x', 'handle': '0', 'script': '/etc/xen/scripts/vif-bridge', 'state': '1', 'frontend': '/local/domain/18/device/vif/0', 'mac': '00:16:3e:3b:b8:30', 'online': '1', 'frontend-id': '18'} to /local/domain/0/backend/vif/18/0.
[2009-10-12 06:57:23 xend.XendDomainInfo 4770] DEBUG (XendDomainInfo:797) Storing VM details: {'shadow_memory': '0', 'uuid': '4482e03f-e48e-a31b-0613-8bc8b89f533a', 'on_reboot': 'destroy', 'start_time': '1255348643.69', 'on_poweroff': 'destroy', 'name': 'x', 'xend/restart_count': '0', 'vcpus': '2', 'vcpu_avail': '3', 'memory': '1024', 'on_crash': 'destroy', 'image': "(linux (ramdisk /var/lib/xen/boot_ramdisk.JTQd57) (kernel /var/lib/xen/boot_kernel._q-nx0) (args 'root=/dev/xvda ro  single'))", 'maxmem': '1024'}
[2009-10-12 06:57:23 xend.XendDomainInfo 4770] DEBUG (XendDomainInfo:832) Storing domain details: {'console/ring-ref': '5226471', 'console/port': '2', 'name': 'x', 'console/limit': '1048576', 'vm': '/vm/4482e03f-e48e-a31b-0613-8bc8b89f533a', 'domid': '18', 'cpu/0/availability': 'online', 'memory/target': '1048576', 'store/ring-ref': '5226472', 'cpu/1/availability': 'online', 'store/port': '1'}
[2009-10-12 06:57:23 xend.XendDomainInfo 4770] DEBUG (XendDomainInfo:1036) XendDomainInfo.handleShutdownWatch
[2009-10-12 06:57:23 xend 4770] DEBUG (DevController:154) Waiting for devices vif.
[2009-10-12 06:57:23 xend 4770] DEBUG (DevController:160) Waiting for 0.
[2009-10-12 06:57:23 xend 4770] DEBUG (DevController:496) hotplugStatusCallback /local/domain/0/backend/vif/18/0/hotplug-status.
[2009-10-12 06:57:23 xend 4770] DEBUG (DevController:496) hotplugStatusCallback /local/domain/0/backend/vif/18/0/hotplug-status.
[2009-10-12 06:57:23 xend 4770] DEBUG (DevController:510) hotplugStatusCallback 1.
[2009-10-12 06:57:23 xend 4770] DEBUG (DevController:154) Waiting for devices usb.
[2009-10-12 06:57:23 xend 4770] DEBUG (DevController:154) Waiting for devices vbd.
[2009-10-12 06:57:23 xend 4770] DEBUG (DevController:154) Waiting for devices irq.
[2009-10-12 06:57:23 xend 4770] DEBUG (DevController:154) Waiting for devices vkbd.
[2009-10-12 06:57:23 xend 4770] DEBUG (DevController:154) Waiting for devices vfb.
[2009-10-12 06:57:23 xend 4770] DEBUG (DevController:154) Waiting for devices pci.
[2009-10-12 06:57:23 xend 4770] DEBUG (DevController:154) Waiting for devices ioports.
[2009-10-12 06:57:24 xend 4770] DEBUG (DevController:154) Waiting for devices tap.
[2009-10-12 06:57:24 xend 4770] DEBUG (DevController:160) Waiting for 51712.
[2009-10-12 06:57:24 xend 4770] DEBUG (DevController:496) hotplugStatusCallback /local/domain/0/backend/tap/18/51712/hotplug-status.
[2009-10-12 06:57:24 xend 4770] DEBUG (DevController:510) hotplugStatusCallback 1.
[2009-10-12 06:57:24 xend 4770] DEBUG (DevController:160) Waiting for 51728.
[2009-10-12 06:57:24 xend 4770] DEBUG (DevController:496) hotplugStatusCallback /local/domain/0/backend/tap/18/51728/hotplug-status.
[2009-10-12 06:57:24 xend 4770] DEBUG (DevController:510) hotplugStatusCallback 1.
[2009-10-12 06:57:24 xend 4770] DEBUG (DevController:160) Waiting for 51760.
[2009-10-12 06:57:24 xend 4770] DEBUG (DevController:496) hotplugStatusCallback /local/domain/0/backend/tap/18/51760/hotplug-status.
[2009-10-12 06:57:24 xend 4770] DEBUG (DevController:510) hotplugStatusCallback 1.
[2009-10-12 06:57:24 xend 4770] DEBUG (DevController:154) Waiting for devices vtpm.
[2009-10-12 06:57:24 xend 4770] INFO (XendDomain:380) Domain x (18) unpaused.
[2009-10-12 06:57:46 xend.XendDomainInfo 4770] DEBUG (XendDomainInfo:1637) XendDomainInfo.destroy: domid=18


_______________________________________________
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®.