Re: (r257598) panic: Assertion tmp->tm_pages_used == 0 failed at /usr/src/sys/modules/tmpfs/../../fs/tmpfs/tmpfs_vfsops.c:316

From: Konstantin Belousov <kostikbel_at_gmail.com>
Date: Mon, 4 Nov 2013 18:27:31 +0200
On Mon, Nov 04, 2013 at 08:35:17AM -0600, 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 == 0 failed at /usr/src/sys/modules/tmpfs/../../fs/tmpfs/tmpfs_vfsops.c:316
> > cpuid = 9
> > KDB: stack backtrace:
> > db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe1247ee57a0
> > 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 = 0x8008a02fa, rsp = 0x7fffffffd198, rbp = 0x7fffffffd2b0 ---
> > Uptime: 44m40s
> 
> > (kgdb) #0  doadump (textdump=1) at pcpu.h:219
> > #1  0xffffffff808bcf87 in kern_reboot (howto=260)
> >     at /usr/src/sys/kern/kern_shutdown.c:447
> > #2  0xffffffff808bd495 in vpanic (fmt=<value optimized out>,
> >     ap=<value optimized out>) at /usr/src/sys/kern/kern_shutdown.c:754
> > #3  0xffffffff808bd326 in kassert_panic (fmt=<value optimized out>)
> >     at /usr/src/sys/kern/kern_shutdown.c:642
> > #4  0xffffffff81e159d3 in tmpfs_unmount (mp=0xfffff810502cd660,
> >     mntflags=<value optimized out>)
> >     at /usr/src/sys/modules/tmpfs/../../fs/tmpfs/tmpfs_vfsops.c:316
> > #5  0xffffffff8095e1af in dounmount (mp=0xfffff810502cd660, flags=134742016,
> >     td=0xfffff8013d57a490) at /usr/src/sys/kern/vfs_mount.c:1324
> > #6  0xffffffff8095dd66 in sys_unmount (td=0xfffff8013d57a490,
> >     uap=0xfffffe1247ee5b80) at /usr/src/sys/kern/vfs_mount.c:1212
> > #7  0xffffffff80cb7d75 in amd64_syscall (td=0xfffff8013d57a490, traced=0)
> >     at subr_syscall.c:134
> > #8  0xffffffff80c9c90b in Xfast_syscall ()
> >     at /usr/src/sys/amd64/amd64/exception.S:391
> > #9  0x00000008008a02fa in ?? ()

Do you have core ?
I want to see the struct tmpfs_mount content for the tmpfs mount point
which caused the panic.

Received on Mon Nov 04 2013 - 15:27:44 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:43 UTC