NetBSD Problem Report #52357

From clare@csel.org  Sun Jul  2 08:49:04 2017
Return-Path: <clare@csel.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id D66CD7A265
	for <gnats-bugs@gnats.NetBSD.org>; Sun,  2 Jul 2017 08:49:03 +0000 (UTC)
Message-Id: <20170702084803.BCA6250044@kanako.csel.org>
Date: Sun,  2 Jul 2017 17:48:03 +0900 (JST)
From: Shinichi Doyashiki <clare@csel.org>
Reply-To: clare@csel.org
To: gnats-bugs@NetBSD.org
Subject: LFS can sleep forever in bufdirop state
X-Send-Pr-Version: 3.95

>Number:         52357
>Category:       kern
>Synopsis:       LFS can sleep forever in bufdirop state
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          analyzed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 02 08:50:00 +0000 2017
>Closed-Date:    
>Last-Modified:  Mon Nov 13 19:25:18 +0000 2017
>Originator:     Shinichi Doyashiki
>Release:        NetBSD 8.99.1
>Organization:
	at home
>Environment:
System: NetBSD kanako.csel.org 8.99.1 NetBSD 8.99.1 (KANAKO) #8: Mon Jun 12 07:05:20 JST 2017 clare@kanako.csel.org:/export/stage/hack/sys/arch/amd64/compile/KANAKO amd64
Architecture: x86_64
Machine: amd64
>Description:
	LFS can sleep forever in bufdirop state
>How-To-Repeat:
	1. setup LFS filesystem for objdir
	2. run build.sh -j8
>Fix:
	unknown

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: kern-bug-people->maya
Responsible-Changed-By: maya@NetBSD.org
Responsible-Changed-When: Sun, 02 Jul 2017 08:58:47 +0000
Responsible-Changed-Why:
Mine


State-Changed-From-To: open->analyzed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Sun, 02 Jul 2017 08:58:47 +0000
State-Changed-Why:
I suspect the same cause as 52301, trying to lfs_writer_enter with seglock held.


From: clare@csel.org
To: gnats-bugs@NetBSD.org
Cc: gnats-admin@netbsd.org
Subject: Re: kern/52357: LFS can sleep forever in bufdirop state
Date: Sun, 2 Jul 2017 22:54:46 +0900

 DEBUG kernel may suppress the problem.
 i dont know why.

 -- 
 Shinichi Doyashiki <clare@csel.org>

Responsible-Changed-From-To: maya->kern-bug-people
Responsible-Changed-By: maya@NetBSD.org
Responsible-Changed-When: Mon, 13 Nov 2017 19:25:18 +0000
Responsible-Changed-Why:


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.