[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] RE: [Xen-devel] domU won't recognise my block devices
And if it helps, here's the related output from xend.log: [2005-12-01 13:05:01 xend.XendDomainInfo] DEBUG (XendDomainInfo:177) XendDomainInfo.create(['vm', ['name', 'mail2'], ['memory', '128'], ['image', ['linux', ['kernel', '/boot/vmlinuz-2.6.12.6-xen'], ['root', '/dev/hda1 ro'], ['args', ' 4 VMID=2'], ['vcpus', '2'], ['vcpus', '2'], ['boot', 'c']]], ['device', ['vbd', ['uname', 'phy:vg00/mail2-root'], ['dev', 'hda1'], ['mode', 'w']]], ['device', ['vbd', ['uname', 'phy:vg00/mail2-swap'], ['dev', 'hda2'], ['mode', 'w']]], ['device', ['vif', ['mac', 'FE:FD:01:00:02:01'], ['bridge', 'br1']]]]) [2005-12-01 13:05:01 xend.XendDomainInfo] DEBUG (XendDomainInfo:282) parseConfig: config is ['vm', ['name', 'mail2'], ['memory', '128'], ['image', ['linux', ['kernel', '/boot/vmlinuz-2.6.12.6-xen'], ['root', '/dev/hda1 ro'], ['args', ' 4 VMID=2'], ['vcpus', '2'], ['vcpus', '2'], ['boot', 'c']]], ['device', ['vbd', ['uname', 'phy:vg00/mail2-root'], ['dev', 'hda1'], ['mode', 'w']]], ['device', ['vbd', ['uname', 'phy:vg00/mail2-swap'], ['dev', 'hda2'], ['mode', 'w']]], ['device', ['vif', ['mac', 'FE:FD:01:00:02:01'], ['bridge', 'br1']]]] [2005-12-01 13:05:01 xend.XendDomainInfo] DEBUG (XendDomainInfo:336) parseConfig: result is {'ssidref': None, 'uuid': None, 'on_crash': None, 'on_reboot': None, 'image': ['linux', ['kernel', '/boot/vmlinuz-2.6.12.6-xen'], ['root', '/dev/hda1 ro'], ['args', ' 4 VMID=2'], ['vcpus', '2'], ['vcpus', '2'], ['boot', 'c']], 'on_poweroff': None, 'name': 'mail2', 'backend': [], 'vcpus': 2, 'cpu_weight': None, 'vcpu_avail': None, 'memory': 128, 'device': [('vbd', ['vbd', ['uname', 'phy:vg00/mail2-root'], ['dev', 'hda1'], ['mode', 'w']]), ('vbd', ['vbd', ['uname', 'phy:vg00/mail2-swap'], ['dev', 'hda2'], ['mode', 'w']]), ('vif', ['vif', ['mac', 'FE:FD:01:00:02:01'], ['bridge', 'br1']])], 'bootloader': None, 'cpu': None, 'maxmem': None} [2005-12-01 13:05:01 xend.XendDomainInfo] DEBUG (XendDomainInfo:1064) XendDomainInfo.construct: None 0 [2005-12-01 13:05:01 xend.XendDomainInfo] DEBUG (XendDomainInfo:1096) XendDomainInfo.initDomain: 13 1.0 [2005-12-01 13:05:01 xend] INFO (image:132) buildDomain os=linux dom=13 vcpus=2 [2005-12-01 13:05:01 xend] DEBUG (image:170) dom = 13 [2005-12-01 13:05:01 xend] DEBUG (image:171) image = /boot/vmlinuz-2.6.12.6-xen [2005-12-01 13:05:01 xend] DEBUG (image:172) store_evtchn = 1 [2005-12-01 13:05:01 xend] DEBUG (image:173) console_evtchn = 2 [2005-12-01 13:05:01 xend] DEBUG (image:174) cmdline = root=/dev/hda1 ro 4 VMID=2 [2005-12-01 13:05:01 xend] DEBUG (image:175) ramdisk = [2005-12-01 13:05:01 xend] DEBUG (image:176) vcpus = 2 [2005-12-01 13:05:01 xend] DEBUG (DevController:101) DevController: writing {'virtual-device': '769', 'backend-id': '0', 'state': '1', 'backend': '/local/domain/0/backend/vbd/13/769'} to /local/domain/13/device/vbd/769. [2005-12-01 13:05:01 xend] DEBUG (DevController:103) DevController: writing {'domain': 'mail2', 'frontend': '/local/domain/13/device/vbd/769', 'dev': 'hda1', 'state': '1', 'params': 'vg00/mail2-root', 'mode': 'w', 'frontend-id': '13', 'type': 'phy'} to /local/domain/0/backend/vbd/13/769. [2005-12-01 13:05:01 xend] DEBUG (DevController:101) DevController: writing {'virtual-device': '770', 'backend-id': '0', 'state': '1', 'backend': '/local/domain/0/backend/vbd/13/770'} to /local/domain/13/device/vbd/770. [2005-12-01 13:05:01 xend] DEBUG (DevController:103) DevController: writing {'domain': 'mail2', 'frontend': '/local/domain/13/device/vbd/770', 'dev': 'hda2', 'state': '1', 'params': 'vg00/mail2-swap', 'mode': 'w', 'frontend-id': '13', 'type': 'phy'} to /local/domain/0/backend/vbd/13/770. [2005-12-01 13:05:01 xend] DEBUG (DevController:101) DevController: writing {'backend-id': '0', 'mac': 'FE:FD:01:00:02:01', 'handle': '0', 'state': '1', 'backend': '/local/domain/0/backend/vif/13/0'} to /local/domain/13/device/vif/0. [2005-12-01 13:05:01 xend] DEBUG (DevController:103) DevController: writing {'bridge': 'br1', 'domain': 'mail2', 'handle': '0', 'script': '/etc/xen/scripts/vif-bridge', 'state': '1', 'frontend': '/local/domain/13/device/vif/0', 'mac': 'FE:FD:01:00:02:01', 'frontend-id': '13'} to /local/domain/0/backend/vif/13/0. [2005-12-01 13:05:01 xend.XendDomainInfo] DEBUG (XendDomainInfo:602) Storing VM details: {'ssidref': '0', 'uuid': '3f7de8a4-03e7dd27-ebf684b2-10d41b25', 'on_reboot': 'restart', 'image': "(linux (kernel /boot/vmlinuz-2.6.12.6-xen) (root '/dev/hda1 ro') (args ' 4 VMID=2') (vcpus 2) (vcpus 2) (boot c))", 'on_poweroff': 'destroy', 'name': 'mail2', 'vcpus': '2', 'vcpu_avail': '3', 'memory': '128', 'on_crash': 'restart', 'start_time': '1133402701.87', 'maxmem': '128'} [2005-12-01 13:05:01 xend.XendDomainInfo] DEBUG (XendDomainInfo:627) Storing domain details: {'console/ring-ref': '60122', 'console/port': '2', 'name': 'mail2', 'console/limit': '1048576', 'vm': '/vm/3f7de8a4-03e7dd27-ebf684b2-10d41b25', 'domid': '13', 'cpu/0/availability': 'online', 'memory/target': '131072', 'store/ring-ref': '60123', 'cpu/1/availability': 'online', 'store/port': '1'} [2005-12-01 13:05:02 xend] DEBUG (DevController:119) Waiting for devices vif. [2005-12-01 13:05:02 xend] DEBUG (DevController:125) Waiting for 0. [2005-12-01 13:05:02 xend] DEBUG (DevController:398) hotplugStatusCallback /local/domain/0/backend/vif/13/0/hotplug-status. [2005-12-01 13:05:02 xend] DEBUG (DevController:398) hotplugStatusCallback /local/domain/0/backend/vif/13/0/hotplug-status. [2005-12-01 13:05:02 xend] DEBUG (DevController:415) hotplugStatusCallback 1. [2005-12-01 13:05:02 xend] DEBUG (DevController:119) Waiting for devices usb. [2005-12-01 13:05:02 xend] DEBUG (DevController:119) Waiting for devices vbd. [2005-12-01 13:05:02 xend] DEBUG (DevController:125) Waiting for 769. [2005-12-01 13:05:02 xend] DEBUG (DevController:398) hotplugStatusCallback /local/domain/0/backend/vbd/13/769/hotplug-status. [2005-12-01 13:05:02 xend] DEBUG (DevController:415) hotplugStatusCallback 1. [2005-12-01 13:05:02 xend] DEBUG (DevController:125) Waiting for 770. [2005-12-01 13:05:02 xend] DEBUG (DevController:398) hotplugStatusCallback /local/domain/0/backend/vbd/13/770/hotplug-status. [2005-12-01 13:05:02 xend] DEBUG (DevController:415) hotplugStatusCallback 1. [2005-12-01 13:05:02 xend] DEBUG (DevController:119) Waiting for devices pci. [2005-12-01 13:05:02 xend] DEBUG (DevController:119) Waiting for devices ioports. [2005-12-01 13:05:02 xend] DEBUG (DevController:119) Waiting for devices vtpm. [2005-12-01 13:05:02 xend] INFO (XendDomain:353) Domain mail2 (13) unpaused. [2005-12-01 13:05:07 xend.XendDomainInfo] WARNING (XendDomainInfo:740) Domain has crashed: name=mail2 id=13. [2005-12-01 13:05:07 xend.XendDomainInfo] DEBUG (XendDomainInfo:1194) XendDomainInfo.destroyDomain(13) [2005-12-01 13:05:08 xend.XendDomainInfo] DEBUG (XendDomainInfo:177) XendDomainInfo.create(['domain', ['domid', 13], ['uuid', '3f7de8a4-03e7dd27-ebf684b2-10d41b25'], ['ssidref', 0], ['vcpus', 2], ['vcpu_avail', 3], ['cpu_weight', 1.0], ['memory', 128], ['maxmem', 128], ['name', 'mail2'], ['on_poweroff', 'destroy'], ['on_reboot', 'restart'], ['on_crash', 'restart'], ['image', ['linux', ['kernel', '/boot/vmlinuz-2.6.12.6-xen'], ['root', '/dev/hda1 ro'], ['args', ' 4 VMID=2'], ['vcpus', '2'], ['vcpus', '2'], ['boot', 'c']]], ['device', ['vbd', ['uname', 'phy:vg00/mail2-root'], ['dev', 'hda1'], ['mode', 'w']]], ['device', ['vbd', ['uname', 'phy:vg00/mail2-swap'], ['dev', 'hda2'], ['mode', 'w']]], ['device', ['vif', ['mac', 'FE:FD:01:00:02:01'], ['bridge', 'br1']]], ['state', '----c-'], ['shutdown_reason', 'crash'], ['cpu_time', 1.1790098010000001], ['vcpus', 2], ['online_vcpus', 2], ['up_time', '6.00319099426'], ['start_time', '1133402701.87'], ['store_mfn', 60123], ['console_mfn', 60122]]) [2005-12-01 13:05:08 xend.XendDomainInfo] DEBUG (XendDomainInfo:282) parseConfig: config is ['domain', ['domid', 13], ['uuid', '3f7de8a4-03e7dd27-ebf684b2-10d41b25'], ['ssidref', 0], ['vcpus', 2], ['vcpu_avail', 3], ['cpu_weight', 1.0], ['memory', 128], ['maxmem', 128], ['name', 'mail2'], ['on_poweroff', 'destroy'], ['on_reboot', 'restart'], ['on_crash', 'restart'], ['image', ['linux', ['kernel', '/boot/vmlinuz-2.6.12.6-xen'], ['root', '/dev/hda1 ro'], ['args', ' 4 VMID=2'], ['vcpus', '2'], ['vcpus', '2'], ['boot', 'c']]], ['device', ['vbd', ['uname', 'phy:vg00/mail2-root'], ['dev', 'hda1'], ['mode', 'w']]], ['device', ['vbd', ['uname', 'phy:vg00/mail2-swap'], ['dev', 'hda2'], ['mode', 'w']]], ['device', ['vif', ['mac', 'FE:FD:01:00:02:01'], ['bridge', 'br1']]], ['state', '----c-'], ['shutdown_reason', 'crash'], ['cpu_time', 1.1790098010000001], ['vcpus', 2], ['online_vcpus', 2], ['up_time', '6.00319099426'], ['start_time', '1133402701.87'], ['store_mfn', 60123], ['console_mfn', 60122]] [2005-12-01 13:05:08 xend.XendDomainInfo] DEBUG (XendDomainInfo:336) parseConfig: result is {'ssidref': 0, 'uuid': '3f7de8a4-03e7dd27-ebf684b2-10d41b25', 'on_crash': 'restart', 'on_reboot': 'restart', 'image': ['linux', ['kernel', '/boot/vmlinuz-2.6.12.6-xen'], ['root', '/dev/hda1 ro'], ['args', ' 4 VMID=2'], ['vcpus', '2'], ['vcpus', '2'], ['boot', 'c']], 'on_poweroff': 'destroy', 'name': 'mail2', 'backend': [], 'vcpus': 2, 'cpu_weight': 1.0, 'vcpu_avail': 3, 'memory': 128, 'device': [('vbd', ['vbd', ['uname', 'phy:vg00/mail2-root'], ['dev', 'hda1'], ['mode', 'w']]), ('vbd', ['vbd', ['uname', 'phy:vg00/mail2-swap'], ['dev', 'hda2'], ['mode', 'w']]), ('vif', ['vif', ['mac', 'FE:FD:01:00:02:01'], ['bridge', 'br1']])], 'bootloader': None, 'cpu': None, 'maxmem': 128} [2005-12-01 13:05:08 xend.XendDomainInfo] DEBUG (XendDomainInfo:1064) XendDomainInfo.construct: None 0 [2005-12-01 13:05:08 xend.XendDomainInfo] DEBUG (XendDomainInfo:1096) XendDomainInfo.initDomain: 14 1.0 [2005-12-01 13:05:08 xend] INFO (image:132) buildDomain os=linux dom=14 vcpus=2 [2005-12-01 13:05:08 xend] DEBUG (image:170) dom = 14 [2005-12-01 13:05:08 xend] DEBUG (image:171) image = /boot/vmlinuz-2.6.12.6-xen [2005-12-01 13:05:08 xend] DEBUG (image:172) store_evtchn = 1 [2005-12-01 13:05:08 xend] DEBUG (image:173) console_evtchn = 2 [2005-12-01 13:05:08 xend] DEBUG (image:174) cmdline = root=/dev/hda1 ro 4 VMID=2 [2005-12-01 13:05:08 xend] DEBUG (image:175) ramdisk = [2005-12-01 13:05:08 xend] DEBUG (image:176) vcpus = 2 [2005-12-01 13:05:08 xend] DEBUG (DevController:101) DevController: writing {'virtual-device': '769', 'backend-id': '0', 'state': '1', 'backend': '/local/domain/0/backend/vbd/14/769'} to /local/domain/14/device/vbd/769. [2005-12-01 13:05:08 xend] DEBUG (DevController:103) DevController: writing {'domain': 'mail2', 'frontend': '/local/domain/14/device/vbd/769', 'dev': 'hda1', 'state': '1', 'params': 'vg00/mail2-root', 'mode': 'w', 'frontend-id': '14', 'type': 'phy'} to /local/domain/0/backend/vbd/14/769. [2005-12-01 13:05:08 xend] DEBUG (DevController:101) DevController: writing {'virtual-device': '770', 'backend-id': '0', 'state': '1', 'backend': '/local/domain/0/backend/vbd/14/770'} to /local/domain/14/device/vbd/770. [2005-12-01 13:05:08 xend] DEBUG (DevController:103) DevController: writing {'domain': 'mail2', 'frontend': '/local/domain/14/device/vbd/770', 'dev': 'hda2', 'state': '1', 'params': 'vg00/mail2-swap', 'mode': 'w', 'frontend-id': '14', 'type': 'phy'} to /local/domain/0/backend/vbd/14/770. [2005-12-01 13:05:09 xend] DEBUG (DevController:101) DevController: writing {'virtual-device': '770', 'backend-id': '0', 'state': '1', 'backend': '/local/domain/0/backend/vbd/14/770'} to /local/domain/14/device/vbd/770. [2005-12-01 13:05:09 xend] DEBUG (DevController:103) DevController: writing {'domain': 'mail2', 'frontend': '/local/domain/14/device/vbd/770', 'dev': 'hda2', 'state': '1', 'params': 'vg00/mail2-swap', 'mode': 'w', 'frontend-id': '14', 'type': 'phy'} to /local/domain/0/backend/vbd/14/770. [2005-12-01 13:05:09 xend] DEBUG (DevController:101) DevController: writing {'backend-id': '0', 'mac': 'FE:FD:01:00:02:01', 'handle': '0', 'state': '1', 'backend': '/local/domain/0/backend/vif/14/0'} to /local/domain/14/device/vif/0. [2005-12-01 13:05:09 xend] DEBUG (DevController:103) DevController: writing {'bridge': 'br1', 'domain': 'mail2', 'handle': '0', 'script': '/etc/xen/scripts/vif-bridge', 'state': '1', 'frontend': '/local/domain/14/device/vif/0', 'mac': 'FE:FD:01:00:02:01', 'frontend-id': '14'} to /local/domain/0/backend/vif/14/0. [2005-12-01 13:05:09 xend] DEBUG (DevController:101) DevController: writing {'backend-id': '0', 'mac': 'FE:FD:01:00:02:01', 'handle': '0', 'state': '1', 'backend': '/local/domain/0/backend/vif/14/0'} to /local/domain/14/device/vif/0. [2005-12-01 13:05:09 xend] DEBUG (DevController:103) DevController: writing {'bridge': 'br1', 'domain': 'mail2', 'handle': '0', 'script': '/etc/xen/scripts/vif-bridge', 'state': '1', 'frontend': '/local/domain/14/device/vif/0', 'mac': 'FE:FD:01:00:02:01', 'frontend-id': '14'} to /local/domain/0/backend/vif/14/0. [2005-12-01 13:05:09 xend] DEBUG (DevController:101) DevController: writing {'backend-id': '0', 'mac': 'FE:FD:01:00:02:01', 'handle': '0', 'state': '1', 'backend': '/local/domain/0/backend/vif/14/0'} to /local/domain/14/device/vif/0. [2005-12-01 13:05:09 xend] DEBUG (DevController:103) DevController: writing {'bridge': 'br1', 'domain': 'mail2', 'handle': '0', 'script': '/etc/xen/scripts/vif-bridge', 'state': '1', 'frontend': '/local/domain/14/device/vif/0', 'mac': 'FE:FD:01:00:02:01', 'frontend-id': '14'} to /local/domain/0/backend/vif/14/0. [2005-12-01 13:05:09 xend] DEBUG (DevController:101) DevController: writing {'backend-id': '0', 'mac': 'FE:FD:01:00:02:01', 'handle': '0', 'state': '1', 'backend': '/local/domain/0/backend/vif/14/0'} to /local/domain/14/device/vif/0. [2005-12-01 13:05:09 xend] DEBUG (DevController:103) DevController: writing {'bridge': 'br1', 'domain': 'mail2', 'handle': '0', 'script': '/etc/xen/scripts/vif-bridge', 'state': '1', 'frontend': '/local/domain/14/device/vif/0', 'mac': 'FE:FD:01:00:02:01', 'frontend-id': '14'} to /local/domain/0/backend/vif/14/0. [2005-12-01 13:05:09 xend] DEBUG (DevController:101) DevController: writing {'backend-id': '0', 'mac': 'FE:FD:01:00:02:01', 'handle': '0', 'state': '1', 'backend': '/local/domain/0/backend/vif/14/0'} to /local/domain/14/device/vif/0. [2005-12-01 13:05:09 xend] DEBUG (DevController:103) DevController: writing {'bridge': 'br1', 'domain': 'mail2', 'handle': '0', 'script': '/etc/xen/scripts/vif-bridge', 'state': '1', 'frontend': '/local/domain/14/device/vif/0', 'mac': 'FE:FD:01:00:02:01', 'frontend-id': '14'} to /local/domain/0/backend/vif/14/0. [2005-12-01 13:05:09 xend] DEBUG (DevController:101) DevController: writing {'backend-id': '0', 'mac': 'FE:FD:01:00:02:01', 'handle': '0', 'state': '1', 'backend': '/local/domain/0/backend/vif/14/0'} to /local/domain/14/device/vif/0. [2005-12-01 13:05:09 xend] DEBUG (DevController:103) DevController: writing {'bridge': 'br1', 'domain': 'mail2', 'handle': '0', 'script': '/etc/xen/scripts/vif-bridge', 'state': '1', 'frontend': '/local/domain/14/device/vif/0', 'mac': 'FE:FD:01:00:02:01', 'frontend-id': '14'} to /local/domain/0/backend/vif/14/0. [2005-12-01 13:05:10 xend] DEBUG (DevController:101) DevController: writing {'backend-id': '0', 'mac': 'FE:FD:01:00:02:01', 'handle': '0', 'state': '1', 'backend': '/local/domain/0/backend/vif/14/0'} to /local/domain/14/device/vif/0. [2005-12-01 13:05:10 xend] DEBUG (DevController:103) DevController: writing {'bridge': 'br1', 'domain': 'mail2', 'handle': '0', 'script': '/etc/xen/scripts/vif-bridge', 'state': '1', 'frontend': '/local/domain/14/device/vif/0', 'mac': 'FE:FD:01:00:02:01', 'frontend-id': '14'} to /local/domain/0/backend/vif/14/0. [2005-12-01 13:05:10 xend.XendDomainInfo] DEBUG (XendDomainInfo:602) Storing VM details: {'ssidref': '0', 'uuid': '3f7de8a4-03e7dd27-ebf684b2-10d41b25', 'on_reboot': 'restart', 'image': "(linux (kernel /boot/vmlinuz-2.6.12.6-xen) (root '/dev/hda1 ro') (args ' 4 VMID=2') (vcpus 2) (vcpus 2) (boot c))", 'on_poweroff': 'destroy', 'name': 'mail2', 'vcpus': '2', 'vcpu_avail': '3', 'memory': '128', 'on_crash': 'restart', 'start_time': '1133402710.04', 'maxmem': '128'} [2005-12-01 13:05:10 xend.XendDomainInfo] DEBUG (XendDomainInfo:627) Storing domain details: {'console/ring-ref': '33874', 'console/port': '2', 'name': 'mail2', 'console/limit': '1048576', 'vm': '/vm/3f7de8a4-03e7dd27-ebf684b2-10d41b25', 'domid': '14', 'cpu/0/availability': 'online', 'memory/target': '131072', 'store/ring-ref': '33875', 'cpu/1/availability': 'online', 'store/port': '1'} [2005-12-01 13:05:15 xend.XendDomainInfo] WARNING (XendDomainInfo:740) Domain has crashed: name=mail2 id=14. [2005-12-01 13:05:15 xend.XendDomainInfo] ERROR (XendDomainInfo:1326) VM mail2 restarting too fast (7.641145 seconds since the last restart). Refusing to restart to avoid loops. [2005-12-01 13:05:15 xend.XendDomainInfo] DEBUG (XendDomainInfo:1186) XendDomainInfo.destroy: domid=14 [2005-12-01 13:05:15 xend.XendDomainInfo] DEBUG (XendDomainInfo:1194) XendDomainInfo.destroyDomain(14) > -----Original Message----- > From: Ian Pratt [mailto:m+Ian.Pratt@xxxxxxxxxxxx] > Sent: Thursday, 1 December 2005 12:35 > To: James Harper; Xen-devel@xxxxxxxxxxxxxxxxxxx > Cc: ian.pratt@xxxxxxxxxxxx > Subject: RE: [Xen-devel] domU won't recognise my block devices > > > With the following in my config file: > > > > disk = [ 'phy:vg00/mail2-root,hda1,w', 'phy:vg00/mail2-swap,hda2,w' ] > > > > root = "/dev/hda1 ro" > > > > My domU says: > > > > VFS: Cannot open root device "hda1" or unknown-block(3,1) > > > > I am using a -xen kernel (not xen0 or xenU) with the > > as-shipped config with the exception that I have AoE compiled > > as a module. > > > > Any suggestions? > > Please can you post the full boot messages from the domU. Is the AoE > module loaded (e.g. by an initrd?) > > Ian _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |