site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=RDjFFouJ1MsmGWJyGgKuMxVW/zPKDLrEcRjbVDoNOGnr2EngAmWqcwDyrq9g0N5neVkpLPakRhANoZL49BR/Drxq/4HFn4g/d4INAVYcNJfdq1NSE6LfAxNZpXdqYB2RQ2s42FvknMEL+ZBxu0ZsQDwvnoXj4rt43R6ccr3SxhE= ; Hi all I am trying to add a userclient to my driver. The driver alone works fine. I am able to load it and am able to call the different methods. When I try add a user client to it, it fails to load. Please note that my userclient has just two methods apart from the regular methods viz. open and close which it exports to the application. IOReturn com_zapp_SimpleUserClient::open(void) { if (!fProvider) return kIOReturnNotAttached; if (!fProvider->open(this)) return kIOReturnExclusiveAccess; return kIOReturnSuccess; } IOReturn com_zapp_SimpleUserClient::close(void) { if (!fProvider) return kIOReturnNotAttached; if (fProvider->isOpen(this)) fProvider->close(this); return kIOReturnSuccess; } The code compiles but fails to load. kextload: extension mydriver.kext appears to be valid kextload: notice: extension mydriver.kext has debug properties set kextload: loading extension mydriver.kext kextload: kmod_control/start failed for com.zapp.mydriver; destroying kmod kextload: a link/load error occured for kernel extension mydriver.kext load failed for extension mydriver.kext (run kextload with -t for diagnostic output) please guide(should I post to a different list) amanda __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ 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... This email sent to site_archiver@lists.apple.com