[issue2039] Sometimes, DragonFly 2.9 systems can not reboot

Sepherosa Ziehau sepherosa at gmail.com
Mon Apr 11 01:51:24 PDT 2011


On Mon, Apr 11, 2011 at 4:46 PM, Sepherosa Ziehau <sepherosa at gmail.com> wrote:
> On Wed, Apr 6, 2011 at 2:16 PM, Matthew Dillon
> <dillon at 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
>>
>>    Hmm.  If the uptime is not displayed this implies that the
>>    vfs_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






More information about the Bugs mailing list