March 13, 201412 yr I've never needed a full power cycle. A reboot is enough to preform the flr reset. Sent from my S4 via Tapatalk I've had several cases where a reboot did not suffice and a full powerdown (with power removal) was required.
March 13, 201412 yr Have you tried shutting down the machine, switching off the psu and removing the power cable for 20 seconds? I've found that if my win vm with gpu passthrough does not shutdown properly / crashes, a full power cycle is required to 'reset' the gpu. It's a royal pain. You'll also need to set up ironics start / stop scripts to ensure ti can restart cleanly in future. Peter Hi Peter, I havent tried removing the powercord but I'll give it a go just to make sure. Thanks for the tip! And I have not setup the start / stop scripts, but I'll give it a go this afternoon. As Ironicbadger mentions he never needed to do this, so could be it's needed for my build for some reason. There has on the other hand been some developments, I was fiddling about with this last night and got some progress out of it. I did a review of my BIOS settings, and found some extra functions I then disabled (mostly powersaving functions), and my host stopped rebooting when I shut down a VM, profit! I also use Ironicbadgers ArchVM appliance as a MySQL server for my XBMC library, ran this at the same time as I installed a new VM (below), just to see what happened. I did a complete reinstall of a windows 8.1 VM, I made a new .cfg and a new .img, Installed perfectly, rebooted, host didn't reboot. After the reboot I installed the AMD Catalyst driver, then I shut down the VM, stopped my array and rebooted the host, started the Host with the pci-hide options. Checked xl pci-assignable-list, and double checked my .cfg for spelling errors. Then I started the VM, removed my video cable from my primary card (the gtx260) and put it in my secondary (HD6970). Just a black screen, so I started Chicken of the VNC, connected and the VM was up. I went to device manager, and I had a GPU with no drivers, I checked the PCI_VEN via the device info and it is indeed an AMD HD69xx device. I tried installing the drivers manually by searching for driver in C:\AMD (which is the location the catalyst installer extracts them). It went ok for a while, and suddenly my mousepointer showed up on my display, some more time went by and I got a BSOD on my VNC session, reported as "video_tdr_failure atikmpag.sys". System rebooted after a little while and screen is black again, in VNC it seems windows does a rollback. Getting there it seems, thanks again for you input and suggestions Not having video on subsequent power ups could be related to you not having the start/stop scripts in place (or at the very least, not ejecting the GPU before shutting down). I do recall reading somewhere (note here) that the full catalyst install was causing passthrough people problems and installing only the drivers was the solution. In my case, it works with just a driver install or the full catalyst install but it might be worth exploring if you're having issues with catalyst installed? Peter
March 14, 201412 yr Hi peeps, I did a reinstall of the windows VM, no shutdowns so far. After initial install I shut down the VM, enabled the pci-devices in .cfg (all devices listed via pci-assignable list), booted without a hitch. Installed the device tool, placed it in C:\Program Files, along with the reboot scripts. Edited the scripts with the correct values according to my system and modified my policies. Then I installed the latest AMD beta drivers without CCC (only the drivers), BSOD seems to have dissappeared now. Shut down the VM, rebooted the host, and started the VM. After a while I actually got a picture Tried once more, but shut down the host, pulled the power cord, waited for like a minute, rebooted. Now the wierd thing is, I get a blue static image, nothing happens. The keyboard and mouse I had connected to the USB add-in card seems to work, tested turning numlock on and off. Just for the heck of it I connected with VNC, got a desktop, mousepointer moves around but nothing happens when i.e I click the start-menu. The image on the monitor changed, from not having a taskbar, to it suddenly showing up. Eventually I shut down the VM via xl destroy, get a syslogd message and the host crashed: Message from syslogd@Tower at Fri Mar 14 01:40:13 2014 ... Tower kernel: Disabling IRQ #22 ------------------ Update: Ok seems I figured it out eventually, the issue it seems is that the vnc "monitor" in windows 8, is defined as a primary display, I just clicked a few buttons and suddenly the start menu showed up (dunno why I didnt check that out ). Noted though, as the overscan is totally screwed up, I tried to remedy this by installing CCC (I know there are issues with overscan from earlier with AMD drivers), the installer tried to detect my hardware and crashed. I can prolly fix this by editing the registry but we're getting somewhere
March 14, 201412 yr I got Windows 8.1 installed in a few minutes, easy as pie. Thanks for another well done guide! I'll try to tackle the PCI pass through on the weekend
March 14, 201412 yr Hi peeps, I did a reinstall of the windows VM, no shutdowns so far. After initial install I shut down the VM, enabled the pci-devices in .cfg (all devices listed via pci-assignable list), booted without a hitch. Installed the device tool, placed it in C:\Program Files, along with the reboot scripts. Edited the scripts with the correct values according to my system and modified my policies. Then I installed the latest AMD beta drivers without CCC (only the drivers), BSOD seems to have dissappeared now. Shut down the VM, rebooted the host, and started the VM. After a while I actually got a picture Tried once more, but shut down the host, pulled the power cord, waited for like a minute, rebooted. Now the wierd thing is, I get a blue static image, nothing happens. The keyboard and mouse I had connected to the USB add-in card seems to work, tested turning numlock on and off. Just for the heck of it I connected with VNC, got a desktop, mousepointer moves around but nothing happens when i.e I click the start-menu. The image on the monitor changed, from not having a taskbar, to it suddenly showing up. Eventually I shut down the VM via xl destroy, get a syslogd message and the host crashed: Message from syslogd@Tower at Fri Mar 14 01:40:13 2014 ... Tower kernel: Disabling IRQ #22 ------------------ Update: Ok seems I figured it out eventually, the issue it seems is that the vnc "monitor" in windows 8, is defined as a primary display, I just clicked a few buttons and suddenly the start menu showed up (dunno why I didnt check that out ). Noted though, as the overscan is totally screwed up, I tried to remedy this by installing CCC (I know there are issues with overscan from earlier with AMD drivers), the installer tried to detect my hardware and crashed. I can prolly fix this by editing the registry but we're getting somewhere I've switched off vnc in my win.cfg file. This means the VM sees only one display (the passthrough card). I've found this to be somewhat more consistent from restart to restart (though it's disconcerting to sit looking at a blank screen with no indication that the VM is booting! Peter.
March 14, 201412 yr Author Hi peeps, I did a reinstall of the windows VM, no shutdowns so far. After initial install I shut down the VM, enabled the pci-devices in .cfg (all devices listed via pci-assignable list), booted without a hitch. Installed the device tool, placed it in C:\Program Files, along with the reboot scripts. Edited the scripts with the correct values according to my system and modified my policies. Then I installed the latest AMD beta drivers without CCC (only the drivers), BSOD seems to have dissappeared now. Shut down the VM, rebooted the host, and started the VM. After a while I actually got a picture Tried once more, but shut down the host, pulled the power cord, waited for like a minute, rebooted. Now the wierd thing is, I get a blue static image, nothing happens. The keyboard and mouse I had connected to the USB add-in card seems to work, tested turning numlock on and off. Just for the heck of it I connected with VNC, got a desktop, mousepointer moves around but nothing happens when i.e I click the start-menu. The image on the monitor changed, from not having a taskbar, to it suddenly showing up. Eventually I shut down the VM via xl destroy, get a syslogd message and the host crashed: Message from syslogd@Tower at Fri Mar 14 01:40:13 2014 ... Tower kernel: Disabling IRQ #22 ------------------ Update: Ok seems I figured it out eventually, the issue it seems is that the vnc "monitor" in windows 8, is defined as a primary display, I just clicked a few buttons and suddenly the start menu showed up (dunno why I didnt check that out ). Noted though, as the overscan is totally screwed up, I tried to remedy this by installing CCC (I know there are issues with overscan from earlier with AMD drivers), the installer tried to detect my hardware and crashed. I can prolly fix this by editing the registry but we're getting somewhere Check my blog for how to remedy the overscan / underscan issue without CCC. Sent from my S4 via Tapatalk
March 24, 201412 yr Finally got everything working since Xen wasn't cooperating with my motherboard. I got a few BSODs tinkering with the video card but after the drivers were installed and I turned off the video card putting the monitor to sleep it seems to be pretty stable. The best part is that I can use my video card's DXVA whereas I couldn't with ESXi. Just in case windows crashes I also set up an SSH server so I could run the logon/logoff scripts to reset the video card remotely (as opposed to rebooting my entire unraid box just to get the video card reset). Out of curiousity, is there any way to accomplish this from the unraid terminal instead?
March 24, 201412 yr Author Just in case windows crashes I also set up an SSH server so I could run the logon/logoff scripts to reset the video card remotely (as opposed to rebooting my entire unraid box just to get the video card reset). Out of curiousity, is there any way to accomplish this from the unraid terminal instead? Nope.
March 31, 201412 yr Just in case windows crashes I also set up an SSH server so I could run the logon/logoff scripts to reset the video card remotely (as opposed to rebooting my entire unraid box just to get the video card reset). Out of curiousity, is there any way to accomplish this from the unraid terminal instead? Nope. Just for sake of clarity, the scripts would go ahead and remove/eject the GPU during shutdown. The startup of the VM still will add the GPU at boot time via the config file for the VM, using the GPU which has been held back via xen-pciback. Is that correct? My Intel HD4600 does show now, but it does with the exclamation mark. Thanks!
March 31, 201412 yr Author Yes and sort of. There are two scripts. One at log off and one at login. Log off = eject card (same as right clicking and disabling on device manager) Log on script = the reverse if the os hasn't already automatically done so. Sent from my Nexus 5 using Tapatalk
March 31, 201412 yr Hmmmm, But this would all be done after getting the gpu to actually show up and work right? Let me implement the work you have in your blog. For now here is my cfg file, let me know if that looks fine, the USB portion as well since I don't seem to be able to pass USB devices to the VM. name = 'windows' builder = 'hvm' vcpus = '4' memory = '2048' device_model_version="qemu-xen-traditional" disk = [ 'file:/mnt/disk9/BluRay/sattlervm.img,hda,w', # 'phy:/mnt/cache/domains/Windows/sattlervm.img,hda,w', # 'phy:/dev/cache/secondexample/example.img,hdb,w', # 'file:/mnt/cache/domains/Windows/windows.iso,hdc:cdrom,r' ] vif = [ 'mac=00:16:3E:51:20:4C,bridge=xenbr0,model=e1000' ] on_poweroff = 'destroy' on_reboot = 'restart' on_crash = 'destroy' boot = 'dc' acpi = '1' apic = '1' viridian = '1' xen_platform_pci='1' sdl = '0' vnc = 0 vnclisten = '0.0.0.0' vncpasswd = 'army1234' stdvga = '0' usb = '1' usbdevice = ['host:046d:c016','host:0471:060c','host:046d:c525','04ca:0027'] #usbdevice = 'tablet' pci = ['00:02.0','00:03.0','00:1d.0','00:1b.0','00:1a.0'] Here is my syslinux.cfg to show boot configurations: label Xen/unRAID OS menu default kernel /syslinux/mboot.c32 append /xen dom0_mem=2097152 --- /bzimage xen-pciback.hide=(00:02.0)(00:03.0)(00:1a.0)(00:1b.0)(00:1d.0) --- /bzroot lspci: 00:00.0 Host bridge: Intel Corporation Haswell DRAM Controller (rev 06) 00:01.0 PCI bridge: Intel Corporation Haswell PCI Express x16 Controller (rev 06) 00:01.1 PCI bridge: Intel Corporation Haswell PCI Express x8 Controller (rev 06) 00:02.0 Display controller: Intel Corporation Haswell Integrated Graphics Controller (rev 06) 00:03.0 Audio device: Intel Corporation Haswell HD Audio Controller (rev 06) 00:14.0 USB controller: Intel Corporation Lynx Point USB xHCI Host Controller (rev 05) 00:16.0 Communication controller: Intel Corporation Lynx Point MEI Controller #1 (rev 04) 00:19.0 Ethernet controller: Intel Corporation Ethernet Connection I217-V (rev 05) 00:1a.0 USB controller: Intel Corporation Lynx Point USB Enhanced Host Controller #2 (rev 05) 00:1b.0 Audio device: Intel Corporation Lynx Point High Definition Audio Controller (rev 05) 00:1c.0 PCI bridge: Intel Corporation Lynx Point PCI Express Root Port #1 (rev d5) 00:1c.2 PCI bridge: Intel Corporation Lynx Point PCI Express Root Port #3 (rev d5) 00:1c.3 PCI bridge: Intel Corporation Lynx Point PCI Express Root Port #4 (rev d5) 00:1c.4 PCI bridge: Intel Corporation Lynx Point PCI Express Root Port #5 (rev d5) 00:1c.6 PCI bridge: Intel Corporation 82801 PCI Bridge (rev d5) 00:1d.0 USB controller: Intel Corporation Lynx Point USB Enhanced Host Controller #1 (rev 05) 00:1f.0 ISA bridge: Intel Corporation Lynx Point LPC Controller (rev 05) 00:1f.2 SATA controller: Intel Corporation Lynx Point 6-port SATA Controller 1 [AHCI mode] (rev 05) 00:1f.3 SMBus: Intel Corporation Lynx Point SMBus Controller (rev 05) 01:00.0 VGA compatible controller: AMD/ATI [Advanced Micro Devices, Inc.] Caicos [Radeon HD 6450] 01:00.1 Audio device: AMD/ATI [Advanced Micro Devices, Inc.] Caicos HDMI Audio [Radeon HD 6400 Series] 02:00.0 RAID bus controller: Marvell Technology Group Ltd. MV64460/64461/64462 System Controller, Revision B (rev 01) 04:00.0 SATA controller: ASMedia Technology Inc. ASM1062 Serial ATA Controller (rev 01) 05:00.0 Ethernet controller: Intel Corporation I211 Gigabit Network Connection (rev 03) 06:00.0 SATA controller: ASMedia Technology Inc. ASM1062 Serial ATA Controller (rev 01) 07:00.0 PCI bridge: ASMedia Technology Inc. ASM1083/1085 PCIe to PCI Bridge (rev 04) 08:01.0 Ethernet controller: Intel Corporation 82546GB Gigabit Ethernet Controller (rev 03) 08:01.1 Ethernet controller: Intel Corporation 82546GB Gigabit Ethernet Controller (rev 03) Thanks, Marcus
April 15, 201412 yr For my onboard usb passthrough, my cfg looks like this and it works like a charm: usb = '1' usbdevice = 'tablet' pci = (..........) Can anyone answer this for me? Does Domain-0 (unraid) require a gpu? I have 2 gpu and can only get 1 to passthrough at time to seperate vms.
April 15, 201412 yr Author For crying out loud. Please don't take my exasperated tone the wrong way but usbdevice tablet has NOTHING to do with USB. Its the vnc handling of the cursor! Anyway, I'm going to finish this guide over the next week or two and get videos going start to finish. Should be good fun. I'll even include video on how to do passthrough. Sent from my Nexus 5 using Tapatalk
April 16, 201412 yr For my onboard usb passthrough, my cfg looks like this and it works like a charm: usb = '1' usbdevice = 'tablet' pci = (..........) Can anyone answer this for me? Does Domain-0 (unraid) require a gpu? I have 2 gpu and can only get 1 to passthrough at time to seperate vms. There's an entry on my blog that deals with usb passthrough and my findings on my system. Theres also a completed end to end article on windows VM set up to keep you going while ironocbadgers gets this guide updated. On your query re video cards. I found that in my system, the bios grabs a card to display boot and, even if I specify that card in pci-back, it's never released to be used for passthrough. I ended up throwing in a really cheap card and specifying that as the boot display in bios. This.solved the problem and leaves my slightly higher spec cards free for vm passthrough. The downside is a wasted PCIE slot as my mb doesn't have onboard video which ideally would be used for this purpose. Hope that helps. Peter.
April 16, 201412 yr For my onboard usb passthrough, my cfg looks like this and it works like a charm: usb = '1' usbdevice = 'tablet' pci = (..........) Can anyone answer this for me? Does Domain-0 (unraid) require a gpu? I have 2 gpu and can only get 1 to passthrough at time to seperate vms. There's an entry on my blog that deals with usb passthrough and my findings on my system. Theres also a completed end to end article on windows VM set up to keep you going while ironocbadgers gets this guide updated. On your query re video cards. I found that in my system, the bios grabs a card to display boot and, even if I specify that card in pci-back, it's never released to be used for passthrough. I ended up throwing in a really cheap card and specifying that as the boot display in bios. This.solved the problem and leaves my slightly higher spec cards free for vm passthrough. The downside is a wasted PCIE slot as my mb doesn't have onboard video which ideally would be used for this purpose. Hope that helps. Peter. Thanks. That is what I was going to do, although I couldn't figure out if the pci.back command should release the gpu after startup. I'm very grateful to both you and Ironicbadger for my successful setup of 2x Windows and arch vm's
April 18, 201412 yr Hello, I have successfully have Win8.1 running however I cannot get my passthrough to work. when I try to start I get the following error: Parsing config from win.cfg WARNING: ignoring "kernel" directive for HVM guest. Use "firmware_override" instead if you really want a non-default firmware xc: info: VIRTUAL MEMORY ARRANGEMENT: Loader: 0000000000100000->000000000019ec84 Modules: 0000000000000000->0000000000000000 TOTAL: 0000000000000000->00000000ff800000 ENTRY ADDRESS: 0000000000100000 xc: info: PHYSICAL MEMORY ALLOCATION: 4KB PAGES: 0x0000000000000200 2MB PAGES: 0x00000000000003fb 1GB PAGES: 0x0000000000000002 libxl: error: libxl_pci.c:1045:libxl__device_pci_add: PCI device 0000:02:00.0 cannot be assigned - no IOMMU? Daemon running with PID 3761 Here is my config... lspci 00:00.0 Host bridge: Intel Corporation 5520/5500/X58 I/O Hub to ESI Port (rev 13) 00:01.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 1 (rev 13) 00:03.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 3 (rev 13) 00:07.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 7 (rev 13) 00:14.0 PIC: Intel Corporation 7500/5520/5500/X58 I/O Hub System Management Registers (rev 13) 00:14.1 PIC: Intel Corporation 7500/5520/5500/X58 I/O Hub GPIO and Scratch Pad Registers (rev 13) 00:14.2 PIC: Intel Corporation 7500/5520/5500/X58 I/O Hub Control Status and RAS Registers (rev 13) 00:14.3 PIC: Intel Corporation 7500/5520/5500/X58 I/O Hub Throttle Registers (rev 13) 00:1a.0 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #4 00:1a.1 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #5 00:1a.2 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #6 00:1a.7 USB controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #2 00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller 00:1c.0 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 1 00:1c.1 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Port 2 00:1c.2 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 3 00:1c.3 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 4 00:1d.0 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #1 00:1d.1 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #2 00:1d.2 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #3 00:1d.7 USB controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #1 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 90) 00:1f.0 ISA bridge: Intel Corporation 82801JIR (ICH10R) LPC Interface Controller 00:1f.2 SATA controller: Intel Corporation 82801JI (ICH10 Family) SATA AHCI Controller 00:1f.3 SMBus: Intel Corporation 82801JI (ICH10 Family) SMBus Controller 02:00.0 VGA compatible controller: AMD/ATI [Advanced Micro Devices, Inc.] Cedar [Radeon HD 5000/6000/7350 Serie s] 02:00.1 Audio device: AMD/ATI [Advanced Micro Devices, Inc.] Cedar HDMI Audio [Radeon HD 5400/6300 Series] 04:00.0 FireWire (IEEE 1394): VIA Technologies, Inc. VT6315 Series Firewire Controller 05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168 PCI Express Gigabit Ethernet controll er (rev 02) 06:00.0 Multimedia controller: Philips Semiconductors SAA7164 (rev 81) 08:00.0 Ethernet controller: D-Link System Inc DGE-530T Gigabit Ethernet Adapter (rev.C1) [Realtek RTL8169] (re v 10) ff:00.0 Host bridge: Intel Corporation Xeon 5500/Core i7 QuickPath Architecture Generic Non-Core Registers (rev 05) ff:00.1 Host bridge: Intel Corporation Xeon 5500/Core i7 QuickPath Architecture System Address Decoder (rev 05) ff:02.0 Host bridge: Intel Corporation Xeon 5500/Core i7 QPI Link 0 (rev 05) ff:02.1 Host bridge: Intel Corporation Xeon 5500/Core i7 QPI Physical 0 (rev 05) ff:03.0 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller (rev 05) ff:03.1 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Target Address Decoder (r ev 05) ff:03.4 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Test Registers (rev 05) ff:04.0 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Channel 0 Control Registe rs (rev 05) ff:04.1 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Channel 0 Address Registe rs (rev 05) ff:04.2 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Channel 0 Rank Registers (rev 05) ff:04.3 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Channel 0 Thermal Control Registers (rev 05) ff:05.0 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Channel 1 Control Registe rs (rev 05) ff:05.1 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Channel 1 Address Registe rs (rev 05) ff:05.2 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Channel 1 Rank Registers (rev 05) ff:05.3 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Channel 1 Thermal Control Registers (rev 05) ff:06.0 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Channel 2 Control Registe rs (rev 05) ff:06.1 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Channel 2 Address Registe rs (rev 05) ff:06.2 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Channel 2 Rank Registers (rev 05) ff:06.3 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Channel 2 Thermal Control Registers (rev 05) root@alluNAS:/mnt/cache/VMs/windows# lspci 00:00.0 Host bridge: Intel Corporation 5520/5500/X58 I/O Hub to ESI Port (rev 13) 00:01.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 1 (rev 13) 00:03.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 3 (rev 13) 00:07.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 7 (rev 13) 00:14.0 PIC: Intel Corporation 7500/5520/5500/X58 I/O Hub System Management Registers (rev 13) 00:14.1 PIC: Intel Corporation 7500/5520/5500/X58 I/O Hub GPIO and Scratch Pad Registers (rev 13) 00:14.2 PIC: Intel Corporation 7500/5520/5500/X58 I/O Hub Control Status and RAS Registers (rev 13) 00:14.3 PIC: Intel Corporation 7500/5520/5500/X58 I/O Hub Throttle Registers (rev 13) 00:1a.0 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #4 00:1a.1 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #5 00:1a.2 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #6 00:1a.7 USB controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #2 00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller 00:1c.0 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 1 00:1c.1 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Port 2 00:1c.2 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 3 00:1c.3 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 4 00:1d.0 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #1 00:1d.1 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #2 00:1d.2 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #3 00:1d.7 USB controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #1 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 90) 00:1f.0 ISA bridge: Intel Corporation 82801JIR (ICH10R) LPC Interface Controller 00:1f.2 SATA controller: Intel Corporation 82801JI (ICH10 Family) SATA AHCI Controller 00:1f.3 SMBus: Intel Corporation 82801JI (ICH10 Family) SMBus Controller 02:00.0 VGA compatible controller: AMD/ATI [Advanced Micro Devices, Inc.] Cedar [Radeon HD 5000/6000/7350 Series] 02:00.1 Audio device: AMD/ATI [Advanced Micro Devices, Inc.] Cedar HDMI Audio [Radeon HD 5400/6300 Series] 04:00.0 FireWire (IEEE 1394): VIA Technologies, Inc. VT6315 Series Firewire Controller 05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168 PCI Express Gigabit Ethernet controller (rev 02) 06:00.0 Multimedia controller: Philips Semiconductors SAA7164 (rev 81) 08:00.0 Ethernet controller: D-Link System Inc DGE-530T Gigabit Ethernet Adapter (rev.C1) [Realtek RTL8169] (rev 10) ff:00.0 Host bridge: Intel Corporation Xeon 5500/Core i7 QuickPath Architecture Generic Non-Core Registers (rev 05) ff:00.1 Host bridge: Intel Corporation Xeon 5500/Core i7 QuickPath Architecture System Address Decoder (rev 05) ff:02.0 Host bridge: Intel Corporation Xeon 5500/Core i7 QPI Link 0 (rev 05) ff:02.1 Host bridge: Intel Corporation Xeon 5500/Core i7 QPI Physical 0 (rev 05) ff:03.0 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller (rev 05) ff:03.1 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Target Address Decoder (rev 05) ff:03.4 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Test Registers (rev 05) ff:04.0 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Channel 0 Control Registers (rev 05) ff:04.1 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Channel 0 Address Registers (rev 05) ff:04.2 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Channel 0 Rank Registers (rev 05) ff:04.3 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Channel 0 Thermal Control Registers (rev 05) ff:05.0 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Channel 1 Control Registers (rev 05) ff:05.1 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Channel 1 Address Registers (rev 05) ff:05.2 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Channel 1 Rank Registers (rev 05) ff:05.3 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Channel 1 Thermal Control Registers (rev 05) ff:06.0 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Channel 2 Control Registers (rev 05) ff:06.1 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Channel 2 Address Registers (rev 05) ff:06.2 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Channel 2 Rank Registers (rev 05) ff:06.3 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Channel 2 Thermal Control Registers (rev 05) name="Windows8" kernel='hvmlader' builder="hvm" vcpus=2 memory=4096 disk = ['file:/mnt/cache/VMs/windows/Windows.img,hda,w'] #disk = ['file:/mnt/cache/VMs/windows/Windows.img,hda,w', 'file:/mnt/cache/VMs/windows8_1.iso,hdc:cdrom,r'] vif = [ 'mac=00:16:3e:01:02:03,bridge=xenbr0' ] boot="dc" acpi = '1' apic = '1' viridian = '1' xen_platform_pci='1' sdl = '0' vnc = '1' vnclisten = '0.0.0.0' vncpasswd = '' stdvga = '0' usb = '1' usbdevice = 'tablet' #pci = ['00:1b.0','02:00.0','02:00.1','06:00.0'] pci = ['02:00.0'] on_poweroff="destroy" on_reboot="restart" on_crash="destroy" sysconfig default /syslinux/menu.c32 menu title Lime Technology prompt 0 timeout 50 label unRAID OS kernel /bzimage append initrd=/bzroot label unRAID OS Safe Mode (no plugins) kernel /bzimage append initrd=/bzroot unraidsafemode label Memtest86+ kernel /memtest label Xen/unRAID OS menu default kernel /syslinux/mboot.c32 append /xen dom0_mem=2097152 --- /bzimage xen-pciback.hide=(02:00.0)(02:00.1)(06:00.0)(00:1b.0) --- /bzroot label Xen/unRAID OS Safe Mode (no plugins) kernel /syslinux/mboot.c32 append /xen dom0_mem=2097152 --- /bzimage --- /bzroot unraidsafemode
April 19, 201412 yr Author Its in your error messages. IOMMU. Go turn it on. Sent from my Nexus 5 using Tapatalk
April 19, 201412 yr I am at a lose... I believe I have tried turning it on in my sysconfig.cfg I know its going to be something foolish that I am missing, my blinder are on somewhere... Thanks default /syslinux/menu.c32 menu title Lime Technology prompt 0 timeout 50 label unRAID OS kernel /bzimage append initrd=/bzroot label unRAID OS Safe Mode (no plugins) kernel /bzimage append initrd=/bzroot unraidsafemode label Memtest86+ kernel /memtest label Xen/unRAID OS menu default kernel /syslinux/mboot.c32 append /xen dom0_mem=2097152 iommu=1 --- /bzimage xen-pciback.hide=(02:00.0)(02:00.1)(06:00.0)(00:1b.0) --- /bzroot label Xen/unRAID OS Safe Mode (no plugins) kernel /syslinux/mboot.c32 append /xen dom0_mem=2097152 --- /bzimage --- /bzroot unraidsafemode
April 19, 201412 yr I am at a lose... I believe I have tried turning it on in my sysconfig.cfg I know its going to be something foolish that I am missing, my blinder are on somewhere... Thanks There's usually a separate configuration option for IOMMU IO Virtualization (VT-d) in the BIOS, so you need to enable IOMMU from the system BIOS before booting to Xen.
April 19, 201412 yr It is enabled in the bios. I use to use this pc as a Windows hyperv server. Could it not be compatible with xen then? Thanks! Sent from my SGH-I747M using Tapatalk
April 19, 201412 yr Author It is enabled in the bios. I use to use this pc as a Windows hyperv server. Could it not be compatible with xen then? Thanks! Sent from my SGH-I747M using Tapatalk Far more likely is you haven't followed the steps in passing a device through correctly. Please start your own thread posting your syslinux.cfg detailing your issue along with detailed hardware specifications.
April 19, 201412 yr Not sure if this is it, but I noticed this in your config: kernel='hvmlader' Shouldn't that be: kernel='hvmloader'
April 19, 201412 yr Author You don't need the kernel line at all... Here's my config. builder = 'hvm' vcpus = '4' memory = '8192' device_model_version="qemu-xen-traditional" disk = [ 'phy:/dev/vgSSD/lvWin,hda,w', 'phy:/dev/vgWD/lvWinData,hdb,w', # 'file:/net/unraid/mnt/user/Media/Software/Windows/Windows8/8.1/windows8_1.iso,hdc:cdrom,r' ] name = 'windows' vif = [ 'type=ioemu,mac=00:16:3E:51:20:4C,bridge=br0,model=e1000' ] on_poweroff = 'destroy' on_reboot = 'restart' on_crash = 'restart' boot = 'cd' acpi = '1' apic = '1' viridian = '1' xen_platform_pci='1' sdl = '0' vnc = '1' vnclisten = '0.0.0.0' vncpasswd = '' stdvga = '0' usb = '1' usbdevice = 'tablet' pci = ['01:00.0','01:00.1','00:1d.0']
April 20, 201412 yr so... it might be obvious but maybe a comment in the guide to make sure the Bridge is configured in Unraid . That had me at a stand still yesterday until I noticed another thread that talked about it for another reason and I noticed a connection.
Archived
This topic is now archived and is closed to further replies.