| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
| Dan, Thanks for the tips. I was able to gather a bit more debugging information, but still couldn't figure out where the problem lies. I checked using lsof, but there were no entries shown for disk1 (my CD-ROM drive).I haven't checked using lsof, but if I have a Finder window open in the background I see the volumes disappear. I did this, but I wasn't sure how to interpret all the status codes. The relevant excerpts are (I ran my application from Xcode, hence the calls from gdb): To unmount: 20:33:25 diskarbitrationd [39] -> PBGDBIntrospectionSupport.A.dylib [311]:33283 20:33:25 dispatched callback, id = 01085C98:0062E2C0, kind = disk unmount, disk = /dev/disk1, success. To eject: 20:33:25 PBGDBIntrospectionSupport.A.dylib [311]:33283 -> diskarbitrationd [39] 20:33:25 queued solicitation, id = 01086280:0062E2C0, kind = disk eject, disk = /dev/disk1, options = 0x00000000. 20:33:25 20:33:25 diskarbitrationd [39] -> SystemUIServer [103]:19991 20:33:25 dispatched callback, id = 913F1570:00000000, kind = disk eject approval, disk = /dev/disk1. 20:33:25 dispatched callback queue. 20:33:25 20:33:25 SystemUIServer [103]:19991 -> diskarbitrationd [39] 20:33:25 dispatched response, id = 913F1570:00000000, kind = disk eject approval, disk = /dev/disk1, approved. 20:33:25 20:33:25 diskarbitrationd [39] -> diskarbitrationd [39] 20:33:25 ejected disk, id = /dev/disk1, ongoing. 20:33:25 ejected disk, id = /dev/disk1, failure. 20:33:25 unable to eject /dev/disk1 (status code 0x00000010). 20:33:25 20:33:25 diskarbitrationd [39] -> PBGDBIntrospectionSupport.A.dylib [311]:33283 20:33:25 dispatched callback, id = 01086280:0062E2C0, kind = disk eject, disk = /dev/disk1, status = 0x0000C010. 20:33:25 dispatched callback queue. So the error code 16 shows up again, but I have verified that no nodes are open: ~ me$ sudo lsof | grep disk1 ~ me$ So I'm still stumped.
|
_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/email@hidden This email sent to email@hidden
| References: | |
| >DADiskEject and Resource Busy errors (From: "Stephen F. Booth" <email@hidden>) | |
| >Re: DADiskEject and Resource Busy errors (From: Dan Markarian <email@hidden>) | |
| >Re: DADiskEject and Resource Busy errors (From: "Stephen F. Booth" <email@hidden>) | |
| >Re: DADiskEject and Resource Busy errors (From: Dan Markarian <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.