From owner-freebsd-bugs@FreeBSD.ORG Fri Nov 20 01:50:02 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 336B81065694 for ; Fri, 20 Nov 2009 01:50:02 +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 E93078FC1D for ; Fri, 20 Nov 2009 01:50:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nAK1o15h013812 for ; Fri, 20 Nov 2009 01:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nAK1o1fB013811; Fri, 20 Nov 2009 01:50:01 GMT (envelope-from gnats) Resent-Date: Fri, 20 Nov 2009 01:50:01 GMT Resent-Message-Id: <200911200150.nAK1o1fB013811@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jared Mauch Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2894E1065670 for ; Fri, 20 Nov 2009 01:42:21 +0000 (UTC) (envelope-from jared@puck.nether.net) Received: from puck.nether.net (puck.nether.net [IPv6:2001:418:3f4::5]) by mx1.freebsd.org (Postfix) with ESMTP id EBB5D8FC17 for ; Fri, 20 Nov 2009 01:42:20 +0000 (UTC) Received: from puck.nether.net (puck.nether.net [204.42.254.5]) by puck.nether.net (8.14.3/8.12.9) with ESMTP id nAK1hacv082915 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 19 Nov 2009 20:43:36 -0500 (EST) (envelope-from jared@puck.nether.net) Received: (from jared@localhost) by puck.nether.net (8.14.3/8.12.9/Submit) id nAK1ha9Z082914; Thu, 19 Nov 2009 20:43:36 -0500 (EST) (envelope-from jared) Message-Id: <200911200143.nAK1ha9Z082914@puck.nether.net> Date: Thu, 19 Nov 2009 20:43:36 -0500 (EST) From: Jared Mauch To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: kern/140712: fxp driver starts with rxcsum on X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jared Mauch List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Nov 2009 01:50:02 -0000 >Number: 140712 >Category: kern >Synopsis: fxp driver starts with rxcsum on >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Nov 20 01:50:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Jared Mauch >Release: FreeBSD 8.0-RC3 i386 >Organization: Self >Environment: FreeBSD npd2.nether.net 8.0-RC3 FreeBSD 8.0-RC3 #0: Tue Nov 10 07:50:36 UTC 2009 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: Upon upgrading from 7.0-release to 8.0-RC3 the fxp0 interface came with rxcsum enabled, eg: # ifconfig fxp0 fxp0: flags=8843 metric 0 mtu 1500 options=9 ether 00:20:fc:1e:dd:00 inet 61.120.147.50 netmask 0xfffffffc broadcast 61.120.147.51 inet6 fe80::220:fcff:fe1e:dd00%fxp0 prefixlen 64 scopeid 0x1 media: Ethernet 100baseTX status: active # sysctl -a | grep fxp dev.fxp.0.%desc: Intel 82559ER Embedded 10/100 Ethernet dev.fxp.0.%driver: fxp dev.fxp.0.%location: slot=4 function=0 dev.fxp.0.%pnpinfo: vendor=0x8086 device=0x1209 subvendor=0x102b subdevice=0x6000 class=0x020000 dev.fxp.0.%parent: pci3 dev.fxp.0.int_delay: 1000 dev.fxp.0.bundle_max: 6 dev.fxp.0.rnr: 0 dev.fxp.0.noflow: 1 This caused truncated IP packets/messages to be received by the kernel resulting in the machine being unreachable. # tcpdump -n -i fxp0 -c 3 -s0 fxp0: promiscuous mode enabled tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on fxp0, link-type EN10MB (Ethernet), capture size 65535 bytes 01:52:48.166315 IP truncated-ip - 2 bytes missing! 204.42.254.133 > 61.120.147.50: ICMP echo request, id 33313, seq 5139, length 64 01:52:49.166155 IP truncated-ip - 2 bytes missing! 204.42.254.133 > 61.120.147.50: ICMP echo request, id 33313, seq 5140, length 64 01:52:50.166276 fIP truncated-ip x- 2 bytes missinpg! 204.42.254.1303 > 61.120.147.5:0: ICMP echo req uest, id 33313, pseq 5141, lengthr 64 3 packets coaptured 3 packemts received by fiilter 0 packetss dropped by kerncel uous mode disabled >How-To-Repeat: Reboot the system with this hardware installed/used. >Fix: ifconfig fxp0 -rxcsum >Release-Note: >Audit-Trail: >Unformatted: