From owner-freebsd-current@freebsd.org Sat Sep 7 15:31:20 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 52D00D5426 for ; Sat, 7 Sep 2019 15:31:20 +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 46QdgW726Mz4gBf; Sat, 7 Sep 2019 15:31:19 +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 x87FV5Kn097134 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Sat, 7 Sep 2019 18:31:08 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua x87FV5Kn097134 Received: (from kostik@localhost) by tom.home (8.15.2/8.15.2/Submit) id x87FV5c0097133; Sat, 7 Sep 2019 18:31:05 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Sat, 7 Sep 2019 18:31:05 +0300 From: Konstantin Belousov To: Larry Rosenman Cc: Freebsd current Subject: Re: panic: VOP_UNSET_TEXT returned 22: on r351627 Message-ID: <20190907153105.GH2559@kib.kiev.ua> References: <5c173c656fc0c9b510e268f6ccab0a0b@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5c173c656fc0c9b510e268f6ccab0a0b@FreeBSD.org> User-Agent: Mutt/1.12.1 (2019-06-15) 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-Rspamd-Queue-Id: 46QdgW726Mz4gBf X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-6.94 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.997,0]; NEURAL_HAM_SHORT(-0.94)[-0.942,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] 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: Sat, 07 Sep 2019 15:31:20 -0000 On Sat, Sep 07, 2019 at 08:49:10AM -0500, Larry Rosenman wrote: > I got the following panic this AM during a poudriere run. > > r351627 is the revision I'm at. > > Core *IS* available. > > Ideas? It highly suspect that is should be fixed by https://reviews.freebsd.org/D21560. Slightly amused that your report comes a day after the Andrew' one. > > > > Unread portion of the kernel message buffer: > VNASSERT failed > 0xfffff809e6335960: tag tmpfs, type VREG > usecount 1, writecount 0, refcount 2 > flags (VI_ACTIVE) > v_object 0xfffff81f37227000 ref 2 pages 1063 cleanbuf 0 dirtybuf 0 > lock type tmpfs: SHARED (count 1) > tag VT_TMPFS, tmpfs_node 0xfffff803214f83a0, flags 0x0, links 1 > mode 0755, owner 65534, group 0, size 4352808, status 0x0 > > panic: VOP_UNSET_TEXT returned 22 > cpuid = 22 > time = 1567862254 > KDB: stack backtrace: > db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame > 0xfffffe01bfd618b0 > vpanic() at vpanic+0x19d/frame 0xfffffe01bfd61900 > panic() at panic+0x43/frame 0xfffffe01bfd61960 > vm_map_entry_set_vnode_text() at vm_map_entry_set_vnode_text+0x275/frame > 0xfffffe01bfd619b0 > vm_map_process_deferred() at vm_map_process_deferred+0x70/frame > 0xfffffe01bfd619d0 > vm_map_remove() at vm_map_remove+0xc6/frame 0xfffffe01bfd61a00 > vmspace_exit() at vmspace_exit+0xd8/frame 0xfffffe01bfd61a40 > exit1() at exit1+0x57d/frame 0xfffffe01bfd61ab0 > sys_sys_exit() at sys_sys_exit+0xd/frame 0xfffffe01bfd61ac0 > amd64_syscall() at amd64_syscall+0x29f/frame 0xfffffe01bfd61bf0 > fast_syscall_common() at fast_syscall_common+0x101/frame > 0xfffffe01bfd61bf0 > --- syscall (1, FreeBSD ELF64, sys_sys_exit), rip = 0x8008326aa, rsp = > 0x7fffffffe1b8, rbp = 0x7fffffffe1d0 --- > Uptime: 7d15h33m31s > Dumping 23246 out of 131027 > MB:..1%..11%..21%..31%..41%..51%..61%..71%..81%..91% > > __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:55 > 55 __asm("movq %%gs:%P1,%0" : "=r" (td) : "n" (offsetof(struct pcpu, > (kgdb) #0 __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:55 > #1 doadump (textdump=1) at /usr/src/sys/kern/kern_shutdown.c:392 > #2 0xffffffff804bcf60 in kern_reboot (howto=260) > at /usr/src/sys/kern/kern_shutdown.c:479 > #3 0xffffffff804bd3d9 in vpanic (fmt=, ap= out>) > at /usr/src/sys/kern/kern_shutdown.c:905 > #4 0xffffffff804bd113 in panic (fmt=) > at /usr/src/sys/kern/kern_shutdown.c:832 > #5 0xffffffff807644e5 in vm_map_entry_set_vnode_text (entry= out>, > add=) at /usr/src/sys/vm/vm_map.c:557 > #6 0xffffffff807645a0 in vm_map_process_deferred () > at /usr/src/sys/vm/vm_map.c:593 > #7 0xffffffff8076a1b6 in _vm_map_unlock (map=, > file=, line=3653) at /usr/src/sys/vm/vm_map.c:607 > #8 vm_map_remove (map=, start=4096, end=140737488355328) > at /usr/src/sys/vm/vm_map.c:3653 > #9 0xffffffff80764118 in vmspace_dofree (vm=) > at /usr/src/sys/vm/vm_map.c:335 > #10 vmspace_exit (td=0xfffff8016632c000) at /usr/src/sys/vm/vm_map.c:416 > #11 0xffffffff8047d27d in exit1 (td=0xfffff8016632c000, rval= out>, > signo=0) at /usr/src/sys/kern/kern_exit.c:416 > #12 0xffffffff8047ccfd in sys_sys_exit (td=, uap= out>) > at /usr/src/sys/kern/kern_exit.c:195 > #13 0xffffffff807f13df in syscallenter (td=0xfffff8016632c000) > at /usr/src/sys/amd64/amd64/../../kern/subr_syscall.c:144 > #14 amd64_syscall (td=0xfffff8016632c000, traced=0) > at /usr/src/sys/amd64/amd64/trap.c:1180 > #15 > #16 0x00000008008326aa in ?? () > Backtrace stopped: Cannot access memory at address 0x7fffffffe1b8 > (kgdb) > > -- > Larry Rosenman http://people.freebsd.org/~ler > Phone: +1 214-642-9640 E-Mail: ler@FreeBSD.org > US Mail: 5708 Sabbia Dr, Round Rock, TX 78665-2106 >