Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Mojave] Kernel panic kextunload #114

Open
bbichero opened this issue Oct 9, 2019 · 5 comments
Open

[Mojave] Kernel panic kextunload #114

bbichero opened this issue Oct 9, 2019 · 5 comments

Comments

@bbichero
Copy link

bbichero commented Oct 9, 2019

I got a kernal panic under macOS 10.14.5 when executing:

/sbin/kextunload /Library/Extensions/iSCSIInitiator.kext

I have the latest iscsitarget package on my server (debian 7.8)
On mac client I have the latest iscsi driver (develop branch)
What others infos do you need ?

Here the logs:

cat /Library/Logs/DiagnosticReports/Kernel_2019-10-08-121438_dump-bibiche.panic
Anonymous UUID:       F97E7CB3-8386-4A58-17BA-EB616A2B7C1C

Tue Oct  8 12:14:38 2019

*** Panic Report ***
panic(cpu 0 caller 0xffffff802842a556): "com_github_iscsi_osx_iSCSIInitiator[0x100003178]::terminate(kIOServiceSynchronous) timeout\n"@/BuildRoot/Library/Caches/com.apple.xbs/Sources/xnu/xnu-4903.261.4/iokit/Kernel/IOService.cpp:2428
Backtrace (CPU 0), Frame : Return Address
0xffffff812c8b37f0 : 0xffffff8027daea2d
0xffffff812c8b3840 : 0xffffff8027ee9e95
0xffffff812c8b3880 : 0xffffff8027edb70a
0xffffff812c8b38f0 : 0xffffff8027d5bb40
0xffffff812c8b3910 : 0xffffff8027dae447
0xffffff812c8b3a30 : 0xffffff8027dae293
0xffffff812c8b3aa0 : 0xffffff802842a556
0xffffff812c8b3b00 : 0xffffff802842e07a
0xffffff812c8b3b80 : 0xffffff802844f0dd
0xffffff812c8b3bb0 : 0xffffff802844f2e4
0xffffff812c8b3bf0 : 0xffffff80283de6c1
0xffffff812c8b3c30 : 0xffffff80283e4ffd
0xffffff812c8b3cb0 : 0xffffff80283f507c
0xffffff812c8b3d20 : 0xffffff8027e0e027
0xffffff812c8b3d80 : 0xffffff8027db426c
0xffffff812c8b3dd0 : 0xffffff8027d8eca1
0xffffff812c8b3e50 : 0xffffff8027da34fe
0xffffff812c8b3ef0 : 0xffffff8027ec1957
0xffffff812c8b3fa0 : 0xffffff8027d5c326

BSD process name corresponding to current thread: kextunload

Mac OS version:
18F132

Kernel version:
Darwin Kernel Version 18.6.0: Thu Apr 25 23:16:27 PDT 2019; root:xnu-4903.261.4~2/RELEASE_X86_64
Kernel UUID: 7C8BB636-E593-3CE4-8528-9BD24A688851
Kernel slide:     0x0000000027a00000
Kernel text base: 0xffffff8027c00000
__HIB  text base: 0xffffff8027b00000
System model name: iMac13,2 (Mac-FC02E91DDD3FA6A4)

System uptime in nanoseconds: 153886393324561
last loaded kext at 153800554257098: com.apple.driver.AppleXsanScheme	3 (addr 0xffffff7fab8ed000, size 32768)
last unloaded kext at 153797142635446: com.github.iscsi-osx.iSCSIInitiator	1 (addr 0xffffff7fab8e6000, size 65536)
loaded kexts:
com.github.iscsi-osx.iSCSIInitiator	1
org.virtualbox.kext.VBoxNetAdp	5.2.20
org.virtualbox.kext.VBoxNetFlt	5.2.20
org.virtualbox.kext.VBoxUSB	5.2.20
org.virtualbox.kext.VBoxDrv	5.2.20
com.apple.iokit.SCSITaskUserClient	408.250.3
com.apple.driver.AudioAUUC	1.70
com.apple.driver.AppleHWSensor	1.9.5d0
com.apple.driver.ApplePlatformEnabler	2.7.0d0
com.apple.driver.AGPM	110.25.10
com.apple.driver.X86PlatformShim	1.0.0
com.apple.filesystems.autofs	3.0
com.apple.fileutil	20.036.15
com.apple.driver.AppleMikeyHIDDriver	131
com.apple.driver.AppleMikeyDriver	282.54
com.apple.AGDCPluginDisplayMetrics	3.40.16
com.apple.driver.AppleHV	1
com.apple.iokit.IOUserEthernet	1.0.1
com.apple.driver.AppleHDA	282.54
com.apple.driver.AppleUpstreamUserClient	3.6.5
com.apple.driver.AppleIntelHD4000Graphics	12.0.9
com.apple.GeForce	12.0.0
com.apple.driver.AppleBacklight	170.12.11
com.apple.iokit.IOBluetoothSerialManager	6.0.12f1
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.9
com.apple.driver.AppleOSXWatchdog	1
com.apple.driver.AppleSMCLMU	212
com.apple.driver.AppleIntelSlowAdaptiveClocking	4.0.0
com.apple.driver.AppleThunderboltIP	3.1.2
com.apple.driver.AppleLPC	3.1
com.apple.driver.AppleIntelFramebufferCapri	12.0.9
com.apple.driver.AppleVirtIO	2.1.3
com.apple.filesystems.hfs.kext	407.200.4
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless	1.0.0d1
com.apple.BootCache	40
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib	1.0.0
com.apple.AppleSystemPolicy	1.0
com.apple.filesystems.apfs	945.260.7
com.apple.driver.AppleSDXC	1.7.6
com.apple.driver.AirPort.Brcm4360	1400.1.1
com.apple.private.KextAudit	1.0
com.apple.driver.AppleAHCIPort	329.260.5
com.apple.iokit.AppleBCM5701Ethernet	10.3.3
com.apple.driver.AppleRTC	2.0
com.apple.driver.AppleACPIButtons	6.1
com.apple.driver.AppleHPET	1.8
com.apple.driver.AppleSMBIOS	2.1
com.apple.driver.AppleACPIEC	6.1
com.apple.driver.AppleAPIC	1.7
com.apple.driver.AppleIntelCPUPowerManagementClient	220.0.0
com.apple.nke.applicationfirewall	201
com.apple.security.TMSafetyNet	8
com.apple.driver.AppleIntelCPUPowerManagement	220.0.0
com.apple.driver.AppleXsanScheme	3
com.apple.iokit.IOUSBUserClient	900.4.2
com.apple.iokit.IOSCSIParallelFamily	3.0.0
com.apple.kext.triggers	1.0
com.apple.iokit.IOAVBFamily	740.1
com.apple.plugin.IOgPTPPlugin	740.2
com.apple.iokit.IOSkywalkFamily	1
com.apple.driver.DspFuncLib	282.54
com.apple.kext.OSvKernDSPLib	528
com.apple.driver.AppleSSE	1.0
com.apple.driver.AppleBacklightExpert	1.1.0
com.apple.AppleGPUWrangler	3.40.16
com.apple.driver.AppleThunderboltEDMSink	4.2.0
com.apple.driver.AppleSMBusController	1.0.18d1
com.apple.nvidia.driver.NVDAGK100Hal	12.0.0
com.apple.nvidia.driver.NVDAResman	12.0.0
com.apple.driver.AppleSMBusPCI	1.0.14d1
com.apple.driver.X86PlatformPlugin	1.0.0
com.apple.iokit.IOSlowAdaptiveClockingFamily	1.0.0
com.apple.driver.AppleHDAController	282.54
com.apple.iokit.IOHDAFamily	282.54
com.apple.driver.IOPlatformPluginFamily	6.0.0d8
com.apple.iokit.IOAcceleratorFamily2	404.9
com.apple.iokit.IOSurface	255.5.4
com.apple.AppleGraphicsDeviceControl	3.40.16
com.apple.iokit.IONDRVSupport	530.51
com.apple.iokit.IOGraphicsFamily	530.66
com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport	6.0.12f1
com.apple.iokit.IOBluetoothHostControllerUSBTransport	6.0.12f1
com.apple.iokit.IOBluetoothHostControllerTransport	6.0.12f1
com.apple.iokit.IOBluetoothFamily	6.0.12f1
com.apple.driver.AppleHIDKeyboard	208
com.apple.driver.usb.IOUSBHostHIDDevice	1.2
com.apple.iokit.IOAudioFamily	206.5
com.apple.vecLib.kext	1.2.0
com.apple.driver.usb.networking	5.0.0
com.apple.driver.usb.AppleUSBHostCompositeDevice	1.2
com.apple.driver.usb.AppleUSBHub	1.2
com.apple.iokit.IOSerialFamily	11
com.apple.filesystems.hfs.encodings.kext	1
com.apple.driver.AppleThunderboltDPInAdapter	5.6.4
com.apple.driver.AppleThunderboltDPOutAdapter	5.6.4
com.apple.driver.AppleThunderboltDPAdapterFamily	5.6.4
com.apple.driver.AppleThunderboltPCIDownAdapter	2.1.4
com.apple.driver.AppleThunderboltNHI	4.7.6
com.apple.iokit.IOThunderboltFamily	6.8.4
com.apple.iokit.IOAHCIBlockStorage	301.260.1
com.apple.iokit.IO80211Family	1200.12.2
com.apple.driver.corecapture	1.0.4
com.apple.iokit.IOAHCIFamily	288
com.apple.iokit.IOEthernetAVBController	1.1.0
com.apple.driver.mDNSOffloadUserClient	1.0.1b8
com.apple.driver.usb.AppleUSBXHCIPCI	1.2
com.apple.driver.usb.AppleUSBXHCI	1.2
com.apple.driver.usb.AppleUSBEHCIPCI	1.2
com.apple.driver.usb.AppleUSBEHCI	1.2
com.apple.driver.usb.AppleUSBHostPacketFilter	1.0
com.apple.iokit.IOUSBFamily	900.4.2
com.apple.driver.AppleEFINVRAM	2.1
com.apple.driver.AppleEFIRuntime	2.1
com.apple.driver.AppleUSBHostMergeProperties	1.2
com.apple.iokit.IOSMBusFamily	1.1
com.apple.iokit.IOHIDFamily	2.0.0
com.apple.security.quarantine	3
com.apple.security.sandbox	300.0
com.apple.kext.AppleMatch	1.0.0d1
com.apple.driver.DiskImages	493.0.0
com.apple.driver.AppleFDEKeyStore	28.30
com.apple.driver.AppleEffaceableStorage	1.0
com.apple.driver.AppleKeyStore	2
com.apple.driver.AppleUSBTDM	456.260.3
com.apple.driver.AppleMobileFileIntegrity	1.0.5
com.apple.iokit.IOUSBMassStorageDriver	145.200.2
com.apple.iokit.IOSCSIBlockCommandsDevice	408.250.3
com.apple.iokit.IOSCSIArchitectureModelFamily	408.250.3
com.apple.iokit.IOStorageFamily	2.1
com.apple.kext.CoreTrust	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.IOTimeSyncFamily	740.2
com.apple.iokit.IONetworkingFamily	3.4
com.apple.iokit.IOReportFamily	47
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.Libm	1
com.apple.kec.corecrypto	1.0

EOF
@Lifany
Copy link

Lifany commented Dec 10, 2020

i have the same problem is there any solution or mitigation for this ?

@bbichero
Copy link
Author

This is not an acceptable answer, but the solution is:
Don't kextunload ...
I don't need it and I sometime have error with ISCSI target, but it's not often and I can handle it manually.

@Lifany
Copy link

Lifany commented Dec 22, 2020

hey @bbichero thanks for your replay
after unuse of kextunload ... (the panic is solved)
but i got lot of error with ISCSI target , so i make IMACS reboot after every logout, that didn't change any things.
any idea or fix for ISCSI target error?

@bbichero
Copy link
Author

You must remove ISCSI target after logout

  • first list target
iscsictl list targets | grep -E 'iqn' | awk '{ print $1 }'
  • Now for each target you must remove it
iscsictl remove target <target-from-last-command>

@sclsj
Copy link

sclsj commented Oct 18, 2021

Same thing happened for me running macOS High Sierra
kernal panic.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants