Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Feb 2007 10:46:44 GMT
From:      Denis<den@nikopol.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   i386/108963: kernel panic on swi:net
Message-ID:  <200702091046.l19Akiov013822@www.freebsd.org>
Resent-Message-ID: <200702091050.l19AoBkk075680@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         108963
>Category:       i386
>Synopsis:       kernel panic on swi:net
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-i386
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 09 10:50:10 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Denis
>Release:        6.2-PRERELEASE CVSUpped from 6.1 RELEASE on Feb 6
>Organization:
ISP MainStream
>Environment:
FreeBSD main.nikopol.net 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #29: Wed Feb  7 10:55:22 EET 2007     den@main.nikopol.net:/usr/src/sys/i386/compile/MS  i386
>Description:
Server is using MPD authorization, ipnat address translation; serves proxy, sendmail, popa3d, BIND and MySQL daemons.
Problem begin to appear in 6.1-RELEASE with same error and after CVSup to 6.2-PRERELEASE on Feb, 6 problem doesn't solved.

Server is running on single core AMD Athlon 3500+, have two Intel Gigabit NIC's (em) and one Intel 100Mbit NIC (fxp).


Below I paste core debug information.


Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0xc
fault code              = supervisor read, page not present
instruction pointer     = 0x20:0xc055b4cc
stack pointer           = 0x28:0xe4faaa20
frame pointer           = 0x28:0xe4faaa2c
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 13 (swi1: net)
trap number             = 12
panic: page fault
Uptime: 9h24m41s
Dumping 2046 MB (2 chunks)
  chunk 0: 1MB (159 pages) ... ok
  chunk 1: 2046MB (523760 pages) 2030 2014 1998 1982 1966 1950 1934 1918 1902 1886 1870 1854 1838 1822 1
806 1790 1774 1758 1742 1726 1710 1694 1678 1662 1646 1630 1614 1598 1582 1566 1550 1534 1518 1502 1486
1470 1454 1438 1422 1406 1390 1374 1358 1342 1326 1310 1294 1278 1262 1246 1230 1214 1198 1182 1166 1150
 1134 1118 1102 1086 1070 1054 1038 1022 1006 990 974 958 942 926 910 894 878 862 846 830 814 798 782 76
6 750 734 718 702 686 670 654 638 622 606 590 574 558 542 526 510 494 478 462 446 430 414 398 382 366 35
0 334 318 302 286 270 254 238 222 206 190 174 158 142 126 110 94 78 62 46 30 14

#0  doadump () at pcpu.h:165
165             __asm __volatile("movl %%fs:0,%0" : "=r" (td));
(kgdb) list *0xc055b4cc
0xc055b4cc is in m_copydata (libkern.h:56).
51      static __inline int imax(int a, int b) { return (a > b ? a : b); }
52      static __inline int imin(int a, int b) { return (a < b ? a : b); }
53      static __inline long lmax(long a, long b) { return (a > b ? a : b); }
54      static __inline long lmin(long a, long b) { return (a < b ? a : b); }
55      static __inline u_int max(u_int a, u_int b) { return (a > b ? a : b); }
56      static __inline u_int min(u_int a, u_int b) { return (a < b ? a : b); }
57      static __inline quad_t qmax(quad_t a, quad_t b) { return (a > b ? a : b); }
58      static __inline quad_t qmin(quad_t a, quad_t b) { return (a < b ? a : b); }
59      static __inline u_long ulmax(u_long a, u_long b) { return (a > b ? a : b); }
60      static __inline u_long ulmin(u_long a, u_long b) { return (a < b ? a : b); }
(kgdb) bt
#0  doadump () at pcpu.h:165
#1  0xc0529c56 in boot (howto=260) at ../../../kern/kern_shutdown.c:409
#2  0xc0529f1c in panic (fmt=0xc06824a6 "%s") at ../../../kern/kern_shutdown.c:565
#3  0xc065bd26 in trap_fatal (frame=0xe4faa9e0, eva=12) at ../../../i386/i386/trap.c:837
#4  0xc065ba57 in trap_pfault (frame=0xe4faa9e0, usermode=0, eva=12) at ../../../i386/i386/trap.c:745
#5  0xc065b671 in trap (frame=
      {tf_fs = 8, tf_es = 40, tf_ds = 40, tf_edi = 1, tf_esi = 0, tf_ebp = -453334484, tf_isp = -4533345
16, tf_ebx = -891044160, tf_edx = 0, tf_ecx = -891044192, tf_eax = 120, tf_trapno = 12, tf_err = 0, tf_e
ip = -1068124980, tf_cs = 32, tf_eflags = 590338, tf_esp = -891044160, tf_ss = -891044147})
    at ../../../i386/i386/trap.c:435
#6  0xc064a5ea in calltrap () at ../../../i386/i386/exception.s:139
#7  0xc055b4cc in m_copydata (m=0x0, off=0, len=1,
    cp=0xcae3becd "complete.\r\n227 Entering Passive Mode (212,119,184,110,138,178).\r\n200 PORT command
 successful\r\n221 Goodbye.\r&#1047;\003") at ../../../kern/uipc_mbuf.c:543
#8  0xc044cd32 in ippr_ftp_process (fin=0xe4faab6c, nat=0xc744ac00, ftp=0xcae3be00, rv=1)
    at ip_ftp_pxy.c:1192
#9  0xc044d076 in ippr_ftp_in (fin=0xe4faab6c, aps=0x78, nat=0xc744ac00) at ip_ftp_pxy.c:1358
#10 0xc045180d in appr_check (fin=0xe4faab6c, nat=0xc744ac00)
    at ../../../contrib/ipfilter/netinet/ip_proxy.c:540
#11 0xc044a559 in fr_natin (fin=0xe4faab6c, nat=0xc744ac00, natadd=1, nflags=1)
    at ../../../contrib/ipfilter/netinet/ip_nat.c:4105
#12 0xc044a42e in fr_checknatin (fin=0xe4faab6c, passp=0xe4faab68)
    at ../../../contrib/ipfilter/netinet/ip_nat.c:4040
#13 0xc043e705 in fr_check (ip=0xc7300030, hlen=20, ifp=0x78, out=0, mp=0xe4faac54)
    at ../../../contrib/ipfilter/netinet/fil.c:2466
#14 0xc0442af2 in fr_check_wrapper (arg=0x0, mp=0x0, ifp=0xc64a9800, dir=1)
    at ../../../contrib/ipfilter/netinet/ip_fil_freebsd.c:171
#15 0xc059b4b3 in pfil_run_hooks (ph=0xc07003e0, mp=0xe4faaca8, ifp=0xc64a9800, dir=1, inp=0x0)
    at ../../../net/pfil.c:139
#16 0xc05c4bdf in ip_input (m=0xc95a7300) at ../../../netinet/ip_input.c:468
#17 0xc059a053 in netisr_processqueue (ni=0xc06ff398) at ../../../net/netisr.c:236
#18 0xc059a24e in swi_net (dummy=0x0) at ../../../net/netisr.c:349
#19 0xc0515c05 in ithread_execute_handlers (p=0xc6384648, ie=0xc63ea100)
    at ../../../kern/kern_intr.c:682
#20 0xc0515d10 in ithread_loop (arg=0xc636e6f0) at ../../../kern/kern_intr.c:765
#21 0xc0514bb4 in fork_exit (callout=0xc0515cbc <ithread_loop>, arg=0xc636e6f0, frame=0xe4faad38)
    at ../../../kern/kern_fork.c:821
#22 0xc064a64c in fork_trampoline () at ../../../i386/i386/exception.s:208
>How-To-Repeat:
Problem appear in random, so I have no clue what exactly results panic.
>Fix:

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200702091046.l19Akiov013822>