From owner-freebsd-bugs@FreeBSD.ORG Mon Jul 23 21:20:02 2007 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 6F66416A41A for ; Mon, 23 Jul 2007 21:20: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 5E91613C458 for ; Mon, 23 Jul 2007 21:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l6NLK2mP026115 for ; Mon, 23 Jul 2007 21:20:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l6NLK2Ac026114; Mon, 23 Jul 2007 21:20:02 GMT (envelope-from gnats) Resent-Date: Mon, 23 Jul 2007 21:20:02 GMT Resent-Message-Id: <200707232120.l6NLK2Ac026114@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, dave@daveg.ca Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D7F9A16A417 for ; Mon, 23 Jul 2007 21:14:32 +0000 (UTC) (envelope-from root@dev.eicat.ca) Received: from dev.eicat.ca (dev.eicat.ca [66.96.25.75]) by mx1.freebsd.org (Postfix) with ESMTP id C88E113C459 for ; Mon, 23 Jul 2007 21:14:32 +0000 (UTC) (envelope-from root@dev.eicat.ca) Received: by dev.eicat.ca (Postfix, from userid 0) id 73A8A1CE30; Mon, 23 Jul 2007 16:56:52 -0400 (EDT) Message-Id: <20070723205652.73A8A1CE30@dev.eicat.ca> Date: Mon, 23 Jul 2007 16:56:52 -0400 (EDT) From: dave@daveg.ca To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: kern/114839: fxp looses ability to speak with traffic X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dave@daveg.ca List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2007 21:20:02 -0000 >Number: 114839 >Category: kern >Synopsis: fxp looses ability to speak with traffic >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jul 23 21:20:01 GMT 2007 >Closed-Date: >Last-Modified: >Originator: David Gilbert >Release: FreeBSD 6.2-RELEASE-p5 i386 >Organization: DaveG.ca >Environment: System: FreeBSD dev.eicat.ca 6.2-RELEASE-p5 FreeBSD 6.2-RELEASE-p5 #2: Sun Jul 8 00:44:06 EDT 2007 root@dev.eicat.ca:/usr/obj/usr/src/sys/DEV i386 There seems to be a lot of FXP's out there and I don't believe I'm seeing this on all of them, so this fxp is specifically: dmesg says: fxp0: port 0xe400-0xe43f mem 0xed203000-0xed203fff,0xed100000-0xed1fffff irq 19 at device 8.0 on pci0 miibus1: on fxp0 fxp0: Ethernet address: 00:d0:b7:9d:0f:f7 and pciconf -lv says: fxp0@pci0:8:0: class=0x020000 card=0x000e8086 chip=0x12298086 rev=0x08 hdr=0x00 vendor = 'Intel Corporation' device = '82550/1/7/8/9 EtherExpress PRO/100(B) Ethernet Adapter' class = network subclass = ethernet >Description: When this bug happens, all communication from the fxp stops. It appears to still see packets coming in --- other machines arp addresses remain current, but it doesn't send packets out. I tried hardcoding the mac address of the router --- thinking it was a mac issue, but this also did not help. I also tried putting an address on the raw port (the machine talks on two vlans, otherwise) and the raw port stops talking just as the vlans stop talking. >How-To-Repeat: In my case, this is totally repeatable (in minutes, no less). 20 megabit of bit torrent traffic in either direction or 10 megabit in each direction seems to cause it repeatably. More traffic seems to cause it sooner. It seems to only happen to certain fxp's. I've had it happen in the past ... but the card listed above is my only current example. >Fix: Curiously, the only workaround I have is to have serial port connected to another machine and to login and run "ifconfig fxp0 down ; ifconfig fxp0 up" ... which is rather inconvenient. The other workaround is to run bit torrent with limits. >Release-Note: >Audit-Trail: >Unformatted: