Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Compatibility of IOKit drivers



Hello,

I'm updating an IOKit driver that was written a couple of years ago to support some new hardware. It loads OK on a G5 machine running OS X 10.4.10 but not on a G4 machine running 10.4.6. The driver itself was originally built on a 10.4.3 G5. However I built the new version on a 10.4.10 Intel machine as a universal binary.

I am a little bit confused as to why this is the case. I thought building as a universal binary might be the issue, but the reported errors don't seem to suggest that.

Any suggestions?

The dependencies were as follows:

	<key>OSBundleLibraries</key>
	<dict>
		<key>com.apple.iokit.IOSCSIArchitectureModelFamily</key>
		<string>1.4.4</string>
		<key>com.apple.iokit.IOSCSIBlockCommandsDevice</key>
		<string>1.4.4</string>
		<key>com.apple.iokit.IOStorageFamily</key>
		<string>1.4</string>
		<key>com.apple.kpi.bsd</key>
		<string>8.3</string>
		<key>com.apple.kpi.iokit</key>
		<string>8.3</string>
		<key>com.apple.kpi.libkern</key>
		<string>8.3</string>
		<key>com.apple.kpi.mach</key>
		<string>8.3</string>
	</dict>

kextload -t on the 10.4.10 machine reports no issues, but on 10.4.6 I get:

Missing dependencies
{
    "com.apple.iokit.IOStorageFamily" =
        "No valid version of this dependency can be found"
    "com.apple.iokit.IOSCSIBlockCommandsDevice" =
        "This dependency has dependencies that cannot be resolved"
}

The versions of the two drivers are:

46 7 0x4e8000 0x1d000 0x1c000 com.apple.iokit.IOStorageFamily (1.5) <6 5 4 3 2>
51 1 0x705000 0x16000 0x15000 com.apple.iokit.IOSCSIBlockCommandsDevice (1.4.4) <46 44 11>



_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/email@hidden

This email sent to email@hidden


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.