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

[Xen-users] P2V with Windows 7 fails to boot disk.


  • To: XenUsers <xen-users@xxxxxxxxxxxxx>
  • From: Flako <subforos@xxxxxxxxx>
  • Date: Thu, 30 Oct 2014 18:32:30 -0300
  • Delivery-date: Thu, 30 Oct 2014 21:34:10 +0000
  • List-id: Xen user discussion <xen-users.lists.xen.org>

hello,
I tried doing a P2V a windows 7, I am using clonezilla to migrate data.
I'm using the restoreparts option (restore only the partition boot)
from clonezilla restoration everything works and does not indicate
errors, but when trying to boot the disc stops at "Booting from hard
disk 'and cpu domU reaches 100%.
If I perform the same steps on a physical machine, I can successfully
restore the windows, which makes me think it's an issue of XEN and not
of clonezilla.
If the domU disk partition will delete the flag 'boot', and above
shows error "No device bootable.
Powering off in 30 seconds. '.
On the other hand I have virtualized (P2V) other windows7 with
clonezilla restoring the entire disk (all partitions) and I have had
no problems.

No problem if XEN or clonezilla?
I thank them any guidance to focus the clonezilla error or xen.


/--- windows.cfg:
name = "windows"
maxmem = 1024
memory = 1024
vcpus = 2
builder = "hvm"
kernel = "/usr/lib/xen/boot/hvmloader"
pae = 0
acpi = 1
apic = 1
hap = 0
xen_platform_pci = 0
viridian = 0
hpet = 0
rtc_timeoffset = 0
localtime = 0
on_poweroff = "destroy"
on_reboot = "restart"
on_crash = "destroy"
device_model = "/usr/lib/xen/bin/qemu-dm"
sdl = 0
vnc = 1
vncunused = 1
disk = [
          "file:/mnt/xendomain/jose-migrar/disco1.raw,hda,w"
       ]
serial = "pty
\--- windows.cfg:

/----- xend.log:
[2014-10-30 11:06:55 21784] DEBUG (XendDomain:476) Adding Domain: 2
[2014-10-30 11:06:55 21784] DEBUG (XendDomainInfo:2956)
XendDomainInfo.initDomain: 2 256
[2014-10-30 11:06:55 21784] DEBUG (image:345) No VNC passwd configured
for vfb access
[2014-10-30 11:06:55 21784] DEBUG (image:981) args: boot, val: c
[2014-10-30 11:06:55 21784] DEBUG (image:981) args: fda, val: None
[2014-10-30 11:06:55 21784] DEBUG (image:981) args: fdb, val: None
[2014-10-30 11:06:55 21784] DEBUG (image:981) args: soundhw, val: None
[2014-10-30 11:06:55 21784] DEBUG (image:981) args: localtime, val: 0
[2014-10-30 11:06:55 21784] DEBUG (image:981) args: serial, val: ['pty']
[2014-10-30 11:06:55 21784] DEBUG (image:981) args: std-vga, val: 0
[2014-10-30 11:06:55 21784] DEBUG (image:981) args: isa, val: 0
[2014-10-30 11:06:55 21784] DEBUG (image:981) args: acpi, val: 1
[2014-10-30 11:06:55 21784] DEBUG (image:981) args: usb, val: 0
[2014-10-30 11:06:55 21784] DEBUG (image:981) args: usbdevice, val: None
[2014-10-30 11:06:55 21784] DEBUG (image:981) args: gfx_passthru, val: None
[2014-10-30 11:06:55 21784] DEBUG (image:981) args: watchdog, val: None
[2014-10-30 11:06:55 21784] DEBUG (image:981) args: watchdog-action, val: reset
[2014-10-30 11:06:55 21784] INFO (image:906) No need to create
platform device.[domid:2]
[2014-10-30 11:06:55 21784] DEBUG (XendDomainInfo:2983)
_initDomain:shadow_memory=0x0, memory_static_max=0x40000000,
memory_static_min=0x0.
[2014-10-30 11:06:55 21784] INFO (image:188) buildDomain os=hvm dom=2 vcpus=2
[2014-10-30 11:06:55 21784] DEBUG (image:1074) domid          = 2
[2014-10-30 11:06:55 21784] DEBUG (image:1075) image          =
/usr/lib/xen/boot/hvmloader
[2014-10-30 11:06:55 21784] DEBUG (image:1076) store_evtchn   = 4
[2014-10-30 11:06:55 21784] DEBUG (image:1077) memsize        = 1024
[2014-10-30 11:06:55 21784] DEBUG (image:1078) target         = 1024
[2014-10-30 11:06:55 21784] DEBUG (image:1079) vcpus          = 2
[2014-10-30 11:06:55 21784] DEBUG (image:1080) vcpu_avail     = 3
[2014-10-30 11:06:55 21784] DEBUG (image:1081) acpi           = 1
[2014-10-30 11:06:55 21784] DEBUG (image:1082) apic           = 1
[2014-10-30 11:06:55 21784] DEBUG (image:1083) smbios_firmware=
[2014-10-30 11:06:55 21784] DEBUG (image:1084) acpi_firmware  =
[2014-10-30 11:06:55 21784] INFO (XendDomainInfo:2469) createDevice:
vfb : {'vncunused': 1, 'other_config': {'vncunused': 1, 'vnc': '1'},
'vnc': '1', 'uuid': '9af4f8e8-b7bd-9f34-88ac-11694ad964ef'}
[2014-10-30 11:06:55 21784] DEBUG (DevController:95) DevController:
writing {'state': '1', 'backend-id': '0', 'backend':
'/local/domain/0/backend/vfb/2/0'} to /local/domain/2/device/vfb/0.
[2014-10-30 11:06:55 21784] DEBUG (DevController:97) DevController:
writing {'vncunused': '1', 'domain': 'windows', 'frontend':
'/local/domain/2/device/vfb/0', 'uuid':
'9af4f8e8-b7bd-9f34-88ac-11694ad964ef', 'frontend-id': '2', 'state':
'1', 'online': '1', 'vnc': '1'} to /local/domain/0/backend/vfb/2/0.
[2014-10-30 11:06:55 21784] INFO (XendDomainInfo:2469) createDevice:
vbd : {'uuid': 'fdf0e046-9e62-0b81-a69f-096bcb8a903b', 'bootable': 1,
'driver': 'paravirtualised', 'dev': 'hda', 'uname':
'file:/mnt/xendomain/jose-migrar/disco1.raw', 'mode': 'w'}
[2014-10-30 11:06:55 21784] DEBUG (DevController:95) DevController:
writing {'backend-id': '0', 'virtual-device': '768', 'device-type':
'disk', 'state': '1', 'backend': '/local/domain/0/backend/vbd/2/768'}
to /local/domain/2/device/vbd/768.
[2014-10-30 11:06:55 21784] DEBUG (DevController:97) DevController:
writing {'domain': 'windows', 'frontend':
'/local/domain/2/device/vbd/768', 'uuid':
'fdf0e046-9e62-0b81-a69f-096bcb8a903b', 'bootable': '1', 'dev': 'hda',
'state': '1', 'params': '/mnt/xendomain/jose-migrar/disco1.raw',
'mode': 'w', 'online': '1', 'frontend-id': '2', 'type': 'file'} to
/local/domain/0/backend/vbd/2/768.
[2014-10-30 11:06:55 21784] INFO (image:505) spawning device models:
/usr/lib/xen/bin/qemu-dm ['/usr/lib/xen/bin/qemu-dm', '-d', '2',
'-domain-name', 'windows', '-videoram', '4', '-vnc', '127.0.0.1:0',
'-vncunused', '-vcpus', '2', '-vcpu_avail', '0x3', '-boot', 'c',
'-serial', 'pty', '-acpi', '-watchdog-action', 'reset', '-net',
'none', '-M', 'xenfv']
[2014-10-30 11:06:55 21784] INFO (image:554) device model pid: 21836
[2014-10-30 11:06:55 21784] INFO (image:677) waiting for sentinel_fifo
[2014-10-30 11:06:55 21784] DEBUG (XendDomainInfo:3568) Storing VM
details: {'on_xend_stop': 'ignore', 'pool_name': 'Pool-0',
'shadow_memory': '10', 'uuid': 'dfdd13a2-e08c-8c0f-145e-4521438e765b',
'on_reboot': 'restart', 'start_time': '1414678015.94', 'on_poweroff':
'destroy', 'bootloader_args': '', 'on_xend_start': 'ignore',
'on_crash': 'destroy', 'xend/restart_count': '0', 'vcpus': '2',
'vcpu_avail': '3', 'bootloader': '', 'image': "(hvm (kernel '')
(superpages 0) (videoram 4) (hpet 0) (stdvga 0) (loader
/usr/lib/xen/boot/hvmloader) (smbios_firmware '') (xen_platform_pci 0)
(nestedhvm 0) (rtc_timeoffset 0) (pci ()) (hap 0) (localtime 0)
(xenpaging_extra ()) (actmem 0) (pci_msitranslate 1) (oos 1) (apic 1)
(sdl 0) (acpi_firmware '') (xenpaging_file '') (timer_mode 1)
(vpt_align 1) (serial pty) (vncunused 1) (boot c) (pae 0) (viridian 0)
(acpi 1) (vnc 1) (nographic 0) (watchdog_action reset) (nomigrate 0)
(usb 0) (tsc_mode 0) (guest_os_type default) (device_model
/usr/lib/xen/bin/qemu-dm) (pci_power_mgmt 0) (xauthority
/root/.Xauthority) (isa 0) (notes (SUSPEND_CANCEL 1)))", 'name':
'windows'}
[2014-10-30 11:06:55 21784] DEBUG (XendDomainInfo:1898) Storing domain
details: {'console/port': '5', 'description': '', 'console/limit':
'1048576', 'vm': '/vm/dfdd13a2-e08c-8c0f-145e-4521438e765b', 'domid':
'2', 'store/port': '4', 'console/type': 'ioemu', 'cpu/0/availability':
'online', 'memory/target': '1048576',
'control/platform-feature-multiprocessor-suspend': '1',
'store/ring-ref': '1044476', 'cpu/1/availability': 'online',
'control/platform-feature-xs_reset_watches': '1',
'image/suspend-cancel': '1', 'name': 'windows'}
[2014-10-30 11:06:55 21784] DEBUG (DevController:95) DevController:
writing {'state': '1', 'backend-id': '0', 'backend':
'/local/domain/0/backend/console/2/0'} to
/local/domain/2/device/console/0.
[2014-10-30 11:06:55 21784] DEBUG (DevController:97) DevController:
writing {'domain': 'windows', 'frontend':
'/local/domain/2/device/console/0', 'uuid':
'de81bfe8-4490-9180-21ad-16a998234b41', 'frontend-id': '2', 'state':
'1', 'location': '5', 'online': '1', 'protocol': 'vt100'} to
/local/domain/0/backend/console/2/0.
[2014-10-30 11:06:56 21784] DEBUG (XendDomainInfo:1985)
XendDomainInfo.handleShutdownWatch
[2014-10-30 11:06:56 21784] DEBUG (DevController:139) Waiting for devices tap2.
[2014-10-30 11:06:56 21784] DEBUG (DevController:139) Waiting for devices vif.
[2014-10-30 11:06:56 21784] DEBUG (DevController:139) Waiting for devices vkbd.
[2014-10-30 11:06:56 21784] DEBUG (DevController:139) Waiting for
devices ioports.
[2014-10-30 11:06:56 21784] DEBUG (DevController:139) Waiting for devices tap.
[2014-10-30 11:06:56 21784] DEBUG (DevController:139) Waiting for devices vif2.
[2014-10-30 11:06:56 21784] DEBUG (DevController:139) Waiting for
devices console.
[2014-10-30 11:06:56 21784] DEBUG (DevController:144) Waiting for 0.
[2014-10-30 11:06:56 21784] DEBUG (DevController:139) Waiting for devices vscsi.
[2014-10-30 11:06:56 21784] DEBUG (DevController:139) Waiting for devices vbd.
[2014-10-30 11:06:56 21784] DEBUG (DevController:144) Waiting for 768.
[2014-10-30 11:06:56 21784] DEBUG (DevController:671)
hotplugStatusCallback
/local/domain/0/backend/vbd/2/768/hotplug-status.
[2014-10-30 11:06:56 21784] DEBUG (DevController:685) hotplugStatusCallback 1.
[2014-10-30 11:06:56 21784] DEBUG (DevController:139) Waiting for devices irq.
[2014-10-30 11:06:56 21784] DEBUG (DevController:139) Waiting for devices vfb.
[2014-10-30 11:06:56 21784] DEBUG (DevController:139) Waiting for devices pci.
[2014-10-30 11:06:56 21784] DEBUG (DevController:139) Waiting for devices vusb.
[2014-10-30 11:06:56 21784] DEBUG (DevController:139) Waiting for devices vtpm.
[2014-10-30 11:06:56 21784] INFO (XendDomain:1225) Domain windows (2) unpaused.
\----- xend.log:


//----  qemu-dm-windows.log
domid: 2
Using file /mnt/xendomain/jose-migrar/disco1.raw in read-write mode
Watching /local/domain/0/device-model/2/logdirty/cmd
Watching /local/domain/0/device-model/2/command
Watching /local/domain/2/cpu
char device redirected to /dev/pts/2
qemu_map_cache_init nr_buckets = 10000 size 4194304
shared page at pfn feffd
buffered io page at pfn feffb
Guest uuid = dfdd13a2-e08c-8c0f-145e-4521438e765b
Time offset set 0
populating video RAM at ff000000
mapping video RAM from ff000000
xs_read(/local/domain/0/device-model/2/xen_extended_power_mgmt): read error
xs_read(): vncpasswd get error.
/vm/dfdd13a2-e08c-8c0f-145e-4521438e765b/vncpasswd.
Log-dirty: no command yet.
I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0
I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0
vcpu-set: watch node error.
char device redirected to /dev/pts/3
xen be: console-0: xen be: console-0: initialise() failed
initialise() failed
xen be: console-0: xen be: console-0: initialise() failed
initialise() failed
xen be: console-0: xen be: console-0: initialise() failed
initialise() failed
xen be: console-0: xen be: console-0: initialise() failed
initialise() failed
xen be: console-0: xen be: console-0: initialise() failed
initialise() failed
xen be: console-0: xen be: console-0: initialise() failed
initialise() failed
xen be: console-0: xen be: console-0: initialise() failed
initialise() failed
xen be: console-0: xen be: console-0: initialise() failed
initialise() failed
xen be: console-0: xen be: console-0: initialise() failed
initialise() failed
xen be: console-0: xen be: console-0: initialise() failed
initialise() failed
xen be: console-0: xen be: console-0: initialise() failed
initialise() failed
xen be: console-0: xen be: console-0: initialise() failed
initialise() failed
cirrus vga map change while on lfb mode
mapping vram to f0000000 - f0400000
\\----  qemu-dm-windows.log

Thanks for getting up so down, sorry for using a translator.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

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