[Bug 195458] Hang on shutdown/root unmount after FreeBSD 10.1R upgrade

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Mar 10 21:12:09 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195458

--- Comment #51 from Glen Barber <gjb at 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.


More information about the freebsd-bugs mailing list