kern/104089: Fatal trap 12: page fault while in kernel mode. current process (swi4: clock sio)

Slad tempo at kgs.ru
Sat Oct 7 01:50:33 PDT 2006


>Number:         104089
>Category:       kern
>Synopsis:       Fatal trap 12: page fault while in kernel mode. current process (swi4: clock sio)
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 07 08:50:31 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Slad
>Release:        FreeBSD 6.1-STABLE
>Organization:
-
>Environment:
FreeBSD access 6.1-STABLE FreeBSD 6.1-STABLE #1: Sun Oct  1 20:29:10 KRAST 2006     root at access:/usr/src/sys/i386/compile/AccessSMP  i386

>Description:
The server periodically panics, in day on some times. Server - HP dl140g2, witch 2 cpu, 2 bge and 6 em network cards. 

kgdb:
Unread portion of the kernel message buffer:
kernel trap 12 with interrupts disabled

Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x5162fa3
fault code              = supervisor read, page not present
instruction pointer     = 0x20:0xbf530dbb
stack pointer           = 0x28:0xe50c7c5c
frame pointer           = 0x28:0xe50c7cb0
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = resume, IOPL = 0
current process         = 16 (swi4: clock sio)
trap number             = 12
panic: page fault
cpuid = 0
Uptime: 13h33m5s
Dumping 2047 MB (2 chunks)
  chunk 0: 1MB (155 pages) ... ok
  chunk 1: 2047MB (523888 pages) 2031 2015 1999 1983 1967 1951 1935 1919 1903 1887 1871 1855 1839 1823 1807 1791 1775 1759 1743 1727 1711 1695 1679 1663 1647 1631 1615 1599 1583 1567 1551 1535 1519 1503 1487 1471 1455 1439 1423 1407 1391 1375 1359 1343 1327 1311 1295 1279 1263 1247 1231 1215 1199 1183 1167 1151 1135 1119 1103 1087 1071 1055 1039 1023 1007 991 975 959 943 927 911 895 879 863 847 831 815 799 783 767 751 735 719 703 687 671 655 639 623 607 591 575 559 543 527 511 495 479 463 447 431 415 399 383 367 351 335 319 303 287 271 255 239 223 207 191 175 159 143 127 111 95 79 63 47 31 15

#0  doadump () at pcpu.h:165
165             __asm __volatile("movl %%fs:0,%0" : "=r" (td));
(kgdb) bt
#0  doadump () at pcpu.h:165
#1  0xbf5225ab in boot (howto=260) at ../../../kern/kern_shutdown.c:409
#2  0xbf5229c6 in panic (fmt=0xbf71426f "%s") at ../../../kern/kern_shutdown.c:565
#3  0xbf6eac2a in trap_fatal (frame=0xe50c7c1c, eva=0) at ../../../i386/i386/trap.c:836
#4  0xbf6ea395 in trap (frame=
      {tf_fs = -1085014008, tf_es = -1079181272, tf_ds = 40, tf_edi = -1084971871, tf_esi = 1, tf_ebp = -452166480, tf_isp = -452166584, tf_ebx = 85340059, tf_edx = -634029312, tf_ecx = -1079180256, tf_eax = 48787542, tf_trapno = 12, tf_err = 0, tf_eip = -1085076037, tf_cs = 32, tf_eflags = 65542, tf_esp = -1079186272, tf_ss = 0}) at ../../../i386/i386/trap.c:269
#5  0xbf6d2daa in calltrap () at ../../../i386/i386/exception.s:139
#6  0xbf530dbb in softclock (dummy=0x0) at ../../../kern/kern_timeout.c:219
#7  0xbf50b9c2 in ithread_execute_handlers (p=0xc62dc000, ie=0xc6347e00) at ../../../kern/kern_intr.c:682
#8  0xbf50bae5 in ithread_loop (arg=0xc62a1890) at ../../../kern/kern_intr.c:765
#9  0xbf50a909 in fork_exit (callout=0xbf50ba87 <ithread_loop>, arg=0x2e87056, frame=0x2e87056)
    at ../../../kern/kern_fork.c:805
#10 0xbf6d2e0c in fork_trampoline () at ../../../i386/i386/exception.s:208

ps -ax
  PID  TT  STAT      TIME COMMAND
    0  ??  WLs    0:00.01 [swapper]
    1  ??  SLs    0:00.05 /sbin/init --
    2  ??  DL     0:00.25 [g_event]
    3  ??  DL     0:01.14 [g_up]
    4  ??  DL     0:02.00 [g_down]
    5  ??  DL     0:00.00 [kqueue taskq]
    6  ??  DL     0:00.00 [acpi_task_0]
    7  ??  DL     0:00.00 [acpi_task_1]
    8  ??  DL     0:00.00 [acpi_task_2]
    9  ??  DL     0:00.00 [thread taskq]
   10  ??  DL     0:00.00 [ktrace]
   11  ??  RL    50:02.94 [idle: cpu3]
   12  ??  RL    48:19.50 [idle: cpu2]
   13  ??  RL    49:12.10 [idle: cpu1]
   14  ??  RL    14:56.58 [idle: cpu0]
   15  ??  RL    31:30.93 [swi1: net]
   16  ??  RL     0:12.63 [swi4: clock sio]
   17  ??  WL     0:00.00 [swi3: vm]
   18  ??  DL     0:08.21 [yarrow]
   19  ??  WL     0:00.00 [swi6: task queue]
   20  ??  WL     0:00.00 [swi6: Giant taskq]
   21  ??  WL     0:00.00 [swi5: +]
   22  ??  WL     0:00.00 [irq9: acpi0]
   23  ??  WL     0:00.00 [irq16: bge0 bge1++]
   24  ??  WL     0:00.00 [irq17: em1 em5]
   25  ??  WL     0:00.00 [irq18: em2]
   26  ??  WL     0:00.00 [irq19: em3]
   27  ??  WL     0:00.00 [irq14: ata0]
   28  ??  WL     0:00.66 [irq15: ata1]
   29  ??  WL     0:00.00 [irq1: atkbd0]
   30  ??  WL     0:00.00 [swi0: sio]
   31  ??  DL     0:00.00 [pagedaemon]
   32  ??  DL     0:00.00 [vmdaemon]
   33  ??  DL     0:03.17 [pagezero]
   34  ??  DL     0:00.01 [idlepoll]
   35  ??  DL     0:00.03 [bufdaemon]
   36  ??  DL     0:00.03 [vnlru]
   37  ??  DL     0:00.16 [syncer]
   38  ??  DL     0:00.05 [softdepflush]
  155  ??  Ss     0:00.00 adjkerntz -i
  479  ??  Ss     0:00.81 /usr/local/sbin/zebra -d
  481  ??  Ss     0:01.10 /usr/local/sbin/ospfd -d
  643  ??  Ss     0:00.00 /sbin/devd
  664  ??  DL     0:00.00 [accounting]
  683  ??  Ss     0:02.35 /usr/sbin/syslogd -ss
  749  ??  Ss     0:00.05 /usr/local/sbin/snmptrapd -t -p /var/run/snmptrapd.pid
  755  ??  S      0:03.21 /usr/local/sbin/snmpd -Lsd -p /var/run/snmpd.pid udp:1161
  778  ??  Ss     0:00.17 /usr/local/sbin/dhcpd -early_chroot -cf /usr/local/etc/dhcpd.conf -lf /var/db/dhcpd/dhcpd.leases -
  950  ??  Ss     0:00.16 /usr/sbin/ntpd -A -x -p /var/run/ntpd.pid -f /var/db/ntpd.drift
  969  ??  Ss     0:00.00 /usr/sbin/sshd
  976  ??  Ss     0:00.05 /usr/sbin/cron -s
  992  ??  Ss     0:01.38 /usr/sbin/bsnmpd -l bsnmpd
 3234  ??  Rs     4:44.82 /usr/local/sbin/mpd -b
 8154  ??  Ss     0:00.44 sshd: root at ttyp0 (sshd)
 3441  v0  Ss+    0:00.00 /usr/libexec/getty Pc ttyv0
 3442  v1  Ss+    0:00.00 /usr/libexec/getty Pc ttyv1
 3443  v2  Ss+    0:00.00 /usr/libexec/getty Pc ttyv2

loader.conf
hint.apic.0.disabled="1"
kern.maxusers="384"

sysctl.conf
kern.ipc.somaxconn=1024
kern.ipc.maxsockbuf=16777216
net.inet.ip.intr_queue_maxlen=5000
#net.inet.tcp.sendspace=1048576
net.inet.tcp.sendspace=3217968
#net.inet.tcp.recvspace=1048576
net.inet.tcp.recvspace=3217968
net.local.stream.recvspace=65536
net.local.stream.sendspace=65536
net.inet.udp.recvspace=65536
net.inet.udp.maxdgram=65536
net.inet.raw.maxdgram=65536
net.inet.raw.recvspace=65536
kern.maxfiles=65535
kern.maxfilesperproc=32000
net.inet.ip.rtmaxcache=1024
net.inet.ip.ttl=255
net.inet.icmp.icmplim=100
net.inet.icmp.drop_redirect=1
net.inet.tcp.path_mtu_discovery=0
net.inet.tcp.blackhole=2
net.inet.udp.blackhole=1
net.inet.ip.fw.one_pass=0
kern.polling.enable=1
kern.polling.user_frac=2
net.inet.ip.fastforwarding=1
machdep.hyperthreading_allowed=1
net.graph.recvspace=81920
net.graph.maxdgram=81920
net.inet.ip.stealth=1

>How-To-Repeat:
I do not know
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list