| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
| Hi, I have been attempting to write a PCI driver on a G4 for a while and can't seem to get past the IOServiceOpen routine when calling the UserClient. IOServiceOpen always returns "kIOReturnUnsupported". After loading the kext, the ioregistry shows the IOUserClient class is identified properly with the driver. The driver seems to work fine, finds the card with no problem. The UserClient initWithTask is not being accessed at all. I implemented newUserClient in the driver with some logging just to see if it was being called, and it isn't. It seems that IOServiceOpen is bailing before calling newUserClient. One problem that may or may not be related is this: If the following OSDynamicCast is performed in the driver (commented out here), the code compiles, but the kext won't load. Without it, the kext loads fine. // OSDynamicCast(IOPCIDevice, provider); theBoard = (IOPCIDevice *)provider; When attempting to load the kext, it fails with the following error: kextload: extension NIPCIE.kext appears to be valid kextload: notice: extension NIPCIE.kext has debug properties set kextload: loading extension NIPCIE.kext kld(): Undefined symbols: __ZN11IOPCIDevice9metaClassE kextload: kld_load_from_memory() failed for module /private/tmp/NIPCIE.kext/Contents/MacOS/NIPCIE kextload: a link/load error occured for kernel extension NIPCIE.kext Any ideas? Any area's that may be suspect? Thanks Joe |
_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-drivers mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-drivers/email@hidden This email sent to email@hidden
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.