From owner-freebsd-atm@FreeBSD.ORG Mon Dec 13 13:18:22 2004 Return-Path: Delivered-To: freebsd-atm@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6AC5316A4CE for ; Mon, 13 Dec 2004 13:18:22 +0000 (GMT) Received: from tog.net (tog.net [216.89.226.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3C4EF43D3F for ; Mon, 13 Dec 2004 13:18:22 +0000 (GMT) (envelope-from ender@tog.net) Received: by tog.net (Postfix, from userid 96) id CB0D429B714; Mon, 13 Dec 2004 08:18:21 -0500 (EST) Received: from tog.net (host-216-89-225-139.terranova.net [216.89.225.139]) by tog.net (Postfix) with ESMTP id 8A19C29B613 for ; Mon, 13 Dec 2004 08:18:18 -0500 (EST) Message-ID: <41BD979A.6050602@tog.net> Date: Mon, 13 Dec 2004 08:22:34 -0500 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: freebsd-atm@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 doppelganger.terranova.net X-Spam-Level: X-Spam-Status: No, score=-4.2 required=7.1 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.0.1-terranovanet_v6 Subject: Fore LE 25, problems X-BeenThere: freebsd-atm@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ATM for FreeBSD! List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Dec 2004 13:18:22 -0000 Hi, i am running freebsd 5.3 with a Fore LE25, PHY=77105. After many hours of googling and research, i have learned there are 2 ATM 'network stacks?' available in freebsd 5.x. The harp driver, and the Cranor driver. I have 2 questions 1) what driver should i use? 2) What is the correct way to use this driver in my kernel config file? From what i read out of /usr/src/sys/conf/NOTES: #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. At first i though there was a preformace problem with the driver, because as i speak it is running perfectly, but my system interrupts is at 99%. (thus causing alot of lag 500ms+) Here is my dmesg: 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 was going to recompile my system after removing lines 3310 and 3311. Im not sure if the actual device_printf is causing the lag, or something else. Any help you could give me would be greatly appreciated.