Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Mar 2012 11:20:12 GMT
From:      "Andrew A. Khlebutin" <ak@dartit.ru>
To:        freebsd-net@FreeBSD.org
Subject:   Re: kern/164400: [ipsec] immediate crash after the start of ipsec processing
Message-ID:  <201203021120.q22BKCMf093134@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/164400; it has been noted by GNATS.

From: "Andrew A. Khlebutin" <ak@dartit.ru>
To: bug-followup@FreeBSD.org, eugene@zhegan.in
Cc:  
Subject: Re: kern/164400: [ipsec] immediate crash after the start of ipsec processing
Date: Fri, 2 Mar 2012 16:54:23 +0600

 Hello,
 
 I have the similar problem. 
 
 paco.zelan dumped core - see /var/crash/vmcore.3
 
 Fri Mar  2 16:26:13 YEKT 2012
 
 FreeBSD paco.zelan 9.0-RELEASE FreeBSD 9.0-RELEASE #1: Fri Mar  2 14:19:01 YEKT 2012     root@paco.zelan:/usr/obj/usr/src/sys/paco  amd64
 
 panic: page fault
 
 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 "amd64-marcel-freebsd"...
 
 Unread portion of the kernel message buffer:
 panic: page fault
 cpuid = 1
 KDB: stack backtrace:
 #0 0xffffffff80797bbe at kdb_backtrace+0x5e
 #1 0xffffffff80761f37 at panic+0x187
 #2 0xffffffff80a88250 at trap_fatal+0x290
 #3 0xffffffff80a88599 at trap_pfault+0x1f9
 #4 0xffffffff80a88a5f at trap+0x3df
 #5 0xffffffff80a72f8f at calltrap+0x8
 #6 0xffffffff8094fc31 at esp_output_cb+0x1a1
 #7 0xffffffff80968832 at crypto_done+0x102
 #8 0xffffffff8096c3e7 at swcr_process+0x1d7
 #9 0xffffffff809696bb at crypto_invoke+0x6b
 #10 0xffffffff8096a4eb at crypto_dispatch+0xfb
 #11 0xffffffff80950282 at esp_output+0x5a2
 #12 0xffffffff80940d98 at ipsec4_process_packet+0x1f8
 #13 0xffffffff808822e3 at ip_ipsec_output+0x173
 #14 0xffffffff80883ee1 at ip_output+0x541
 #15 0xffffffff8087f0e9 at icmp_reflect+0x339
 #16 0xffffffff8087f677 at icmp_input+0x257
 #17 0xffffffff80881bcd at ip_input+0x23d
 Uptime: 27m58s
 Dumping 1149 out of 8155 MB:..2%..12%..21%..31%..41%..51%..62%..72%..81%..91%
 
 Reading symbols from /boot/kernel/zfs.ko...Reading symbols from /boot/kernel/zfs.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/zfs.ko
 Reading symbols from /boot/kernel/opensolaris.ko...Reading symbols from /boot/kernel/opensolaris.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/opensolaris.ko
 Reading symbols from /boot/kernel/geom_linux_lvm.ko...Reading symbols from /boot/kernel/geom_linux_lvm.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/geom_linux_lvm.ko
 Reading symbols from /boot/kernel/ng_ubt.ko...Reading symbols from /boot/kernel/ng_ubt.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/ng_ubt.ko
 Reading symbols from /boot/kernel/ng_hci.ko...Reading symbols from /boot/kernel/ng_hci.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/ng_hci.ko
 Reading symbols from /boot/kernel/ng_bluetooth.ko...Reading symbols from /boot/kernel/ng_bluetooth.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/ng_bluetooth.ko
 Reading symbols from /boot/modules/vboxdrv.ko...done.
 Loaded symbols for /boot/modules/vboxdrv.ko
 Reading symbols from /boot/kernel/ng_socket.ko...Reading symbols from /boot/kernel/ng_socket.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/ng_socket.ko
 Reading symbols from /boot/kernel/ng_mppc.ko...Reading symbols from /boot/kernel/ng_mppc.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/ng_mppc.ko
 Reading symbols from /boot/kernel/rc4.ko...Reading symbols from /boot/kernel/rc4.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/rc4.ko
 Reading symbols from /boot/kernel/ng_iface.ko...Reading symbols from /boot/kernel/ng_iface.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/ng_iface.ko
 Reading symbols from /boot/kernel/ng_ppp.ko...Reading symbols from /boot/kernel/ng_ppp.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/ng_ppp.ko
 Reading symbols from /boot/kernel/ng_tee.ko...Reading symbols from /boot/kernel/ng_tee.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/ng_tee.ko
 Reading symbols from /boot/kernel/ng_ether.ko...Reading symbols from /boot/kernel/ng_ether.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/ng_ether.ko
 Reading symbols from /boot/kernel/ng_pppoe.ko...Reading symbols from /boot/kernel/ng_pppoe.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/ng_pppoe.ko
 Reading symbols from /boot/kernel/ng_nat.ko...Reading symbols from /boot/kernel/ng_nat.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/ng_nat.ko
 Reading symbols from /boot/kernel/ng_tcpmss.ko...Reading symbols from /boot/kernel/ng_tcpmss.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/ng_tcpmss.ko
 done.
 Loaded symbols for /boot/kernel/ng_tcpmss.ko
 #0  doadump (textdump=Variable "textdump" is not available.
 ) at pcpu.h:224
 224     pcpu.h: No such file or directory.
         in pcpu.h
 (kgdb) #0  doadump (textdump=Variable "textdump" is not available.
 ) at pcpu.h:224
 #1  0xffffffff80761a75 in kern_reboot (howto=260)
     at /usr/src/sys/kern/kern_shutdown.c:442
 #2  0xffffffff80761f21 in panic (fmt=Variable "fmt" is not available.
 )
     at /usr/src/sys/kern/kern_shutdown.c:607
 #3  0xffffffff80a88250 in trap_fatal (frame=0xc, eva=Variable "eva" is not available.
 )
     at /usr/src/sys/amd64/amd64/trap.c:819
 #4  0xffffffff80a88599 in trap_pfault (frame=0xffffff800026b2a0, usermode=0)
     at /usr/src/sys/amd64/amd64/trap.c:735
 #5  0xffffffff80a88a5f in trap (frame=0xffffff800026b2a0)
     at /usr/src/sys/amd64/amd64/trap.c:474
 #6  0xffffffff80a72f8f in calltrap ()
     at /usr/src/sys/amd64/amd64/exception.S:228
 #7  0xffffffff80940a79 in ipsec_process_done (m=0xfffffe00128b9d00,
     isr=0xfffffe00785d3b00) at /usr/src/sys/netipsec/ipsec_output.c:170
 #8  0xffffffff8094fc31 in esp_output_cb (crp=0xfffffe02055c4dc0)
     at /usr/src/sys/netipsec/xform_esp.c:1007
 #9  0xffffffff80968832 in crypto_done (crp=0xfffffe02055c4dc0)
     at /usr/src/sys/opencrypto/crypto.c:1156
 #10 0xffffffff8096c3e7 in swcr_process (dev=Variable "dev" is not available.
 )
     at /usr/src/sys/opencrypto/cryptosoft.c:1054
 #11 0xffffffff809696bb in crypto_invoke (cap=0xfffffe00051ed600,
     crp=0xfffffe02055c4dc0, hint=0) at cryptodev_if.h:53
 #12 0xffffffff8096a4eb in crypto_dispatch (crp=0xfffffe02055c4dc0)
     at /usr/src/sys/opencrypto/crypto.c:806
 #13 0xffffffff80950282 in esp_output (m=0x80, isr=0xfffffe00785d3b00, mp=Variable "mp" is not available.
 )
     at /usr/src/sys/netipsec/xform_esp.c:907
 #14 0xffffffff80940d98 in ipsec4_process_packet (m=0xfffffe00128b9d00,
     isr=0xfffffe00785d3b00, flags=Variable "flags" is not available.
 )
     at /usr/src/sys/netipsec/ipsec_output.c:580
 #15 0xffffffff808822e3 in ip_ipsec_output (m=0xffffff800026b8a8, inp=Variable "inp" is not available.
 )
     at /usr/src/sys/netinet/ip_ipsec.c:353
 #16 0xffffffff80883ee1 in ip_output (m=0xfffffe00128b9d00, opt=Variable "opt" is not available.
 )
     at /usr/src/sys/netinet/ip_output.c:480
 #17 0xffffffff8087f0e9 in icmp_reflect (m=0xfffffe00128b9d00)
     at /usr/src/sys/netinet/ip_icmp.c:886
 #18 0xffffffff8087f677 in icmp_input (m=0xfffffe00128b9d00, off=20)
     at /usr/src/sys/netinet/ip_icmp.c:571
 #19 0xffffffff80881bcd in ip_input (m=0xfffffe00128b9d00)
     at /usr/src/sys/netinet/ip_input.c:760
 #20 0xffffffff808259dd in swi_net (arg=Variable "arg" is not available.
 ) at /usr/src/sys/net/netisr.c:806
 #21 0xffffffff807388c4 in intr_event_execute_handlers (p=Variable "p" is not available.
 )
     at /usr/src/sys/kern/kern_intr.c:1257
 #22 0xffffffff8073a084 in ithread_loop (arg=0xfffffe00051c4320)
     at /usr/src/sys/kern/kern_intr.c:1270
 #23 0xffffffff80735aaf in fork_exit (
     callout=0xffffffff80739fe0 <ithread_loop>, arg=0xfffffe00051c4320,
     frame=0xffffff800026bc50) at /usr/src/sys/kern/kern_fork.c:995
 #24 0xffffffff80a734be in fork_trampoline ()
     at /usr/src/sys/amd64/amd64/exception.S:602
 #25 0x0000000000000000 in ?? ()
 #26 0x0000000000000000 in ?? ()
 #27 0x0000000000000001 in ?? ()
 #28 0x0000000000000000 in ?? ()
 #29 0x0000000000000000 in ?? ()
 #30 0x0000000000000000 in ?? ()
 #31 0x0000000000000000 in ?? ()
 #32 0x0000000000000000 in ?? ()
 #33 0x0000000000000000 in ?? ()
 #34 0x0000000000000000 in ?? ()
 #35 0x0000000000000000 in ?? ()
 #36 0x0000000000000000 in ?? ()
 #37 0x0000000000000000 in ?? ()
 #38 0x0000000000000000 in ?? ()
 #39 0x0000000000000000 in ?? ()
 #40 0x0000000000000000 in ?? ()
 #41 0x0000000000000000 in ?? ()
 #42 0x0000000000000000 in ?? ()
 #43 0x0000000000000000 in ?? ()
 #44 0x0000000000000000 in ?? ()
 #45 0x0000000000000000 in ?? ()
 #46 0x0000000000000000 in ?? ()
 #47 0x0000000000000000 in ?? ()
 #48 0x0000000000000000 in ?? ()
 #49 0xffffffff8104e340 in affinity ()
 #50 0x0000000000000000 in ?? ()
 #51 0x0000000000000000 in ?? ()
 #52 0xfffffe00051df000 in ?? ()
 #53 0xffffff800026aef0 in ?? ()
 #54 0xffffff800026ae98 in ?? ()
 #55 0xfffffe00051c9000 in ?? ()
 #56 0xffffffff8078a782 in sched_switch (td=0xffffffff80739fe0,
     newtd=0xfffffe00051c4320, flags=Variable "flags" is not available.
 ) at /usr/src/sys/kern/sched_ule.c:1848
 Previous frame inner to this frame (corrupt stack?)
 (kgdb)
 



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