From owner-svn-src-head@freebsd.org Mon May 6 09:09:29 2019 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 32BB81583508; Mon, 6 May 2019 09:09:29 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7CEAF8ECF7; Mon, 6 May 2019 09:09:28 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from tom.home (kib@localhost [127.0.0.1]) by kib.kiev.ua (8.15.2/8.15.2) with ESMTPS id x4699KMW023956 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Mon, 6 May 2019 12:09:24 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua x4699KMW023956 Received: (from kostik@localhost) by tom.home (8.15.2/8.15.2/Submit) id x4699K8f023955; Mon, 6 May 2019 12:09:20 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Mon, 6 May 2019 12:09:20 +0300 From: Konstantin Belousov To: Peter Jeremy Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r347151 - in head: libexec/rtld-elf sys/compat/linux sys/fs/deadfs sys/fs/nfsclient sys/fs/nullfs sys/fs/unionfs sys/kern sys/sys sys/ufs/ufs sys/vm Message-ID: <20190506090920.GC2748@kib.kiev.ua> References: <201905051120.x45BKi23092719@repo.freebsd.org> <20190506085641.GA38182@server.rulingia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190506085641.GA38182@server.rulingia.com> User-Agent: Mutt/1.11.4 (2019-03-13) X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FORGED_GMAIL_RCVD,FREEMAIL_FROM, NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tom.home X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 May 2019 09:09:29 -0000 On Mon, May 06, 2019 at 06:56:41PM +1000, Peter Jeremy wrote: > On 2019-May-05 11:20:44 +0000, Konstantin Belousov wrote: > >Log: > > Switch to use shared vnode locks for text files during image activation. > > This seems to have broken diskless booting on my Rock64 (aarch64). > Reverting just this commit fixes the problem. I haven't dug into it yet. > > dwc0: link state changed to DOWN > NFS ROOT: 192.168.12.200:/tank/rock64 > dwc0: link state changed to UP > Warning: no time-of-day clock registered, system time will not be set accurately > Warning: no time-of-day clock registered, system time will not be set accurately > exclusive lock of (rw) vm object @ /usr/src/sys/fs/nfsclient/nfs_clvnops.c:3431 > while share locked from /usr/src/sys/vm/vm_map.c:521 > panic: share->excl > cpuid = 3 > time = 5 > KDB: stack backtrace: > db_trace_self() at db_trace_self_wrapper+0x28 > pc = 0xffff000000530cd4 lr = 0xffff0000000dedb8 > sp = 0xffff000056b1d360 fp = 0xffff000056b1d570 > > db_trace_self_wrapper() at vpanic+0x18c > pc = 0xffff0000000dedb8 lr = 0xffff000000275b58 > sp = 0xffff000056b1d580 fp = 0xffff000056b1d620 > > vpanic() at panic+0x44 > pc = 0xffff000000275b58 lr = 0xffff000000275920 > sp = 0xffff000056b1d630 fp = 0xffff000056b1d6b0 > > panic() at witness_checkorder+0x1c0 > pc = 0xffff000000275920 lr = 0xffff0000002d8b1c > sp = 0xffff000056b1d6c0 fp = 0xffff000056b1d730 > > witness_checkorder() at _rw_wlock_cookie+0x74 > pc = 0xffff0000002d8b1c lr = 0xffff000000270aac > sp = 0xffff000056b1d740 fp = 0xffff000056b1d760 > > _rw_wlock_cookie() at nfs_set_text+0x34 > pc = 0xffff000000270aac lr = 0xffff0000001dee30 > sp = 0xffff000056b1d770 fp = 0xffff000056b1d790 > > nfs_set_text() at vop_sigdefer+0x68 > pc = 0xffff0000001dee30 lr = 0xffff00000032b5c0 > sp = 0xffff000056b1d7a0 fp = 0xffff000056b1d7c0 > > vop_sigdefer() at VOP_SET_TEXT_APV+0xd4 > pc = 0xffff00000032b5c0 lr = 0xffff0000005665ac > sp = 0xffff000056b1d7d0 fp = 0xffff000056b1d7f0 > > VOP_SET_TEXT_APV() at vm_map_entry_set_vnode_text+0x104 > pc = 0xffff0000005665ac lr = 0xffff00000050044c > sp = 0xffff000056b1d800 fp = 0xffff000056b1d850 > > vm_map_entry_set_vnode_text() at vmspace_fork+0x998 > pc = 0xffff00000050044c lr = 0xffff000000506a94 > sp = 0xffff000056b1d860 fp = 0xffff000056b1d8b0 > > vmspace_fork() at fork1+0x498 > pc = 0xffff000000506a94 lr = 0xffff0000002362cc > sp = 0xffff000056b1d8c0 fp = 0xffff000056b1d960 > > fork1() at sys_fork+0x30 > pc = 0xffff0000002362cc lr = 0xffff000000235e10 > sp = 0xffff000056b1d970 fp = 0xffff000056b1d9b0 > > sys_fork() at do_el0_sync+0x508 > pc = 0xffff000000235e10 lr = 0xffff00000054b694 > sp = 0xffff000056b1d9c0 fp = 0xffff000056b1da70 > > do_el0_sync() at handle_el0_sync+0x84 > pc = 0xffff00000054b694 lr = 0xffff000000533200 > sp = 0xffff000056b1da80 fp = 0xffff000056b1db90 > > handle_el0_sync() at 0x221420 > pc = 0xffff000000533200 lr = 0x0000000000221420 > sp = 0xffff000056b1dba0 fp = 0x0000ffffffffe760 > > KDB: enter: panic > [ thread pid 1 tid 100002 ] > Stopped at 0x28d598: undefined 54000042 > db> This should be fixed by r347181.