Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Sep 2019 00:28:53 +0900 (JST)
From:      Masachika ISHIZUKA <ish@amail.plala.or.jp>
To:        freebsd-current@freebsd.org
Subject:   Re: panic: sleeping thread on r352386
Message-ID:  <20190918.002853.935521658808754450.ish@amail.plala.or.jp>
In-Reply-To: <20190917122430.GZ2559@kib.kiev.ua>
References:  <20190917080658.GW2559@kib.kiev.ua> <20190917101826.GJ97181@server.rulingia.com> <20190917122430.GZ2559@kib.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
>> >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.
> 
> Try this.
> 
> diff --git a/sys/fs/nfsclient/nfs_clport.c b/sys/fs/nfsclient/nfs_clport.c
> index 63ea4736707..a23b4ba4efa 100644

  Thank you for new patch.

  It seems that this patch works fine.
  I patched to r352432(src) and 'make buildkernel && make installkernel
&& reboot' on r351728(kernel)/r352432(user land). After that,
'make -j4 buildworld && make -j4 buildkernel' on r352432M(patched kernel)/
r352432(user land) with the nfs file system was done successfully.
-- 
Masachika ISHIZUKA



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190918.002853.935521658808754450.ish>