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

时间:2014-02-24 10:13:57

标签: macos kernel osx-mavericks kernel-extension

我将我的mac book pro迁移到mac mini。现在我每次启动时都会遇到内核恐慌。使用安全模式启动工作,我发现内核扩展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
...

2 个答案:

答案 0 :(得分:2)

您可能也希望查看/Library/Extensions,这是第三方扩展应该去的地方。

答案 1 :(得分:2)

将下面的脚本保存为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