Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Mar 2008 17:32:38 +0200
From:      Alexander Shulikov <shulikov@i.ua>
To:        freebsd-ipfw@freebsd.org
Subject:   kern/121955: [ipfw] [panic] freebsd 7.0 panic with mpd
Message-ID:  <E1JeB8g-0006eu-W6@web03.mi6.kiev.ua>

next in thread | raw e-mail | index | archive | help
After I set net.isr.direct=3D0 and others:
net.inet.ip.fw.one_pass=3D0
net.inet.ip.fw.autoinc_step=3D1
net.isr.direct=3D0
net.inet.ip.intr_queue_maxlen=3D1024
net.inet.ip.dummynet.hash_size=3D256
net.inet.ip.dummynet.expire=3D0
net.inet.ip.dummynet.max_chain_len=3D64
net.graph.maxdgram=3D128000
net.graph.recvspace=3D128000
net.inet.tcp.sendspace=3D131070
net.inet.tcp.recvspace=3D131070
kern.ipc.somaxconn=3D8192
kern.ipc.maxsockbuf=3D2097152
server panic after 10-15 minutes, against 3-5.
But in kernel dump now:
Fatal trap 12: page fault while in kernel mode
cpuid =3D 0; apic id =3D 00
fault virtual address   =3D 0xe2
fault code              =3D supervisor read, page not present
instruction pointer     =3D 0x20:0xc7d1aff0
stack pointer           =3D 0x28:0xed8ccae0
frame pointer           =3D 0x28:0xed8ccbd8
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 12 (swi1: net)
trap number             =3D 12
panic: page fault
cpuid =3D 0
Uptime: 3h14m51s
Physical memory: 1015 MB
Dumping 70 MB: (CTRL-C to abort)  55 (CTRL-C to abort)  39 23 7

#0  doadump () at pcpu.h:195
195     pcpu.h: No such file or directory.
        in pcpu.h
(kgdb) backtrace
#0  doadump () at pcpu.h:195
#1  0xc05629c7 in boot (howto=3D260) at /usr/src/sys/kern/kern_shutdown.c:4=
09
#2  0xc0562c89 in panic (fmt=3DVariable "fmt" is not available.
) at /usr/src/sys/kern/kern_shutdown.c:563
#3  0xc07b4f3c in trap_fatal (frame=3D0xed8ccaa0, eva=3D226) at /usr/src/sy=
s/i386/i386/trap.c:899
#4  0xc07b51a0 in trap_pfault (frame=3D0xed8ccaa0, usermode=3D0, eva=3D226)=
 at /usr/src/sys/i386/i386/trap.c:812
#5  0xc07b5b22 in trap (frame=3D0xed8ccaa0) at /usr/src/sys/i386/i386/trap.=
c:490
#6  0xc079ccbb in calltrap () at /usr/src/sys/i386/i386/exception.s:139
#7  0xc7d1aff0 in ?? ()
Previous frame inner to this frame (corrupt stack?)

In ipfw I use tables, that then added to pipe, that configured with mask 0x=
ffffffff.
I have similar server with load much smaller under FreeBSD 7.0-RC3, but wit=
h similar configuration (used ipfw+tables+pipes, pf, mpd5), but in mpd I do=
n't using ng_car. May be using ng_car and dummynet together is corrupt?

-- =F0=E5=EA=EB=E0=EC=E0 --------------------------------------------------=
---------
=CD=E0=F3=F7=E8=EC =EA=E0=E6=E4=EE=E3=EE =E7=E0=F0=E0=E1=E0=F2=FB=E2=E0=F2=
=FC =ED=E0 =EA=EE=EB=E5=E1=E0=ED=E8=FF=F5 =EA=F3=F0=F1=EE=E2 =E2=E0=EB=FE=
=F2.
=C7=E0=EF=E8=F1=FC =ED=E0 =E1=E5=F1=EF=EB=E0=F2=ED=FB=E9 =F1=E5=EC=E8=ED=E0=
=F0 http://www.fxclub.org/condition_howtrade_freeseminar/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1JeB8g-0006eu-W6>