Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Mar 2015 21:12:01 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 195458] Hang on shutdown/root unmount after FreeBSD 10.1R upgrade
Message-ID:  <bug-195458-8-nYXXlN0H22@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-195458-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-195458-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195458

--- Comment #51 from Glen Barber <gjb@FreeBSD.org> ---
After editing sys/kern/kern_shutdown.c to be a bit more verbose, it appears
kern_reboot() is getting stuck on line 429:

421                 if (nbusy) {
422                         /*
423                          * Failed to sync all blocks. Indicate this and
don't
424                          * unmount filesystems (thus forcing an fsck on
reboot).
425                          */
426                         printf("Giving up on %d buffers\n", nbusy);
427                         DELAY(5000000); /* 5 seconds */
428                 } else {
429                         if (!first_buf_printf)
430                                 printf("Final sync complete\n");
431                         /*
432                          * Unmount filesystems
433                          */
434                         if (panicstr == 0)
435                                 vfs_unmountall();
436                 }
437                 swapoff_all();

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-195458-8-nYXXlN0H22>