From: | Peter Avalos <pavalos@xxxxxxxxxxxx> |
Date: | Wed, 11 Jul 2007 19:20:54 -0400 |
Mail-followup-to: | bugs@crater.dragonflybsd.org |
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); > crit_enter(); > if ((howto & (RB_HALT|RB_DUMP)) == RB_DUMP && !cold) > dumpsys(); > > /* 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: Uptime: 1m13s INVOKE(shutdown_post_sync) module_shutdown INVOKE(shutdown_post_sync) ahd_shutdown INVOKE(shutdown_post_sync) ahd_shutdown INVOKE(shutdown_post_sync) dashutdown
Attachment:
pgp00014.pgp
Description: PGP signature