site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Am 23.06.2006 um 21:03 schrieb David A Rowland <rowlandd@sbcglobal.net>: I'm trying to make a kernel extension launch at boot time by placing a startup item in Library/StartupItems. I have followed all the rules, I think. The directory structure is: MyKext MyKext com.My.kext StartupItems.plist Should be "StartupParameters.plist" I think. That's what I use. All the permissions have been set by PackageMaker and seem to be right -- root, wheel Permissions for the StartupItem which work look like this: /Library/StartupItems/MyKext root:wheel 755 /Library/StartupItems/MyKext/MyKext root:wheel 754 /Library/StartupItems/MyKext/StartupParameters.plist root:wheel 644 Permissions for a kext which work in my case look like this: MyKext contains scripts to call kextload for the .kext But it doesn't work. var/log/system.log seems to show a violation of permissions, but I'm not sure that is the problem. What does the following command in a Terminal window show? kextload /System/Library/Extensions/MyKext.kext SystemStarter start "MyStartupService" HTH Mike -- Mike Fischer Softwareentwicklung, EDV-Beratung Schulung, Vertrieb Address: Bundesstrasse 9, D-20146 Hamburg, Germany Phone: +49 (0)40/45038886, Fax: +49 (0)40/45038887 _______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... So your kext bundle is actually installed inside the StartupItem? Why not in /System/Library/Extensions/ ? /System/Library/Extensions/MyKext.kext root:wheel 755 /System/Library/Extensions/MyKext.kext/Contents root:wheel 755 /System/Library/Extensions/MyKext.kext/Contents/Info.plist root:wheel 644 /System/Library/Extensions/MyKext.kext/Contents/MacOS root:wheel 755 /System/Library/Extensions/MyKext.kext/Contents/MacOS/MyKext root:wheel 644 $ sudo SystemStarter start "MyKext" (assuming that "MyKext" is the service advertised in the StartupParameters.plist as "Provides") Is there a sample installation for kernel extensions that I could examine? I don't know. I do know that I have an installer which is able to install and load a StartupItem and a kext and activate both from its postflight script by doing this: This email sent to site_archiver@lists.apple.com
participants (1)
-
Mike Fischer