From owner-freebsd-current@FreeBSD.ORG Mon Nov 4 16:15:25 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 8BB9079 for ; Mon, 4 Nov 2013 16:15:25 +0000 (UTC) (envelope-from freebsd@allanjude.com) Received: from mx1.scaleengine.net (beauharnois2.bhs1.scaleengine.net [142.4.218.15]) by mx1.freebsd.org (Postfix) with ESMTP id 64FD9208F for ; Mon, 4 Nov 2013 16:15:24 +0000 (UTC) Received: from [10.1.1.1] (S01060001abad1dea.hm.shawcable.net [50.70.108.129]) (Authenticated sender: allan.jude@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id B48F94419E for ; Mon, 4 Nov 2013 16:15:16 +0000 (UTC) Message-ID: <5277C814.2010607@allanjude.com> Date: Mon, 04 Nov 2013 11:15:16 -0500 From: Allan Jude User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: freebsd-current@freebsd.org Subject: Re: (r257598) panic: Assertion tmp->tm_pages_used == 0 failed at /usr/src/sys/modules/tmpfs/../../fs/tmpfs/tmpfs_vfsops.c:316 References: <5277B0A5.5010506@FreeBSD.org> In-Reply-To: <5277B0A5.5010506@FreeBSD.org> X-Enigmail-Version: 1.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="BO6fwGsJ1CaTDhL7ChaLdtnQjBmsQppp6" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Mon, 04 Nov 2013 16:15:25 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --BO6fwGsJ1CaTDhL7ChaLdtnQjBmsQppp6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 2013-11-04 09:35, Bryan Drewery wrote: > 11.0-CURRENT #87 r257598 > > During a poudriere build. > > It creates a tmpfs, builds a port in a jail using that tmpfs and then > removes the tmpfs and recreate the tmpfs before building the next port.= > >> panic: Assertion tmp->tm_pages_used =3D=3D 0 failed at /usr/src/sys/mo= dules/tmpfs/../../fs/tmpfs/tmpfs_vfsops.c:316 >> cpuid =3D 9 >> KDB: stack backtrace: >> db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe12= 47ee57a0 >> kdb_backtrace() at kdb_backtrace+0x39/frame 0xfffffe1247ee5850 >> vpanic() at vpanic+0x126/frame 0xfffffe1247ee5890 >> kassert_panic() at kassert_panic+0x136/frame 0xfffffe1247ee5900 >> tmpfs_unmount() at tmpfs_unmount+0x163/frame 0xfffffe1247ee5930 >> dounmount() at dounmount+0x41f/frame 0xfffffe1247ee59b0 >> sys_unmount() at sys_unmount+0x356/frame 0xfffffe1247ee5ae0 >> amd64_syscall() at amd64_syscall+0x265/frame 0xfffffe1247ee5bf0 >> Xfast_syscall() at Xfast_syscall+0xfb/frame 0xfffffe1247ee5bf0 >> --- syscall (22, FreeBSD ELF64, sys_unmount), rip =3D 0x8008a02fa, rsp= =3D 0x7fffffffd198, rbp =3D 0x7fffffffd2b0 --- >> Uptime: 44m40s >> (kgdb) #0 doadump (textdump=3D1) at pcpu.h:219 >> #1 0xffffffff808bcf87 in kern_reboot (howto=3D260) >> at /usr/src/sys/kern/kern_shutdown.c:447 >> #2 0xffffffff808bd495 in vpanic (fmt=3D, >> ap=3D) at /usr/src/sys/kern/kern_shutdown.c:7= 54 >> #3 0xffffffff808bd326 in kassert_panic (fmt=3D) >> at /usr/src/sys/kern/kern_shutdown.c:642 >> #4 0xffffffff81e159d3 in tmpfs_unmount (mp=3D0xfffff810502cd660, >> mntflags=3D) >> at /usr/src/sys/modules/tmpfs/../../fs/tmpfs/tmpfs_vfsops.c:316 >> #5 0xffffffff8095e1af in dounmount (mp=3D0xfffff810502cd660, flags=3D= 134742016, >> td=3D0xfffff8013d57a490) at /usr/src/sys/kern/vfs_mount.c:1324 >> #6 0xffffffff8095dd66 in sys_unmount (td=3D0xfffff8013d57a490, >> uap=3D0xfffffe1247ee5b80) at /usr/src/sys/kern/vfs_mount.c:1212 >> #7 0xffffffff80cb7d75 in amd64_syscall (td=3D0xfffff8013d57a490, trac= ed=3D0) >> at subr_syscall.c:134 >> #8 0xffffffff80c9c90b in Xfast_syscall () >> at /usr/src/sys/amd64/amd64/exception.S:391 >> #9 0x00000008008a02fa in ?? () > Not sure if it is related, but I had a similar looking panic on a 10.0-BETA1 machine after doing a zfs receive: Fatal trap 12: page fault while in kernel mode cpuid =3D 5; apic id =3D 05 fault virtual address =3D 0x378 fault code =3D supervisor read data, page not present instruction pointer =3D 0x20:0xffffffff8089bf51 stack pointer =3D 0x28:0xfffffe1835d715d0 frame pointer =3D 0x28:0xfffffe1835d71650 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current process =3D 44435 (zfs) trap number =3D 12 panic: page fault cpuid =3D 5 KDB: stack backtrace: #0 0xffffffff808e7580 at kdb_backtrace+0x60 #1 0xffffffff808af065 at panic+0x155 #2 0xffffffff80c8e292 at trap_fatal+0x3a2 #3 0xffffffff80c8e569 at trap_pfault+0x2c9 #4 0xffffffff80c8dcf6 at trap+0x5e6 #5 0xffffffff80c75022 at calltrap+0x8 #6 0xffffffff8094a32b at vflush+0x48b #7 0xffffffff8189e682 at zfs_umount+0x112 #8 0xffffffff809434f5 at dounmount+0x4b5 #9 0xffffffff80943004 at sys_unmount+0x3d4 #10 0xffffffff80c8eb87 at amd64_syscall+0x357 #11 0xffffffff80c7530b at Xfast_syscall+0xfb --=20 Allan Jude --BO6fwGsJ1CaTDhL7ChaLdtnQjBmsQppp6 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (MingW32) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJSd8gbAAoJEJrBFpNRJZKfdUkP/1mbauwQzd3xjXUqy0dRSjeh sp46/SBGNn4+XVsFoBwyOu4fsLwARZt6S73GXj4t5Ct8EmPW2XLu5omViMH+uj5P Lt5jfDjDJSZ5tkvqKce0huox3JwgWFPBK9DBOvYPHPtaH0F45o2dqBm46ZlxWebs h5SmVtbJCpHR9Cr+otNyWgAGXj7TjLGyHfzHlq1O/5HXzRYjG9m99KNMFO2uU7Ij gQzXlMU5tWpXrqslXru43Cbzk1PXDvptfUrj3bhAMpQ94zFx8vnoKp/bZwHYluO0 LpsQrsPVpaFijD+J35QEQLQo5+RBY1LGkdXX7GPf2pxP0/eRpAnTnIf3UXLF7oy6 KifC1os2NZZgLQCN8FDahU02wcesdcqlgtvKZubaDo9Yat7v69eU7F10JvLi92H6 4pyTPIg7hqQVxwuIES+CFvIilMckCOWRx+WIWO9j2aE80K9fEi84KV/Mgv0rHtet ayyW2XluYnt1conNck0XieCsepLDI6/iWIsVLzTNKNZowwB5Snb1OzVBeyZibLDV VZu8grApkFc4wBWJcTIEJJjz5f/uPmTTsmKlv5f46rwyQ5UKsiwhClWKUU6z7sJQ t75+TK3CyyXPu3N8kKTTPy7HhIrscE9eiOHhjpWVBc65DZ0urmp7eDVZNEC+G3ov TVyBZ6dKgKwfRmw3inve =nciv -----END PGP SIGNATURE----- --BO6fwGsJ1CaTDhL7ChaLdtnQjBmsQppp6--