grahamperrin

VMMR0InitVM … kernel panic: fatal trap 9: general protection fault while in kernel mode

Oct 17th, 2021 (edited)
82
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.11 KB | None
  1. mowa219-gjp4-8570p-freebsd dumped core - see /var/crash/vmcore.6
  2.  
  3. Sun Oct 17 11:01:12 BST 2021
  4.  
  5. FreeBSD mowa219-gjp4-8570p-freebsd 14.0-CURRENT FreeBSD 14.0-CURRENT #112 main-n249988-2c614481fd5: Sun Oct 10 21:42:16 BST 2021 root@mowa219-gjp4-8570p-freebsd:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG amd64
  6.  
  7. panic: general protection fault
  8.  
  9. GNU gdb (GDB) 11.1 [GDB v11.1 for FreeBSD]
  10. Copyright (C) 2021 Free Software Foundation, Inc.
  11. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
  12. This is free software: you are free to change and redistribute it.
  13. There is NO WARRANTY, to the extent permitted by law.
  14. Type "show copying" and "show warranty" for details.
  15. This GDB was configured as "x86_64-portbld-freebsd14.0".
  16. Type "show configuration" for configuration details.
  17. For bug reporting instructions, please see:
  18. <https://www.gnu.org/software/gdb/bugs/>.
  19. Find the GDB manual and other documentation resources online at:
  20. <http://www.gnu.org/software/gdb/documentation/>.
  21.  
  22. For help, type "help".
  23. Type "apropos word" to search for commands related to "word"...
  24. Reading symbols from /boot/kernel/kernel...
  25. Reading symbols from /usr/lib/debug//boot/kernel/kernel.debug...
  26.  
  27. Unread portion of the kernel message buffer:
  28. VMMR0InitVM: eflags=246 fKernelFeatures=0x0 (SUPKERNELFEATURES_SMAP=0)
  29.  
  30.  
  31. Fatal trap 9: general protection fault while in kernel mode
  32. cpuid = 3; apic id = 03
  33. instruction pointer = 0x20:0xffffffff810bc0a6
  34. stack pointer = 0x28:0xfffffe00c5303ba0
  35. frame pointer = 0x28:0xfffffe00c5303ba0
  36. code segment = base 0x0, limit 0xfffff, type 0x1b
  37. = DPL 0, pres 1, long 1, def32 0, gran 1
  38. processor eflags = interrupt enabled, resume, IOPL = 0
  39. current process = 19 (arc_reap)
  40. trap number = 9
  41. panic: general protection fault
  42. cpuid = 3
  43. time = 1634464447
  44. KDB: stack backtrace:
  45. db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe00c53038a0
  46. vpanic() at vpanic+0x187/frame 0xfffffe00c5303900
  47. panic() at panic+0x43/frame 0xfffffe00c5303960
  48. trap_fatal() at trap_fatal+0x387/frame 0xfffffe00c53039c0
  49. trap() at trap+0x8b/frame 0xfffffe00c5303ad0
  50. calltrap() at calltrap+0x8/frame 0xfffffe00c5303ad0
  51. --- trap 0x9, rip = 0xffffffff810bc0a6, rsp = 0xfffffe00c5303ba0, rbp = 0xfffffe00c5303ba0 ---
  52. pmap_invalidate_all_pcid_noinvpcid_cb() at pmap_invalidate_all_pcid_noinvpcid_cb+0x36/frame 0xfffffe00c5303ba0
  53. smp_targeted_tlb_shootdown() at smp_targeted_tlb_shootdown+0x2b7/frame 0xfffffe00c5303c20
  54. pmap_invalidate_all() at pmap_invalidate_all+0x117/frame 0xfffffe00c5303c90
  55. pmap_remove() at pmap_remove+0x5ae/frame 0xfffffe00c5303d10
  56. _kmem_unback() at _kmem_unback+0x32/frame 0xfffffe00c5303d60
  57. kmem_free() at kmem_free+0x2d/frame 0xfffffe00c5303d80
  58. keg_free_slab() at keg_free_slab+0xdc/frame 0xfffffe00c5303dc0
  59. keg_drain_domain() at keg_drain_domain+0x1c1/frame 0xfffffe00c5303e00
  60. zone_reclaim() at zone_reclaim+0x1aa/frame 0xfffffe00c5303e50
  61. arc_kmem_reap_soon() at arc_kmem_reap_soon+0x61/frame 0xfffffe00c5303e80
  62. arc_reap_cb() at arc_reap_cb+0x9/frame 0xfffffe00c5303e90
  63. zthr_procedure() at zthr_procedure+0xba/frame 0xfffffe00c5303ef0
  64. fork_exit() at fork_exit+0x8a/frame 0xfffffe00c5303f30
  65. fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe00c5303f30
  66. --- trap 0x4dda280, rip = 0x100000000, rsp = 0, rbp = 0x1a99c090 ---
  67. KDB: enter: panic
  68. Uptime: 4h0m9s
  69. Dumping 2681 out of 16265 MB:..1%..11%..21%..31%..41%..51%..61%..71%..81%..91%
  70.  
  71. __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:55
  72. 55 __asm("movq %%gs:%P1,%0" : "=r" (td) : "n" (offsetof(struct pcpu,
  73. (kgdb) #0 __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:55
  74. #1 doadump (textdump=textdump@entry=1)
  75. at /usr/src/sys/kern/kern_shutdown.c:399
  76. #2 0xffffffff80c2cafb in kern_reboot (howto=260)
  77. at /usr/src/sys/kern/kern_shutdown.c:487
  78. #3 0xffffffff80c2cf76 in vpanic (fmt=0xffffffff811d2867 "%s",
  79. ap=<optimized out>) at /usr/src/sys/kern/kern_shutdown.c:920
  80. #4 0xffffffff80c2cd73 in panic (fmt=<unavailable>)
  81. at /usr/src/sys/kern/kern_shutdown.c:844
  82. #5 0xffffffff810d5e67 in trap_fatal (frame=0xfffffe00c5303ae0, eva=0)
  83. at /usr/src/sys/amd64/amd64/trap.c:946
  84. #6 0xffffffff810d535b in trap (frame=0xfffffe00c5303ae0)
  85. at /usr/src/sys/amd64/amd64/trap.c:251
  86. #7 <signal handler called>
  87. #8 load_cr4 (data=1509088) at /usr/src/sys/amd64/include/cpufunc.h:474
  88. #9 invltlb_glob () at /usr/src/sys/amd64/include/cpufunc.h:540
  89. #10 pmap_invalidate_all_pcid_cb (pmap=0xffffffff81f5bf88 <kernel_pmap_store>,
  90. invpcid_works1=false) at /usr/src/sys/amd64/amd64/pmap.c:3264
  91. #11 pmap_invalidate_all_pcid_noinvpcid_cb (
  92. pmap=0xffffffff81f5bf88 <kernel_pmap_store>)
  93. at /usr/src/sys/amd64/amd64/pmap.c:3294
  94. #12 0xffffffff810b8d47 in smp_targeted_tlb_shootdown (mask=...,
  95. pmap=pmap@entry=0xffffffff81f5bf88 <kernel_pmap_store>,
  96. addr1=addr1@entry=0, addr2=addr2@entry=0,
  97. curcpu_cb=0xffffffff810bc130 <pmap_invalidate_all_curcpu_cb>,
  98. op=<optimized out>) at /usr/src/sys/amd64/amd64/mp_machdep.c:688
  99. #13 0xffffffff810b8a85 in smp_masked_invltlb (mask=...,
  100. pmap=pmap@entry=0xffffffff81f5bf88 <kernel_pmap_store>,
  101. curcpu_cb=0x170660) at /usr/src/sys/amd64/amd64/mp_machdep.c:717
  102. #14 0xffffffff810bbf07 in pmap_invalidate_all (
  103. pmap=pmap@entry=0xffffffff81f5bf88 <kernel_pmap_store>)
  104. at /usr/src/sys/amd64/amd64/pmap.c:3333
  105. #15 0xffffffff810be98e in pmap_remove (
  106. pmap=0xffffffff81f5bf88 <kernel_pmap_store>, sva=18446741880681988096,
  107. eva=<optimized out>) at /usr/src/sys/amd64/amd64/pmap.c:6391
  108. #16 0xffffffff80f71562 in _kmem_unback (
  109. object=0xffffffff81f22610 <kernel_object_store>,
  110. addr=addr@entry=18446741880681857024, size=size@entry=131072)
  111. at /usr/src/sys/vm/vm_kern.c:583
  112. #17 0xffffffff80f7169d in kmem_free (addr=18446741880681857024, size=131072)
  113. at /usr/src/sys/vm/vm_kern.c:624
  114. #18 0xffffffff80f6a51c in keg_free_slab (keg=keg@entry=0xfffff8000de3a480,
  115. slab=<optimized out>, start=<optimized out>)
  116. at /usr/src/sys/vm/uma_core.c:1625
  117. #19 0xffffffff80f6a3b1 in keg_drain_domain (keg=keg@entry=0xfffff8000de3a480,
  118. domain=<optimized out>, domain@entry=0) at /usr/src/sys/vm/uma_core.c:1683
  119. #20 0xffffffff80f69aaa in keg_drain (keg=0xfffff8000de3a480, domain=-1)
  120. at /usr/src/sys/vm/uma_core.c:1703
  121. #21 zone_reclaim (zone=0xfffffe00db1fd800, zone@entry=0x700,
  122. domain=<optimized out>, domain@entry=-1, waitok=<optimized out>,
  123. waitok@entry=1, drain=<optimized out>) at /usr/src/sys/vm/uma_core.c:1728
  124. #22 0xffffffff80f677ff in uma_zone_reclaim_domain (zone=<optimized out>,
  125. req=<optimized out>, req@entry=1, domain=-1)
  126. at /usr/src/sys/vm/uma_core.c:5278
  127. #23 0xffffffff82397e63 in kmem_cache_reap_soon (
  128. cache=cache@entry=0xfffff8000de36880)
  129. at /usr/src/sys/contrib/openzfs/module/os/freebsd/spl/spl_kmem.c:247
  130. #24 0xffffffff823da5c1 in arc_kmem_reap_soon ()
  131. at /usr/src/sys/contrib/openzfs/module/zfs/arc.c:4822
  132. #25 0xffffffff823e2b39 in arc_reap_cb (
  133. arg=0xffffffff81f5bf88 <kernel_pmap_store>, zthr=0x0)
  134. at /usr/src/sys/contrib/openzfs/module/zfs/arc.c:4976
  135. #26 0xffffffff8255352a in zthr_procedure (arg=arg@entry=0xfffff8000ddee300)
  136. at /usr/src/sys/contrib/openzfs/module/zfs/zthr.c:245
  137. #27 0xffffffff80be880a in fork_exit (
  138. callout=0xffffffff82553470 <zthr_procedure>, arg=0xfffff8000ddee300,
  139. frame=0xfffffe00c5303f40) at /usr/src/sys/kern/kern_fork.c:1088
  140. #28 <signal handler called>
  141. #29 0x0000000100000000 in ?? ()
  142. Backtrace stopped: Cannot access memory at address 0x0
  143. (kgdb)
  144.  
  145. ------------------------------------------------------------------------
  146. ps -axlww
  147. ------------------------------------------------------------------------
  148. fstat
  149.  
  150. USER CMD PID FD MOUNT INUM MODE SZ|DV R/W
  151. grahampe VirtualBoxVM 3085 root / 4 drwxr-xr-x 37 r
  152. grahampe VirtualBoxVM 3085 wd /usr/home 16 drwxr-xr-x 204 r
  153. grahampe VirtualBoxVM 3085 text / 5038424 -r-s--x--- 32352 r
  154. grahampe VirtualBoxVM 3085 0 /dev 28 crw-rw-rw- null rw
  155. grahampe VirtualBoxVM 3085 1 /dev 28 crw-rw-rw- null rw
  156. grahampe VirtualBoxVM 3085 2 /dev 28 crw-rw-rw- null rw
  157. grahampe VirtualBoxVM 3085 3 / 35924 drwxr-xr-x 53 r
  158. grahampe VirtualBoxVM 3085 4 / 35924 drwxr-xr-x 53 r
  159. grahampe VirtualBoxVM 3085 5 / 35924 drwxr-xr-x 53 r
  160. grahampe VirtualBoxVM 3085 6 / 2849628 drwxr-xr-x 7 r
  161. grahampe VirtualBoxVM 3085 7 /dev 88 crw------- vboxdrv rw
  162. grahampe VirtualBoxVM 3085 8 /dev 7 crw-r--r-- random r
  163. grahampe VirtualBoxVM 3085 9* local stream fffff8040dda9a00 <-> fffff8005f972300
  164. grahampe VirtualBoxVM 3085 10
  165. grahampe VirtualBoxVM 3085 11
  166. grahampe VirtualBoxVM 3085 12* local stream fffff8013acc7600 <-> fffff8018a41bc00
  167. grahampe VirtualBoxVM 3085 13 /usr/home 1572872 drwx------ 4 r
  168. grahampe VirtualBoxVM 3085 14 /usr/home 1605891 -rw-r--r-- 356 r
  169. grahampe VirtualBoxVM 3085 15 /usr/home 1572872 drwx------ 4 r
  170. grahampe VirtualBoxVM 3085 16 /usr/home 1605891 -rw-r--r-- 356 r
  171. grahampe VirtualBoxVM 3085 17 /usr/home 1572872 drwx------ 4 r
  172. grahampe VirtualBoxVM 3085 18 /usr/home 1605891 -rw-r--r-- 356 r
  173. grahampe VirtualBoxVM 3085 19* local stream fffff8013acc7700 <-> fffff8013acc7000
  174. grahampe VirtualBoxVM 3085 21
  175. grahampe VirtualBoxVM 3085 22
  176. grahampe VirtualBoxVM 3085 23 /usr/home 1572872 drwx------ 4 r
  177. grahampe VirtualBoxVM 3085 24 /usr/home 1605891 -rw-r--r-- 356 r
  178. grahampe VirtualBoxVM 3085 25
  179. grahampe VirtualBoxVM 3085 26
  180. grahampe VirtualBoxVM 3085 27
  181. grahampe VirtualBoxVM 3085 28
  182. grahampe VirtualBoxVM 3085 29* pipe fffff801fe6475d0 <-> fffff801fe647730 0 rw
  183. grahampe VirtualBoxVM 3085 30* pipe fffff801fe647730 <-> fffff801fe6475d0 0 rw
  184. grahampe VirtualBoxVM 3085 31* local stream fffff8013acc7900 <-> fffff801d322ad00
  185. grahampe VirtualBoxVM 3085 32* pipe fffff8032afd18b8 <-> fffff8032afd1a18 0 rw
  186. grahampe VirtualBoxVM 3085 33 /dev 7 crw-r--r-- random r
  187. grahampe VirtualBoxVM 3085 34* pipe fffff8032afd1a18 <-> fffff8032afd18b8 0 rw
  188. grahampe VirtualBoxVM 3085 35
  189. grahampe VirtualBoxVM 3085 36
  190. grahampe VirtualBoxVM 3085 37
  191. grahampe VirtualBoxVM 3085 38
  192. grahampe VirtualBoxVM 3085 39 /Volumes/t500/VirtualBox 282 -rw------- 31074 w
  193. grahampe VirtualBoxVM 3085 40
  194. grahampe VirtualBoxVM 3085 41 /Volumes/t500/VirtualBox 197 -rw------- 4236247040 r
  195. grahampe VirtualBoxVM 3085 42 /Volumes/t500/VirtualBox 204 -rw------- 5448400896 r
  196. grahampe VirtualBoxVM 3085 43 /Volumes/t500/VirtualBox 28 -rw------- 22020096 rw
  197. grahampe VirtualBoxVM 3085 44* pipe fffff802240a68b8 <-> fffff802240a6a18 0 rw
  198. grahampe VirtualBoxVM 3085 45* pipe fffff802240a6a18 <-> fffff802240a68b8 0 rw
  199. grahampe VirtualBoxVM 3085 46 /usr/home 1628741 -rw------- 335 w
  200. grahampe kioslave5 3084 root / 4 drwxr-xr-x 37 r
  201. grahampe kioslave5 3084 wd /usr/home 16 drwxr-xr-x 204 r
  202. grahampe kioslave5 3084 text / 4555005 -rwxr-xr-x 9464 r
  203. grahampe kioslave5 3084 0* pipe fffff801ccf4d8b8 <-> fffff801ccf4da18 0 rw
  204. grahampe kioslave5 3084 1 /dev 28 crw-rw-rw- null w
  205. grahampe kioslave5 3084 2 /usr/home 27 -rw------- 3204308 w
  206. grahampe kioslave5 3084 3
  207. grahampe kioslave5 3084 4* local stream fffff801d322ae00 <-> fffff803ea7a0c00
  208. grahampe kioslave5 3084 7
  209. grahampe kioslave5 3084 8* local stream fffff8005f972a00 <-> fffff8013acc7800
  210. grahampe kioslave5 3084 12 /usr/home 1572872 drwx------ 4 r
  211. grahampe kioslave5 3084 13 /usr/home 262646 -rw-r--r-- 356 r
  212. grahampe kioslave5 3084 14 /usr/home 1572872 drwx------ 4 r
  213. grahampe kioslave5 3084 15 /usr/home 262646 -rw-r--r-- 356 r
  214. grahampe kioslave5 3084 18 /usr/home 1572872 drwx------ 4 r
  215. grahampe kioslave5 3084 19 /usr/home 1605891 -rw-r--r-- 356 r
  216. grahampe aspell 3050 root / 4 drwxr-xr-x 37 r
RAW Paste Data Copied