Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Mar 2007 20:58:32 +0100
From:      =?iso-8859-2?Q?S=B3awomir_Babi=F1ski_SYSINFO?= <sb@sysinfo.pl>
To:        <hackers@FreeBSD.org>
Subject:   FreeBSD panics...
Message-ID:  <000c01c76cbc$7ba87ec0$72f97c40$@pl>

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

=20

Can anyone look at this and sell any tips why my server panics?

=20

root@mercury:/root# uname -a

FreeBSD mercury.msi.pl 6.2-STABLE FreeBSD 6.2-STABLE #7: Wed Mar 21 =
19:20:18
CET 2007     root@mercury.msi.pl:/usr/obj/usr/src/sys/cobaltus  i386

=20

root@mercury:/usr/obj/usr/src/sys/cobaltus# kgdb kernel.debug
/var/crash/vmcore.0=20

kgdb: kvm_nlist(_stopped_cpus):=20

kgdb: kvm_nlist(_stoppcbs):=20

[GDB will not be able to debug user-mode threads: =
/usr/lib/libthread_db.so:
Undefined symbol "ps_pglobal_lookup"]

GNU gdb 6.1.1 [FreeBSD]

Copyright 2004 Free Software Foundation, Inc.

GDB is free software, covered by the GNU General Public License, and you =
are

welcome to change it and/or distribute copies of it under certain
conditions.

Type "show copying" to see the conditions.

There is absolutely no warranty for GDB.  Type "show warranty" for =
details.

This GDB was configured as "i386-marcel-freebsd".

=20

Unread portion of the kernel message buffer:

=20

=20

Fatal trap 12: page fault while in kernel mode

fault virtual address   =3D 0xc

fault code              =3D supervisor read, page not present

instruction pointer     =3D 0x20:0xc0743318

stack pointer           =3D 0x28:0xe2d4d998

frame pointer           =3D 0x28:0xe2d4d9b0

code segment            =3D base 0x0, limit 0xfffff, type 0x1b

                        =3D DPL 0, pres 1, def32 1, gran 1

processor eflags        =3D interrupt enabled, resume, IOPL =3D 0

current process         =3D 13 (swi1: net)

trap number             =3D 12

panic: page fault

Uptime: 1d1h9m6s

Dumping 1023 MB (2 chunks)

  chunk 0: 1MB (158 pages) ... ok

  chunk 1: 1023MB (261776 pages) 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

=20

#0  doadump () at pcpu.h:165

165             __asm __volatile("movl %%fs:0,%0" : "=3Dr" (td));

(kgdb) backtrace

#0  doadump () at pcpu.h:165

#1  0xc0703942 in boot (howto=3D260) at =
/usr/src/sys/kern/kern_shutdown.c:409

#2  0xc0703c76 in panic (fmt=3D0xc09c1368 "%s") at
/usr/src/sys/kern/kern_shutdown.c:565

#3  0xc09770cf in trap_fatal (frame=3D0xe2d4d958, eva=3D0) at
/usr/src/sys/i386/i386/trap.c:837

#4  0xc0976db4 in trap_pfault (frame=3D0xe2d4d958, usermode=3D0, =
eva=3D12) at
/usr/src/sys/i386/i386/trap.c:745

#5  0xc0976942 in trap (frame=3D

      {tf_fs =3D 8, tf_es =3D 40, tf_ds =3D 40, tf_edi =3D 1, tf_esi =3D =
0, tf_ebp =3D
-489367120, tf_isp =3D -489367164, tf_ebx =3D 66, tf_edx =3D -989675834, =
tf_ecx =3D
0, tf_eax =3D 0, tf_trapno =3D 12, tf_err =3D 0, tf_eip =3D -1066126568, =
tf_cs =3D 32,
tf_eflags =3D 590338, tf_esp =3D -996046656, tf_ss =3D -989675834}) at
/usr/src/sys/i386/i386/trap.c:435

#6  0xc09631ca in calltrap () at /usr/src/sys/i386/i386/exception.s:139

#7  0xc0743318 in m_copydata (m=3D0x0, off=3D0, len=3D1, cp=3D0xc502bf08
"essful\r\n257 \"/\" is the current directory\r\n250 CW=F3\f")

    at /usr/src/sys/kern/uipc_mbuf.c:543

#8  0xc048d71d in ippr_ftp_process (fin=3D0xe2d4db30, nat=3D0xca66e400,
ftp=3D0xc502be00, rv=3D1) at ip_ftp_pxy.c:1192

#9  0xc048db2c in ippr_ftp_in (fin=3D0xe2d4db30, aps=3D0x0, =
nat=3D0xca66e400) at
ip_ftp_pxy.c:1358

#10 0xc0492dfb in appr_check (fin=3D0xe2d4db30, nat=3D0xca66e400) at
/usr/src/sys/contrib/ipfilter/netinet/ip_proxy.c:540

#11 0xc048a8af in fr_natin (fin=3D0xe2d4db30, nat=3D0xca66e400, =
natadd=3D1,
nflags=3D1)

    at /usr/src/sys/contrib/ipfilter/netinet/ip_nat.c:4105

#12 0xc048a744 in fr_checknatin (fin=3D0xe2d4db30, passp=3D0xe2d4db2c) =
at
/usr/src/sys/contrib/ipfilter/netinet/ip_nat.c:4040

#13 0xc047c666 in fr_check (ip=3D0xc4a18820, hlen=3D20, ifp=3D0x0, =
out=3D0,
mp=3D0xe2d4dc18)

    at /usr/src/sys/contrib/ipfilter/netinet/fil.c:2466

#14 0xc0481778 in fr_check_wrapper (arg=3D0x0, mp=3D0xc502bec6, =
ifp=3D0x0, dir=3D1)

    at /usr/src/sys/contrib/ipfilter/netinet/ip_fil_freebsd.c:171

#15 0xc07932f7 in pfil_run_hooks (ph=3D0xc0ae6680, mp=3D0xe2d4dc6c,
ifp=3D0xc4524400, dir=3D1, inp=3D0x0) at /usr/src/sys/net/pfil.c:139

#16 0xc07cb6e6 in ip_input (m=3D0xc49f4e00) at
/usr/src/sys/netinet/ip_input.c:468

#17 0xc0791bc3 in netisr_processqueue (ni=3D0xc0ae57b8) at
/usr/src/sys/net/netisr.c:236

#18 0xc0791e10 in swi_net (dummy=3D0x0) at /usr/src/sys/net/netisr.c:349

#19 0xc06e8b86 in ithread_execute_handlers (p=3D0xc43a3648, =
ie=3D0xc43ee180) at
/usr/src/sys/kern/kern_intr.c:682

#20 0xc06e8cc7 in ithread_loop (arg=3D0xc436b690) at
/usr/src/sys/kern/kern_intr.c:765

#21 0xc06e77bd in fork_exit (callout=3D0xc06e8c64 <ithread_loop>, =
arg=3D0x0,
frame=3D0x0) at /usr/src/sys/kern/kern_fork.c:821

#22 0xc096322c in fork_trampoline () at
/usr/src/sys/i386/i386/exception.s:208

(kgdb) where

#0  doadump () at pcpu.h:165

#1  0xc0703942 in boot (howto=3D260) at =
/usr/src/sys/kern/kern_shutdown.c:409

#2  0xc0703c76 in panic (fmt=3D0xc09c1368 "%s") at
/usr/src/sys/kern/kern_shutdown.c:565

#3  0xc09770cf in trap_fatal (frame=3D0xe2d4d958, eva=3D0) at
/usr/src/sys/i386/i386/trap.c:837

#4  0xc0976db4 in trap_pfault (frame=3D0xe2d4d958, usermode=3D0, =
eva=3D12) at
/usr/src/sys/i386/i386/trap.c:745

#5  0xc0976942 in trap (frame=3D

      {tf_fs =3D 8, tf_es =3D 40, tf_ds =3D 40, tf_edi =3D 1, tf_esi =3D =
0, tf_ebp =3D
-489367120, tf_isp =3D -489367164, tf_ebx =3D 66, tf_edx =3D -989675834, =
tf_ecx =3D
0, tf_eax =3D 0, tf_trapno =3D 12, tf_err =3D 0, tf_eip =3D -1066126568, =
tf_cs =3D 32,
tf_eflags =3D 590338, tf_esp =3D -996046656, tf_ss =3D -989675834}) at
/usr/src/sys/i386/i386/trap.c:435

#6  0xc09631ca in calltrap () at /usr/src/sys/i386/i386/exception.s:139

#7  0xc0743318 in m_copydata (m=3D0x0, off=3D0, len=3D1, cp=3D0xc502bf08
"essful\r\n257 \"/\" is the current directory\r\n250 CW=F3\f")

    at /usr/src/sys/kern/uipc_mbuf.c:543

#8  0xc048d71d in ippr_ftp_process (fin=3D0xe2d4db30, nat=3D0xca66e400,
ftp=3D0xc502be00, rv=3D1) at ip_ftp_pxy.c:1192

#9  0xc048db2c in ippr_ftp_in (fin=3D0xe2d4db30, aps=3D0x0, =
nat=3D0xca66e400) at
ip_ftp_pxy.c:1358

#10 0xc0492dfb in appr_check (fin=3D0xe2d4db30, nat=3D0xca66e400) at
/usr/src/sys/contrib/ipfilter/netinet/ip_proxy.c:540

#11 0xc048a8af in fr_natin (fin=3D0xe2d4db30, nat=3D0xca66e400, =
natadd=3D1,
nflags=3D1)

    at /usr/src/sys/contrib/ipfilter/netinet/ip_nat.c:4105

#12 0xc048a744 in fr_checknatin (fin=3D0xe2d4db30, passp=3D0xe2d4db2c) =
at
/usr/src/sys/contrib/ipfilter/netinet/ip_nat.c:4040

#13 0xc047c666 in fr_check (ip=3D0xc4a18820, hlen=3D20, ifp=3D0x0, =
out=3D0,
mp=3D0xe2d4dc18)

    at /usr/src/sys/contrib/ipfilter/netinet/fil.c:2466

#14 0xc0481778 in fr_check_wrapper (arg=3D0x0, mp=3D0xc502bec6, =
ifp=3D0x0, dir=3D1)

    at /usr/src/sys/contrib/ipfilter/netinet/ip_fil_freebsd.c:171

#15 0xc07932f7 in pfil_run_hooks (ph=3D0xc0ae6680, mp=3D0xe2d4dc6c,
ifp=3D0xc4524400, dir=3D1, inp=3D0x0) at /usr/src/sys/net/pfil.c:139

#16 0xc07cb6e6 in ip_input (m=3D0xc49f4e00) at
/usr/src/sys/netinet/ip_input.c:468

#17 0xc0791bc3 in netisr_processqueue (ni=3D0xc0ae57b8) at
/usr/src/sys/net/netisr.c:236

#18 0xc0791e10 in swi_net (dummy=3D0x0) at /usr/src/sys/net/netisr.c:349

#19 0xc06e8b86 in ithread_execute_handlers (p=3D0xc43a3648, =
ie=3D0xc43ee180) at
/usr/src/sys/kern/kern_intr.c:682

#20 0xc06e8cc7 in ithread_loop (arg=3D0xc436b690) at
/usr/src/sys/kern/kern_intr.c:765

#21 0xc06e77bd in fork_exit (callout=3D0xc06e8c64 <ithread_loop>, =
arg=3D0x0,
frame=3D0x0) at /usr/src/sys/kern/kern_fork.c:821

#22 0xc096322c in fork_trampoline () at
/usr/src/sys/i386/i386/exception.s:208

=20

=20

Any help will be appreciated

Slawomir Babinski

=20

=20

=20




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000c01c76cbc$7ba87ec0$72f97c40$>