Re: Computer not shutting down
Re: Computer not shutting down
- Subject: Re: Computer not shutting down
- From: Greg <email@hidden>
- Date: Wed, 23 Jul 2008 21:22:55 -0400
On Jul 23, 2008, at 8:47 PM, Terry Lambert wrote:
If you had NMI'ed the machine and done two machine debugging, it
would have been clear from the stack traces you posted that the
unmount was blocked by the vnode being held on the device.
I did do this, however I wasn't able to get any stack trace, and
therefore wasn't able to post it to the list. It just hanged on
"continuing", and entering debug mode just showed me the stack trace
for the debug-mode thing itself. Perhaps I could have played around
with GDB more, but at the time it had not occurred to me to try to
jump to other threads (and I did not remember the commands to do that..)
Similarly, if you had provided a cut down example that reproduced
the problem, we could have done the same debugging on our own
machines, and seen that the the unmount was being blocked by the
vnode being held open on the device.
I would have provided such a thing if I knew where to even begin
looking to find one, I had no idea what was wrong.
Short of that, there's a bazillion things that could have caused the
issue, and without knowing what you were doing, it's rather
unreasonable to expect someone to pull an answer like that out of
thin air 17 hours after you posted last night, and about 8 hours
after most of us got enough caffeine in us to be able to read your
post.
Terry, I really don't think what I said was that unreasonable.. please
don't think that I'm under the impression that this mailing list
exists for people to jump at my whim and fix all my problems. I
realize that when I post here that I'm merely appealing to the kind
nature in people, who, if they choose, can help answer one of my
questions. I know that they do this at their own leaser and on their
own time, and I do not expect anything more.
When I posted my email it was out of desperation, hoping simply that
someone on the list might know what is happening when the screen says
"continuing". I did not know that a "bazillion things" happened at
that moment, so I thought I'd ask just in case. A simple reply along
those lines would have sufficed and I would have gone along my merry
way poking in the dark.
As to why vnode_lookup() is not well documented: we don't want you
doing file I/O from your KEXT.
It's fine to not want people to do file I/O from a KEXT, but if you're
going to provide the functions for doing so, at least provide a note
in the header along the lines of, "Use of these functions is strongly
discouraged because ____. Use at your own risk." Otherwise, you might
get people posting to the mailing list asking for help using them...
and that's just annoying! ;-)
- Greg
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden