• 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: boot load
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: boot load


  • Subject: Re: boot load
  • From: Rich Kubota <email@hidden>
  • Date: Thu, 25 May 2006 16:11:09 -0700

At 3:31 PM -0700 5/25/06, David A Rowland wrote:
I've written a kernel extension that behaves well when I load and unload it with Terminal commands, kextload, etc. I have created a PackageMaker project to make an installer. "Kernel Extension Concepts" was very helpful with this. Running this installer does put the kext in System/Library/Extensions, but when I reboot the kext is not loaded.

I have looked into Network Kernel Extensions Programming Guide (my bible through most of this project), System Startup Programming Topics, Software Distribution and Kernel Extension Concepts. Nowhere do I find a clear statement of how kexts are loaded at boot time.

Hello David,

The simplistic answer to your question is provided under the Network Kernel Extensions Overview of the NKE Program Guide.

"Loading a kernel extension is handled by the kextload(8) command line utility, which adds the NKE to the running Mac OS X kernel as part of the kernel's address space. Eventually, the system will provide automatic mechanisms for loading extensions. Currently, automatic loading is possible only for I/O Kit KEXTs and other KEXTs that they depend on."

The last sentence says it all. It sounds like you want to create a StartupItem to load the NKE. If so, then take a look at the following doc.

<http://developer.apple.com/documentation/MacOSX/Conceptual/BPSystemStartup/Articles/StartupItems.html>

--
Sincerely,
Rich Kubota
email@hidden
(408) 974-6212
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: boot load
      • From: Quinn <email@hidden>
References: 
 >boot load (From: David A Rowland <email@hidden>)

  • Prev by Date: boot load
  • Next by Date: Re: boot load
  • Previous by thread: boot load
  • Next by thread: Re: boot load
  • Index(es):
    • Date
    • Thread