Mailing Lists: Apple Mailing Lists

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

Re: TAKE2: Problems testing with IOStorageFamily.kext



Dan Markarian wrote:

Hi Chris,

It sounds like your open on the device was closed at some point. The strategy will return an EACCES on a read should that device not still be open.

The Storage Family does not return EACCES on a read in any other context, however, it is plausible the error came from a driver below the family, of course.

This is the case... the device was closed, but I'm pretty sure it wasn't by our driver. If I load my FileSystem from within a login the strategy succeeds. What I find is when I log out and then back in (even as the same user) I get the EACCES error. I initially ran into this problem by starting my FileSystem on boot and trying to do tests as a user.

I have traced using gdb into the media layer which returns the error. I can only assume that another entity is closing the device (maybe prompted by the logout or login). This is why I want to have a debug version of IOStorageFamily so I can see when the device is closed. Any ideas?

Thanks.


Dan

On Jan 14, 2004, at 6:33 PM, Chris Walters wrote:

I'm developing a File System which is getting an EACCES error from doing a strategy call to the IOStorageFamily. I need to be able to build and install a debug version of IOStorageFamily. Building it is easy (with either ProjectBuilder or pbxbuild)... the problem is when I install and restart the system I get the "No Entry" symbol.

Could somebody explain why my kext isn't working...
* do I have to copy more than just the kext?
* is there a difference between building with ProjectBuilder or pbxbuild?

Thanks.
_______________________________________________
darwin-kernel mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.

_______________________________________________
darwin-kernel mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.
_______________________________________________
darwin-kernel mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: IOATAController device blocking bus (From: Justin Walker <email@hidden>)
 >Re: IOATAController device blocking bus (From: RJ Auburn <email@hidden>)
 >Re: IOATAController device blocking bus (From: RJ Auburn <email@hidden>)
 >Problems testing with IOStorageFamily.kext (From: Chris Walters <email@hidden>)
 >TAKE2: Problems testing with IOStorageFamily.kext (From: Chris Walters <email@hidden>)
 >Re: TAKE2: Problems testing with IOStorageFamily.kext (From: Dan Markarian <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.