看板 DFBSD_bugs 關於我們 聯絡資訊
On Mon, Apr 11, 2011 at 4:46 PM, Sepherosa Ziehau <sepherosa@gmail.com> wrote: > On Wed, Apr 6, 2011 at 2:16 PM, Matthew Dillon > <dillon@apollo.backplane.com> wrote: >> :I have found a reliable way to trigger it: >> :switch to single user mode >> :mount -a >> :cd /usr/src >> :make installworld && make upgrade && reboot >> : >> :print_uptime() has not been called in my case. >> : >> :Best Regards, >> :sephe >> >> ꀠ㗎mm. 啱f the uptime is not displayed this implies that the >> ꀠ炻fs_unmountall() call is getting stuck. > > Yes, vfs_unmountall() blocks the rebooting. > > With the following patch: > http://leaf.dragonflybsd.org/~sephe/umountall_print.diff > > In single user mode: > make installworld && make upgrade && reboot > ... > ... > hammer callback start > <---------- ("nobusy callback done" is not logged, and reboot stops here) The output of df(1): http://leaf.dragonflybsd.org/~sephe/df.txt One more thing, if I run several sync(8) after installworld && upgrade, then reboot does not seem to hang. Best Regards, sephe Best Regards, sephe -- Tomorrow Will Never Die