[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-users] Error: Device 0 (vif) could not be connected. Hotplug scripts not working. - KERNEL BUG
Hi all.I've a xen dual core server with suse 10.1 and xen 3.0.2 (from rpm suse package). I was working with them without any problem for 6 months but now I've a problem. On this intallation are configured 6 domains (1 database server, 1 intranet server, 2 firewalls, 1 web server and domain 0) and I need to create one more called gis but the system gives me the next output when I try it: # xm create -c gis Using config file "gis".[2006-12-14 11:14:17 xend.XendDomainInfo] DEBUG (XendDomainInfo:180) XendDomainInfo.create(['vm', ['name', 'gis'], ['memory', 64], ['root', '/dev/hda1'], ['vcpus', 1], ['root', '/dev/hda1'], ['image', ['linux', ['kernel', '/boot/vmlinuz-xenpae'], ['ramdisk', '/boot/initrd-javera-reiserfs.gz'], ['root', '/dev/hda1']]], ['device', ['vbd', ['uname', 'file:/var/tmp/xen/fw1.vmdisk'], ['dev', 'hdd1'], ['mode', 'w']]], ['device', ['vif', ['ip', '1.2.3.4'], ['mac', 'aa:cc:00:11:11:22'], ['bridge', 'xenbr-I']]]]) [2006-12-14 11:14:17 xend.XendDomainInfo] DEBUG (XendDomainInfo:286) parseConfig: config is ['vm', ['name', 'gis'], ['memory', 64], ['root', '/dev/hda1'], ['vcpus', 1], ['root', '/dev/hda1'], ['image', ['linux', ['kernel', '/boot/vmlinuz-xenpae'], ['ramdisk', '/boot/initrd-javera-reiserfs.gz'], ['root', '/dev/hda1']]], ['device', ['vbd', ['uname', 'file:/var/tmp/xen/fw1.vmdisk'], ['dev', 'hdd1'], ['mode', 'w']]], ['device', ['vif', ['ip', '1.2.3.4'], ['mac', 'aa:cc:00:11:11:22'], ['bridge', 'xenbr-I']]]] [2006-12-14 11:14:17 xend.XendDomainInfo] DEBUG (XendDomainInfo:382) parseConfig: result is {'ssidref': None, 'uuid': None, 'on_crash': None, 'on_reboot': None, 'localtime': None, 'image': ['linux', ['kernel', '/boot/vmlinuz-xenpae'], ['ramdisk', '/boot/initrd-javera-reiserfs.gz'], ['root', '/dev/hda1']], 'on_poweroff': None, 'cpus': None, 'name': 'gis', 'backend': [], 'cpu': None, 'vcpus': 1, 'cpu_weight': None, 'vcpu_avail': None, 'memory': 64, 'device': [('vbd', ['vbd', ['uname', 'file:/var/tmp/xen/fw1.vmdisk'], ['dev', 'hdd1'], ['mode', 'w']]), ('vif', ['vif', ['ip', '1.2.3.4'], ['mac', 'aa:cc:00:11:11:22'], ['bridge', 'xenbr-I']])], 'bootloader': None, 'root': '/dev/hda1', 'bootentry': None, 'maxmem': None} [2006-12-14 11:14:17 xend.XendDomainInfo] DEBUG (XendDomainInfo:1189) XendDomainInfo.construct: None 0 [2006-12-14 11:14:17 xend.XendDomainInfo] DEBUG (XendDomainInfo:1221) XendDomainInfo.initDomain: 58 1.0 [2006-12-14 11:14:17 xend] DEBUG (balloon:136) Balloon: free 415; need 65; done. [2006-12-14 11:14:17 xend] INFO (image:136) buildDomain os=linux dom=58 vcpus=1 [2006-12-14 11:14:17 xend] DEBUG (image:174) dom = 58[2006-12-14 11:14:17 xend] DEBUG (image:175) image = /boot/vmlinuz-xenpae [2006-12-14 11:14:17 xend] DEBUG (image:176) store_evtchn = 1 [2006-12-14 11:14:17 xend] DEBUG (image:177) console_evtchn = 2[2006-12-14 11:14:17 xend] DEBUG (image:178) cmdline = root=/dev/hda1 [2006-12-14 11:14:17 xend] DEBUG (image:179) ramdisk = /boot/initrd-javera-reiserfs.gz [2006-12-14 11:14:17 xend] DEBUG (image:180) vcpus = 1 [2006-12-14 11:14:17 xend] DEBUG (image:181) features =[2006-12-14 11:14:17 xend] DEBUG (blkif:24) exception looking up device number for hdd1: [Errno 2] No such file or directory: '/dev/hdd1' [2006-12-14 11:14:17 xend] DEBUG (DevController:103) DevController: writing {'virtual-device': '5697', 'backend-id': '0', 'state': '1', 'backend': '/local/domain/0/backend/vbd/58/5697'} to /local/domain/58/device/vbd/5697. [2006-12-14 11:14:17 xend] DEBUG (DevController:105) DevController: writing {'domain': 'gis', 'frontend': '/local/domain/58/device/vbd/5697', 'dev': 'hdd1', 'state': '1', 'params': '/var/tmp/xen/fw1.vmdisk', 'mode': 'w', 'frontend-id': '58', 'type': 'file'} to /local/domain/0/backend/vbd/58/5697. [2006-12-14 11:14:17 xend] DEBUG (DevController:103) DevController: writing {'backend-id': '0', 'mac': 'aa:cc:00:11:11:22', 'handle': '0', 'state': '1', 'backend': '/local/domain/0/backend/vif/58/0'} to /local/domain/58/device/vif/0. [2006-12-14 11:14:17 xend] DEBUG (DevController:105) DevController: writing {'bridge': 'xenbr-I', 'domain': 'gis', 'handle': '0', 'script': '/etc/xen/scripts/vif-bridge', 'ip': '1.2.3.4', 'state': '1', 'frontend': '/local/domain/58/device/vif/0', 'mac': 'aa:cc:00:11:11:22', 'frontend-id': '58'} to /local/domain/0/backend/vif/58/0. [2006-12-14 11:14:17 xend.XendDomainInfo] DEBUG (XendDomainInfo:675) Storing VM details: {'ssidref': '0', 'uuid': 'f420af5f-06aa-8fab-c376-711ed06d1219', 'on_reboot': 'restart', 'start_time': '1166091257.95', 'on_poweroff': 'destroy', 'name': 'gis', 'vcpus': '1', 'vcpu_avail': '1', 'memory': '64', 'on_crash': 'restart', 'image': '(linux (kernel /boot/vmlinuz-xenpae) (ramdisk /boot/initrd-javera-reiserfs.gz) (root /dev/hda1))', 'maxmem': '64'} [2006-12-14 11:14:17 xend.XendDomainInfo] DEBUG (XendDomainInfo:700) Storing domain details: {'console/ring-ref': '877999', 'console/port': '2', 'name': 'gis', 'console/limit': '1048576', 'vm': '/vm/f420af5f-06aa-8fab-c376-711ed06d1219', 'domid': '58', 'cpu/0/availability': 'online', 'memory/target': '65536', 'store/ring-ref': '799902', 'store/port': '1'} [2006-12-14 11:14:17 xend.XendDomainInfo] DEBUG (XendDomainInfo:881) XendDomainInfo.handleShutdownWatch [2006-12-14 11:14:18 xend] DEBUG (DevController:132) Waiting for devices vif. [2006-12-14 11:14:18 xend] DEBUG (DevController:138) Waiting for 0.[2006-12-14 11:14:18 xend] DEBUG (DevController:403) hotplugStatusCallback /local/domain/0/backend/vif/58/0/hotplug-status. *Error: Device 0 (vif) could not be connected. Hotplug scripts not working.*[2006-12-14 11:14:28 xend.XendDomainInfo] DEBUG (XendDomainInfo:1356) XendDomainInfo.destroy: domid=58 [2006-12-14 11:14:28 xend.XendDomainInfo] DEBUG (XendDomainInfo:1364) XendDomainInfo.destroyDomain(58) This the domU gis configuration file: ======================== kernel = "/boot/vmlinuz-xenpae" ramdisk = "/boot/initrd-javera-reiserfs.gz" memory = 64 root = "/dev/hda1" name = "gis" disk = ['file:/var/tmp/xen/fw1.vmdisk,hdd1,w'] vif = ['ip=1.2.3.4, mac=aa:cc:00:11:11:22, bridge=xenbr-I' ]Normally, when I need create one domain more I copy a working configuration file to a new, modify tne mac address, disk image and the name and leave untouch then kernel and ramdisk entries, so the problem has to be from my xen environment and not from my configuration file. In addition, on the /var/log/messages appears the following message: Dec 14 09:56:33 xen2 kernel: ------------[ cut here ]------------ Dec 14 09:56:33 xen2 kernel: kernel BUG at arch/i386/mm/pgtable-xen.c:306! Dec 14 09:56:33 xen2 kernel: invalid opcode: 0000 [#1] Dec 14 09:56:33 xen2 kernel: SMP Dec 14 09:56:33 xen2 kernel: last sysfs file: /block/fd0/devDec 14 09:56:33 xen2 kernel: Modules linked in: hfs vfat fat reiserfs nls_utf8 cifs nfsd exportfs lockd nfs_acl sunrpc xt_tc pudp xt_physdev iptable_filter ip_tables x_tables sg qla2300 qla2xxx qla2xxx_conf firmware_class intermodule af_packet bridg e blkbk netbk netloop ipv6 button battery ac apparmor aamatch_pcre loop dm_mod hw_random uhci_hcd ehci_hcd usbcore shpchp pc i_hotplug i6300esb tg3 ide_cd cdrom ext3 jbd fan thermal processor scsi_transport_fc cciss piix sd_mod scsi_mod ide_disk ide _core Dec 14 09:56:33 xen2 kernel: CPU: 0Dec 14 09:56:33 xen2 kernel: EIP: 0061:[<c0113120>] Tainted: G U VLI Dec 14 09:56:33 xen2 kernel: EFLAGS: 00010282 (2.6.16.13-4-xenpae #1) Dec 14 09:56:33 xen2 kernel: EIP is at pgd_ctor+0x20/0x30Dec 14 09:56:33 xen2 kernel: eax: fffffff4 ebx: c04bdac0 ecx: 00000000 edx: 00000000 Dec 14 09:56:33 xen2 kernel: esi: c04bdadc edi: c0113100 ebp: 00000000 esp: cfb0be58 Dec 14 09:56:33 xen2 kernel: ds: 007b es: 007b ss: 0069Dec 14 09:56:33 xen2 udevd-event[18525]: run_program: '/etc/xen/scripts/block' abnormal exit Dec 14 09:56:33 xen2 kernel: Process udevd (pid: 885, threadinfo=cfb0a000 task=c05b99b0) Dec 14 09:56:33 xen2 kernel: Stack: <0>c0166f98 00000010 000000d0 c0b08f24 00000000 000000d0 c53dfdc0 0000000c Dec 14 09:56:33 xen2 kernel: c0b08f00 cfb0a000 c0b08f00 00000000 00000000 00000001 0003dd94 000000d0 Dec 14 09:56:33 xen2 kernel: c53dfdc0 00000000 01200011 c0166b3d cc137040 cfbf68e8 cc1371e8 c0113526 Dec 14 09:56:33 xen2 kernel: Call Trace: Dec 14 09:56:33 xen2 kernel: [<c0166f98>] cache_alloc_refill+0x438/0x5a0 Dec 14 09:56:33 xen2 kernel: [<c0166b3d>] kmem_cache_alloc+0x9d/0xc0 Dec 14 09:56:33 xen2 kernel: [<c0113526>] pgd_alloc+0x16/0x310 Dec 14 09:56:33 xen2 kernel: [<c011cef7>] mm_init+0xa7/0xd0 Dec 14 09:56:33 xen2 kernel: [<c011d80a>] copy_process+0x75a/0x1330 Dec 14 09:56:33 xen2 kernel: [<c0114000>] do_page_fault+0x0/0x948 Dec 14 09:56:33 xen2 kernel: [<c01051b7>] error_code+0x2b/0x30 Dec 14 09:56:33 xen2 kernel: [<c016ef7a>] invalidate_inode_buffers+0xa/0x60 Dec 14 09:56:33 xen2 kernel: [<c011e71e>] do_fork+0x6e/0x1f0 Dec 14 09:56:33 xen2 kernel: [<c0187fe4>] mntput_no_expire+0x24/0xa0 Dec 14 09:56:33 xen2 kernel: [<c0102eb2>] sys_clone+0x32/0x40 Dec 14 09:56:33 xen2 kernel: [<c0105025>] syscall_call+0x7/0xbDec 14 09:56:33 xen2 kernel: Code: 00 00 89 f6 8d bc 27 00 00 00 00 80 3d 24 6c 38 c0 00 74 07 f3 c3 90 8d 74 26 00 31 d2 b9 20 00 00 00 e8 44 38 00 00 85 c0 74 e9 <0f> 0b 32 01 1f a9 2f c0 c3 8d b4 26 00 00 00 00 31 d2 b9 00 63 Thanks in advanced -- Juan Antonio Vera Responsable Departament Informàtica Ajuntament Sant Adrià de Besòs Telf: 93 381 20 04 (ext 367)Fax: 93 381 70 56 Email: javera@xxxxxxxxxxxxxx http://www.sant-adria.net -- Aquest missatge ha estat verificat amb antivirus i antispam. Es considera que esta net. _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |