gpt4 book ai didi

macos - 删除迁移到其他 mac 后导致内核崩溃的内核扩展

转载 作者:行者123 更新时间:2023-12-05 01:21:11 29 4
gpt4 key购买 nike

我将我的 mac book pro 迁移到了 mac mini。现在每次启动时我都会遇到内核 panic 。使用安全模式启动有效,我发现内核扩展 com.eltima.eveusb.kext.controller 导致了问题。它来自应用程序 USB Network Gate for Mac不幸的是,我安装了一次来测试它。

我已经在 /System/Library/Extensions 中搜索了内核扩展,但在那里找不到任何匹配的扩展。

如何删除此扩展程序(如前所述,应用程序本身已被卸载)。

下面我附上了内核崩溃报告的一些部分。

非常感谢您的帮助。

Kernel Extensions in backtrace:
com.apple.iokit.IOPCIFamily(2.8)[447B4896-16FF-3616-95A2-1C516B2A1498]@0xffffff7f8e2ba000->0xffffff7f8e2e2fff
com.eltima.eveusb.kext.controller(2.0)[1C357F99-D355-3B55-890B-96E70B8231B1]@0xffffff7f8fa57000->0xffffff7f8fa74fff
dependency: com.apple.iokit.IOUSBFamily(650.4.4)[972D3024-AF9C-3E09-A9EC-D9AB2A559B38]@0xffffff7f8e743000
dependency: com.apple.iokit.IOPCIFamily(2.8)[447B4896-16FF-3616-95A2-1C516B2A1498]@0xffffff7f8e2ba000
dependency: com.apple.iokit.IOUSBUserClient(650.4.4)[FC4B241E-C861-3821-B0D0-03DD648D8D9A]@0xffffff7f8e7c2000

...
System uptime in nanoseconds: 62692972204
last loaded kext at 62359499086: com.eltima.eveusb.kext.controller 2.0.0 (addr 0xffffff7f8fa57000, size 122880)
loaded kexts:
com.eltima.eveusb.kext.controller 2.0.0
com.eltima.eveusb.kext.arbiter 2.0.0
com.shapeservices.msm.driver.MSMFramebuffer 3.3.2
com.shapeservices.msm.driver.MSMVideoDevice 3.3.2
com.apple.driver.AudioAUUC 1.60
com.apple.driver.AppleHDAHardwareConfigDriver 2.5.3fc1
com.apple.driver.AppleMikeyHIDDriver 124
com.apple.driver.AGPM 100.14.11
com.apple.driver.ApplePlatformEnabler 2.0.9d1
com.apple.driver.X86PlatformShim 1.0.0
com.apple.driver.AppleHDA 2.5.3fc1
...

最佳答案

将下面的脚本保存为 eveusb_uninstall.sh,然后打开终端输入:

sudo sh eveusb_uninstall.sh

eveusb_uninstall.sh

#!/bin/sh

if test -f "/Library/Application Support/Eltima/eveusbd/bin/uninstall"
then
echo "eveusb: uninstalling USB To Ethernet Connector 1.x"
/Library/Application\ Support/Eltima/eveusbd/bin/uninstall || true
fi

if test -f "/Library/Frameworks/EveUSB.framework/Support/uninstall"
then
echo "eveusb: uninstalling USB Network Gate 2.x"
/Library/Frameworks/EveUSB.framework/Support/uninstall || true
fi

COUNTER=0

while true; do
DAEMONS=`ps ax | grep -v grep | grep -c eveusbd`

if test $DAEMONS -gt 0; then
echo "eveusb: trying to terminate daemon"

launchctl remove com.eltima.eveusbd || launchctl remove com.eltima.eveusb.daemon || killall -u root -c eveusbd || true

let COUNTER=COUNTER+1

if test $COUNTER -eq 10; then
echo "eveusb: killing daemon"
killall -u root -c eveusbd -KILL
fi

if test $COUNTER -gt 10; then
echo "eveusb: cant stop daemon"
break
fi

sleep 1
else
break
fi
done

if test -d "/Library/Application Support/Eltima/eveusbd"
then
echo "eveusb: clearing old configuratiins"
rm -fr "/Library/Application Support/Eltima/eveusbd"
fi

if test -f "/var/log/eveusbd.log"
then
echo "eveusb: clearing old log file"
rm -fr "/var/log/eveusbd.log"
fi

if test -f "/var/log/com.eltima.eveusb.daemon.log"
then
echo "eveusb: clearing log file"
rm -fr "/var/log/com.eltima.eveusb.daemon.log"
fi

rm -fr /var/tmp/com.eltima.eveusbd

关于macos - 删除迁移到其他 mac 后导致内核崩溃的内核扩展,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21984690/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com