Ryan wrote:
On Thu, 2006-05-04 at 16:04 -0700, list user wrote:
Thanks Ryan,
I tried the fix but it just gave a different symptom. (same error,
different variable)
Can you post the exact error message you're getting?
So... rpm --erase xen JIC there were any ghosts around. Manually
removed all traces of xen from the system. Then did a ./install.sh from
the xen-3.0.2-2 directory, which had a clean "make world".
The results are the same.
I've found a more generic error about a local variable being used before
assignment, but I think it's referring to dev_config.
Again, this only happens on auto-boot or domU reboot, and only when
there is a "pci =" line in the domU's definition file.
Any ideas how I can help debug this?
Can you post the output of /var/log/xend.log? If your file is large,
please don't attach the whole thing! :) Specifically, I'm interested in
any errors in the file and the debug lines that contains the words
"XendDomainInfo.create" followed by some information in lots of square
brackets. Also take a look at the kernel log in dom0 (type 'dmesg') and
look for any strange errors.
Sorry for the delay in replying. Life intervened ;)
The tail-end of the xend.log is attached. I've included a successful
shutdown (#16), successfull startup (#17), failed restart (#18).
Is the pci device appearing correctly in your domU? Do you see any
strange error messages or warnings in your domU before you try and
reboot it?
PCI device works flawlessly. It is the WAN device on the router I'm
using as I send this email.
Following a failed reboot there is zero info in the domU's logs
indicating that a startup had begun.
Thanks for your help,
Mike Wright
Ryan
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
[2006-05-04 18:33:24 xend.XendDomainInfo] DEBUG (XendDomainInfo:1327)
XendDomainInfo.destroy: domid=16
[2006-05-04 18:33:24 xend.XendDomainInfo] DEBUG (XendDomainInfo:1335)
XendDomainInfo.destroyDomain(16)
[2006-05-04 18:39:49 xend.XendDomainInfo] DEBUG (XendDomainInfo:178)
XendDomainInfo.create(['vm', ['name', 'vm1'], ['memory', 64], ['vcpus', 1],
['image', ['linux', ['kernel', '/boot/vmlinuz-2.6.16-xen'], ['ramdisk',
'/boot/initrd-2.6.16-xen.img'], ['root', '/dev/hda1 ro'], ['args',
'netloop.nloopbacks=0 4']]], ['device', ['vbd', ['uname', 'phy:vg0/vm1'],
['dev', 'hda1'], ['mode', 'w']]], ['device', ['vbd', ['uname', 'phy:vg0/usr'],
['dev', 'hda2'], ['mode', 'r']]], ['device', ['vbd', ['uname', 'phy:vg0/sw1'],
['dev', 'hda3'], ['mode', 'w']]], ['device', ['pci', ['dev', ['domain', '0x0'],
['bus', '0x00'], ['slot', '0x0d'], ['func', '0x0']]]], ['device', ['vif',
['bridge', 'LAN'], ['mac', '00:16:3e:11:11:01']]], ['device', ['vif',
['bridge', 'DMZ'], ['mac', '00:16:3e:22:22:01']]]])
[2006-05-04 18:39:49 xend.XendDomainInfo] DEBUG (XendDomainInfo:284)
parseConfig: config is ['vm', ['name', 'vm1'], ['memory', 64], ['vcpus', 1],
['image', ['linux', ['kernel', '/boot/vmlinuz-2.6.16-xen'], ['ramdisk',
'/boot/initrd-2.6.16-xen.img'], ['root', '/dev/hda1 ro'], ['args',
'netloop.nloopbacks=0 4']]], ['device', ['vbd', ['uname', 'phy:vg0/vm1'],
['dev', 'hda1'], ['mode', 'w']]], ['device', ['vbd', ['uname', 'phy:vg0/usr'],
['dev', 'hda2'], ['mode', 'r']]], ['device', ['vbd', ['uname', 'phy:vg0/sw1'],
['dev', 'hda3'], ['mode', 'w']]], ['device', ['pci', ['dev', ['domain', '0x0'],
['bus', '0x00'], ['slot', '0x0d'], ['func', '0x0']]]], ['device', ['vif',
['bridge', 'LAN'], ['mac', '00:16:3e:11:11:01']]], ['device', ['vif',
['bridge', 'DMZ'], ['mac', '00:16:3e:22:22:01']]]]
[2006-05-04 18:39:49 xend.XendDomainInfo] DEBUG (XendDomainInfo:380)
parseConfig: result is {'ssidref': None, 'uuid': None, 'on_crash': None,
'on_reboot': None, 'image': ['linux', ['kernel', '/boot/vmlinuz-2.6.16-xen'],
['ramdisk', '/boot/initrd-2.6.16-xen.img'], ['root', '/dev/hda1 ro'], ['args',
'netloop.nloopbacks=0 4']], 'on_poweroff': None, 'cpus': None, 'name': 'vm1',
'backend': [], 'vcpus': 1, 'cpu_weight': None, 'vcpu_avail': None, 'memory':
64, 'device': [('vbd', ['vbd', ['uname', 'phy:vg0/vm1'], ['dev', 'hda1'],
['mode', 'w']]), ('vbd', ['vbd', ['uname', 'phy:vg0/usr'], ['dev', 'hda2'],
['mode', 'r']]), ('vbd', ['vbd', ['uname', 'phy:vg0/sw1'], ['dev', 'hda3'],
['mode', 'w']]), ('pci', ['pci', ['dev', ['domain', '0x0'], ['bus', '0x00'],
['slot', '0x0d'], ['func', '0x0']]]), ('vif', ['vif', ['bridge', 'LAN'],
['mac', '00:16:3e:11:11:01']]), ('vif', ['vif', ['bridge', 'DMZ'], ['mac',
'00:16:3e:22:22:01']])], 'bootloader': None, 'cpu': None, 'maxmem': None}
[2006-05-04 18:39:49 xend.XendDomainInfo] DEBUG (XendDomainInfo:1164)
XendDomainInfo.construct: None 0
[2006-05-04 18:39:49 xend.XendDomainInfo] DEBUG (XendDomainInfo:1196)
XendDomainInfo.initDomain: 17 1.0
[2006-05-04 18:39:49 xend] DEBUG (balloon:126) Balloon: free 224; need 65; done.
[2006-05-04 18:39:49 xend] INFO (image:135) buildDomain os=linux dom=17 vcpus=1
[2006-05-04 18:39:49 xend] DEBUG (image:173) dom = 17
[2006-05-04 18:39:49 xend] DEBUG (image:174) image =
/boot/vmlinuz-2.6.16-xen
[2006-05-04 18:39:49 xend] DEBUG (image:175) store_evtchn = 1
[2006-05-04 18:39:49 xend] DEBUG (image:176) console_evtchn = 2
[2006-05-04 18:39:49 xend] DEBUG (image:177) cmdline = root=/dev/hda1
ro netloop.nloopbacks=0 4
[2006-05-04 18:39:49 xend] DEBUG (image:178) ramdisk =
/boot/initrd-2.6.16-xen.img
[2006-05-04 18:39:49 xend] DEBUG (image:179) vcpus = 1
[2006-05-04 18:39:49 xend] DEBUG (image:180) features =
[2006-05-04 18:39:49 xend] DEBUG (DevController:103) DevController: writing
{'virtual-device': '769', 'backend-id': '0', 'state': '1', 'backend':
'/local/domain/0/backend/vbd/17/769'} to /local/domain/17/device/vbd/769.
[2006-05-04 18:39:49 xend] DEBUG (DevController:105) DevController: writing
{'domain': 'vm1', 'frontend': '/local/domain/17/device/vbd/769', 'dev': 'hda1',
'state': '1', 'params': 'vg0/vm1', 'mode': 'w', 'frontend-id': '17', 'type':
'phy'} to /local/domain/0/backend/vbd/17/769.
[2006-05-04 18:39:49 xend] DEBUG (DevController:103) DevController: writing
{'virtual-device': '770', 'backend-id': '0', 'state': '1', 'backend':
'/local/domain/0/backend/vbd/17/770'} to /local/domain/17/device/vbd/770.
[2006-05-04 18:39:49 xend] DEBUG (DevController:105) DevController: writing
{'domain': 'vm1', 'frontend': '/local/domain/17/device/vbd/770', 'dev': 'hda2',
'state': '1', 'params': 'vg0/usr', 'mode': 'r', 'frontend-id': '17', 'type':
'phy'} to /local/domain/0/backend/vbd/17/770.
[2006-05-04 18:39:49 xend] DEBUG (DevController:103) DevController: writing
{'virtual-device': '771', 'backend-id': '0', 'state': '1', 'backend':
'/local/domain/0/backend/vbd/17/771'} to /local/domain/17/device/vbd/771.
[2006-05-04 18:39:49 xend] DEBUG (DevController:105) DevController: writing
{'domain': 'vm1', 'frontend': '/local/domain/17/device/vbd/771', 'dev': 'hda3',
'state': '1', 'params': 'vg0/sw1', 'mode': 'w', 'frontend-id': '17', 'type':
'phy'} to /local/domain/0/backend/vbd/17/771.
[2006-05-04 18:39:49 xend] DEBUG (pciif:129) pci: enabling ioport 0xd400/0x100
[2006-05-04 18:39:49 xend] DEBUG (pciif:142) pci: enabling iomem
0xcffffd00/0x100 pfn 0xcffff/0x1
[2006-05-04 18:39:49 xend] DEBUG (pciif:142) pci: enabling iomem
0xcffc0000/0x20000 pfn 0xcffc0/0x20
[2006-05-04 18:39:49 xend] DEBUG (pciif:153) pci: enabling irq 5
[2006-05-04 18:39:49 xend] DEBUG (DevController:103) DevController: writing
{'state': '1', 'backend-id': '0', 'backend':
'/local/domain/0/backend/pci/17/0'} to /local/domain/17/device/pci/0.
[2006-05-04 18:39:49 xend] DEBUG (DevController:105) DevController: writing
{'domain': 'vm1', 'frontend': '/local/domain/17/device/pci/0', 'frontend-id':
'17', 'dev-0': '0000:00:0d.00', 'state': '1', 'num_devs': '1'} to
/local/domain/0/backend/pci/17/0.
[2006-05-04 18:39:49 xend] DEBUG (DevController:103) DevController: writing
{'backend-id': '0', 'mac': '00:16:3e:11:11:01', 'handle': '0', 'state': '1',
'backend': '/local/domain/0/backend/vif/17/0'} to /local/domain/17/device/vif/0.
[2006-05-04 18:39:49 xend] DEBUG (DevController:105) DevController: writing
{'bridge': 'LAN', 'domain': 'vm1', 'handle': '0', 'script':
'/etc/xen/scripts/my-vif-bridge', 'state': '1', 'frontend':
'/local/domain/17/device/vif/0', 'mac': '00:16:3e:11:11:01', 'frontend-id':
'17'} to /local/domain/0/backend/vif/17/0.
[2006-05-04 18:39:49 xend] DEBUG (DevController:103) DevController: writing
{'backend-id': '0', 'mac': '00:16:3e:22:22:01', 'handle': '1', 'state': '1',
'backend': '/local/domain/0/backend/vif/17/1'} to /local/domain/17/device/vif/1.
[2006-05-04 18:39:49 xend] DEBUG (DevController:105) DevController: writing
{'bridge': 'DMZ', 'domain': 'vm1', 'handle': '1', 'script':
'/etc/xen/scripts/my-vif-bridge', 'state': '1', 'frontend':
'/local/domain/17/device/vif/1', 'mac': '00:16:3e:22:22:01', 'frontend-id':
'17'} to /local/domain/0/backend/vif/17/1.
[2006-05-04 18:39:49 xend.XendDomainInfo] DEBUG (XendDomainInfo:671) Storing VM
details: {'ssidref': '0', 'uuid': '18a8461c-3a63-6155-797a-b66ba7e271e7',
'on_reboot': 'restart', 'start_time': '1146793189.71', 'on_poweroff':
'destroy', 'name': 'vm1', 'vcpus': '1', 'vcpu_avail': '1', 'memory': '64',
'on_crash': 'restart', 'image': "(linux (kernel /boot/vmlinuz-2.6.16-xen)
(ramdisk /boot/initrd-2.6.16-xen.img) (root '/dev/hda1 ro') (args
'netloop.nloopbacks=0 4'))", 'maxmem': '64'}
[2006-05-04 18:39:50 xend.XendDomainInfo] DEBUG (XendDomainInfo:696) Storing
domain details: {'console/ring-ref': '57180', 'console/port': '2', 'name':
'vm1', 'console/limit': '1048576', 'vm':
'/vm/18a8461c-3a63-6155-797a-b66ba7e271e7', 'domid': '17',
'cpu/0/availability': 'online', 'memory/target': '65536', 'store/ring-ref':
'57181', 'store/port': '1'}
[2006-05-04 18:39:50 xend.XendDomainInfo] DEBUG (XendDomainInfo:877)
XendDomainInfo.handleShutdownWatch
[2006-05-04 18:39:50 xend] DEBUG (DevController:132) Waiting for devices vif.
[2006-05-04 18:39:50 xend] DEBUG (DevController:138) Waiting for 0.
[2006-05-04 18:39:50 xend] DEBUG (DevController:403) hotplugStatusCallback
/local/domain/0/backend/vif/17/0/hotplug-status.
[2006-05-04 18:39:51 xend] DEBUG (DevController:403) hotplugStatusCallback
/local/domain/0/backend/vif/17/0/hotplug-status.
[2006-05-04 18:39:51 xend] DEBUG (DevController:417) hotplugStatusCallback 1.
[2006-05-04 18:39:51 xend] DEBUG (DevController:138) Waiting for 1.
[2006-05-04 18:39:51 xend] DEBUG (DevController:403) hotplugStatusCallback
/local/domain/0/backend/vif/17/1/hotplug-status.
[2006-05-04 18:39:54 xend] DEBUG (DevController:403) hotplugStatusCallback
/local/domain/0/backend/vif/17/1/hotplug-status.
[2006-05-04 18:39:54 xend] DEBUG (DevController:417) hotplugStatusCallback 1.
[2006-05-04 18:39:54 xend] DEBUG (DevController:132) Waiting for devices usb.
[2006-05-04 18:39:54 xend] DEBUG (DevController:132) Waiting for devices vbd.
[2006-05-04 18:39:54 xend] DEBUG (DevController:138) Waiting for 769.
[2006-05-04 18:39:54 xend] DEBUG (DevController:403) hotplugStatusCallback
/local/domain/0/backend/vbd/17/769/hotplug-status.
[2006-05-04 18:39:54 xend] DEBUG (DevController:417) hotplugStatusCallback 1.
[2006-05-04 18:39:54 xend] DEBUG (DevController:138) Waiting for 770.
[2006-05-04 18:39:54 xend] DEBUG (DevController:403) hotplugStatusCallback
/local/domain/0/backend/vbd/17/770/hotplug-status.
[2006-05-04 18:39:54 xend] DEBUG (DevController:417) hotplugStatusCallback 1.
[2006-05-04 18:39:54 xend] DEBUG (DevController:138) Waiting for 771.
[2006-05-04 18:39:54 xend] DEBUG (DevController:403) hotplugStatusCallback
/local/domain/0/backend/vbd/17/771/hotplug-status.
[2006-05-04 18:39:54 xend] DEBUG (DevController:417) hotplugStatusCallback 1.
[2006-05-04 18:39:54 xend] DEBUG (DevController:132) Waiting for devices irq.
[2006-05-04 18:39:54 xend] DEBUG (DevController:132) Waiting for devices pci.
[2006-05-04 18:39:54 xend] DEBUG (DevController:138) Waiting for 0.
[2006-05-04 18:39:54 xend] DEBUG (DevController:132) Waiting for devices
ioports.
[2006-05-04 18:39:54 xend] DEBUG (DevController:132) Waiting for devices vtpm.
[2006-05-04 18:39:54 xend] INFO (XendDomain:363) Domain vm1 (17) unpaused.
[2006-05-05 09:23:29 xend.XendDomainInfo] DEBUG (XendDomainInfo:877)
XendDomainInfo.handleShutdownWatch
[2006-05-05 09:23:29 xend.XendDomainInfo] DEBUG (XendDomainInfo:877)
XendDomainInfo.handleShutdownWatch
[2006-05-05 09:23:55 xend.XendDomainInfo] INFO (XendDomainInfo:836) Domain has
shutdown: name=vm1 id=17 reason=reboot.
[2006-05-05 09:23:55 xend.XendDomainInfo] DEBUG (XendDomainInfo:1335)
XendDomainInfo.destroyDomain(17)
[2006-05-05 09:23:55 xend.XendDomainInfo] DEBUG (XendDomainInfo:178)
XendDomainInfo.create(['domain', ['domid', 17], ['uuid',
'18a8461c-3a63-6155-797a-b66ba7e271e7'], ['ssidref', 0], ['vcpus', 1],
['vcpu_avail', 1], ['cpu_weight', 1.0], ['memory', 64], ['maxmem', 64],
['name', 'vm1'], ['on_poweroff', 'destroy'], ['on_reboot', 'restart'],
['on_crash', 'restart'], ['image', ['linux', ['kernel',
'/boot/vmlinuz-2.6.16-xen'], ['ramdisk', '/boot/initrd-2.6.16-xen.img'],
['root', '/dev/hda1 ro'], ['args', 'netloop.nloopbacks=0 4']]], ['device',
['vif', ['backend', 0], ['script', 'my-vif-bridge'], ['bridge', 'LAN'], ['mac',
'00:16:3e:11:11:01']]], ['device', ['vif', ['backend', 0], ['script',
'my-vif-bridge'], ['bridge', 'DMZ'], ['mac', '00:16:3e:22:22:01']]], ['device',
['vbd', ['backend', 0], ['dev', 'hda1'], ['uname', 'phy:vg0/vm1'], ['mode',
'w']]], ['device', ['vbd', ['backend', 0], ['dev', 'hda2'], ['uname',
'phy:vg0/usr'], ['mode', 'r']]], ['device', ['vbd', ['backend', 0], ['dev',
'hda3'], ['uname', 'phy:vg0/sw1'], ['mode', 'w']]], ['device', ['pci',
['backend', 0]]], ['state', '---s--'], ['shutdown_reason', 'reboot'],
['cpu_time', 360.46612260400002], ['online_vcpus', 1], ['up_time',
'53045.8447151'], ['start_time', '1146793189.71'], ['store_mfn', 57181],
['console_mfn', 57180]])
[2006-05-05 09:23:55 xend.XendDomainInfo] DEBUG (XendDomainInfo:284)
parseConfig: config is ['domain', ['domid', 17], ['uuid',
'18a8461c-3a63-6155-797a-b66ba7e271e7'], ['ssidref', 0], ['vcpus', 1],
['vcpu_avail', 1], ['cpu_weight', 1.0], ['memory', 64], ['maxmem', 64],
['name', 'vm1'], ['on_poweroff', 'destroy'], ['on_reboot', 'restart'],
['on_crash', 'restart'], ['image', ['linux', ['kernel',
'/boot/vmlinuz-2.6.16-xen'], ['ramdisk', '/boot/initrd-2.6.16-xen.img'],
['root', '/dev/hda1 ro'], ['args', 'netloop.nloopbacks=0 4']]], ['device',
['vif', ['backend', 0], ['script', 'my-vif-bridge'], ['bridge', 'LAN'], ['mac',
'00:16:3e:11:11:01']]], ['device', ['vif', ['backend', 0], ['script',
'my-vif-bridge'], ['bridge', 'DMZ'], ['mac', '00:16:3e:22:22:01']]], ['device',
['vbd', ['backend', 0], ['dev', 'hda1'], ['uname', 'phy:vg0/vm1'], ['mode',
'w']]], ['device', ['vbd', ['backend', 0], ['dev', 'hda2'], ['uname',
'phy:vg0/usr'], ['mode', 'r']]], ['device', ['vbd', ['backend', 0], ['dev',
'hda3'], ['uname', 'phy:vg0/sw1'], ['mode', 'w']]], ['device', ['pci',
['backend', 0]]], ['state', '---s--'], ['shutdown_reason', 'reboot'],
['cpu_time', 360.46612260400002], ['online_vcpus', 1], ['up_time',
'53045.8447151'], ['start_time', '1146793189.71'], ['store_mfn', 57181],
['console_mfn', 57180]]
[2006-05-05 09:23:55 xend.XendDomainInfo] DEBUG (XendDomainInfo:380)
parseConfig: result is {'ssidref': 0, 'uuid':
'18a8461c-3a63-6155-797a-b66ba7e271e7', 'on_crash': 'restart', 'on_reboot':
'restart', 'image': ['linux', ['kernel', '/boot/vmlinuz-2.6.16-xen'],
['ramdisk', '/boot/initrd-2.6.16-xen.img'], ['root', '/dev/hda1 ro'], ['args',
'netloop.nloopbacks=0 4']], 'on_poweroff': 'destroy', 'cpus': None, 'name':
'vm1', 'backend': [], 'vcpus': 1, 'cpu_weight': 1.0, 'vcpu_avail': 1, 'memory':
64, 'device': [('vif', ['vif', ['backend', 0], ['script', 'my-vif-bridge'],
['bridge', 'LAN'], ['mac', '00:16:3e:11:11:01']]), ('vif', ['vif', ['backend',
0], ['script', 'my-vif-bridge'], ['bridge', 'DMZ'], ['mac',
'00:16:3e:22:22:01']]), ('vbd', ['vbd', ['backend', 0], ['dev', 'hda1'],
['uname', 'phy:vg0/vm1'], ['mode', 'w']]), ('vbd', ['vbd', ['backend', 0],
['dev', 'hda2'], ['uname', 'phy:vg0/usr'], ['mode', 'r']]), ('vbd', ['vbd',
['backend', 0], ['dev', 'hda3'], ['uname', 'phy:vg0/sw1'], ['mode', 'w']]),
('pci', ['pci', ['backend', 0]])], 'bootloader': None, 'cpu': None, 'maxmem':
64}
[2006-05-05 09:23:55 xend.XendDomainInfo] DEBUG (XendDomainInfo:1164)
XendDomainInfo.construct: None 0
[2006-05-05 09:23:55 xend.XendDomainInfo] DEBUG (XendDomainInfo:1196)
XendDomainInfo.initDomain: 18 1.0
[2006-05-05 09:23:55 xend] DEBUG (balloon:126) Balloon: free 174; need 65; done.
[2006-05-05 09:23:55 xend] INFO (image:135) buildDomain os=linux dom=18 vcpus=1
[2006-05-05 09:23:55 xend] DEBUG (image:173) dom = 18
[2006-05-05 09:23:55 xend] DEBUG (image:174) image =
/boot/vmlinuz-2.6.16-xen
[2006-05-05 09:23:55 xend] DEBUG (image:175) store_evtchn = 1
[2006-05-05 09:23:55 xend] DEBUG (image:176) console_evtchn = 2
[2006-05-05 09:23:55 xend] DEBUG (image:177) cmdline = root=/dev/hda1
ro netloop.nloopbacks=0 4
[2006-05-05 09:23:55 xend] DEBUG (image:178) ramdisk =
/boot/initrd-2.6.16-xen.img
[2006-05-05 09:23:55 xend] DEBUG (image:179) vcpus = 1
[2006-05-05 09:23:55 xend] DEBUG (image:180) features =
[2006-05-05 09:23:57 xend] DEBUG (DevController:103) DevController: writing
{'backend-id': '0', 'mac': '00:16:3e:11:11:01', 'handle': '0', 'state': '1',
'backend': '/local/domain/0/backend/vif/18/0'} to /local/domain/18/device/vif/0.
[2006-05-05 09:23:57 xend] DEBUG (DevController:105) DevController: writing
{'bridge': 'LAN', 'domain': 'vm1', 'handle': '0', 'script':
'/etc/xen/scripts/my-vif-bridge', 'state': '1', 'frontend':
'/local/domain/18/device/vif/0', 'mac': '00:16:3e:11:11:01', 'frontend-id':
'18'} to /local/domain/0/backend/vif/18/0.
[2006-05-05 09:23:57 xend] DEBUG (DevController:103) DevController: writing
{'backend-id': '0', 'mac': '00:16:3e:22:22:01', 'handle': '1', 'state': '1',
'backend': '/local/domain/0/backend/vif/18/1'} to /local/domain/18/device/vif/1.
[2006-05-05 09:23:57 xend] DEBUG (DevController:105) DevController: writing
{'bridge': 'DMZ', 'domain': 'vm1', 'handle': '1', 'script':
'/etc/xen/scripts/my-vif-bridge', 'state': '1', 'frontend':
'/local/domain/18/device/vif/1', 'mac': '00:16:3e:22:22:01', 'frontend-id':
'18'} to /local/domain/0/backend/vif/18/1.
[2006-05-05 09:23:57 xend] DEBUG (DevController:103) DevController: writing
{'virtual-device': '769', 'backend-id': '0', 'state': '1', 'backend':
'/local/domain/0/backend/vbd/18/769'} to /local/domain/18/device/vbd/769.
[2006-05-05 09:23:57 xend] DEBUG (DevController:105) DevController: writing
{'domain': 'vm1', 'frontend': '/local/domain/18/device/vbd/769', 'dev': 'hda1',
'state': '1', 'params': 'vg0/vm1', 'mode': 'w', 'frontend-id': '18', 'type':
'phy'} to /local/domain/0/backend/vbd/18/769.
[2006-05-05 09:23:57 xend] DEBUG (DevController:103) DevController: writing
{'virtual-device': '770', 'backend-id': '0', 'state': '1', 'backend':
'/local/domain/0/backend/vbd/18/770'} to /local/domain/18/device/vbd/770.
[2006-05-05 09:23:57 xend] DEBUG (DevController:105) DevController: writing
{'domain': 'vm1', 'frontend': '/local/domain/18/device/vbd/770', 'dev': 'hda2',
'state': '1', 'params': 'vg0/usr', 'mode': 'r', 'frontend-id': '18', 'type':
'phy'} to /local/domain/0/backend/vbd/18/770.
[2006-05-05 09:23:57 xend] DEBUG (DevController:103) DevController: writing
{'virtual-device': '771', 'backend-id': '0', 'state': '1', 'backend':
'/local/domain/0/backend/vbd/18/771'} to /local/domain/18/device/vbd/771.
[2006-05-05 09:23:57 xend] DEBUG (DevController:105) DevController: writing
{'domain': 'vm1', 'frontend': '/local/domain/18/device/vbd/771', 'dev': 'hda3',
'state': '1', 'params': 'vg0/sw1', 'mode': 'w', 'frontend-id': '18', 'type':
'phy'} to /local/domain/0/backend/vbd/18/771.
[2006-05-05 09:23:57 xend.XendDomainInfo] ERROR (XendDomainInfo:190) Domain
construction failed
Traceback (most recent call last):
File
"/mnt/usr/src/kernels/xen-3.0.2-2/dist/install/usr/lib/python/xen/xend/XendDomainInfo.py",
line 183, in create
File
"/mnt/usr/src/kernels/xen-3.0.2-2/dist/install/usr/lib/python/xen/xend/XendDomainInfo.py",
line 1233, in initDomain
File
"/mnt/usr/src/kernels/xen-3.0.2-2/dist/install/usr/lib/python/xen/xend/XendDomainInfo.py",
line 1393, in createDevices
File
"/mnt/usr/src/kernels/xen-3.0.2-2/dist/install/usr/lib/python/xen/xend/XendDomainInfo.py",
line 1009, in createDevice
File
"/mnt/usr/src/kernels/xen-3.0.2-2/dist/install/usr/lib/python/xen/xend/server/DevController.py",
line 80, in createDevice
File
"/mnt/usr/src/kernels/xen-3.0.2-2/dist/install/usr/lib/python/xen/xend/server/pciif.py",
line 97, in getDeviceDetails
UnboundLocalError: local variable 'dev_config' referenced before assignment
[2006-05-05 09:23:57 xend.XendDomainInfo] DEBUG (XendDomainInfo:1327)
XendDomainInfo.destroy: domid=18
[2006-05-05 09:23:57 xend.XendDomainInfo] DEBUG (XendDomainInfo:1335)
XendDomainInfo.destroyDomain(18)
[2006-05-05 09:23:57 xend.XendDomainInfo] ERROR (XendDomainInfo:1499) Failed to
restart domain 17.
Traceback (most recent call last):
File
"/mnt/usr/src/kernels/xen-3.0.2-2/dist/install/usr/lib/python/xen/xend/XendDomainInfo.py",
line 1488, in restart
File
"/mnt/usr/src/kernels/xen-3.0.2-2/dist/install/usr/lib/python/xen/xend/XendDomain.py",
line 227, in domain_create
File
"/mnt/usr/src/kernels/xen-3.0.2-2/dist/install/usr/lib/python/xen/xend/XendDomainInfo.py",
line 183, in create
File
"/mnt/usr/src/kernels/xen-3.0.2-2/dist/install/usr/lib/python/xen/xend/XendDomainInfo.py",
line 1233, in initDomain
File
"/mnt/usr/src/kernels/xen-3.0.2-2/dist/install/usr/lib/python/xen/xend/XendDomainInfo.py",
line 1393, in createDevices
File
"/mnt/usr/src/kernels/xen-3.0.2-2/dist/install/usr/lib/python/xen/xend/XendDomainInfo.py",
line 1009, in createDevice
File
"/mnt/usr/src/kernels/xen-3.0.2-2/dist/install/usr/lib/python/xen/xend/server/DevController.py",
line 80, in createDevice
File
"/mnt/usr/src/kernels/xen-3.0.2-2/dist/install/usr/lib/python/xen/xend/server/pciif.py",
line 97, in getDeviceDetails
UnboundLocalError: local variable 'dev_config' referenced before assignment
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|