April 17, 201412 yr I haven't been able to pass through a USB device in a Win8 VM and others have posted that they weren't successful either. I mitigated the issue by adding a USB PCIe card and passing that card through to the VM.
April 23, 201412 yr root@Tower:/mnt/cache/.custom/VMs# xl create windows.cfg Parsing config from windows.cfg ': lexical erroronfig parsing error near ` ': lexical erroronfig parsing error near ` ': lexical erroronfig parsing error near ` ': lexical erroronfig parsing error near ` ': lexical erroronfig parsing error near ` ': lexical erroronfig parsing error near ` ': lexical erroronfig parsing error near ` ': lexical errorconfig parsing error near ` ': lexical errorconfig parsing error near ` ': lexical errorconfig parsing error near ` ': lexical errorconfig parsing error near ` ': lexical errorconfig parsing error near ` ': lexical errorconfig parsing error near ` ': lexical errorconfig parsing error near ` ': lexical errorconfig parsing error near ` ': lexical errorconfig parsing error near ` ': lexical errorconfig parsing error near ` ': lexical errorconfig parsing error near ` ': lexical errorconfig parsing error near ` ': lexical errorconfig parsing error near ` ': lexical errorconfig parsing error near ` ': lexical errorconfig parsing error near ` ': lexical errorconfig parsing error near ` Failed to parse config: Invalid argument windows.cfg name="Windows7" kernel = 'hvmloader' builder="hvm" vcpus=2 memory=2048 disk = ['file:/mnt/cache/.custom/VMs/Windows.img,hda,w' , 'file:/mnt/cache/.custom/VMs/Windows_7_Ultimate.iso,hdc:cdrom,r'] vif = [ 'mac=00:16:3e:01:01:02,bridge=xenbr0' ] #<--- Every MAC Address has to start with 00:16:3e the rest you can customize. # boot=[c|d|n] # Selects the emulated virtual device to boot from. Options are hard disk (c), cd-rom (d) or network/PXE (n). # Multiple options can be given and will be attempted in the order they are given. e.g. to boot from cd-rom but fallback to the hard disk you can give dc. The default is cd. boot="dc" acpi = '1' apic = '1' viridian = '1' xen_platform_pci='1' sdl = '0' vnc = '1' vnclisten = '0.0.0.0' vncpasswd = '' usb = '1' usbdevice = 'tablet' on_poweroff="destroy" on_reboot="restart" on_crash="destroy" How did you get this to work, im also using notepad++ I have the image and the iso ready but it keeps failing.
April 23, 201412 yr Doesn't the 2 in vcpu need to be in quotes? Vcpu = '2' Sent from my iPhone using Tapatalk
April 23, 201412 yr root@Tower:/mnt/cache/.custom/VMs# xl create windows.cfg Parsing config from windows.cfg ': lexical erroronfig parsing error near ` ': lexical erroronfig parsing error near ` ': lexical erroronfig parsing error near ` ': lexical erroronfig parsing error near ` ': lexical erroronfig parsing error near ` ': lexical erroronfig parsing error near ` ': lexical erroronfig parsing error near ` ': lexical errorconfig parsing error near ` ': lexical errorconfig parsing error near ` ': lexical errorconfig parsing error near ` ': lexical errorconfig parsing error near ` ': lexical errorconfig parsing error near ` ': lexical errorconfig parsing error near ` ': lexical errorconfig parsing error near ` ': lexical errorconfig parsing error near ` ': lexical errorconfig parsing error near ` ': lexical errorconfig parsing error near ` ': lexical errorconfig parsing error near ` ': lexical errorconfig parsing error near ` ': lexical errorconfig parsing error near ` ': lexical errorconfig parsing error near ` ': lexical errorconfig parsing error near ` ': lexical errorconfig parsing error near ` Failed to parse config: Invalid argument windows.cfg name="Windows7" kernel = 'hvmloader' builder="hvm" vcpus=2 memory=2048 disk = ['file:/mnt/cache/.custom/VMs/Windows.img,hda,w' , 'file:/mnt/cache/.custom/VMs/Windows_7_Ultimate.iso,hdc:cdrom,r'] vif = [ 'mac=00:16:3e:01:01:02,bridge=xenbr0' ] #<--- Every MAC Address has to start with 00:16:3e the rest you can customize. # boot=[c|d|n] # Selects the emulated virtual device to boot from. Options are hard disk (c), cd-rom (d) or network/PXE (n). # Multiple options can be given and will be attempted in the order they are given. e.g. to boot from cd-rom but fallback to the hard disk you can give dc. The default is cd. boot="dc" acpi = '1' apic = '1' viridian = '1' xen_platform_pci='1' sdl = '0' vnc = '1' vnclisten = '0.0.0.0' vncpasswd = '' usb = '1' usbdevice = 'tablet' on_poweroff="destroy" on_reboot="restart" on_crash="destroy" How did you get this to work, im also using notepad++ I have the image and the iso ready but it keeps failing. Your answer is here: http://lime-technology.com/forum/index.php?topic=31674.msg288732#msg288732 Another way to do it, is open the cfg you already have with nano and remove the last character that Notepad++ has added on the end of every line.
April 23, 201412 yr Doesn't the 2 in vcpu need to be in quotes? Vcpu = '2' Sent from my iPhone using Tapatalk You also might try removing the comments. Won't hurt and may help. I kept a renamed copy around to refer to the comments if I needed them.
April 23, 201412 yr root@Tower:/mnt/cache/.custom/VMs# xl create windows.cfg Parsing config from windows.cfg ': lexical erroronfig parsing error near ` ': lexical erroronfig parsing error near ` ': lexical erroronfig parsing error near ` ': lexical erroronfig parsing error near ` ': lexical erroronfig parsing error near ` ': lexical erroronfig parsing error near ` ': lexical erroronfig parsing error near ` ': lexical errorconfig parsing error near ` ': lexical errorconfig parsing error near ` ': lexical errorconfig parsing error near ` ': lexical errorconfig parsing error near ` ': lexical errorconfig parsing error near ` ': lexical errorconfig parsing error near ` ': lexical errorconfig parsing error near ` ': lexical errorconfig parsing error near ` ': lexical errorconfig parsing error near ` ': lexical errorconfig parsing error near ` ': lexical errorconfig parsing error near ` ': lexical errorconfig parsing error near ` ': lexical errorconfig parsing error near ` ': lexical errorconfig parsing error near ` ': lexical errorconfig parsing error near ` ': lexical errorconfig parsing error near ` Failed to parse config: Invalid argument windows.cfg name="Windows7" kernel = 'hvmloader' builder="hvm" vcpus=2 memory=2048 disk = ['file:/mnt/cache/.custom/VMs/Windows.img,hda,w' , 'file:/mnt/cache/.custom/VMs/Windows_7_Ultimate.iso,hdc:cdrom,r'] vif = [ 'mac=00:16:3e:01:01:02,bridge=xenbr0' ] #<--- Every MAC Address has to start with 00:16:3e the rest you can customize. # boot=[c|d|n] # Selects the emulated virtual device to boot from. Options are hard disk (c), cd-rom (d) or network/PXE (n). # Multiple options can be given and will be attempted in the order they are given. e.g. to boot from cd-rom but fallback to the hard disk you can give dc. The default is cd. boot="dc" acpi = '1' apic = '1' viridian = '1' xen_platform_pci='1' sdl = '0' vnc = '1' vnclisten = '0.0.0.0' vncpasswd = '' usb = '1' usbdevice = 'tablet' on_poweroff="destroy" on_reboot="restart" on_crash="destroy" How did you get this to work, im also using notepad++ I have the image and the iso ready but it keeps failing. Your answer is here: http://lime-technology.com/forum/index.php?topic=31674.msg288732#msg288732 Another way to do it, is open the cfg you already have with nano and remove the last character that Notepad++ has added on the end of every line. Perfect i'll try that
April 23, 201412 yr Quick way to fix this is to use the dos2unix tool there is a Slackware package available it ,works a treat for me, you just point it at the file and it strips all CR etc from the file Link http://www.slackers.it/repository/dos2unix/
April 23, 201412 yr Thanks I'll try all of them if the nano one does not work. Sent from my iPhone using Tapatalk
April 24, 201412 yr i get this error, i have reboot the unraid box, i ll keep searching for an answer but if someone know what doing wrong please chime in. I do have on other vm running and that is working just fine root@LahomaMediaCenter:/mnt/cache/windows# xl create windows2.cfg Parsing config from windows2.cfg libxl: error: libxl_create.c:416:libxl__domain_make: domain creation fail libxl: error: libxl_create.c:644:initiate_domain_create: cannot make domain: -3 libxl: error: libxl.c:1383:libxl__destroy_domid: non-existant domain -1 libxl: error: libxl.c:1347:domain_destroy_callback: unable to destroy guest with domid 4294967295 libxl: error: libxl_create.c:1209:domcreate_destruction_cb: unable to destroy domain 4294967295 following failed creation config file name="Windows8" #kernel = 'hvmloader' builder="hvm" vcpus=1 memory=2048 disk = ['file:/mnt/cache/windows/windows.img,hda,w' , 'file:/mnt/cache/windows/windows8.iso,hdc:cdrom,r'] vif = [ 'mac=00:16:3e:01:01:02,bridge=br0' ] #<--- Every MAC Address has to start with 00:16:3e the rest you can customize. # boot=[c|d|n] # Selects the emulated virtual device to boot from. Options are hard disk ©, cd-rom (d) or network/PXE (n). # Multiple options can be given and will be attempted in the order they are given. e.g. to boot from cd-rom but fallback to th$ boot="dc" acpi = '1' apic = '1' viridian = '1' xen_platform_pci='1' sdl = '0' vnc = '1' vnclisten = '0.0.0.0' vncpasswd = '' usb = '1' usbdevice = 'tablet' on_poweroff="destroy" on_reboot="restart" on_crash="destroy" # Enable Xen VGA Passthrough gfx_passthru=1 # VGA Passthrough Palit NVIDIA Geforce 8400 GS PCI Express x16 VGA card. pci = [ '01:00.0','00:1b.0' ] # PCI Passthrough Intel HD Audio Controller. #pci = [ '00:1b.0' ] # PCI Passthrough all the USB Controllers. # pci = [ '00:1a.0','00:1a.1','00:1a.2','00:1a.7','00:1d.0','00:1d.1','00:1d.2','00:$
April 24, 201412 yr How much ram do you have in your server? Are you sure 2048 is available to this vm? Keep in mind that unraid by default takes up 2GB and you may have shared memory for the gpu I have 4GB in my server. 2GB for unraid, about 256MB for the GPU and I assign about 1700 to my VM. Anything more and it fails at startup of VM.
April 24, 201412 yr After I posted that and read a little more on error I'm thinking that that may be my problem. I have a total 8gb 3.5 on first vm and assigned 2 to this one. My guess is that I'm running out. I will modify the ram to 1gb and see what happens Sent from my iPhone using Tapatalk
April 24, 201412 yr After I posted that and read a little more on error I'm thinking that that may be my problem. I have a total 8gb 3.5 on first vm and assigned 2 to this one. My guess is that I'm running out. I will modify the ram to 1gb and see what happens Sent from my iPhone using Tapatalk I don't think it's ram, my guess is virtualization is not switched on in your bios or your CPU doesn't support Intel vt-x
April 24, 201412 yr After I posted that and read a little more on error I'm thinking that that may be my problem. I have a total 8gb 3.5 on first vm and assigned 2 to this one. My guess is that I'm running out. I will modify the ram to 1gb and see what happens Sent from my iPhone using Tapatalk I don't think it's ram, my guess is virtualization is not switched on in your bios or your CPU doesn't support Intel vt-x That's interesting, i will have to check, but before i moved to v6b4 i was on v5.0,5 running vbox no issues. Once i moved to v6b4 I also imported the tretflix vm (like it better than the plugins) so i need a windows vm so i can backup to the cloud. To me if virt was not on the board i dont thing vbox would have worked. I could be wrong but i will have to check. My processor is an AMD A8-3870 and the board GA-A75-D3H
April 24, 201412 yr Quick way to fix this is to use the dos2unix tool there is a Slackware package available it ,works a treat for me, you just point it at the file and it strips all CR etc from the file Link http://www.slackers.it/repository/dos2unix/ This is also possible in Notepad++. Menu, Edit, EOL Conversion, Unix/OSX format. Notepad++ can also display the EOL characters by View, Show Symbol, Show End of Line.
April 24, 201412 yr How much ram do you have in your server? Are you sure 2048 is available to this vm? Keep in mind that unraid by default takes up 2GB and you may have shared memory for the gpu I have 4GB in my server. 2GB for unraid, about 256MB for the GPU and I assign about 1700 to my VM. Anything more and it fails at startup of VM. I had a chance to look and its looks like Dom0 is using 3335MB and treflix is allotted 3500 so i'm running out of ram. Currently watching el old newegg have a 8GB dimm on sale, or rather it will be
April 24, 201412 yr I'm doing a test Debian vm with xen on it and I see where you can set the ram for xen dom0 For now I will just modify my tret since it a done doing any plex and try again. Sent from my iPhone using Tapatalk
April 25, 201412 yr Thanks to this thread (and a lot of others I've read for about 3 hours over the last couple days!) I think I have a windows install running on my UnRaid 6 box.. I am able to create it, and I can connect to a session from a workstation on the LAN via TightVNC to my UnRaid IP address, but the VNC session just shows me a black screen.. I think it's connected to the VM because it says "connection has been gracefully closed" when I issue "xm reboot windows", and then I can successfully reconnect, but nothing seems to want to show me any output on the VNC console to allow me to complete the install... Any help would be greatly appreciated. The config I'm using is derived from the "known working" one found in this thread, and the files available, including config file are as shown below. (My bridge is confirmed as "br0" in my Unraid config): root@FS1:/mnt/disk2/XEN-vms/Win8# ls -l total 3818556 -rw-rw-rw- 1 root root 1139 Apr 25 16:54 windows.cfg -rw-rw-rw- 1 root root 53687091200 Apr 25 16:36 windows.img -rw-rw-rw- 1 root root 3853993984 Apr 21 16:11 windows.iso root@FS1:/mnt/disk2/XEN-vms/Win8# cat windows.cfg #name of vm name="windows" kernel = 'hvmloader' builder="hvm" #change this to the number of cores you require for the vm vcpus=1 #change this to the amount of memory for the vm memory=2048 #change the lines below to specify the virtual disk image used and the cdrom iso to boot from, remove file:/...iso once windows installed disk = ['file:/mnt/disk2/XEN-vms/Win8/windows.img,hda,w' , 'file:/mnt/disk2/XEN-vms/Win8/windows.iso,hdc:cdrom,r'] #change the mac to be UNIQUE, MUST start with 00:16:3e IMPORTANT make sure bridge is defined as "xenbr0" in unraid vif = [ 'mac=00:16:3e:01:01:03,bridge=br0' ] #boot=[c|d|n] # Selects the emulated virtual device to boot from. Options are hard disk ©, cd-rom (d) or network/PXE (n). boot="dc" acpi = '1' apic = '1' viridian = '1' xen_platform_pci='1' sdl = '0' #this is the port number vnc will listen on, a value of 2 means port 5050+2, so port will be 5052 for this vm, must be UNIQUE vnc = '1' #listen on all adapters vnclisten = '0.0.0.0' vncpasswd = '' usb = '1' #this is for the mouse pointer usbdevice = 'tablet' on_poweroff="destroy" on_reboot="restart" on_crash="destroy"
April 25, 201412 yr Thanks to this thread (and a lot of others I've read for about 3 hours over the last couple days!) I think I have a windows install running on my UnRaid 6 box.. I am able to create it, and I can connect to a session from a workstation on the LAN via TightVNC to my UnRaid IP address, but the VNC session just shows me a black screen.. I think it's connected to the VM because it says "connection has been gracefully closed" when I issue "xm reboot windows", and then I can successfully reconnect, but nothing seems to want to show me any output on the VNC console to allow me to complete the install... Any help would be greatly appreciated. The config I'm using is derived from the "known working" one found in this thread, and the files available, including config file are as shown below. (My bridge is confirmed as "br0" in my Unraid config): root@FS1:/mnt/disk2/XEN-vms/Win8# ls -l total 3818556 -rw-rw-rw- 1 root root 1139 Apr 25 16:54 windows.cfg -rw-rw-rw- 1 root root 53687091200 Apr 25 16:36 windows.img -rw-rw-rw- 1 root root 3853993984 Apr 21 16:11 windows.iso root@FS1:/mnt/disk2/XEN-vms/Win8# cat windows.cfg #name of vm name="windows" kernel = 'hvmloader' builder="hvm" #change this to the number of cores you require for the vm vcpus=1 #change this to the amount of memory for the vm memory=2048 #change the lines below to specify the virtual disk image used and the cdrom iso to boot from, remove file:/...iso once windows installed disk = ['file:/mnt/disk2/XEN-vms/Win8/windows.img,hda,w' , 'file:/mnt/disk2/XEN-vms/Win8/windows.iso,hdc:cdrom,r'] #change the mac to be UNIQUE, MUST start with 00:16:3e IMPORTANT make sure bridge is defined as "xenbr0" in unraid vif = [ 'mac=00:16:3e:01:01:03,bridge=br0' ] #boot=[c|d|n] # Selects the emulated virtual device to boot from. Options are hard disk ©, cd-rom (d) or network/PXE (n). boot="dc" acpi = '1' apic = '1' viridian = '1' xen_platform_pci='1' sdl = '0' #this is the port number vnc will listen on, a value of 2 means port 5050+2, so port will be 5052 for this vm, must be UNIQUE vnc = '1' #listen on all adapters vnclisten = '0.0.0.0' vncpasswd = '' usb = '1' #this is for the mouse pointer usbdevice = 'tablet' on_poweroff="destroy" on_reboot="restart" on_crash="destroy" Edited out as wrong info given, I was knackered and miss read, sorry Sent from my LT26i using Tapatalk
April 25, 201412 yr That is really strange.. I see what you mean.. I totally didn't see that comment, and assumed that the VNC=1 was like "vnc=true", in otherwords to enable VNC at all.. The strange thing is, NO port other than the VNC default 5900 seems to answer at all..
April 26, 201412 yr So I check my system and my board had virtualization off so I enabled it and reboot and tried it and it's a no go. In the Debian installs ( bare metal host) you can run a command to see if your hardware can run virtualization Does anyone know the correct syntax ?. Sent from my iPhone using Tapatalk
April 26, 201412 yr That is really strange.. I see what you mean.. I totally didn't see that comment, and assumed that the VNC=1 was like "vnc=true", in otherwords to enable VNC at all.. The strange thing is, NO port other than the VNC default 5900 seems to answer at all.. OK.. I got the VNC working!! Yeah!! Very strange, it seems to be ignoring the vnc="1" and putting the console on 5900, just like a default VNC server (but NOT on 5050 as documented!) and the only reason it wasn't working is that I missed the requirement to set encoding to RAW.. Once I did that, I can see the Windows logo as it's installing Win8 off of my ISO.. This is AWESOME and is going to TOTALLY save me a machine.. Thanks to all!! -Steve
April 26, 201412 yr May have spoken too soon.. Or rather its "kinda working".. It seems I have a major performance issue.. My hardware is an A10-7850k with 32g of RAM.. My only VM now is this Win8, trying to install from an ISO.. It's been sitting about 30 minutes and it's still on the blue windows logo and hasn't moved any further. top doesn't show anything busy (CPU <4%) and it's just sitting.. Any way to tell if it's reading the CD, writing the image, or just locked?? -Steve
April 26, 201412 yr May have spoken too soon.. Or rather its "kinda working".. It seems I have a major performance issue.. My hardware is an A10-7850k with 32g of RAM.. My only VM now is this Win8, trying to install from an ISO.. It's been sitting about 30 minutes and it's still on the blue windows logo and hasn't moved any further. top doesn't show anything busy (CPU <4%) and it's just sitting.. Any way to tell if it's reading the CD, writing the image, or just locked?? -Steve How much RAM/vCPU are you using? I built mine with 4GB/4vCPU and it worked fined. Upped it to 8 vCPU and 8GB of memory and it would run dirt slow.
Archived
This topic is now archived and is closed to further replies.