High Sierra freezes the instant any audio is triggered


Recommended Posts

OSX audio has been kicking my butt since day one. I've read myself in circles. At this point I'm not sure if I'm chasing a USB problem or an Audio problem. I could really use help.

 

PROBLEM: High Sierra freezes the instant any audio is triggered. System must be rebooted to get PCIe USB card back.

 

 - unRAID: 6.5.3

 - High Sierra 10.13.6 (upgraded from 10.13.4 which had same issue)

 - ASM1142 based PCIe USB card passed through. PCIe card seems to work fine out of box. USB keyboard/mouse work fine.

- When just passing through individual USB devices, audio was extremely choppy. PCIe USB is must at this point since unRAID has quickly become mission critical in my house. 

 - Sabrent USB audio device and Logitech head set are detected correctly by OSX. Using either audio device has the same issue.

- Current clover

 

I've included logs from the time of the freeze

System Log 

Sep 9 15:30:37 unraid kernel: pcieport 0000:00:1b.4: Intel SPT PCH root port ACS workaround enabled
Sep 9 15:33:42 unraid kernel: pcieport 0000:00:1b.4: AER: Uncorrected (Non-Fatal) error received: id=00dc
Sep 9 15:33:42 unraid kernel: pcieport 0000:00:1b.4: PCIe Bus Error: severity=Uncorrected (Non-Fatal), type=Transaction Layer, id=00dc(Requester ID)
Sep 9 15:33:42 unraid kernel: pcieport 0000:00:1b.4: device [8086:a2eb] error status/mask=00100000/00010000
Sep 9 15:33:42 unraid kernel: pcieport 0000:00:1b.4: [20] Unsupported Request (First)
Sep 9 15:33:42 unraid kernel: pcieport 0000:00:1b.4: TLP Header: 34000000 04000010 00000000 847a847a
Sep 9 15:33:42 unraid kernel: pcieport 0000:00:1b.4: broadcast error_detected message
Sep 9 15:33:42 unraid kernel: pcieport 0000:00:1b.4: broadcast mmio_enabled message
Sep 9 15:33:42 unraid kernel: pcieport 0000:00:1b.4: broadcast resume message
Sep 9 15:33:42 unraid kernel: pcieport 0000:00:1b.4: AER: Device recovery successful
Sep 9 15:34:40 unraid kernel: vfio-pci 0000:02:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=none
Sep 9 15:34:40 unraid kernel: br0: port 3(vnet1) entered blocking state
Sep 9 15:34:40 unraid kernel: br0: port 3(vnet1) entered disabled state
Sep 9 15:34:40 unraid kernel: device vnet1 entered promiscuous mode
Sep 9 15:34:40 unraid kernel: br0: port 3(vnet1) entered blocking state
Sep 9 15:34:40 unraid kernel: br0: port 3(vnet1) entered forwarding state
Sep 9 15:34:42 unraid avahi-daemon[3385]: Joining mDNS multicast group on interface vnet1.IPv6 with address fe80::fc54:ff:fe66:69c9.
Sep 9 15:34:42 unraid avahi-daemon[3385]: New relevant interface vnet1.IPv6 for mDNS.
Sep 9 15:34:42 unraid avahi-daemon[3385]: Registering new address record for fe80::fc54:ff:fe66:69c9 on vnet1.*.
Sep 9 15:34:42 unraid kernel: vfio-pci 0000:02:00.0: enabling device (0400 -> 0403)

 

VM Log

2018-09-09 22:10:36.164+0000: starting up libvirt version: 4.0.0, qemu version: 2.11.1, hostname: unraid
LC_ALL=C PATH=/bin:/sbin:/usr/bin:/usr/sbin HOME=/ QEMU_AUDIO_DRV=none /usr/local/sbin/qemu -name guest=cylon15,debug-threads=on -S -object secret,id=masterKey0,format=raw,file=/var/lib/libvirt/qemu/domain-5-cylon15/master-key.aes -machine pc-q35-2.11,accel=kvm,usb=off,dump-guest-core=off,mem-merge=off -cpu host -drive file=/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd,if=pflash,format=raw,unit=0,readonly=on -drive file=/etc/libvirt/qemu/nvram/d049d3e2-fddb-397d-b4f2-f551e0f1f4fa_VARS-pure-efi.fd,if=pflash,format=raw,unit=1 -m 8192 -realtime mlock=off -smp 4,sockets=1,cores=2,threads=2 -uuid d049d3e2-fddb-397d-b4f2-f551e0f1f4fa -display none -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-5-cylon15/monitor.sock,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc,driftfix=slew -global kvm-pit.lost_tick_policy=delay -no-hpet -no-shutdown -boot strict=on -device pcie-root-port,port=0x8,chass25,id=hostnet0 -device e1000-82545em,netdev=hostnet0,id=net0,mac=52:54:00:18:3f:38,bus=pci.2,addr=0x0 -chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0 -chardev socket,id=charchannel0,path=/var/lib/libvirt/qemu/channel/target/domain-5-cylon15/org.qemu.guest_agent.0,server,nowait -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=org.qemu.guest_agent.0 -device vfio-pci,host=01:00.0,id=hostdev0,bus=pci.3,addr=0x0 -device vfio-pci,host=01:00.1,id=hostdev1,bus=pci.4,addr=0x0 -device vfio-pci,host=04:00.0,id=hostdev2,bus=pci.5,addr=0x0 -device virtio-balloon-pci,id=balloon0,bus=pci.6,addr=0x0 -usb -device usb-mouse,bus=usb-bus.0 -device usb-kbd,bus=usb-bus.0 -device 'isa-applesmc,osk=***' -smbios type=2 -cpu Penryn,vendor=GenuineIntel,kvm=on,+invtsc,vmware-cpuid-freq=on, -msg timestamp=on
2018-09-09 22:10:36.164+0000: Domain id=5 is tainted: high-privileges
2018-09-09 22:10:36.164+0000: Domain id=5 is tainted: custom-argv
2018-09-09 22:10:36.164+0000: Domain id=5 is tainted: host-cpu
2018-09-09T22:10:36.200032Z qemu-system-x86_64: -chardev pty,id=charserial0: char device redirected to /dev/pts/0 (label charserial0)
usb_desc_get_descriptor: 2 unknown type 33 (len 10)
usb_desc_get_descriptor: 1 unknown type 33 (len 10)
usb_desc_get_descriptor: 2 unknown type 33 (len 10)
usb_desc_get_descriptor: 1 unknown type 33 (len 10)
usb_desc_get_descriptor: 2 unknown type 33 (len 10)
usb_desc_get_descriptor: 1 unknown type 33 (len 10)
2018-09-09T22:33:42.896615Z qemu-system-x86_64: vfio_err_notifier_handler(0000:04:00.0) Unrecoverable error detected. Please collect any data possible and then kill the guest

 

Syslinux

append pcie_acs_override=downstream vfio-pci.ids=8086:a2f0,8086:a2a3,8086:a2a1,1b21:1242,8086:a2af i915.alpha_support=1 modprobe .b lacklist=i2c_i801,i2c_sm bu s initrd=/bzroot

 

IMMO

IOMMU group 0:    [8086:3ec2] 00:00.0 Host bridge: Intel Corporation 8th Gen Core Processor Host Bridge/DRAM Registers (rev 07)
IOMMU group 1:    [8086:1901] 00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x16) (rev 07)
IOMMU group 2:    [8086:1905] 00:01.1 PCI bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x8) (rev 07)
IOMMU group 3:    [8086:3e92] 00:02.0 VGA compatible controller: Intel Corporation Device 3e92
IOMMU group 4:    [8086:1911] 00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th Gen Core Processor Gaussian Mixture Model
IOMMU group 5:    [8086:a2af] 00:14.0 USB controller: Intel Corporation 200 Series PCH USB 3.0 xHCI Controller
IOMMU group 6:    [8086:a2ba] 00:16.0 Communication controller: Intel Corporation 200 Series PCH CSME HECI #1
IOMMU group 7:    [8086:a282] 00:17.0 SATA controller: Intel Corporation 200 Series PCH SATA controller [AHCI mode]
IOMMU group 8:    [8086:a2e7] 00:1b.0 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #17 (rev f0)
IOMMU group 9:    [8086:a2eb] 00:1b.4 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #21 (rev f0)
IOMMU group 10:    [8086:a290] 00:1c.0 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #1 (rev f0)
IOMMU group 11:    [8086:a291] 00:1c.1 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #2 (rev f0)
IOMMU group 12:    [8086:a292] 00:1c.2 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #3 (rev f0)
IOMMU group 13:    [8086:a294] 00:1c.4 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #5 (rev f0)
IOMMU group 14:    [8086:a296] 00:1c.6 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #7 (rev f0)
IOMMU group 15:    [8086:a298] 00:1d.0 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #9 (rev f0)
IOMMU group 16:    [8086:a2c9] 00:1f.0 ISA bridge: Intel Corporation Device a2c9
[8086:a2a1] 00:1f.2 Memory controller: Intel Corporation 200 Series PCH PMC
[8086:a2f0] 00:1f.3 Audio device: Intel Corporation 200 Series PCH HD Audio
[8086:a2a3] 00:1f.4 SMBus: Intel Corporation 200 Series PCH SMBus Controller
IOMMU group 17:    [8086:15b8] 00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (2) I219-V
IOMMU group 18:    [1002:67ff] 01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Baffin [Radeon RX 550 640SP / RX 560/560X] (rev cf)
[1002:aae0] 01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device aae0
IOMMU group 19:    [1002:94c1] 02:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RV610 [Radeon HD 2400 PRO/XT]
IOMMU group 20:    [144d:a808] 03:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981
IOMMU group 21:    [1b21:1242] 04:00.0 USB controller: ASMedia Technology Inc. ASM1142 USB 3.1 Host Controller
IOMMU group 22:    [1969:e0b1] 07:00.0 Ethernet controller: Qualcomm Atheros Killer E2500 Gigabit Ethernet Controller (rev 10)
IOMMU group 23:    [1b21:2142] 08:00.0 USB controller: ASMedia Technology Inc. Device 2142
IOMMU group 24:    [1b21:2142] 09:00.0 USB controller: ASMedia Technology Inc. Device 2142
IOMMU group 25:    [144d:a808] 0a:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981

 

 

Edited by WashingtonMatt
Link to comment
  • 2 months later...

Update: Same audio issue with Mojave. I found that the genericusbxhci.kext resolves the USB audio issue for both the Logitech USB headset, and the Sabrent USB audio, but that introduces the restart on shutdown issue, requiring unRAID reboot to get the PCIe USB card functional again.

 

It appears the genericusbxhci.kext has not been supported in a long time, but at least I know audio is possible now and I know where to focus my effort.

Link to comment
  • 2 weeks later...

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.