From owner-freebsd-current@freebsd.org Tue Sep 17 11:08:55 2019 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 61245FF520 for ; Tue, 17 Sep 2019 11:08:55 +0000 (UTC) (envelope-from ish@amail.plala.or.jp) Received: from msc13.plala.or.jp (msc13.plala.or.jp [60.36.166.23]) by mx1.freebsd.org (Postfix) with ESMTP id 46XgN50bdDz3NJy for ; Tue, 17 Sep 2019 11:08:52 +0000 (UTC) (envelope-from ish@amail.plala.or.jp) Received: from localhost ([2400:4050:9320:7a00::8]) by msc13.plala.or.jp with ESMTP id <20190917110849.WKX18269.msc13.plala.or.jp@localhost> for ; Tue, 17 Sep 2019 20:08:49 +0900 Date: Tue, 17 Sep 2019 20:08:40 +0900 (JST) Message-Id: <20190917.200840.719612001913306081.ish@amail.plala.or.jp> To: freebsd-current@freebsd.org Subject: Re: panic: sleeping thread on r352386 From: Masachika ISHIZUKA In-Reply-To: <20190917101826.GJ97181@server.rulingia.com> References: <20190917.144251.30337396601444833.ish@amail.plala.or.jp> <20190917080658.GW2559@kib.kiev.ua> <20190917101826.GJ97181@server.rulingia.com> X-Mailer: Mew version 6.8 on Emacs 26.3 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-VirusScan: Outbound; mvir-ac13; Tue, 17 Sep 2019 20:08:49 +0900 X-Rspamd-Queue-Id: 46XgN50bdDz3NJy X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of ish@amail.plala.or.jp designates 60.36.166.23 as permitted sender) smtp.mailfrom=ish@amail.plala.or.jp X-Spamd-Result: default: False [1.12 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.34)[-0.340,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:60.36.166.0/24]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.18)[-0.176,0]; DMARC_NA(0.00)[plala.or.jp]; MV_CASE(0.50)[]; MID_CONTAINS_FROM(1.00)[]; IP_SCORE(0.43)[ip: (-1.03), ipnet: 60.32.0.0/12(2.99), asn: 4713(0.23), country: JP(-0.02)]; RCVD_NO_TLS_LAST(0.10)[]; RCVD_IN_DNSWL_LOW(-0.10)[23.166.36.60.list.dnswl.org : 127.0.5.1]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:4713, ipnet:60.32.0.0/12, country:JP]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Sep 2019 11:08:55 -0000 >>Try the following change, which more accurately tries to avoid >>vnode_pager_setsize(). The real cause requires much more extensive >>changes. >> >>diff --git a/sys/fs/nfsclient/nfs_clport.c b/sys/fs/nfsclient/nfs_clport.c >>index 63ea4736707..16dc7745c77 100644 >>--- a/sys/fs/nfsclient/nfs_clport.c >>+++ b/sys/fs/nfsclient/nfs_clport.c > ... > > With that patch, I'm back to "Sleeping thread (...) owns a non-sleepable > lock" panics. Me too. I applied this patch to r352432 and rebuild/install kernel/world. As the result, 'make buildworld' stopped with a panic that "sleeping thread (...) owns a non-sleepable lock". -- Masachika ISHIZUKA