Author: Olivier Cochard-Labbé Language: text
Description: pf jail/vnet panic Timestamp: 2017-07-07 15:01:29 +0000
View raw paste Reply
  1. [root@VM1]~# jls
  2.    JID  IP Address      Hostname                      Path
  3.      1                  jail11                        /var/jails/jail11
  4. [root@VM1]~# cat /var/jails/jail11/etc/pf.conf
  5. nat on epair1b from vtnet5.1:network to any -> 2.2.2.1
  6. block
  7. pass quick on vtnet5.1 proto pfsync keep state (no-sync)
  8. pass quick on epair1b  proto carp keep state (no-sync)
  9. pass quick on vtnet5.1 proto carp keep state (no-sync)
  10. pass log from vtnet5.1:network to epair1b:network
  11. pass log from self to any
  12. [root@VM1]~# service jail stop
  13. Stopping jails: jail11Freed UMA keg (pf states) was not empty (12 items).  Lost 1 pages of memory.
  14.  
  15.  
  16. Fatal trap 12: page fault while in kernel mode
  17. cpuid = 0; apic id = 00
  18. fault virtual address   = 0x3b8
  19. fault code              = supervisor read data, page not present
  20. instruction pointer     = 0x20:0xffffffff808b3d07
  21. stack pointer           = 0x28:0xfffffe000ddca760
  22. frame pointer           = 0x28:0xfffffe000ddca7e0
  23. code segment            = base 0x0, limit 0xfffff, type 0x1b
  24.                         = DPL 0, pres 1, long 1, def32 0, gran 1
  25. processor eflags        = interrupt enabled, resume, IOPL = 0
  26. current process         = 0 (thread taskq)
  27. trap number             = 12
  28. panic: page fault
  29. cpuid = 0
  30. KDB: stack backtrace:
  31. #0 0xffffffff8090b3d7 at kdb_backtrace+0x67
  32. #1 0xffffffff808cc7d6 at vpanic+0x186
  33. #2 0xffffffff808cc643 at panic+0x43
  34. #3 0xffffffff80cbc692 at trap_fatal+0x322
  35. #4 0xffffffff80cbc6e9 at trap_pfault+0x49
  36. #5 0xffffffff80cbbf26 at trap+0x286
  37. #6 0xffffffff80ca0341 at calltrap+0x8
  38. #7 0xffffffff80b32abb at uma_zfree_arg+0x17b
  39. #8 0xffffffff82232204 at pf_free_state+0x34
  40. #9 0xffffffff82270076 at pfsync_drop+0x1d6
  41. #10 0xffffffff8226d447 at pfsync_clone_destroy+0x157
  42. #11 0xffffffff809ba59e at if_clone_destroyif+0x1be
  43. #12 0xffffffff809badd8 at if_clone_detach+0xc8
  44. #13 0xffffffff82270226 at vnet_pfsync_uninit+0x26
  45. #14 0xffffffff809ddd2c at vnet_destroy+0x13c
  46. #15 0xffffffff8089ea0f at prison_deref+0x2af
  47. #16 0xffffffff8091c1a7 at taskqueue_run_locked+0x127
  48. #17 0xffffffff8091d348 at taskqueue_thread_loop+0xc8
  49. Uptime: 50s
  50. Dumping 82 out of 224 MB:..20%..39%..59%..78%..98%
  51. Dump complete
  52. Consoles: userboot
  53.  
  54.  
  55.  
  56. (kgdb) bt
  57. #0  doadump (textdump=<value optimized out>) at pcpu.h:222
  58. #1  0xffffffff808cc351 in kern_reboot (howto=260)
  59.     at /usr/local/BSDRP/BSDRP/FreeBSD/src/sys/kern/kern_shutdown.c:366
  60. #2  0xffffffff808cc810 in vpanic (fmt=<value optimized out>,
  61.     ap=<value optimized out>)
  62.     at /usr/local/BSDRP/BSDRP/FreeBSD/src/sys/kern/kern_shutdown.c:759
  63. #3  0xffffffff808cc643 in panic (fmt=<value optimized out>)
  64.     at /usr/local/BSDRP/BSDRP/FreeBSD/src/sys/kern/kern_shutdown.c:690
  65. #4  0xffffffff80cbc692 in trap_fatal (frame=0xfffffe000ddca6a0, eva=952)
  66.     at /usr/local/BSDRP/BSDRP/FreeBSD/src/sys/amd64/amd64/trap.c:801
  67. #5  0xffffffff80cbc6e9 in trap_pfault (frame=0xfffffe000ddca6a0, usermode=0)
  68.     at pcpu.h:222
  69. #6  0xffffffff80cbbf26 in trap (frame=0xfffffe000ddca6a0)
  70.     at /usr/local/BSDRP/BSDRP/FreeBSD/src/sys/amd64/amd64/trap.c:421
  71. #7  0xffffffff80ca0341 in calltrap ()
  72.     at /usr/local/BSDRP/BSDRP/FreeBSD/src/sys/amd64/amd64/exception.S:236
  73. #8  0xffffffff808b3d07 in __mtx_lock_sleep (c=0xfffff80003e8dd98,
  74.     v=<value optimized out>, tid=18446735277668114432)
  75.     at /usr/local/BSDRP/BSDRP/FreeBSD/src/sys/kern/kern_mutex.c:538
  76. #9  0xffffffff80b32abb in uma_zfree_arg (zone=0xfffff80003e73000,
  77.     item=0xfffff80003f6a250, udata=<value optimized out>)
  78.     at /usr/local/BSDRP/BSDRP/FreeBSD/src/sys/vm/uma_core.c:2722
  79. #10 0xffffffff82232204 in pf_free_state (cur=0xfffff80003f6a250) at uma.h:364
  80. ---Type <return> to continue, or q <return> to quit---
  81. #11 0xffffffff82270076 in pfsync_drop (sc=0xfffff8000353c000) at pfvar.h:1547
  82. #12 0xffffffff8226d447 in pfsync_clone_destroy (ifp=0xfffff80003e91000)
  83.     at /usr/local/BSDRP/BSDRP/FreeBSD/src/sys/netpfil/pf/if_pfsync.c:376
  84. #13 0xffffffff809ba59e in if_clone_destroyif (ifc=0xfffff80003cbea00,
  85.     ifp=0xfffff80003e91000)
  86.     at /usr/local/BSDRP/BSDRP/FreeBSD/src/sys/net/if_clone.c:719
  87. #14 0xffffffff809badd8 in if_clone_detach (ifc=0xfffff80003cbea00)
  88.     at /usr/local/BSDRP/BSDRP/FreeBSD/src/sys/net/if_clone.c:450
  89. #15 0xffffffff82270226 in vnet_pfsync_uninit (unused=<value optimized out>)
  90.     at /usr/local/BSDRP/BSDRP/FreeBSD/src/sys/netpfil/pf/if_pfsync.c:2352
  91. #16 0xffffffff809ddd2c in vnet_destroy (vnet=0xfffff80003c8d240)
  92.     at /usr/local/BSDRP/BSDRP/FreeBSD/src/sys/net/vnet.c:596
  93. #17 0xffffffff8089ea0f in prison_deref (pr=0xffffffff818f3490, flags=20)
  94.     at /usr/local/BSDRP/BSDRP/FreeBSD/src/sys/kern/kern_jail.c:2641
  95. #18 0xffffffff8091c1a7 in taskqueue_run_locked (queue=0xfffff8000311fd00)
  96.     at /usr/local/BSDRP/BSDRP/FreeBSD/src/sys/kern/subr_taskqueue.c:454
  97. #19 0xffffffff8091d348 in taskqueue_thread_loop (arg=<value optimized out>)
  98.     at /usr/local/BSDRP/BSDRP/FreeBSD/src/sys/kern/subr_taskqueue.c:741
  99. #20 0xffffffff80897195 in fork_exit (
  100.     callout=0xffffffff8091d280 <taskqueue_thread_loop>,
  101.     arg=0xffffffff81d5acd0, frame=0xfffffe000ddcaac0)

This paste is large and only partially shown.
View full paste

View raw paste Reply