Bug 218839 - 10.3-Relese panic: double fault. pcpu.h
Summary: 10.3-Relese panic: double fault. pcpu.h
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 10.3-RELEASE
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-24 09:56 UTC by alexei
Modified: 2017-04-24 09:56 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description alexei 2017-04-24 09:56:58 UTC
I have this crash about 2 times a week.
Please help to solve the problem


> uname -a
FreeBSD *** 10.3-RELEASE FreeBSD 10.3-RELEASE #0: Thu Apr 13 13:27:33
 YEKT 2017     root@****:/usr/obj/usr/src/sys/BRDR  i386

Options kernel:

#options        INET6
options         IPFIREWALL
options         IPFIREWALL_VERBOSE
options         IPFIREWALL_DEFAULT_TO_ACCEPT
options         IPDIVERT
options         HZ=2000

device          ix

-----------------------------------------------------
Last Dump

>info.1
Dump header from device /dev/da0b
  Architecture: i386
  Architecture Version: 2
  Dump Length: 306982912B (292 MB)
  Blocksize: 512
  Dumptime: Sat Apr 22 15:10:00 2017
  Hostname: brdr.intess.ru
  Magic: FreeBSD Kernel Dump
  Version String: FreeBSD 10.3-RELEASE #0: Thu Apr 13 13:27:33 YEKT 2017
    root@***:/usr/obj/usr/src/sys/BRDR
  Panic String: double fault
  Dump Parity: 2319288419
  Bounds: 1
  Dump Status: good



>core.txt.1
panic: double fault

Unread portion of the kernel message buffer:

Fatal double fault:
eip = 0xc1034ed8
esp = 0xe3796008
ebp = 0xe3796be8
cpuid = 3; apic id = 07
panic: double fault
cpuid = 3
KDB: stack backtrace:
#0 0xc0b9ebf2 at kdb_backtrace+0x52
#1 0xc0b5ef3b at vpanic+0x11b
#2 0xc0b5ee1b at panic+0x1b
#3 0xc104abbb at dblfault_handler+0xab
Uptime: 9h48m11s
Physical memory: 3307 MB

Reading symbols from /boot/kernel/ums.ko.symbols...done.
Loaded symbols for /boot/kernel/ums.ko.symbols
#0  doadump (textdump=-943178880) at pcpu.h:233
233     pcpu.h: No such file or directory.
        in pcpu.h
(kgdb) #0  doadump (textdump=-943178880) at pcpu.h:233
#1  0xc0b5eb8d in kern_reboot (howto=260)
    at /usr/src/sys/kern/kern_shutdown.c:486
#2  0xc0b5ef79 in vpanic (fmt=<value optimized out>, ap=<value optimized out>)
    at /usr/src/sys/kern/kern_shutdown.c:889
#3  0xc0b5ee1b in panic (fmt=0xc1366a0b "double fault")
    at /usr/src/sys/kern/kern_shutdown.c:818
#4  0xc104abbb in dblfault_handler () at /usr/src/sys/i386/i386/trap.c:1052
#5  0xc1034ed8 in Xprot () at /usr/src/sys/i386/i386/exception.s:133
#6  0x00010046 in ?? ()
Previous frame inner to this frame (corrupt stack?)
Current language:  auto; currently minimal
(kgdb)

------------------------------------------------------------------------
vmstat -s

2841810946 cpu context switches
1416839412 device interrupts
  3083085 software interrupts
 12444361 traps
 28904333 system calls
       17 kernel threads created
    42316  fork() calls
     1763 vfork() calls
        0 rfork() calls
        0 swap pager pageins
        0 swap pager pages paged in
        0 swap pager pageouts
        0 swap pager pages paged out
     1161 vnode pager pageins
     7771 vnode pager pages paged in
        0 vnode pager pageouts
        0 vnode pager pages paged out
        0 page daemon wakeups
        0 pages examined by the page daemon
      421 pages reactivated
  2462810 copy-on-write faults
     3042 copy-on-write optimized faults
  6125860 zero fill pages zeroed
   203394 zero fill pages prezeroed
        1 intransit blocking page faults
 10558285 total VM faults taken
     1125 page faults requiring I/O
        0 pages affected by kernel thread creation
  1451425 pages affected by  fork()
    59937 pages affected by vfork()
        0 pages affected by rfork()
        0 pages cached
  9493383 pages freed
        0 pages freed by daemon
        0 pages freed by exiting processes
    90671 pages active
    47691 pages inactive
        0 pages in VM cache
    49815 pages wired down
   644178 pages free
     4096 bytes per page
 11309596 total name lookups
          cache hits (87% pos + 8% neg) system 0% per-directory
          deletions 0%, falsehits 0%, toolong 0%

------------------------------------------------------------------------

vmstat -i

interrupt                          total       rate
irq14: ata0                        23547        636
irq20: hpet0 uhci1              74933580    2025231
irq21: uhci0 uhci2+               240999       6513
irq256: bce0                           1          0
irq257: mpt0                       76200       2059
irq258: ix0:q0                 335682020    9072487
irq259: ix0:q1                 331254595    8952826
irq260: ix0:q2                 340059097    9190786
irq261: ix0:q3                 334569371    9042415
irq262: ix0:link                       1          0
irq271: bce1                           1          0
Total                         1416839412   38292957

------------------------------------------------------------------------

pstat -T

140/105827 files
0M/3817M swap space

------------------------------------------------------------------------
pstat -s

Device          512-blocks     Used    Avail Capacity
/dev/da0b          7817856        0  7817856     0%

------------------------------------------------------------------------

iostat

iostat: kvm_read(_tk_nin): invalid address (0x0)
iostat: disabling TTY statistics
             da0              da1              da2             cpu
  KB/t tps  MB/s   KB/t tps  MB/s   KB/t tps  MB/s  us ni sy in id
 25.83 1914 48.27   2.30   1  0.00   0.00   0  0.00   0  0  0 15 85

------------------------------------------------------------------------

> df
Filesystem 1K-blocks    Used     Avail Capacity  Mounted on
/dev/da0a  135072604 8092340 116174456     7%    /
devfs              1       1         0   100%    /dev

------------------------------------------------------------------------
With best regards,
 Alexei