[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] My first Windows VM
-----Oryginalna wiadomoÅÄ----- From: Steffan A. Cline Sent: Monday, March 16, 2015 6:48 AM To: Steffan A. Cline ; Xen-users@xxxxxxxxxxxxx Subject: Re: [Xen-users] My first Windows VM Correction: Win Server 2012 I finally have the Win Server 2008 guest accessible however I cannot complete the install. It gets to the same point every time to 58% and then reboots. Point at which it crashes: http://hldns.com/xen/win1.jpg Point after the guest comes up: http://hldns.com/xen/win2.jpg Logs: http://hldns.com/xen/qemu-dm-win-2008-server1.log http://hldns.com/xen/qemu-dm-win-2008-server2.log Any ideas what causes this? My config is: [root@h1 xen]# cat win-2008-server.cfg memory = 12288 maxmem = 12000 name = 'win-2008-server' vif = [ 'ip=xxx.xxx.xxx.xxx,mac=00:16:3e:93:6B:E7' ] address = 'xxx.xxx.xxx.xxx' netmask = '255.255.255.224' disk = ['phy:/dev/vg_hosting1/win-2008-server_img,hda,w','file:/images/en_windows _ server_2012_r2_vl_x64_dvd.iso,hdc:cdrom,r'] boot = 'dc' on_reboot = 'restart' on_poweroff = 'restart' kernel = "/usr/lib/xen/boot/hvmloader" builder = "hvm" device_model = "/usr/lib64/xen/bin/qemu-dm" acpi = 1 pae = 1 vnc = 1 vnclisten = "0.0.0.0" vncunused = 1 vncpasswd = "xxxxxxxx" vcpus = 2 Thanks, Steffan On 3/12/15, 6:59 AM, "Steffan A. Cline" <steffan@xxxxxxxxx> wrote:On 3/12/15, 6:47 AM, "Ian Campbell" <ian.campbell@xxxxxxxxxx> wrote:On Thu, 2015-03-12 at 06:20 -0700, Steffan A. Cline wrote:Not having much luck. I've been able to create any Linux guest at any time but windows is being difficult. Typically I use Cloudmin to manage this for me but am getting more into the manual config since Windows doesn't seem to play nice. I've looked at numerous examples and tried them all yet nothing seems to work. I can't get it to launch at all. Here are the relevant configs. Hopefully someone will know what the errors are. [root@h1 xen]# cat win-2008-server.cfg memory = 8192 maxmem = 12000Unless you have PV drivers already installed in your HVM guest then you cannot start with memory<maxmem, since a balloon driver is needed to pickup the slack. I'm not sure what the failure would look like though.Even with memory = maxmem I still get the same results. I can change it and see if the log looks any difference. The .iso is just a standard image of a Windows 2008 server disc. Not sure what all it has installed in it by default.When you say can't get it to launch, does xm create return an error or does it do nothing? Or can you connect to VNC and it's silent or is there some other behaviour etc?No error, xm starts it right up. VNC connects within the first couple of minutes but gives a half blue screen, a cursor and the rest is pixelated in large blocks. After a few minutes, no connection can be made at all. xmlist shows everything as it should. It never seems to shut down unless I kill it.I can't find a clear definition of the errors though. domid: 8 Using file /dev/vg_h2/win-2008-server_img in read-write mode Using file /images/en_windows_server_2012_r2_vl_x64_dvd.iso in read-only mode Watching /local/domain/0/device-model/8/logdirty/cmd Watching /local/domain/0/device-model/8/command Watching /local/domain/8/cpu qemu_map_cache_init nr_buckets = 10000 size 4194304 shared page at pfn feffd buffered io page at pfn feffb Guest uuid = 43996c35-2f9f-52f2-6d66-d8ec0eec3a46 Time offset set 0 char device redirected to /dev/pts/10 xen be: console-0: xen be: console-0: initialise() failed initialise() failed populating video RAM at ff000000 mapping video RAM from ff000000 Register xen platform. Done register platform. platform_fixed_ioport: changed ro/rw state of ROM memory area. now is rw state. xs_read(/local/domain/0/device-model/8/xen_extended_power_mgmt): read error medium change watch on `hdc' (index: 1): /images/en_windows_server_2012_r2_vl_x64_dvd.iso I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0 Log-dirty: no command yet. xen be: console-0: xen be: console-0: initialise() failed initialise() failed vcpu-set: watch node error. [xenstore_process_vcpu_set_event]: /local/domain/8/cpu has no CPU! xen be: console-0: xen be: console-0: initialise() failed initialise() failed xs_read(/local/domain/8/log-throttling): read error qemu: ignoring not-understood drive `/local/domain/8/log-throttling' medium change watch on `/local/domain/8/log-throttling' - unknown device, ignored 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 platform_fixed_ioport: changed ro/rw state of ROM memory area. now is rw state. platform_fixed_ioport: changed ro/rw state of ROM memory area. now is ro state. ACPI:debug: write addr=0xb044, val=0x0. ACPI:debug: write addr=0xb045, val=0x89.I suppose this is the qemu log?Sure is. qemu-dm-win-2008-server.logIt's been a long time since I looked at at a Xen 4.2 system or an xm/xend one, but I know qemu can be quite "chatty", so I'm not sure if any of this indicates a problem or not.? Followed by tons of ACPI errors.i.e. more of the ACPI:debug stuff or by actual errors?No, just ACPI:debugIs there any other interesting logging under /var/log/xen i.e. in the xend log?I didn't see anything that stood out. Any log file in particular you're looking for? Thanks, Steffan_______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxx http://lists.xen.org/xen-users_______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxx http://lists.xen.org/xen-users Hi, This config work for my windows 7 installation.I don't see device_model = "/usr/lib64/xen/bin/qemu-dm" (is in your cfg) in xl.cfg (eg. xenbits.xen.org/docs/4.4-testing/man/xl.cfg.5.html ) /// builder="hvm" memory=4096 vcpus=4 name="windows_7_pro_x64" #boot="dc" boot="c" vif=['mac=00:16:3e:12:34:56,bridge=virbr0'] disk=['/dev/my-vg/windows1,raw,hda,rw'] #disk=['/dev/my-vg/windows1,raw,hda,rw','/root/en_windows_7_professional_with_sp1_x64_dvd'] acpi=1 apic=1 device_model_version='qemu-xen' sdl=0 vnc=1 serial="pty" vga="stdvga" stdvga=1 videoram=16 viridian=1 localtime=1 vnclisten="0.0.0.0" vncdisplay=0 vncpasswd="" keymap="pl" usb=1 usbdevice="tablet" shadow_memory=8 /// Regards, Mariusz Wasak ______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxhttp://lists.xen.org/xen-users _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxx http://lists.xen.org/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |