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

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Mar 11 03:15:07 UTC 2015


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

--- Comment #52 from Glen Barber <gjb at FreeBSD.org> ---
(In reply to Glen Barber from comment #51)
> 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();

After looking further, it appears to make it through the if/else to at least
line 436, and swapoff_all() is triggered.  So, still looking...

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


More information about the freebsd-bugs mailing list