From owner-freebsd-bugs@FreeBSD.ORG Mon Jan 3 03:01:33 2005 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 32ED516A4CE; Mon, 3 Jan 2005 03:01:33 +0000 (GMT) Received: from tog.net (tog.net [216.89.226.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id A392B43D2D; Mon, 3 Jan 2005 03:01:32 +0000 (GMT) (envelope-from ender@tog.net) Received: by tog.net (Postfix, from userid 96) id 2B02729B73B; Sun, 2 Jan 2005 22:01:32 -0500 (EST) Received: from tog.net (unknown [216.89.225.144]) by tog.net (Postfix) with ESMTP id 49B4B29B732; Sun, 2 Jan 2005 22:01:27 -0500 (EST) Message-ID: <41D8DE56.1040808@tog.net> Date: Sun, 02 Jan 2005 21:55:34 -0800 From: ender User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: cvs-src@FreeBSD.org, jhb@FreeBSD.org, freebsd-smp@FreeBSD.org, freebsd-bugs@freebsd.org, freebsd-gnats-submit@FreeBSD.org, rwatson@FreeBSD.org, bms@freebsd.org, r.hodges@ieee.org, phk@FreeBSD.org, scottl@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.0.1-terranovanet_v6 (2004-10-22) on spamslapper.terranova.net X-Spam-Level: X-Spam-Status: No, score=-3.2 required=7.1 tests=ALL_TRUSTED,AWL,BAYES_50, J_CHICKENPOX_63 autolearn=ham version=3.0.1-terranovanet_v6 X-Mailman-Approved-At: Mon, 03 Jan 2005 12:50:53 +0000 Subject: Atm driver problem. X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Jan 2005 03:01:33 -0000 Im having trouble getting feedback, i have sent this email to quite a few people with no responces. None. Hopefully someone out there can help me out. I now have 2 extra network cards to send to people to help testing. and tons of time to devote to this problem. Long time freebsd promoter here, and my last step would be to run linux, and i would hate to do that. Hi, i am running freebsd 5.3 with a Fore LE25, PHY=77105. I have been using the IDT driver for over a year now. There is a bug in this driver i belive, becasue every 2 days, both boxes i have running idt stop passing traffic, and require a restart. When they hit the random 1-2 day mark, they completely run out of mbufs and no traffic can be passed. (2 servers with 1 atm card, and 1 normal nic in each of them) Here are some things i have done or found out: I have experenced this problem from 5.2.1-5.3 (like i said about 1 year now) I also have tryed putting alot of memory in the boxes, and setting the mbufs to alot, kern.ipc.nmbclusters=131072 (after the new mbuf code was commited) Setting kern.ipc.nmbclusters=0 casues no trafffic to be passed on the atm card. The new version of idt.c casues my dmesg to be spammed. and all my cpu eaten up with interupts. It looks like this idt0: port 0x9400-0x94ff mem 0xe3004000-0xe3004fff irq 5 at device 6.0 on pci1 idt0: [GIANT-LOCKED] idt0: ATM card is Fore LE25, PHY=77105 idt0: 32K words of RAM idt0: MAC address 00:20:48:21:11:4e, HWrev=2 idt0: i= 0, status=64320000 idt0: i= 0, status=64320000 idt0: i= 0, status=64320000 idt0: i= 0, status=64320000 idt0: i= 0, status=64320000 I tracked down where this was coming from, http://fxr.watson.org/fxr/source/dev/idt/idt.c Line 3311. I recompiled my system after removing lines 3310 and 3311. The driver no longer ate all my cpu. But it still stoped passing traffic every 1-2 days.. I am currently running both versions of the driver(one on each box), and they break at about the same rate. Google, and man pages say i should use the harp, OR cranor driver. not both. #ATM (cranor) #other device atm #(uncommented in my setup) #device en #device fatm #Fore PCA200E #device hatm #Fore/Marconi HE155/622 #device patm #IDT77252 cards (ProATM and IDT) #device utopia #ATM PHY driver #options NATM #native ATM #options LIBMBPOOL #needed by patm, iatm #harp device hfa #FORE PCA-200E ATM PCI device harp #Pseudo-interface for NATM options ATM_CORE #core ATM protocol family options ATM_IP #IP over ATM support options ATM_UNI #UNI signalling manager options ATM_SIGPVC #SIGPVC signalling manager options ATM_SPANS #SPANS signalling manager Notes says that i should use one or the other, never both, and never a mixture. Some things that have confused me, is my network card fails to work unless device atm is uncommented. Also of the few places i found online, people were using mixtures of each driver in there setup. I saw alot of device atm, options atm_core, options atm_ip. Another thing to note, is device idt does not work in the kernel, i have to load the kernel module on boot. I can provide any information you need, just write me back. I am willing to spend alot of time helping in any way i can to debug this. I can even go as far as mailing one of the extra Fore LE25 atm network cards to whoever needs it. I tryed the freebsd atm mailing list, and it seemed quite dead. If there is someone else i should send this email too, or something i could read, or extra information you need from me.