[issue713] shutdown freeze and forced unmounts
pavalos at theshell.com
Wed Jul 11 16:21:47 PDT 2007
On Wed, Jul 11, 2007 at 01:54:03PM +0900, YONETANI Tomokazu wrote:
> On Tue, Jul 10, 2007 at 07:18:26PM -0400, Peter Avalos wrote:
> > Indeed, only kernel threads and init, sh, and ps, but a reboot still freezes
> > after "Uptime: xxxx"
> ... which means it's stuck at somewhere at the bottom of boot()
> in kern_shutdown.c:
> * Ok, now do things that assume all filesystem activity has
> * been completed.
> EVENTHANDLER_INVOKE(shutdown_post_sync, howto);
> if ((howto & (RB_HALT|RB_DUMP)) == RB_DUMP && !cold)
> /* Now that we're going to really halt the system... */
> EVENTHANDLER_INVOKE(shutdown_final, howto);
> for(;;) ; /* safety against shutdown_reset not working */
> /* NOTREACHED */
> At first I thought it's in cpu_reset(), but since you didn't see
> "Rebooting...", it's stuck in one of event handlers for shutdown_post_sync
> and not managed to shutdown_reset(). Please try attached patch to
> find which handler is the culprit. Note that you may have to rebuild
> modules too, since this patches makes some incompatible changes to
> EVENTHANDLER_* APIs.
So it's getting stuck in dashutdown:
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 189 bytes
Desc: "Description: PGP signature"
More information about the Bugs