I've just finished using the build tool to create an Ubuntu 16.04.4 LTS (kernel 4.14.34-sunxi) image for this Orange Pi Zero, booted from SD, logged in, and everything was going fine.
Then I:
Added the following to /etc/modules:
g_ether
gadgetfs
dummy_hcd
Upon rebooting the board, my iMac Pro host popped up the UI from Parallels to ask me if I wanted it connected to the Mac or VM, then the machine kernel panicked. It panicked again upon reboot until I unplugged the board. I had zero panics before I made this change.
I then inserted it into my MacBook Pro and that machine panicked as well. Here is the information which I've already sent to Apple (but I would appreciate any feedback or experience anyone here has with this type of issue).
Anonymous UUID: 01B0193A-C3E4-87C5-1117-33905176C057
Wed Apr 18 13:27:24 2018
*** Panic Report ***
panic(cpu 2 caller 0xffffff800ed6b303): "m_free: freeing an already freed mbuf"@/BuildRoot/Library/Caches/com.apple.xbs/Sources/xnu/xnu-4570.51.1/bsd/kern/uipc_mbuf.c:4672
Backtrace (CPU 2), Frame : Return Address
0xffffff9202bc39c0 : 0xffffff800e86e166
0xffffff9202bc3a10 : 0xffffff800e996714
0xffffff9202bc3a50 : 0xffffff800e988a00
0xffffff9202bc3ad0 : 0xffffff800e820180
0xffffff9202bc3af0 : 0xffffff800e86dbdc
0xffffff9202bc3c20 : 0xffffff800e86d99c
0xffffff9202bc3c80 : 0xffffff800ed6b303
0xffffff9202bc3d20 : 0xffffff7f954374d4
0xffffff9202bc3d60 : 0xffffff7f8f54cca7
0xffffff9202bc3da0 : 0xffffff7f8f5484ce
0xffffff9202bc3dd0 : 0xffffff800ee9b5e8
0xffffff9202bc3e40 : 0xffffff7f8f548538
0xffffff9202bc3ea0 : 0xffffff7f8f54cc1b
0xffffff9202bc3ed0 : 0xffffff800eb0b4c2
0xffffff9202bc3fa0 : 0xffffff800e81f4f7
Kernel Extensions in backtrace:
com.apple.iokit.IONetworkingFamily(3.4)[5A99D802-B477-3D83-9F76-304605479B9F]@0xffffff7f8f53e000->0xffffff7f8f56dfff
com.apple.driver.usb.cdc.eem(5.0)[D268937B-889E-3A02-9084-04837802E1FE]@0xffffff7f95435000->0xffffff7f9543bfff
dependency: com.apple.driver.usb.cdc(5.0.0)[37D38C76-F2AB-386B-94AA-ECECE1F1C6E6]@0xffffff7f8f9fe000
dependency: com.apple.driver.usb.networking(5.0.0)[4F02CA36-89E7-3FF5-8304-46348D4DB862]@0xffffff7f8f9f6000
dependency: com.apple.driver.usb.AppleUSBHostCompositeDevice(1.2)[659C4663-558D-3660-B4A6-BF8E4329D99F]@0xffffff7f8f792000
dependency: com.apple.iokit.IOUSBHostFamily(1.2)[20A97E20-AEA3-329A-A36A-2360BCB0AD34]@0xffffff7f8f712000
dependency: com.apple.iokit.IONetworkingFamily(3.4)[5A99D802-B477-3D83-9F76-304605479B9F]@0xffffff7f8f53e000
BSD process name corresponding to current thread: kernel_task
Mac OS version:
17E199
Kernel version:
Darwin Kernel Version 17.5.0: Mon Mar 5 22:24:32 PST 2018; root:xnu-4570.51.1~1/RELEASE_X86_64
Kernel UUID: 1B55340B-0B14-3026-8A47-1E139DB63DA3
Kernel slide: 0x000000000e600000
Kernel text base: 0xffffff800e800000
__HIB text base: 0xffffff800e700000
System model name: MacBookPro13,3 (Mac-A5C67F76ED83108C)
System uptime in nanoseconds: 15431815673
last loaded kext at 14297685941: org.virtualbox.kext.VBoxNetAdp 5.2.10 (addr 0xffffff7f95449000, size 28672)
loaded kexts:
org.virtualbox.kext.VBoxNetAdp 5.2.10
org.virtualbox.kext.VBoxNetFlt 5.2.10
org.virtualbox.kext.VBoxUSB 5.2.10
com.intel.kext.intelhaxm 6.0.5
org.virtualbox.kext.VBoxDrv 5.2.10
net.telestream.driver.TelestreamAudio 1.1.1
zoom.us.ZoomAudioDevice 1.2
com.apple.iokit.IOBluetoothSerialManager 6.0.5f3
com.apple.driver.ApplePlatformEnabler 2.7.0d0
com.apple.driver.AGPM 110.23.33
com.apple.driver.X86PlatformShim 1.0.0
com.apple.filesystems.autofs 3.0
com.apple.driver.AppleUpstreamUserClient 3.6.5
com.apple.driver.AudioAUUC 1.70
com.apple.driver.AppleHDAHardwareConfigDriver 281.51
com.apple.kext.AMDFramebuffer 1.6.6
com.apple.driver.AppleHDA 281.51
com.apple.kext.AMDRadeonX4000 1.6.6
com.apple.driver.AppleGraphicsDevicePolicy 3.18.48
com.apple.driver.AppleHIDALSService 1
com.apple.AGDCPluginDisplayMetrics 3.18.48
com.apple.driver.AppleHV 1
com.apple.iokit.IOUserEthernet 1.0.1
com.apple.driver.AGDCBacklightControl 3.18.48
com.apple.driver.AppleIntelSKLGraphics 10.3.2
com.apple.driver.AppleIntelPCHPMC 2.0.1
com.apple.kext.AMD9500Controller 1.6.6
com.apple.driver.ACPI_SMC_PlatformPlugin 1.0.0
com.apple.driver.AppleFIVRDriver 4.1.0
com.apple.driver.AppleBacklight 170.12.6
com.apple.driver.pmtelemetry 1
com.apple.Dont_Steal_Mac_OS_X 7.0.0
com.apple.driver.eficheck 1
com.apple.driver.AppleMCCSControl 1.5.4
com.apple.driver.AppleIntelSKLGraphicsFramebuffer 10.3.2
com.apple.driver.AppleMuxControl 3.18.48
com.apple.driver.SMCMotionSensor 3.0.4d1
com.apple.driver.AppleOSXWatchdog 1
com.apple.driver.AppleEmbeddedOSSupportHost 1
com.apple.driver.AppleIntelSlowAdaptiveClocking 4.0.0
com.apple.driver.AppleThunderboltIP 3.1.1
com.apple.driver.AppleFileSystemDriver 3.0.1
com.apple.filesystems.hfs.kext 407.50.6
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
com.apple.BootCache 40
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0
com.apple.driver.AppleTopCaseHIDEventDriver 133
com.apple.filesystems.apfs 748.51.0
com.apple.driver.AirPort.BrcmNIC 1240.29.1a7
com.apple.driver.AppleSmartBatteryManager 161.0.0
com.apple.driver.AppleACPIButtons 6.1
com.apple.driver.AppleRTC 2.0
com.apple.driver.AppleSMBIOS 2.1
com.apple.driver.AppleACPIEC 6.1
com.apple.driver.AppleAPIC 1.7
com.apple.nke.applicationfirewall 183
com.apple.security.TMSafetyNet 8
com.apple.security.quarantine 3
com.apple.iokit.IOUSBUserClient 900.4.1
com.apple.driver.usb.cdc.eem 5.0.0
com.apple.kext.triggers 1.0
com.apple.driver.DspFuncLib 281.51
com.apple.kext.OSvKernDSPLib 526
com.apple.kext.AMDRadeonX4100HWLibs 1.0
com.apple.kext.AMDRadeonX4000HWServices 1.6.6
com.apple.iokit.IOAVBFamily 675.6
com.apple.plugin.IOgPTPPlugin 675.12
com.apple.iokit.IOEthernetAVBController 1.1.0
com.apple.iokit.IOBluetoothHostControllerUARTTransport 6.0.5f3
com.apple.iokit.IOBluetoothHostControllerTransport 6.0.5f3
com.apple.driver.AppleSSE 1.0
com.apple.driver.IOPlatformPluginLegacy 1.0.0
com.apple.driver.AppleBacklightExpert 1.1.0
com.apple.iokit.IONDRVSupport 519.15
com.apple.driver.usb.IOUSBHostHIDDevice 1.2
com.apple.driver.AppleHDAController 281.51
com.apple.iokit.IOHDAFamily 281.51
com.apple.iokit.IOAudioFamily 206.5
com.apple.vecLib.kext 1.2.0
com.apple.driver.AppleSMBusPCI 1.0.14d1
com.apple.driver.AppleSMBusController 1.0.18d1
com.apple.kext.AMDSupport 1.6.6
com.apple.iokit.IOAcceleratorFamily2 378.18.1
com.apple.iokit.IOSurface 211.12
com.apple.driver.AppleGraphicsControl 3.18.48
com.apple.driver.AppleIntelLpssUARTv1 3.0.60
com.apple.driver.AppleIntelLpssUARTCommon 3.0.60
com.apple.driver.AppleOnboardSerial 1.0
com.apple.iokit.IOSkywalkFamily 1
com.apple.iokit.IOSerialFamily 11
com.apple.driver.X86PlatformPlugin 1.0.0
com.apple.driver.IOPlatformPluginFamily 6.0.0d8
com.apple.AppleGPUWrangler 3.18.48
com.apple.AppleGraphicsDeviceControl 3.18.48
com.apple.iokit.IOGraphicsFamily 519.15
com.apple.iokit.IOSlowAdaptiveClockingFamily 1.0.0
com.apple.driver.AppleThunderboltEDMSink 4.1.4
com.apple.driver.AppleThunderboltDPOutAdapter 5.5.3
com.apple.driver.usb.cdc.ecm 5.0.0
com.apple.driver.usb.cdc.ncm 5.0.0
com.apple.driver.usb.AppleUSBiBridge 1.0
com.apple.driver.AppleUSBHostMergeProperties 1.2
com.apple.driver.usb.cdc 5.0.0
com.apple.driver.usb.AppleUSBHostCompositeDevice 1.2
com.apple.driver.usb.networking 5.0.0
com.apple.filesystems.hfs.encodings.kext 1
com.apple.driver.AppleActuatorDriver 1404.4
com.apple.driver.AppleHIDKeyboard 205
com.apple.driver.AppleHSBluetoothDriver 133
com.apple.driver.IOBluetoothHIDDriver 6.0.5f3
com.apple.iokit.IOBluetoothFamily 6.0.5f3
com.apple.driver.AppleMultitouchDriver 1404.4
com.apple.driver.AppleInputDeviceSupport 1404.3
com.apple.driver.AppleHSSPIHIDDriver 53
com.apple.driver.AppleThunderboltPCIDownAdapter 2.1.3
com.apple.driver.AppleThunderboltDPInAdapter 5.5.3
com.apple.driver.AppleThunderboltDPAdapterFamily 5.5.3
com.apple.driver.AppleXsanScheme 3
com.apple.driver.AppleHSSPISupport 53
com.apple.iokit.IONVMeFamily 2.1.0
com.apple.driver.AppleIntelLpssSpiController 3.0.60
com.apple.iokit.IO80211Family 1200.12.2
com.apple.driver.mDNSOffloadUserClient 1.0.1b8
com.apple.driver.corecapture 1.0.4
com.apple.driver.AppleThunderboltNHI 4.7.2
com.apple.driver.AppleHPM 3.1.3
com.apple.iokit.IOThunderboltFamily 6.7.8
com.apple.driver.AppleIntelLpssI2CController 3.0.60
com.apple.driver.AppleIntelLpssDmac 3.0.60
com.apple.driver.AppleIntelLpssI2C 3.0.60
com.apple.driver.AppleIntelLpssGspi 3.0.60
com.apple.driver.usb.AppleUSBXHCIPCI 1.2
com.apple.driver.usb.AppleUSBXHCI 1.2
com.apple.driver.usb.AppleUSBHostPacketFilter 1.0
com.apple.iokit.IOUSBFamily 900.4.1
com.apple.driver.AppleEFINVRAM 2.1
com.apple.iokit.IOHIDFamily 2.0.0
com.apple.driver.AppleEFIRuntime 2.1
com.apple.iokit.IOSMBusFamily 1.1
com.apple.security.sandbox 300.0
com.apple.kext.AppleMatch 1.0.0d1
com.apple.driver.DiskImages 480.50.10
com.apple.driver.AppleFDEKeyStore 28.30
com.apple.driver.AppleEffaceableStorage 1.0
com.apple.driver.AppleKeyStore 2
com.apple.driver.AppleUSBTDM 439.50.6
com.apple.driver.AppleMobileFileIntegrity 1.0.5
com.apple.iokit.IOUSBMassStorageDriver 140.50.3
com.apple.iokit.IOSCSIBlockCommandsDevice 404.30.2
com.apple.iokit.IOSCSIArchitectureModelFamily 404.30.2
com.apple.iokit.IOStorageFamily 2.1
com.apple.driver.AppleCredentialManager 1.0
com.apple.driver.KernelRelayHost 1
com.apple.iokit.IOUSBHostFamily 1.2
com.apple.driver.usb.AppleUSBCommon 1.0
com.apple.driver.AppleBusPowerController 1.0
com.apple.driver.AppleSEPManager 1.0.1
com.apple.driver.IOSlaveProcessor 1
com.apple.iokit.IOReportFamily 31
com.apple.iokit.IOTimeSyncFamily 675.12
com.apple.iokit.IONetworkingFamily 3.4
com.apple.driver.AppleACPIPlatform 6.1
com.apple.driver.AppleSMC 3.1.9
com.apple.iokit.IOPCIFamily 2.9
com.apple.iokit.IOACPIFamily 1.4
com.apple.kec.pthread 1
com.apple.kec.corecrypto 1.0
com.apple.kec.Libm 1
EOF
System Profile:
Network Service: Wi-Fi, AirPort, en0
Boot Volume File System Type: apfs
Memory Module: BANK 0/DIMM0, 8 GB, LPDDR3, 2133 MHz, 0x802C, 0x4D5435324C31473332443450472D30393320
Memory Module: BANK 1/DIMM0, 8 GB, LPDDR3, 2133 MHz, 0x802C, 0x4D5435324C31473332443450472D30393320
USB Device: USB 3.0 Bus
USB Device: iBridge
USB Device: USB 10/100/1000 LAN
Thunderbolt Bus: MacBook Pro, Apple Inc., 33.1
Thunderbolt Bus: MacBook Pro, Apple Inc., 33.1
Model: MacBookPro13,3, BootROM MBP133.0242.B00, 4 processors, Intel Core i7, 2.9 GHz, 16 GB, SMC 2.38f7
Graphics: Intel HD Graphics 530, Intel HD Graphics 530, Built-In
Graphics: Radeon Pro 460, AMD Radeon Pro 460, PCIe
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x15A), Broadcom BCM43xx 1.0 (7.77.37.29.1a7)
Bluetooth: Version 6.0.5f3, 3 services, 27 devices, 1 incoming serial ports