• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: kernel extension
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: kernel extension


  • Subject: Re: kernel extension
  • From: Stéphane Sudre <email@hidden>
  • Date: Fri, 23 Jun 2006 23:51:24 +0200


On vendredi, juin 23, 2006, at 08:44 PM, David A Rowland wrote:

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

All the permissions have been set by PackageMaker and seem to be right -- root, wheel

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.

Is there a sample installation for kernel extensions that I could examine?

If you're installing your kext in /Library/StartupItems, here is an example:


drwxrwxr-t  54 root  admin   1836 Dec 10  2005 Library

drwxr-xr-x   6 root  wheel    204 Feb 11 14:03 StartupItems

drwxr-xr-x  10 root  wheel    340 Feb 22 22:30 MyStartupItem

drwxr-xr-x   3 root  wheel   102 Nov 29  2005 MyKext.kext
-rwxr-xr-x   1 root  wheel  2662 Aug  9  2005 MyStartupItem
-rw-r--r--   1 root  wheel   741 Aug  9  2005 StartupParameters.plist

Please note that on Mac OS X 10.2 (I don't remember if the fix was in 10.3 or only 10.4), you need to set the root:wheel permissions in the postflight script as Installer.app does not set them correctly.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >kernel extension (From: David A Rowland <email@hidden>)

  • Prev by Date: Re: kernel extension
  • Next by Date: PackageMaker not adding version.plist to BundleVersions.plist
  • Previous by thread: Re: kernel extension
  • Next by thread: Re: kernel extension
  • Index(es):
    • Date
    • Thread