From owner-freebsd-amd64@FreeBSD.ORG Mon Aug 27 04:20:03 2012 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8F8A6106566B for ; Mon, 27 Aug 2012 04:20:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 670B48FC14 for ; Mon, 27 Aug 2012 04:20:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q7R4K3CO024787 for ; Mon, 27 Aug 2012 04:20:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q7R4K3lP024786; Mon, 27 Aug 2012 04:20:03 GMT (envelope-from gnats) Resent-Date: Mon, 27 Aug 2012 04:20:03 GMT Resent-Message-Id: <201208270420.q7R4K3lP024786@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-amd64@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Ivan Goryushkin Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0D4D8106566B for ; Mon, 27 Aug 2012 04:12:38 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id E20A08FC12 for ; Mon, 27 Aug 2012 04:12:37 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q7R4CbPs014822 for ; Mon, 27 Aug 2012 04:12:37 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q7R4CbmK014821; Mon, 27 Aug 2012 04:12:37 GMT (envelope-from nobody) Message-Id: <201208270412.q7R4CbmK014821@red.freebsd.org> Date: Mon, 27 Aug 2012 04:12:37 GMT From: Ivan Goryushkin To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 X-Mailman-Approved-At: Mon, 27 Aug 2012 11:18:37 +0000 Cc: Subject: amd64/171108: Kernel panic X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Aug 2012 04:20:03 -0000 >Number: 171108 >Category: amd64 >Synopsis: Kernel panic >Confidential: no >Severity: critical >Priority: low >Responsible: freebsd-amd64 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Aug 27 04:20:02 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Ivan Goryushkin >Release: 8.3-RELEASE-p4 >Organization: >Environment: FreeBSD 8.3-RELEASE-p4 FreeBSD 8.3-RELEASE-p4 #2: Fri Aug 24 21:36:24 NOVT 2012 animage@:/usr/obj/usr/src/sys/ANIMAGE_IPFW amd64 >Description: IPFW config: 00100 allow ip from me to 10.0.0.1 00110 allow ip from 10.0.0.1 to me 00120 allow ip from any to me dst-port 22,443,80 00130 allow udp from me 53,67,68 to any 00140 allow ip from 10.10.10.0/24 to 10.10.10.0/24 00150 allow ip from 10.0.0.0/16 to me 00160 allow ip from me to 10.0.0.0/16 00500 allow ip from any to any via lo0 01000 skipto 21000 ip from 10.0.0.0/22 to any via vlan5 in not tagged 1 01010 skipto 21000 ip from 10.0.4.0/24 to any via vlan6 in not tagged 1 01100 skipto 22000 ip from any to 10.0.0.0/22 via vlan5 out not tagged 1 01110 skipto 22000 ip from any to 10.0.4.0/24 via vlan6 out not tagged 1 03000 nat tablearg ip from table(20) to any 03010 nat 1 ip from any to 1.1.1.1 03020 fwd 10.254.254.1 ip from 1.1.1.1 to any 03030 nat 2 ip from any to 2.2.2.2 03040 fwd 2.2.2.1 ip from 2.2.2.2 to any 03050 nat 3 ip from any to 3.3.3.3 03060 fwd 10.254.254.2 ip from 3.3.3.3 to any 03070 nat 4 ip from any to 4.4.4.4 03080 fwd 10.254.254.3 ip from 4.4.4.4 to any 05000 allow ip from any to any 21000 count tag 1 ip from any to any // IN SECTION 21780 queue tablearg ip from table(31) to any 21790 allow ip from table(30) to any 21800 deny ip from any to any 22000 count tag 1 ip from any to any // OUT SECTION 22780 queue tablearg ip from any to table(32) 22790 allow ip from any to table(30) 22800 deny ip from any to any 65535 allow ip from any to any KGDB output This GDB was configured as "amd64-marcel-freebsd"... Unread portion of the kernel message buffer: Fatal double fault rip = 0xffffffff8073b772 rsp = 0xffffff8231ee1000 rbp = 0xffffff8231ee1160 cpuid = 1; apic id = 02 panic: double fault cpuid = 1 KDB: stack backtrace: #0 0xffffffff8064102e at kdb_backtrace+0x5e #1 0xffffffff8060e247 at panic+0x187 #2 0xffffffff80936e76 at dblfault_handler+0x96 #3 0xffffffff8091eefd at Xdblfault+0xad Uptime: 4m56s Dumping 2410 out of 7894 MB:..1%..11%..21%..31%..41%..51%..61%..71%..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/ke rnel/opensolaris.ko.symbols...done. done. Loaded symbols for /boot/kernel/opensolaris.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 #0 doadump () at pcpu.h:224 224 __asm("movq %%gs:0,%0" : "=r" (td)); (kgdb) list *0xffffffff8073b772 0xffffffff8073b772 is in ipfw_chk (/usr/src/sys/netinet/ipfw/ip_fw2.c:1168). 1163 args->f_id.proto = proto; 1164 args->f_id.src_port = src_port = ntohs(src_port); 1165 args->f_id.dst_port = dst_port = ntohs(dst_port); 1166 } 1167 1168 IPFW_RLOCK(chain); 1169 if (! V_ipfw_vnet_ready) { /* shutting down, leave NOW. */ 1170 IPFW_RUNLOCK(chain); 1171 return (IP_FW_PASS); /* accept */ 1172 } (kgdb) backtrace #0 doadump () at pcpu.h:224 #1 0xffffffff8060dd90 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:441 #2 0xffffffff8060e231 in panic (fmt=Variable "fmt" is not available. ) at /usr/src/sys/kern/kern_shutdown.c:614 #3 0xffffffff80936e76 in dblfault_handler (frame=Variable "frame" is not available. ) at /usr/src/sys/amd64/amd64/trap.c:852 #4 0xffffffff8091eefd in Xdblfault () at /usr/src/sys/amd64/amd64/exception.S:284 #5 0xffffffff8073b772 in ipfw_chk (args=0xffffff8231ee1190) at /usr/src/sys/netinet/ipfw/ip_fw2.c:1168 #6 0xffffffff8074161a in ipfw_check_hook (arg=Variable "arg" is not available. ) at /usr/src/sys/netinet/ipfw/ip_fw_pfil.c:137 #7 0xffffffff806ca55c in pfil_run_hooks (ph=Variable "ph" is not available. ) at /usr/src/sys/net/pfil.c:82 #8 0xffffffff8074a34a in ip_output (m=0xffffff019e941b00, opt=Variable "opt" is not available. ) at /usr/src/sys/netinet/ip_output.c:511 #9 0xffffffff807b8236 in tcp_output (tp=0xffffff02199b8760) at /usr/src/sys/netinet/tcp_output.c:1230 #10 0xffffffff807bbc7f in tcp_mtudisc (inp=0xffffff0219a89bd0, errno=Variable "errno" is not available. ) at tcp_offload.h:282 #11 0xffffffff807b912c in tcp_output (tp=0xffffff02199b8760) at /usr/src/sys/netinet/tcp_output.c:1291 #12 0xffffffff807bbc7f in tcp_mtudisc (inp=0xffffff0219a89bd0, errno=Variable "errno" is not available. ) at tcp_offload.h:282 ---Type to continue, or q to quit--- #13 0xffffffff807b912c in tcp_output (tp=0xffffff02199b8760) at /usr/src/sys/netinet/tcp_output.c:1291 #14 0xffffffff807bbc7f in tcp_mtudisc (inp=0xffffff0219a89bd0, errno=Variable "errno" is not available. ) at tcp_offload.h:282 #15 0xffffffff807b912c in tcp_output (tp=0xffffff02199b8760) at /usr/src/sys/netinet/tcp_output.c:1291 #16 0xffffffff807bbc7f in tcp_mtudisc (inp=0xffffff0219a89bd0, errno=Variable "errno" is not available. ) at tcp_offload.h:282 #17 0xffffffff807b912c in tcp_output (tp=0xffffff02199b8760) at /usr/src/sys/netinet/tcp_output.c:1291 #18 0xffffffff807bbc7f in tcp_mtudisc (inp=0xffffff0219a89bd0, errno=Variable "errno" is not available. ) at tcp_offload.h:282 #19 0xffffffff807b912c in tcp_output (tp=0xffffff02199b8760) at /usr/src/sys/netinet/tcp_output.c:1291 #20 0xffffffff807bbc7f in tcp_mtudisc (inp=0xffffff0219a89bd0, errno=Variable "errno" is not available. ) at tcp_offload.h:282 #21 0xffffffff807b912c in tcp_output (tp=0xffffff02199b8760) at /usr/src/sys/netinet/tcp_output.c:1291 #22 0xffffffff807bbc7f in tcp_mtudisc (inp=0xffffff0219a89bd0, errno=Variable "errno" is not available. ) at tcp_offload.h:282 #23 0xffffffff807b912c in tcp_output (tp=0xffffff02199b8760) at /usr/src/sys/netinet/tcp_output.c:1291 #24 0xffffffff807bbc7f in tcp_mtudisc (inp=0xffffff0219a89bd0, errno=Variable "errno" is not available. ) ---Type to continue, or q to quit--- at tcp_offload.h:282 #25 0xffffffff807b912c in tcp_output (tp=0xffffff02199b8760) at /usr/src/sys/netinet/tcp_output.c:1291 #26 0xffffffff807bbc7f in tcp_mtudisc (inp=0xffffff0219a89bd0, errno=Variable "errno" is not available. ) at tcp_offload.h:282 #27 0xffffffff807b912c in tcp_output (tp=0xffffff02199b8760) at /usr/src/sys/netinet/tcp_output.c:1291 #28 0xffffffff807bbc7f in tcp_mtudisc (inp=0xffffff0219a89bd0, errno=Variable "errno" is not available. ) at tcp_offload.h:282 #29 0xffffffff807b912c in tcp_output (tp=0xffffff02199b8760) at /usr/src/sys/netinet/tcp_output.c:1291 #30 0xffffffff807bbc7f in tcp_mtudisc (inp=0xffffff0219a89bd0, errno=Variable "errno" is not available. ) at tcp_offload.h:282 #31 0xffffffff807b912c in tcp_output (tp=0xffffff02199b8760) at /usr/src/sys/netinet/tcp_output.c:1291 #32 0xffffffff807bbc7f in tcp_mtudisc (inp=0xffffff0219a89bd0, errno=Variable "errno" is not available. ) at tcp_offload.h:282 #33 0xffffffff807b912c in tcp_output (tp=0xffffff02199b8760) at /usr/src/sys/netinet/tcp_output.c:1291 #34 0xffffffff807bbc7f in tcp_mtudisc (inp=0xffffff0219a89bd0, errno=Variable "errno" is not available. ) at tcp_offload.h:282 #35 0xffffffff807b912c in tcp_output (tp=0xffffff02199b8760) at /usr/src/sys/netinet/tcp_output.c:1291 ---Type to continue, or q to quit--- #36 0xffffffff807bbc7f in tcp_mtudisc (inp=0xffffff0219a89bd0, errno=Variable "errno" is not available. ) at tcp_offload.h:282 #37 0xffffffff807b912c in tcp_output (tp=0xffffff02199b8760) at /usr/src/sys/netinet/tcp_output.c:1291 #38 0xffffffff807bbc7f in tcp_mtudisc (inp=0xffffff0219a89bd0, errno=Variable "errno" is not available. ) at tcp_offload.h:282 #39 0xffffffff807b912c in tcp_output (tp=0xffffff02199b8760) at /usr/src/sys/netinet/tcp_output.c:1291 #40 0xffffffff807bbc7f in tcp_mtudisc (inp=0xffffff0219a89bd0, errno=Variable "errno" is not available. ) at tcp_offload.h:282 #41 0xffffffff807b912c in tcp_output (tp=0xffffff02199b8760) at /usr/src/sys/netinet/tcp_output.c:1291 #42 0xffffffff807bbc7f in tcp_mtudisc (inp=0xffffff0219a89bd0, errno=Variable "errno" is not available. ) at tcp_offload.h:282 #43 0xffffffff807b912c in tcp_output (tp=0xffffff02199b8760) at /usr/src/sys/netinet/tcp_output.c:1291 #44 0xffffffff807bbc7f in tcp_mtudisc (inp=0xffffff0219a89bd0, errno=Variable "errno" is not available. ) at tcp_offload.h:282 #45 0xffffffff807b912c in tcp_output (tp=0xffffff02199b8760) at /usr/src/sys/netinet/tcp_output.c:1291 #46 0xffffffff807bbc7f in tcp_mtudisc (inp=0xffffff0219a89bd0, errno=Variable "errno" is not available. ) at tcp_offload.h:282 #47 0xffffffff807b912c in tcp_output (tp=0xffffff02199b8760) ---Type to continue, or q to quit--- at /usr/src/sys/netinet/tcp_output.c:1291 #48 0xffffffff807bbc7f in tcp_mtudisc (inp=0xffffff0219a89bd0, errno=Variable "errno" is not available. ) at tcp_offload.h:282 #49 0xffffffff807b912c in tcp_output (tp=0xffffff02199b8760) at /usr/src/sys/netinet/tcp_output.c:1291 #50 0xffffffff807bbc7f in tcp_mtudisc (inp=0xffffff0219a89bd0, errno=Variable "errno" is not available. ) at tcp_offload.h:282 #51 0xffffffff807b912c in tcp_output (tp=0xffffff02199b8760) at /usr/src/sys/netinet/tcp_output.c:1291 #52 0xffffffff807bbc7f in tcp_mtudisc (inp=0xffffff0219a89bd0, errno=Variable "errno" is not available. ) at tcp_offload.h:282 #53 0xffffffff807b912c in tcp_output (tp=0xffffff02199b8760) at /usr/src/sys/netinet/tcp_output.c:1291 #54 0xffffffff807bbc7f in tcp_mtudisc (inp=0xffffff0219a89bd0, errno=Variable "errno" is not available. ) at tcp_offload.h:282 #55 0xffffffff807b912c in tcp_output (tp=0xffffff02199b8760) at /usr/src/sys/netinet/tcp_output.c:1291 #56 0xffffffff807bbc7f in tcp_mtudisc (inp=0xffffff0219a89bd0, errno=Variable "errno" is not available. ) at tcp_offload.h:282 #57 0xffffffff807b912c in tcp_output (tp=0xffffff02199b8760) at /usr/src/sys/netinet/tcp_output.c:1291 #58 0xffffffff807bbc7f in tcp_mtudisc (inp=0xffffff0219a89bd0, errno=Variable "errno" is not available. ) at tcp_offload.h:282 ---Type to continue, or q to quit--- #59 0xffffffff807b912c in tcp_output (tp=0xffffff02199b8760) at /usr/src/sys/netinet/tcp_output.c:1291 #60 0xffffffff807bbc7f in tcp_mtudisc (inp=0xffffff0219a89bd0, errno=Variable "errno" is not available. ) at tcp_offload.h:282 #61 0xffffffff807b912c in tcp_output (tp=0xffffff02199b8760) at /usr/src/sys/netinet/tcp_output.c:1291 #62 0xffffffff807bbc7f in tcp_mtudisc (inp=0xffffff0219a89bd0, errno=Variable "errno" is not available. ) at tcp_offload.h:282 #63 0xffffffff807b912c in tcp_output (tp=0xffffff02199b8760) at /usr/src/sys/netinet/tcp_output.c:1291 #64 0xffffffff807bbc7f in tcp_mtudisc (inp=0xffffff0219a89bd0, errno=Variable "errno" is not available. ) at tcp_offload.h:282 #65 0xffffffff807b912c in tcp_output (tp=0xffffff02199b8760) at /usr/src/sys/netinet/tcp_output.c:1291 #66 0xffffffff807bbc7f in tcp_mtudisc (inp=0xffffff0219a89bd0, errno=Variable "errno" is not available. ) at tcp_offload.h:282 #67 0xffffffff807b912c in tcp_output (tp=0xffffff02199b8760) at /usr/src/sys/netinet/tcp_output.c:1291 #68 0xffffffff807c5774 in tcp_usr_send (so=0xffffff021931f7f8, flags=0, m=Variable "m" is not available. ) at tcp_offload.h:282 #69 0xffffffff80675f96 in sosend_generic (so=0xffffff021931f7f8, addr=0x0, uio=0xffffff8231ee4ae0, top=0xffffff00142db100, control=0x0, flags=Variable "flags" is not available. ) at /usr/src/sys/kern/uipc_socket.c:1294 ---Type to continue, or q to quit--- #70 0xffffffff806585a2 in soo_write (fp=Variable "fp" is not available. ) at /usr/src/sys/kern/sys_socket.c:100 #71 0xffffffff8065104b in dofilewrite (td=0xffffff02193ff460, fd=3, fp=0xffffff0219ca1aa0, auio=0xffffff8231ee4ae0, offset=Variable "offset" is not available. ) at file.h:252 #72 0xffffffff80651360 in kern_writev (td=0xffffff02193ff460, fd=3, auio=0xffffff8231ee4ae0) at /usr/src/sys/kern/sys_generic.c:447 #73 0xffffffff806513e5 in write (td=Variable "td" is not available. ) at /usr/src/sys/kern/sys_generic.c:363 #74 0xffffffff80936744 in amd64_syscall (td=0xffffff02193ff460, traced=0) at subr_syscall.c:114 #75 0xffffffff8091f0ec in Xfast_syscall () at /usr/src/sys/amd64/amd64/exception.S:387 #76 0x00000008016e8aac in ?? () Previous frame inner to this frame (corrupt stack?) (kgdb) >How-To-Repeat: N/A. >Fix: >Release-Note: >Audit-Trail: >Unformatted: