ghost82 133 Posted January 2 Share Posted January 2 (edited) [Possible fix for Big Sur and samba (smb) transfer hangs -- kernel panic and/or error -8084] If you are experiencing issue with Big Sur and samba (smb) transfers here is a possible fix that is working for me. Change the size of the buffer the kernel allocates to hold the data with SO_RCVBUF and SO_SNDBUF to a size of 65536 bytes, Add this line to the [global] configuration of your samba server: socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=65536 SO_SNDBUF=65536 This fixed file transfers hang for me, still have some issues to run a virtual machine with vmware through smb, the whole mac os crashes (it didn't happen with Catalina): nfs is still good for this. Edited January 4 by ghost82 2 Quote Link to post
Balooforever 10 Posted January 6 Share Posted January 6 Thank for this tips but I think, it s don t correct my kernel panic with my UC5G1T Quote Link to post
ghost82 133 Posted January 6 Share Posted January 6 16 minutes ago, Balooforever said: Thank for this tips but I think, it s don t correct my kernel panic with my UC5G1T If you didn't try yet, write on more specific forums, I can recommend tonymacx86, insanelymac and macrumors. Quote Link to post
david279 117 Posted January 6 Share Posted January 6 Be careful with tonymac if you mention VM stuff they might ban you. 🥴 1 Quote Link to post
Balooforever 10 Posted January 6 Share Posted January 6 I've same problem with my real MacBook and my real MacBook Pro ... Quote Link to post
manHands 0 Posted January 17 Share Posted January 17 I've successfully set up a bare metal macOS Big Sur VM passing through GPU (Vega 56), NVME (where OS is installed), onboard sound card, and Broadcom wireless/bluetooth adapter (and oh boy was it a project). Everything is working wonderfully except being able to passthrough the onboard Comet Lake USB 3.1 xHCI controller. I can see the controller in System Info, but actually using the USB ports is another story. Sometimes it'll recognize the device (most of the time not), hot plugging is non-existent, and sometimes plugging something in will lock up the entire server. In theory, should passing through the USB controller work? I'm using an ASROCK Z490 Taichi board. I can boot directly to the OS (not through unRAID) w/out issue and w/out any additional kexts to use the USB controller/ports. Which to me would mean that I wouldn't need any kexts/drivers or other OpenCore configuration to get the USB controller to work in unRAID and the VM other than stubbing it and passing it through. Thoughts? I can share additional info like libvirt xml, opencore files, etc. if needed to help troubleshoot. However, first I just wanted to throw this out there to see if I'm just missing something obvious or if getting a 3rd party controller that'll work under macOS is my only option. Quote Link to post
ghost82 133 Posted January 19 Share Posted January 19 (edited) On 1/18/2021 at 12:24 AM, manHands said: Sometimes it'll recognize the device (most of the time not), hot plugging is non-existent, and sometimes plugging something in will lock up the entire server. In theory, should passing through the USB controller work? I'm using an ASROCK Z490 Taichi board. I can boot directly to the OS (not through unRAID) w/out issue and w/out any additional kexts to use the USB controller/ports. Which to me would mean that I wouldn't need any kexts/drivers or other OpenCore configuration to get the USB controller to work in unRAID and the VM other than stubbing it and passing it through. Hi, are you saying that your usb controller is working with no issues on a real hackintosh, but it has issues in a mac os vm when pa ssed through? Could it be a port limit issue? Do you have any ssdt/dsdt files related to usb in the real hackintosh?In this case, did you use them also in the vm?Same bootloader? It seems you are not missing anything in unraid/libvirt configuration, yes only thing to do is to stub it and pass through. Edited January 19 by ghost82 Quote Link to post
paulmorabi 2 Posted January 22 Share Posted January 22 Hi everyone, I'm considering to add a USB card and WiFi/BT card to my Big Sur VM. I'm currently passing through an RX570 without issue and USB from the motherboard which is a bit flakey. After much research, I've been looking at the following items which seem to have good reviews in terms of Hackintosh usage: Fenvi T919 Inateck 4 port USB 3.0 Has anyone used these with unraid and had any issues with passthrough? My current Gigabyte X570 Aorus Pro has the slots so technically it should be possible but curious to hear other experiences or recommended cards. Thanks in advance. Quote Link to post
manHands 0 Posted January 23 Share Posted January 23 On 1/19/2021 at 10:56 AM, ghost82 said: Hi, are you saying that your usb controller is working with no issues on a real hackintosh, but it has issues in a mac os vm when pa ssed through? Could it be a port limit issue? Do you have any ssdt/dsdt files related to usb in the real hackintosh?In this case, did you use them also in the vm?Same bootloader? It seems you are not missing anything in unraid/libvirt configuration, yes only thing to do is to stub it and pass through. Sorry for the delayed reply because I appreciate the response. I've been spending way too much time trying to troubleshoot this on my own. Yes, no issues on a real hack. I'm using the latest OpenCore bootloader with the same config/files for both the real hack and vm. The only SSDT I'm using related to USB is SSDT-EC-USBX which I've configured for my board. All that said, I think I'm on to something. The USB issues occur after a VM restart/shutdown. On a fresh unRAID reboot and on the first VM start, the controller is loaded with AppleIntelCNLUSBXCHI and all the ports work as intended as configured with my USBMap.kext to stay under the 15 port limit. As far as I can tell, the USB controllable cannot be reset. And this may be why the ports don't work or are flaky after a VM restart. Thoughts? Quote Link to post
giganode 38 Posted January 23 Share Posted January 23 2 hours ago, manHands said: Sorry for the delayed reply because I appreciate the response. I've been spending way too much time trying to troubleshoot this on my own. Yes, no issues on a real hack. I'm using the latest OpenCore bootloader with the same config/files for both the real hack and vm. The only SSDT I'm using related to USB is SSDT-EC-USBX which I've configured for my board. All that said, I think I'm on to something. The USB issues occur after a VM restart/shutdown. On a fresh unRAID reboot and on the first VM start, the controller is loaded with AppleIntelCNLUSBXCHI and all the ports work as intended as configured with my USBMap.kext to stay under the 15 port limit. As far as I can tell, the USB controllable cannot be reset. And this may be why the ports don't work or are flaky after a VM restart. Thoughts? As far as I can tell, flr on x570 mattise usb controller should work. I am using a controller aswell and it works just fine. I don't even use ssdt's... Quote Link to post
ghost82 133 Posted January 24 Share Posted January 24 16 hours ago, manHands said: As far as I can tell, the USB controllable cannot be reset. And this may be why the ports don't work or are flaky after a VM restart. Type this is a terminal: for iommu_group in $(find /sys/kernel/iommu_groups/ -maxdepth 1 -mindepth 1 -type d);do echo "IOMMU group $(basename "$iommu_group")"; for device in $(\ls -1 "$iommu_group"/devices/); do if [[ -e "$iommu_group"/devices/"$device"/reset ]]; then echo -n "[RESET]"; fi; echo -n $'\t';lspci -nns "$device"; done; done Does "[RESET]" shows next to your usb controller? Quote Link to post
manHands 0 Posted January 24 Share Posted January 24 7 hours ago, ghost82 said: Does "[RESET]" shows next to your usb controller? It does not... IOMMU group 4 00:14.0 USB controller [0c03]: Intel Corporation Comet Lake USB 3.1 xHCI Host Controller [8086:06ed] 00:14.2 RAM memory [0500]: Intel Corporation Comet Lake PCH Shared SRAM [8086:06ef] Which is kind of what I figured when looking at System Devices in the unRAID TOOLS page. That's got to be the reason why I'm seeing USB issues on a VM restart, right? There is a separate ASM3242 USB 3.2 controller on board that's reset capable and in it's own IOMMU group... [RESET] 05:00.0 USB controller [0c03]: ASMedia Technology Inc. ASM3242 USB 3.2 Host Controller [1b21:3242] However, I don't think macOS has native support for this controller. Quote Link to post
ghost82 133 Posted January 24 Share Posted January 24 33 minutes ago, manHands said: That's got to be the reason why I'm seeing USB issues on a VM restart, right? There is a separate ASM3242 USB 3.2 controller on board that's reset capable and in it's own IOMMU group... I think so.. I have an asmedia 1042 usb 3.0 which I tried to passthrough; not natevely supported, tried external kexts, which gave me only issues; finally I ended buying a 25 euro inateck card. However, trying to passthrough that controller will not hurt Quote Link to post
manHands 0 Posted January 24 Share Posted January 24 5 minutes ago, ghost82 said: I think so.. I have an asmedia 1042 usb 3.0 which I tried to passthrough; not natevely supported, tried external kexts, which gave me only issues; finally I ended buying a 25 euro inateck card. However, trying to passthrough that controller will not hurt No luck I just ordered an Inateck card on Amazon that has two 3.0 ports as well as an internal 3.0 header I can use to connect the front 3.0 ports on my case. It uses the FL1100 controller which from what I gather has native macOS support. Only $20 and I've got an open PCI-E x1 slot, so what the heck. Quote Link to post
ghost82 133 Posted January 24 Share Posted January 24 43 minutes ago, manHands said: No luck I just ordered an Inateck card on Amazon that has two 3.0 ports as well as an internal 3.0 header I can use to connect the front 3.0 ports on my case. It uses the FL1100 controller which from what I gather has native macOS support. Only $20 and I've got an open PCI-E x1 slot, so what the heck. Same as mine, it works well. Quote Link to post
david279 117 Posted January 27 Share Posted January 27 Sad day but i moved my Big Sur VM to bare metal. I had been wanting to play with Manjaro and as much as much rx 570 reboots mac os it would lock up my entire unRAID server when trying to reboot a Manjaro VM. It even took a hard drive offline. I went with a gigabyte arous b450m and a 3600. Since my big sur install was already on a nvme drive it was nothing to get it booted on the amd hardware. Now im dual booting big sur and manjaro, and i can select either OS right from the opencore boot menu. Quote Link to post
giganode 38 Posted January 27 Share Posted January 27 30 minutes ago, david279 said: Sad day but i moved my Big Sur VM to bare metal. I had been wanting to play with Manjaro and as much as much rx 570 reboots mac os it would lock up my entire unRAID server when trying to reboot a Manjaro VM. It even took a hard drive offline. I went with a gigabyte arous b450m and a 3600. Since my big sur install was already on a nvme drive it was nothing to get it booted on the amd hardware. Now im dual booting big sur and manjaro, and i can select either OS right from the opencore boot menu. Do you use the vendor-reset? Quote Link to post
david279 117 Posted January 27 Share Posted January 27 15 minutes ago, giganode said: Do you use the vendor-reset? No i didnt but i had never had any issues with the GPU for the last 2 years, so i never thought about it. Hella crash though i to rebuild the hard drive that was kicked out of the array but i got it back working. I was ready to kinda go bear metal as well. Quote Link to post
paulmorabi 2 Posted February 13 Share Posted February 13 On 1/22/2021 at 5:44 AM, paulmorabi said: Hi everyone, I'm considering to add a USB card and WiFi/BT card to my Big Sur VM. I'm currently passing through an RX570 without issue and USB from the motherboard which is a bit flakey. After much research, I've been looking at the following items which seem to have good reviews in terms of Hackintosh usage: Fenvi T919 Inateck 4 port USB 3.0 Has anyone used these with unraid and had any issues with passthrough? My current Gigabyte X570 Aorus Pro has the slots so technically it should be possible but curious to hear other experiences or recommended cards. Thanks in advance. An update for anyone who is interested in trying this. I ended up going with the 2 port Inateck USB 3 card (with an internal port also). I connected the internal USB port to the Fenvi card to enable Bluetooth. As I passed through both cards, it "just worked". I removed the virtual Ethernet port and reset network settings so en0 is wifi. Overall, it's working much, much better than passing through USB from my x570 and using a Bluetooth dongle. The only thing I've noticed is that when under heavy network activity, Bluetooth audio can jitter momentarily. I haven't tried continuity, hand-off etc. yet. I also haven't had any reset issues with either card, both resetting within the VM and powering it on and off also. Quote Link to post
769 posts in this topic Last Reply
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.