DragonFly BSD
DragonFly bugs List (threaded) for 2011-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: [issue2039] Sometimes, DragonFly 2.9 systems can not reboot


From: Sepherosa Ziehau <sepherosa@xxxxxxxxx>
Date: Mon, 11 Apr 2011 16:51:02 +0800

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
>>
>>    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




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]