From owner-freebsd-bugs@FreeBSD.ORG Wed Oct 24 18:00:02 2012 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4BB89E43 for ; Wed, 24 Oct 2012 18:00:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.FreeBSD.org [8.8.178.135]) by mx1.freebsd.org (Postfix) with ESMTP id 341718FC12 for ; Wed, 24 Oct 2012 18:00:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q9OI02fR054088 for ; Wed, 24 Oct 2012 18:00:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q9OI02Ns054087; Wed, 24 Oct 2012 18:00:02 GMT (envelope-from gnats) Date: Wed, 24 Oct 2012 18:00:02 GMT Message-Id: <201210241800.q9OI02Ns054087@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Andriy Gapon Subject: Re: kern/172952: 9.1 hangs on reboot after all buffers synced X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Andriy Gapon List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Oct 2012 18:00:02 -0000 The following reply was made to PR kern/172952; it has been noted by GNATS. From: Andriy Gapon To: Per olof Ljungmark Cc: bug-followup@FreeBSD.org Subject: Re: kern/172952: 9.1 hangs on reboot after all buffers synced Date: Wed, 24 Oct 2012 20:53:37 +0300 on 24/10/2012 20:46 Per olof Ljungmark said the following: > Tracing pid 1 tid 100002 td 0xfffffe0002f80920 > sched_switch() at sched_switch+0x119 > mi_switch() at mi_switch+0x186 > sleepq_timedwait() at sleepq_timedwait+0x42 > _sleep() at _sleep+0x1c9 > zfs_zget() at zfs_zget+0x1f5 > zfs_get_data() at zfs_get_data+0x4a > zil_commit() at zil_commit+0x541 > zfs_freebsd_write() at zfs_freebsd_write+0xba0 > VOP_WRITE_APV() at VOP_WRITE_APV+0xb2 > vnode_pager_generic_putpages() at vnode_pager_generic_putpages+0x1bb > vnode_pager_putpages() at vnode_pager_putpages+0xa9 > vm_pageout_flush() at vm_pageout_flush+0xc0 > vm_object_page_collect_flush() at vm_object_page_collect_flush+0x143 > vm_object_page_clean() at vm_object_page_clean+0x143 > vm_object_terminate() at vm_object_terminate+0x215 > vnode_destroy_vobject() at vnode_destroy_vobject+0xb9 > zfs_freebsd_reclaim() at zfs_freebsd_reclaim+0x57 > vgonel() at vgonel+0x127 > vflush() at vflush+0x2bf > OK, in your case this seems to be an instance of an already known problem: http://thread.gmane.org/gmane.os.freebsd.devel.file-systems/15847/focus=16056 There is an ongoing work to fix it. I can point you to _my_ WIP patch or/and github branch, whichever is more convenient for you. There is also the Justin's patch. P.S. Others who reported the same problem: the same symptoms do not imply the same cause, so you need to repeat the debugging steps in your environment. -- Andriy Gapon