site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Dear Evan What am I doing wrong, please advise. Best regards, Platon _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... I tried your approach (Leopard 10.5.8) and indeed it sounds like a salvation. Alas it does not work. I will show my progress: 1) Created a 'symbol' kext that has several exports. Placed it into PlugIns, touched the 'Extensions' and tried to load it. iMac:Development stauff$ sudo kextload /System/Library/Extensions/ System.kext/PlugIns/MissingSymbols.kext/ extension /System/Library/Extensions/System.kext/PlugIns/ MissingSymbols.kext/ is a kernel component After reboot it does not show up in kextstat, and probably won't as I haven't found any traces of system loading PlugIns module, they are hardcoded into KernelConfigTables.cpp 2) Created a 'real' kext that links against 'symbol' kext. Tried loading it. Here is a log: kextload: mapping module file /System/Library/Extensions/System.kext/ PlugIns/System6.0.kext/kernel.6.0 kextload: module file /System/Library/Extensions/System.kext/PlugIns/ System6.0.kext/kernel.6.0 is already mapped kextload: mapping module file /System/Library/Extensions/System.kext/ PlugIns/MissingSymbols.kext/MissingSymbols <-------- Here is symbol kext kextload: module file /System/Library/Extensions/System.kext/PlugIns/ MissingSymbols.kext/MissingSymbols is already mapped kextload: mapping module file /System/Library/Extensions/System.kext/ PlugIns/BSDKernel.kext/BSDKernel kextload: module file /System/Library/Extensions/System.kext/PlugIns/ BSDKernel.kext/BSDKernel is already mapped kextload: mapping module file /System/Library/Extensions/System.kext/ PlugIns/Unsupported.kext/Unsupported kextload: module file /System/Library/Extensions/System.kext/PlugIns/ Unsupported.kext/Unsupported is already mapped kextload: mapping module file /System/Library/Extensions/System.kext/ PlugIns/Libkern.kext/Libkern kextload: module file /System/Library/Extensions/System.kext/PlugIns/ Libkern.kext/Libkern is already mapped kextload: mapping module file /Users/stauff/cvs/wm/client/osx/build/ Development/testnke.kext/Contents/MacOS/testnke kextload: module file /Users/stauff/cvs/wm/client/osx/build/ Development/testnke.kext/Contents/MacOS/testnke is already mapped kextload: patching C++ code in module /Users/stauff/cvs/wm/client/osx/ build/Development/testnke.kext/Contents/MacOS/testnke kextload: link/loading file /System/Library/Extensions/System.kext/ PlugIns/System6.0.kext/kernel.6.0 kextload: link/loading file /System/Library/Extensions/System.kext/ PlugIns/MissingSymbols.kext/MissingSymbols <--- It is even loading kextload: link/loading file /System/Library/Extensions/System.kext/ PlugIns/BSDKernel.kext/BSDKernel kextload: link/loading file /System/Library/Extensions/System.kext/ PlugIns/Unsupported.kext/Unsupported kextload: link/loading file /System/Library/Extensions/System.kext/ PlugIns/Libkern.kext/Libkern kextload: opaque link for /Users/stauff/cvs/wm/client/osx/build/ Development/testnke.kext/Contents/MacOS/testnke kextload: link/loading file /Users/stauff/cvs/wm/client/osx/build/ Development/testnke.kext/Contents/MacOS/testnke kextload: allocated 28672 bytes in kernel space at 0x41679000 kextload: using load address of 0x41679000 kextload: kmod name: com.aep.kext.idprint kextload: kmod start @ 0x4167eeee (offset 0x52ae) kextload: kmod stop @ 0x4167ef02 (offset 0x52c2) kextload: module com.aep.kext.idprint created as # 114 at address 0x41679000, size 28672 kextload: adding reference from com.aep.kext.idprint (114) to com.apple.kpi.libkern (5) kextload: adding reference from com.aep.kext.idprint (114) to com.apple.kpi.unsupported (7) kextload: adding reference from com.aep.kext.idprint (114) to com.apple.kpi.bsd (2) kextload: adding reference from com.aep.kext.idprint (114) to com.apple.kpi.missingsymbols (0) <--- bad sign?? ID of missing symbols is zero kextload: kmod retain failed for com.aep.kext.idprint; destroying kmod kextload: a link/load error occured for kernel extension testnke.kext/ kextload: clearing all version/dependency relationships among kernel extensions link/load failed for extension testnke.kext/ (run kextload with -t for diagnostic output) This email sent to site_archiver@lists.apple.com