releng_6_2 pagefault



Hi,
I have setup RELENG_6_2 system (also check on RELENG_6).

But when packet come from net0 to net1 system do pagefault.
This is 4 core Intel Xeon. debug.mpsafenet = 0.
kernel builded with FAST_IPSEC support and isakmpd used for IKE exchange.


net image
net0 [ gif tunnel ] [ pf based router ] [ ipsec tunnel ] net1


(kgdb) symbol-file /usr/obj/usr/src/sys/ded-mazay/kernel.debug
Reading symbols from /usr/obj/usr/src/sys/ded-mazay/kernel.debug...done.
(kgdb) bt
#0 doadump () at pcpu.h:165
#1 0xc053da52 in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:409
#2 0xc053dd79 in panic (fmt=0xc06eb44b "%s") at /usr/src/sys/kern/kern_shutdown.c:565
#3 0xc06c2b9c in trap_fatal (frame=0xe35bfaf0, eva=12) at /usr/src/sys/i386/i386/trap.c:838
#4 0xc06c28db in trap_pfault (frame=0xe35bfaf0, usermode=0, eva=12) at /usr/src/sys/i386/i386/trap.c:745
#5 0xc06c252d in trap (frame=
{tf_fs = -480575480, tf_es = 40, tf_ds = -987693016, tf_edi = -987664896, tf_esi = -989560320, tf_ebp = -480511092, tf_isp = -480511204, tf_ebx = -985463040, tf_edx = 0, tf_ecx = 4, tf_eax = 0, tf_trapno = 12, tf_err = 0, tf_eip = -1067554940, tf_cs = 32, tf_eflags = 66118, tf_esp = 7, tf_ss = -985461980}) at /usr/src/sys/i386/i386/trap.c:435
#6 0xc06addca in calltrap () at /usr/src/sys/i386/i386/exception.s:139
#7 0xc05e6784 in ipsec4_process_packet (m=0x0, isr=0xc5430700, flags=1, tunalready=0) at /usr/src/sys/netipsec/ipsec_output.c:377
#8 0xc05d21db in ip_output (m=0xc5048200, opt=0x0, ro=0xe35bfbc0, flags=1, imo=0x0, inp=0x0) at /usr/src/sys/netinet/ip_output.c:628
#9 0xc05d1654 in ip_forward (m=0xc5048200, srcrt=0) at /usr/src/sys/netinet/ip_input.c:1923
#10 0xc05d00ae in ip_input (m=0xc5048200) at /usr/src/sys/netinet/ip_input.c:694
#11 0xc05b8dff in netisr_processqueue (ni=0xc0772638) at /usr/src/sys/net/netisr.c:236
#12 0xc05b8fb6 in swi_net (dummy=0x0) at /usr/src/sys/net/netisr.c:343
#13 0xc0526411 in ithread_execute_handlers (p=0xc4af5430, ie=0xc4b47b80) at /usr/src/sys/kern/kern_intr.c:682
#14 0xc052652d in ithread_loop (arg=0xc4ad88b0) at /usr/src/sys/kern/kern_intr.c:765
#15 0xc05251c5 in fork_exit (callout=0xc05264d8 <ithread_loop>, arg=0xc4ad88b0, frame=0xe35bfd38) at /usr/src/sys/kern/kern_fork.c:830
#16 0xc06ade2c in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:208
(kgdb) frame 7
#7 0xc05e6784 in ipsec4_process_packet (m=0x0, isr=0xc5430700, flags=1, tunalready=0) at /usr/src/sys/netipsec/ipsec_output.c:377
377 if (m->m_len < sizeof (struct ip) &&
(kgdb) list
372
373 /*
374 * Collect IP_DF state from the outer header.
375 */
376 if (dst->sa.sa_family == AF_INET) {
377 if (m->m_len < sizeof (struct ip) &&
378 (m = m_pullup(m, sizeof (struct ip))) == NULL) {
379 error = ENOBUFS;
380 goto bad;
381 }



after crash with disabled ipsec
# netstat -m
641/1159/1800 mbufs in use (current/cache/total)
640/684/1324/25600 mbuf clusters in use (current/cache/total/max)
640/459 mbuf+clusters out of packet secondary zone in use (current/cache)
0/0/0/0 4k (page size) jumbo clusters in use (current/cache/total/max)
0/0/0/0 9k jumbo clusters in use (current/cache/total/max)
0/0/0/0 16k jumbo clusters in use (current/cache/total/max)
1440K/1657K/3098K bytes allocated to network (current/cache/total)
0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters)
0/0/0 requests for jumbo clusters denied (4k/9k/16k)
0/5/6656 sfbufs in use (current/peak/max)
0 requests for sfbufs denied
0 requests for sfbufs delayed
0 requests for I/O initiated by sendfile
9 calls to protocol drain routines


--
Max N. Boyarov
GPG fingerprint = F6E5 A1DE 619F 72E3 3EEC 2EFF 5C95 E05C CA05 9E8F (subkeys.pgp.net)

Attachment: pgptqZZ2y1JAu.pgp
Description: PGP signature



Relevant Pages

  • [PATCH 2/5] pktcdvd documentation update
    ... * DVD-RW devices (aka an exercise in block layer masturbation) ... + * Packet writing layer for ATAPI and SCSI CD-RW, DVD+RW, DVD-RW and ... One restriction is that write requests must be aligned to ... * queue are already properly aligned and sized. ...
    (Linux-Kernel)
  • Re: HttpWebRequest never terminates
    ... Thanks for the response rick, though I think I'm not hitting those specific ... requests, on the off chance that that's not synchronized internally. ... and one server response overlaps a client ack in transit. ... send a packet which the client has already recieved. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Packet corruption in re0
    ... Subject: Packet corruption in re0 ... >>> VLAN hardware tagging is disabled on the interface. ... >> - Disable checksum offload for parent interface and check again. ... I used it, and I got no bufer space available message, I run a server with heavey http requests and named as we.. ...
    (freebsd-stable)
  • Re: Packet corruption in re0
    ... Subject: Packet corruption in re0 ... >>> VLAN hardware tagging is disabled on the interface. ... >> - Disable checksum offload for parent interface and check again. ... I used it, and I got no bufer space available message, I run a server with heavey http requests and named as we.. ...
    (freebsd-current)
  • Re: Packet corruption in re0
    ... Subject: Packet corruption in re0 ... >>> VLAN hardware tagging is disabled on the interface. ... >> - Disable checksum offload for parent interface and check again. ... I used it, and I got no bufer space available message, I run a server with heavey http requests and named as we.. ...
    (freebsd-current)