Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Dec 2004 08:22:34 -0500
From:      Ender <ender@tog.net>
To:        freebsd-atm@freebsd.org
Subject:   Fore LE 25, problems
Message-ID:  <41BD979A.6050602@tog.net>

next in thread | raw e-mail | index | archive | help
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: <IDT IDT77201/211 NICStAR ATM Adapter> 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
<repeat>

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.


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41BD979A.6050602>