Jump to content

cap089

Members
  • Posts

    57
  • Joined

  • Last visited

Posts posted by cap089

  1. On 10/7/2018 at 2:13 AM, SwimmingDiplodocus said:

    So after a variety of attempts from a number of forum posts, the following approach

    link1       

    link2

    worked for me:

    
    >>  lsscsi
    
    [2:0:0:0] cd/dvd HL-DT-ST BD-RE WH14NS40 1.03 /dev/sr0
    

    And then hand modifying the ubuntu XML VM with 

    
    <controller type='scsi' index='0' model='virtio-scsi'/> 
    <hostdev mode='subsystem' type='scsi'>
      <source>
      <adapter name='scsi_host2'/>
      <address type='scsi' bus='0' target='0' unit='0'/>
      </source>
      <readonly/> 
      <address type='drive' controller='0' bus='0' target='0' unit='0'/>
    </hostdev>
    

     

    Other posts had suggested changing the controller value to "1" which did not work for me. 

     

    I now have access to the Blu-ray drive from within the Ubuntu VM (it automatically detects a Audio disk insert and mounts it).

    I am now able to rip audio CDs which was my original objective.

     

     

    Hi! I also tried this method to passthrough my optical drive but it actually breaks the VM - It hangs in an endless boot screen. 

    I actually don't know if this is related to changes in unRAID or has to do with incompatibilities on X570 mainboards... 

    Any ideas?

    The simplest way would be to passthrough the entire SATA controller. But on my system the SATA controllers have indeed different IOMMU groups but all the same ID. So without knowing on which physical port the optical drive is plugged in, its hard to find out which controller I can passthrough...

  2. Ok! The unbind command of Hankanman fixed it! And works with the user.scripts plugin very well. Thanks a lot! 

     

    Now I just need to figure out how to passthrough my optical drive to the VM. Passing it through via "form view" as a normal SATA device does not work because unRAID claims that there is no media in it.. The manual way which is explained in other threads on this forum also does not work. Like: 

     

     

    I also just tried to passthrough the whole SATA controller but for now I do not know how to identify the actual SATA port where the optical drive is plugged in..

  3. 15 minutes ago, david279 said:

    AMD bios bug.....try the kernel here. This a bug that was introduced with the agesa version that started support for the 3000 series.

     

     https://forums.unraid.net/topic/82625-kernelcustom-build-kernel-527-for-latest-ryzen-3000-and-x570-sensors-suppport-and-r8125-driver/

    Ok thanks for the reply. Actually I use the current BIOS version for my board (from 09/12/2019) - maybe I dont need the custom kernel?

     

    But anyway I will try first what Hankanman sad. I also read your thread because I also get the same error....

    So I will try it first with these commands, tomorrow. Today I have no more nerves for testing...

    And yes I also dumped the BIOS - the old way with the GTX 1080 in the second slot - so this should be fine. Especially because it worked on the test system.

    14 minutes ago, Hankanman said:

    Hi I scratched my head on this for a while, there was a solution, essentially unraid doesn't release the Primary GPU for use by a VM:

     

    First test with the following commands via ssh with your VM off:

     

    echo 0 > /sys/class/vtconsole/vtcon0/bind
    echo 0 > /sys/class/vtconsole/vtcon1/bind
    echo efi-framebuffer.0 > /sys/bus/platform/drivers/efi-framebuffer/unbind

     

    Then try to boot your vm with the gpu passed through. if it boots successfully you had the same issue as me. Then install user scripts from community applications and set this to run as a little script when the array starts. even works with auto starting VMs.

     

  4. Update: After giving up yesterday, I used the original Windows KVM which is bootable like a baremetal system. I installed the newest Nvidia graphics driver and played some games without any issues. 

     

    Today I created a new Windows VM in unRAID with the same hardware specifications like the first one and there I just got an ugly image on the screen and nothing else (see below). But at least unRAID seems not to crash... Yesterday at first the "VM tab" in the Web GUI was not reachable and then the whole system crashes.

     

    Has someone any ideas? Couldn't find something yet in the web.

    Note: In the second PCI slot the graphics card works so if another card sits in the first slot.

     

    Photo-2019-09-23-10-23-03_3315.JPG

     

    Update 2: 

    Ok I tested two things more: 

    1. Tried to passthrough an older AMD 270X, I came to the "TianoCore" screen but after that the monitor stays black - the card is UEFI ready.

    2. Tried it out with unRAID version 6.7.3 r4 but same result...

     

    Update 3: Thats the error message which I get:

    2019-09-23T15:29:53.780080Z qemu-system-x86_64: vfio_region_write(0000:09:00.0:region1+0x2206c8, 0x0,8) failed: Device or resource busy

    I also tried to "exclude" the graphics card via vfio-pci.ids but then unRAID hangs in the boot screen. 

    So finally after my tests I think unRAID is not ready for x570 boards.

  5. Hi! 

    I followed up the topic around unRAID since a while. Now I wanted to build my own rig with a Windows KVM for gaming, freeNAS etc. 

    Before my new processor arrived I tested it with another system, just a few months ago... With the help of SpaceInvaderOnes videos I was successful  by passthrough my EVGA GTX 1080 FTW to the Windows KVM, including dumping the BIOS so I can have it in the first PCI slot. So far so good.

     

    Yesterday I started to build my own PC and everything seems to work fine - like USB controller passthrough - but when I try to passthrough my GTX 1080 unRAID completely crashes and after that even not boot anymore. First I thought the actual version 6.7.2 is buggy and I also dumped the BIOS again of the card... but also with the version 6.7.0, which I used in my first tests, I have the same problem..

    So far I have no clue whats going wrong here. Of course the graphic card and the audio has its own IOMMU group. 

     

    Here some hardware info of the two systems:

    - test system was on a MSI x470 Gaming Plus with an Ryzen 1700

    - actual system is an Asus Strix x570 E-Gaming with an Ryzen 3900X

     

    Can anyone give me some advices, please?

     

    Fun fact: The Windows KVM has its own SATA SSD so after unRAID is crashed and not bootable anymore, the original Windows KVM boots like a normal system (?)

×
×
  • Create New...