From owner-freebsd-current Tue Aug 21 4: 9:26 2001 Delivered-To: freebsd-current@freebsd.org Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by hub.freebsd.org (Postfix) with SMTP id 31DD037B410 for ; Tue, 21 Aug 2001 04:09:19 -0700 (PDT) (envelope-from iedowse@maths.tcd.ie) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 21 Aug 2001 12:09:18 +0100 (BST) To: Doug Barton Cc: freebsd-current@freebsd.org Subject: Re: Panic on 8/10 -current: sleeping process owns a mutex In-Reply-To: Your message of "Sun, 12 Aug 2001 12:38:29 PDT." <3B76DB35.DB46C32F@DougBarton.net> Date: Tue, 21 Aug 2001 12:09:16 +0100 From: Ian Dowse Message-ID: <200108211209.aa08853@salmon.maths.tcd.ie> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <3B76DB35.DB46C32F@DougBarton.net>, Doug Barton writes: >Immediately prior to the crash I was getting a lot of these on the console: > >Aug 12 01:00:52 Master /boot/kernel/kernel: >/usr/local/src/sys/kern/kern_synch.c:377: sleeping with "mountlist" locke >d from /usr/local/src/sys/kern/vfs_syscalls.c:548 This should be fixed by revision 1.198 of vfs_syscalls.c. It could only occur during unmount(), which is why it didn't show up more often: iedowse 2001/08/20 12:16:31 PDT Modified files: sys/kern vfs_syscalls.c Log: Avoid sleeping while holding a mutex in dounmount(). This problem has existed for a long time, but I made it worse a few months ago by by adding calls to VFS_ROOT() and checkdirs() in revision 1.179. Also, remove the LK_REENABLE flag in the lockmgr() call; this flag has been ignored by the lockmgr code for 4 years. This was the only remaining mention of it apart from its definition. Reviewed by: jhb Ian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message