ccsnet

Members
  • Posts

    136
  • Joined

  • Last visited

Everything posted by ccsnet

  1. Ok - not 100% trusting it yet but I seem to have it working. I cleaned up a lot of the settings including removing the Nvidia plugin, changing the machine type from Q35-6.x to Q35-5.1 and using the bios I had dumped. I have also uninstalled and reinstalled the Nvidia drivers (no Geforce) in the VM too. I'm still getting the PCI error but it works so no biggy. Diags attached if any one wants a look - in the mean time I'm going to do a few reboots etc and see what happerns. T
  2. Hi @ghost82 - thanks for all your help. So diags attached. Steps taken today - booted up a previsly working Win 11 image - could not logon although I could see it running. For any one else following it seems it was trying to go through the pin and app set up again as it saw its self on new hardware. It also removed the RDP access which had to be renabled. I did that by leaving the video card as the sound and VNC as the graphics. While in I managed to confirm like last time the sound element of the 1060 is loading fine but the graphics will not start (although is seen) as Windows sees a problem. To that end I deleted the image and VM in Unraid and created a new one (adding in the hostdev info above) and restarted. Nothing - the VM just seems to stop and I have the following errors in the log: I know the card (MSI GEforce GTX 1060 6GT OCV1) is fine as I tested it in a stand alone box when checking the firmware and this is a card that others have used. As I understand it the steps have been to isolate the card so it can not be used by Unraid so I would have thought this would be fine. All very odd. Not sure if this is a bug for the RC or not. Thanks T EDIT - Just reading and actioning this - EDIT 2 - Same result EDIT 3 - Reading for later https://www.google.com/search?q=Unraid+kernel:+vfio-pci+No+more+image+in+the+PCI+ROM+site:forums.unraid.net&rlz=1C1ONGR_en-GBGB964GB964&sxsrf=AOaemvJcenf3tqBCnPpgEQBZrxQzbZqHRw:1640354868447&sa=X&ved=2ahUKEwjIyvSJzvz0AhXah1wKHZFxDnQQrQIoBHoECAoQBQ&biw=1920&bih=929&dpr=1 Edit 4 - Diage Guide https://docs.google.com/document/d/17Wh9_5HPqAx8HHk-p2bGlR0E-65TplkG18jvM98I7V8/edit Edit 5 Edit 6 - Code 43 diagnostics-20211224-1314.zip
  3. Hi - a couple of days since I posted as I've been quite busy but I wanted to update you. I 'think' its booting, there is a lot of VM disk activity and its grabbing an IP however there is nothing on the display nor can I RDP in. I'm going to see if a fresh build helps. For ref (mainly for my self) I'll just post the xml here. I'm hoping I'm closer and that all of this will be of some use for others. T
  4. Thanks... I did start off on q35 and I did edit the xml, saved and rechecked it so not sure why it reverted. That said I've made some many changes including rebuilding the vm settings I might have missed it. I'll get this done today. Thanks again. T
  5. Hi - thanks - I assume you have some thoughts on this ? I'm not a in depth Unraid person but I am techy so just wondering what they are ? Memory clashing ? Thanks Terran
  6. Just going through the syslog ad found this... Thats about the time I started the VM - not sure if it helps. I've also attached new diags as requested too as well as a copy of the VM xml. There must be some thing strange about this as I know thr 1060 is used by quite a few people on here. I might take the spare network card out of the PCIE slot at some point but I doubt it will make any diffrence. T diagnostics-20211221-1911.zip
  7. Not too up on what the grouping does... I assume its some kind of reseve ? Any way the result is that the GUI does not load now locally (I assume this is expected) and when I start the VM the screen is blank but its doing some thing as it refreshed as I started. The VM screen is no longer hanging. I'm just shutting down the machine to run this Nvidia firmware tool and see if that helps. T
  8. Same result - when it comes back I will try with out the bios. In the mean time here is a copy of my groups Thanks for your help... T
  9. Thanks... I will have a look at this and grab my groups. I'm also going to check for a firmware update on this card today and see if it applies or not in case that helps. Re pfsense. Been a home setup I'm playing to see if it's better than my isp router which is reaching its limits. I do have a dedicated network card for it just not in use at this time. I do see the points made but for now it's not an issue for me. T
  10. So with some extra playing with the machine type I can now hang the whole UI. I will still carry on and diag this but any hints would be appriciated as I am begining to think the machine does not like the card. Terran
  11. Hi all, I'm having problems getting and VMs working with my new 1060 on 6.10.0-rc2. I've removed the AMD reset from the last card I had and dumped the ROm using Spaceinvaders script (it does seem a little small though as I was expecting about 100+k and not 58k). I dumped the rom with out Nvida drivers installed but have since installed them and get the Unraid GUI fine. I have also tried the following WITHOUT the unraid Nvida drivers and the result is the same. Where possible testing has been a clean boot, no dockers running, no partity check and the VM to be run on a dedicated SSD. I've created new Win 10 and 11 VMs in the same way (latest Q35, If, qcow etc) except I used OVMF for 10 and OVMF TPM for 11. I have tried both with and with out the BIOS file linked in the config while trying to create a fresh install of the OS. When I start the VM no image seems to be created on the drive and the VM part of Unraid seems to hang until reboot - every thing else is fine. I did think it was a Windows 11 thing or even that VNC drivers were installed but as its both 10 and 11 I'm wondering if I am missing some thing at a hardware level ? I've attached the ROM and diags for comment if any one has any thoughts on this as I suspect this is not an RC problem either. Thanks in advance. T gpu_vbios_MSI_1060.zip diagnostics-20211220-1211.zip
  12. Thanks... Card seems better in win 10 but still having issues firing up in win 11. Ill try a clean build out at the weekend and report back. T
  13. Hi... Didnt know about that plugin and didn't come up on my serach. I'll have a look at that later and report back. T
  14. So spent some of the day trouble shooting. After a number of ui crashes and hard power offs I think it has some thing to do with either shutdown or when I do a force shutdown. I've took all bar my graphics (amd 5700 xt) and a sata card out that I need in case it was device reseting issues. I've tried with both Windows 10 and 11 fully patched and can replicate. As the graphics card is new (borrowed so new to me) I'm not sure it is that or the rc but it was pretty stable before. Any thoughts as to if this is a rc bug or a general problem? Ps hope to have an nvidia 1060 soon if it is a card issue. Thanks T
  15. Hi... Made the jump to rc2... Love it. I did have an issue with win 11 when shutting down it seems to take the unraid ui down (ie tested with dockers still up) until I reboot. Do I share diags here or on another thread? Re the conversation about cloud... Can we tie key features / access to the 2fa of the forum ensuring if there is a security event that will stop any thing serious? T
  16. Thanks @SimonF - really happy with this plug in... well done. T
  17. Hi @SimonF - one last question - is it possible to map the same USB device to two VMs ie so I can have multiple VMs but shut one down for another and it knows to auto connect eg keyboards and mice ? T
  18. Hi Simon - thanks... I found that a reboot was also needed to remove the messages which might have been the bit throwing me off. Thanks again for jumping in to help. Terran PS Love the photo - MK based ?
  19. Hi - thanks for coming back to me - USB Manager only as I do not need the IP features. Enable USB on Dashboard and Enable USB Manager Hotplug on VM page are enabled. Enable USBIP is disabled however I have played with the settings before hand. T
  20. OK - some progress - rebooted and I can now start my VMs but getting: Given that I thought hook edits where automatic now I did not expect this so need to do some further reading (unless some one has a quick answer ?). T
  21. Any one had "Libvirt Service failed to start." - Also still got this following an uninstall: /etc/libvirt-/hooks/qemu #!/usr/bin/env php <?php if (!isset($argv[2]) || $argv[2] != 'start') { exit(0); } $strXML = file_get_contents('php://stdin'); $doc = new DOMDocument(); $doc->loadXML($strXML); $xpath = new DOMXpath($doc); $args = $xpath->evaluate("//domain/*[name()='qemu:commandline']/*[name()='qemu:arg']/@value"); for ($i = 0; $i < $args->length; $i++){ $arg_list = explode(',', $args->item($i)->nodeValue); if ($arg_list[0] !== 'vfio-pci') { continue; } foreach ($arg_list as $arg) { $keypair = explode('=', $arg); if ($keypair[0] == 'host' && !empty($keypair[1])) { vfio_bind($keypair[1]); break; } } } exit(0); // end of script function vfio_bind($strPassthruDevice) { // Ensure we have leading 0000: $strPassthruDeviceShort = str_replace('0000:', '', $strPassthruDevice); $strPassthruDeviceLong = '0000:' . $strPassthruDeviceShort; // Determine the driver currently assigned to the device $strDriverSymlink = @readlink('/sys/bus/pci/devices/' . $strPassthruDeviceLong . '/driver'); if ($strDriverSymlink !== false) { // Device is bound to a Driver already if (strpos($strDriverSymlink, 'vfio-pci') !== false) { // Driver bound to vfio-pci already - nothing left to do for this device now regarding vfio return true; } // Driver bound to some other driver - attempt to unbind driver if (file_put_contents('/sys/bus/pci/devices/' . $strPassthruDeviceLong . '/driver/unbind', $strPassthruDeviceLong) === false) { file_put_contents('php://stderr', 'Failed to unbind device ' . $strPassthruDeviceShort . ' from current driver'); exit(1); return false; } } // Get Vendor and Device IDs for the passthru device $strVendor = file_get_contents('/sys/bus/pci/devices/' . $strPassthruDeviceLong . '/vendor'); $strDevice = file_get_contents('/sys/bus/pci/devices/' . $strPassthruDeviceLong . '/device'); // Attempt to bind driver to vfio-pci if (file_put_contents('/sys/bus/pci/drivers/vfio-pci/new_id', $strVendor . ' ' . $strDevice) === false) { file_put_contents('php://stderr', 'Failed to bind device ' . $strPassthruDeviceShort . ' to vfio-pci driver'); exit(1); return false; } return true; Libvirt Log I have also had the following when installed: When installed my config file looks like this: #!/usr/bin/env php <?php if (!isset($argv[2]) || $argv[2] != 'start') { exit(0); } $strXML = file_get_contents('php://stdin'); $doc = new DOMDocument(); $doc->loadXML($strXML); $xpath = new DOMXpath($doc); $args = $xpath->evaluate("//domain/*[name()='qemu:commandline']/*[name()='qemu:arg']/@value"); for ($i = 0; $i < $args->length; $i++){ $arg_list = explode(',', $args->item($i)->nodeValue); if ($arg_list[0] !== 'vfio-pci') { continue; } foreach ($arg_list as $arg) { $keypair = explode('=', $arg); if ($keypair[0] == 'host' && !empty($keypair[1])) { vfio_bind($keypair[1]); break; } } } exit(0); // end of script function vfio_bind($strPassthruDevice) { // Ensure we have leading 0000: $strPassthruDeviceShort = str_replace('0000:', '', $strPassthruDevice); $strPassthruDeviceLong = '0000:' . $strPassthruDeviceShort; // Determine the driver currently assigned to the device $strDriverSymlink = @readlink('/sys/bus/pci/devices/' . $strPassthruDeviceLong . '/driver'); if ($strDriverSymlink !== false) { // Device is bound to a Driver already if (strpos($strDriverSymlink, 'vfio-pci') !== false) { // Driver bound to vfio-pci already - nothing left to do for this device now regarding vfio return true; } // Driver bound to some other driver - attempt to unbind driver if (file_put_contents('/sys/bus/pci/devices/' . $strPassthruDeviceLong . '/driver/unbind', $strPassthruDeviceLong) === false) { file_put_contents('php://stderr', 'Failed to unbind device ' . $strPassthruDeviceShort . ' from current driver'); exit(1); return false; } } // Get Vendor and Device IDs for the passthru device $strVendor = file_get_contents('/sys/bus/pci/devices/' . $strPassthruDeviceLong . '/vendor'); $strDevice = file_get_contents('/sys/bus/pci/devices/' . $strPassthruDeviceLong . '/device'); // Attempt to bind driver to vfio-pci if (file_put_contents('/sys/bus/pci/drivers/vfio-pci/new_id', $strVendor . ' ' . $strDevice) === false) { file_put_contents('php://stderr', 'Failed to bind device ' . $strPassthruDeviceShort . ' to vfio-pci driver'); exit(1); return false; } return true; } And my log: ? Terram
  22. Has tdarr_aio been pulled from the app store ? (see attached image) Thanks Terran
  23. Hi all. Its been a while since I have looked at duplicati as I've been running a scipt back up as I had an issue when back up over 1tb to a local store it seemed to crash. Is this still a limitation ? Is it more reliable compaired to a script copying the data daily ? Thanks T
  24. Hi all... just to let you know this worked although I renamed the old folders on each disk appdataold so I had a back up as well but I had a heart stopping moment when all my shares and dockers would not fire back no matter what I did. If any one else gets this I simpley rebooted and all was well - I hope that helps any one else in a simular posotion. Once again @Squid thank you for your help... T