• Posts

  • Joined

  • Last visited

Posts posted by bjornatic

  1. 11 hours ago, ghost82 said:

    btw, are you mapping your usb ports?passedthrough usb controller(s)?

    I'm passing though : GPU, nVme drive controller and usb controller (Fresco Logic FL1100 USB 3.0 Host Controller). And I'm only using the ports on the Fresco card... do I still need mapping  and USB patches ?



    5 hours ago, ab5g said:

    Going by my own experience on this - I would recommend the following 



    Thanks ! I'll try what you suggest and I'll report back.

  2. On 9/11/2021 at 9:03 AM, bjornatic said:

    Since two days everything works now flawlessly. Before that, I was about seriously considering buying a mac mini...


    Well... I spoke too soon. The KP as I wake macOS are back. Every time now. And this is the report I get :

    mp_kdp_enter() timed-out on cpu 0, NMI-ing
    mp_kdp_enter() NMI pending on cpus: 0 1 3 6 7
    mp_kdp_enter() timed-out during locked wait after NMI;expected 8 acks but received 4 after 0 loops in 8192004096000 ticks


    With few variations on CPUs number and count...


    I tried with isolated CPU's and without, with vti=12, 9 or 14 : same problem.


    And I really don't get why it worked two days in a row without a single issue (and during that time, the process : macOS sleep / unraid sleep / unraid wake / macOS wake happened at least 8 times (as I was testing it and not believing it was working...)




  3. On 9/9/2021 at 9:59 AM, ofawx said:


    For those suffering issues during restart/shutdown, I can share what worked for me.


    In config.plist, under NVRAM > boot-args, add 



    Sir, you are an absolute Champion. My hero. My saviour. I do not know who your are, or where you're from but you alone make the internet worth to me. This absolute simple advice solved a two year long mystery : the macos sleep / unraid sleep / unraid wake / macos wake -- macos random crash issue


    Since two days everything works now flawlessly. Before that, I was about seriously considering buying a mac mini...


    So. THANK YOU.

    • Haha 1
  4. Nvidia GT 710 / ASUS TUF GAMING X570 / AMD Ryzen 7 2700X - MacPro6,1


    Everything is passed trough : GPU, 4 Cores, USB controller, and Nvme SSD Controller.


    And I use hibernatemode 25, which is the most stable but also leeds to a crash enventually.


    When you say "it's too much to handle", I have the exact same opinion but I'm stubborn and I'm wondering two thing :

    - is it working for someone ?

    - how to investigate properly the issue ? (because I have no clue)

  5. 5 hours ago, ab5g said:

    @ghost82 - I realised one more thing . Some of the instability in the system (sleep/wake) was because I deleted a number of unused controllers which caused the PCIe Device Paths to change.  My config.plist Device properties were referencing the older Device Paths and causing a lock-up / devices not detected after sleep.  After cleaning up - it sleep/wake issues have disappeared.



    Just a quick question : do you also put your Unraid to sleep while your VM is also at sleep ? Because that's the one (main) thing I can't solve on my system : Putting macOS to sleep, unraid to sleep, waking up Unraid, then waiking up macOS without it crashing after a few minutes...

    If I don't put Unraid to sleep, then the sleep function (pmset 25) of my macOS works just fine.


    And because the crash after waking up macOS occurs randomly (it can work for for many minutes or crash instantly) I do not know how to begin to search for the problem.. (on the Unraid side or on the VM side...).


    And should it even work ? (putting the server and the vm to sleep at the same time).

  6. Yes it's passed through. And its a SAMSUNG 980PRO.




    <hostdev mode='subsystem' type='pci' managed='yes'>
          <driver name='vfio'/>
            <address domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
          <alias name='hostdev0'/>
          <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>


    I read that the Samsung controller where tricky and not advised on a Hackintosh. But I found no specific info/comment on this one ("Elpis" controller).

  7. So, I just installed Big Sur 11.3 Beta 5 (I think... I lost track). Anyway its build 20E5217a.


    I wanted to try e1000-82545em again as virtio-net was working fine except when I put the system to sleep : on wake I had lost all network.


    And so far I do not see the kernel panic I had on previous betas.


    I haven't done extended testing yet, but so far so good. And I can put my system to sleep again and not lose network on wake. File transfert from the Unraid server file also seems faster.

    • Thanks 1
  8. So. I'm happy to report that I found a solution to my problem. For the record, using NTS shares worked a little better (no instant kp), but it evnetually lead to a kp.


    The solution was to switch the adaptor to from e1000-82545em to virtio-net. And now everything is smooth. I can do TimeMachine backups and also tranfert a 15GB file in 4min.


    I knew about vmxnet3 as an alternative to e1000, but I noticed that another VM of mine was using virtio-net.... So I gave it a try and it was such a simple solution that I was mad not having found it earlier.


    I still could not find relevant infos on the different possible network adaptet... vmxnet3, e1000-.., virtio-net... Does other exist ? Where could I find info about them ?

    • Thanks 1
  9. panic(cpu 3 caller 0xffffff800969a036): [kext.kalloc.512]: element modified after free (off:8, val:0x0000000000000001, sz:512, ptr:0xffffff9352a13400, prot:zero)
        8: 0x0000000000000001
       32: 0x0000000400000000
      360: 0x0000000000000194
      368: 0x0000000022477c09
      376: 0x0000000000000194
      384: 0x0000000022477c09
    Backtrace (CPU 3), Frame : Return Address
    0xffffffa07d552c40 : 0xffffff8008e8af3d 
    0xffffffa07d553fa0 : 0xffffff8008e301f6 
          Kernel Extensions in backtrace:


    This is the crash report... I read "CPU panic" and ""...


    My vm uses the 4 last cores (8 HT) and now I'll try with isolating them.

  10. It does not hang anymore. It either passes or crashes. I do not get a transfert hang at 134.2meg followed by a error -8084 like I did on 11.2...

    I do not think a succesfull transfert log would be useful, right ?


    I was suspecting my samsung 980PRO nvme drive to be part of the problem as it only occures at speed (when transferring from my 100Mbps Pi, it all goes well). But copying from the unraid server to a USB drive via the VM leads to the same problem.


    I will tweak around my CPU settings (number and isolation) and see if there is any difference.



  11. Well. I just installed Wireshark and I'm playing with it.

    I recorded different file transfert from my Pi (100mbps) as from this source, the copy works fine even with a 9GB+ file.


    And then I recorded file transfert from my Unraid server. Small mp3 file : OK. 500meg .zip : OK. 5Gb ISO : started OK to my surprise, but it suddently crashed (and by crash I mean back to boot screen).


    Here are the last lines recorded : 16 beeing the unraid server, and 24 beeing my Big Sur VM.933284330_Capturedecran2021-02-19a13_24_58.thumb.png.5b5efde860630660a1975ed2c98484b0.png


    So I see nothing in praticular.


    I'm trying now to search the console for hints, but as I'm quite the beginner in this area, this may take a while ^^


  12. I still can't figure out why it is not working for me and it's starting to be problematic.


    I switched to vmxnet3 for a while and local network worked okayish (I could transfert data from the server and I could do TimeMachine backups), but the upload rate to the www was close to non existant. So I'm back on e1000-82545em.


    And as I'm not getting any progress on my own here are my settings :


    <interface type='bridge'>
          <mac address='xx:xx:xx:xx:xx:xx'/>
          <source bridge='br0'/>
          <target dev='vnet0'/>
          <model type='e1000-82545em'/>
          <alias name='net0'/>
          <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>


    My network settings :



    And SMB settings :



    If some of you can see somthing wrong, that would be helpfull as I still do not understand why the solution proposed by Ghost82 is working for some and not for me.

  13. Hi !

    Is there a way to add a condition to prevent sleep based on UPS consumption ?


    My problem is : I use the S3 sleep pluging to automatically put my server to sleep. It checks if no VM is runnig by pinging them. BUT, If I'm in a OS update process, the VM is not responding to the ping, so the S3 sleep pluging puts the server to sleep. Crashing my update process.


    Graphic cards are passed through my VM resulting in more power consumption when active. I thought that by checking if the UPS power is below a certain value, the plugin could be "sure" that no VM is running.


    But maybe there is a smarter solution with virsh ?

  14. I do not now. I think it would be possible by adding the correct command in the sleep plugin (as sleep is not officially supported by Unraid).


    And it may be a clean way, but not the logical way in my opinion. The VM has to decide by itself (or by manual command) to be put to sleep. And THEN, the Unraid server, "seeing" that everyone is sleeping, puts himself to sleep. And that's how I have it working.


    The problem I have is on wake up ^^ (for MacOS only, though).


    EDIT : and by "sleep" I mean hibernate... just to be clear. And It this state I can even restart the server and the W10 VM will resume OK.


    EDIT again :  I looked around and noticed the option "Enable Virtual BMC :" in the VM manager. And I think that could enable what you suggested.

  15. I can answer this as I use a Windows 10 and BigSur VM :


    I can put to sleep the Windows Vm and put to sleep  Unraid with no problem : I wake Unraid, then the W10 wm, and all work fine. Everytime. All bueno.


    For my Bigsur VM (and for Catalina before it), it's another story and it's the ONLY thing that I can't solve on my Unraid system (well beside network troubles under BigSur..). Meaning the same operation as with the W10 VM works... sometimes. And I can't figure out why as the problem is not happening everytime. But that would be the subject of another thread 🤫

  16. Soooo... I moved to 11.2 beta 2 (20D5042d) with big hopes and faith it would be fixed so I can go on with my life.


    But no. Every single big file copy from my Unraid shares stops at 134,2Mo. Hangs and then error -8084


    With or without ghost82 proposed solution.


    Trying to make a full Time Machine backup lead to a complete system crash.


    I could make my first complete Time Machine backup without carshing. So there is a bright side to this update.

  17. 3 hours ago, Espressomatic said:

    Can anyone recommend a USB card that's still readily available that will work in pass through for MacOS?


    That's really the only thing I want to pass through at the moment as this VM otherwise runs headless. Hot-plug USB support and the ability to keep hold of USB-connected devices all the time are high priority for me.


    Running on a Supermicro server mainboard, which I recall may have some issues with certain chipsets.

    I'm using this one with no apparent problem : "nateck Carte Contrôleur USB 3.0 2 Ports PCI Express pour Win XP/7/8/10 Auto alimentée,KT4006"