site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com User-agent: Microsoft-Entourage/11.1.0.040913 Hi, Does this error I'm getting from an IOCommandGate call makes sense to anyone: IOReturn result = gate->runCommand(msgPtr, &msgSize, (void *)0, (void *)0)) result: 30593024: system: 0x0, sub: 0x74b, code: 0x1000 What's really odd is that nothing seemed to go wrong. The command went through and every else appeared to operation cleanly. I don't have any clues why result isn't coming back 0. My hunch is that the error code is bogus, like maybe the stack is off. My command handler looks something like this: void myCommandHandler( OSObject *owner, void *arg0, void *arg1, void *arg2, void *arg3 ); I use the same handler in other places without seeing this error, but in the other instances I pass 0 for all args. The function itself is pretty simple. It calls enqueue() to add data to a queue. If the args are 0 it pulls data from another queue, else it queues the data from the args. The IODataQueue enqueue() call in my command handler returns true. So I don't see an error happening there. Eric _______________________________________________ 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