From owner-freebsd-atm@FreeBSD.ORG Sun Sep 28 16:06:47 2003 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 6F6D916A4B3 for ; Sun, 28 Sep 2003 16:06:47 -0700 (PDT) Received: from arrakis.solutions.net.pl (www.solutions.net.pl [217.144.192.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B56944028 for ; Sun, 28 Sep 2003 16:06:46 -0700 (PDT) (envelope-from franky@is.net.pl) Received: from UebiMiau (localhost [127.0.0.1]) by arrakis.solutions.net.pl (Postfix) with SMTP id 662002422D for ; Mon, 29 Sep 2003 01:13:21 +0200 (CEST) Received: from client 217.144.202.34 for UebiMiau2.7 (webmail client); Mon, 29 Sep 2003 1:13:21 +0200 Date: Mon, 29 Sep 2003 1:13:21 +0200 From: "Franky" To: "freebsd-atm" X-Priority: 3 X-Mailer: UebiMiau 2.7.2 X-Original-IP: 217.144.202.34 Content-Transfer-Encoding: 8bit X-MSMail-Priority: Medium Importance: Medium Content-Type: text/plain; charset="iso-8859-2"; MIME-Version: 1.0 Message-Id: <20030928231321.662002422D@arrakis.solutions.net.pl> Subject: patm, idt, ipfw X-BeenThere: freebsd-atm@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Franky List-Id: ATM for FreeBSD! List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Sep 2003 23:06:47 -0000 Hello, I have two problems: 1. Driver patm on FreeBSD 5.1 do kernel panic, probably when pdu has CRC error. This router terminates Alcatel DSLAM with 16 connetcted ADSL modems (Cisco 827 or Alcatel Speedtouch Pro), sometimes PDU is incorrect and patm do panic sends message - something like this "recive to large bufer data 219 98989 bytes". 2. In the same router I use ForeRunner LE155 card. This card works better but send messages: nicstar_recv: Bad CRC - discarding PDU: 0/142 but this is normal, so router works. When I try to use ipfw with queue/pipe, the idt driver do panic too, but message is different - something about mem pages. What do you think about this? I will try to use prosum driver on FreeBSD 4.xx, maybe it will be work. ________________________________________________ http://www.is.net.pl From owner-freebsd-atm@FreeBSD.ORG Sun Sep 28 23:28:03 2003 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 207B616A4B3 for ; Sun, 28 Sep 2003 23:28:03 -0700 (PDT) Received: from mwinf0402.wanadoo.fr (smtp5.wanadoo.fr [193.252.22.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id D327B43F3F for ; Sun, 28 Sep 2003 23:28:01 -0700 (PDT) (envelope-from vjardin@wanadoo.fr) Received: from venus.vincentjardin.net (AVelizy-102-1-5-42.w80-13.abo.wanadoo.fr [80.13.229.42]) by mwinf0402.wanadoo.fr (SMTP Server) with ESMTP id 7974F8000E2; Mon, 29 Sep 2003 08:28:00 +0200 (CEST) Content-Type: text/plain; charset="iso-8859-2" From: Vincent Jardin To: Franky , "freebsd-atm" Date: Mon, 29 Sep 2003 10:28:04 +0200 User-Agent: KMail/1.4.3 References: <20030928231321.662002422D@arrakis.solutions.net.pl> In-Reply-To: <20030928231321.662002422D@arrakis.solutions.net.pl> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200309291028.04727.vjardin@wanadoo.fr> Subject: Re: patm, idt, ipfw 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, 29 Sep 2003 06:28:03 -0000 Le Lundi 29 Septembre 2003 01:13, Franky a =E9crit : > Hello, > I have two problems: > 1. Driver patm on FreeBSD 5.1 do kernel panic, probably when pdu has CR= C > error. This router terminates Alcatel DSLAM with 16 connetcted ADSL mod= ems > (Cisco 827 or Alcatel Speedtouch Pro), sometimes PDU is incorrect and p= atm > do panic sends message - something like this "recive to large bufer dat= a > 219 98989 bytes". Yes, it looks a bit big ;-( How long do you have to wait before getting t= his=20 panic ? Is it always the same panic with the same number of bytes ? > 2. In the same router I use ForeRunner LE155 card. This card works bett= er > but send messages: nicstar_recv: Bad CRC - discarding PDU: 0/142 > but this is normal, so router works. > When I try to use ipfw with queue/pipe, the idt driver do panic too, bu= t > message is different - > something about mem pages. Could you provide more information (the error message and a dump of the s= tack)=20 ? > What do you think about this? > I will try to use prosum driver on FreeBSD 4.xx, maybe it will be work Please, could you tell us if it works ? In this case, could you check wit= h=20 dmesg wether it does not detect a problem too ? Regards, Vincent From owner-freebsd-atm@FreeBSD.ORG Mon Sep 29 07:36:18 2003 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 C34AE16A4B3 for ; Mon, 29 Sep 2003 07:36:18 -0700 (PDT) Received: from mailhub.fokus.fraunhofer.de (mailhub.fokus.fraunhofer.de [193.174.154.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7F30143FDD for ; Mon, 29 Sep 2003 07:36:15 -0700 (PDT) (envelope-from brandt@fokus.fraunhofer.de) Received: from beagle (beagle [193.175.132.100])h8TEaA608416; Mon, 29 Sep 2003 16:36:10 +0200 (MEST) Date: Mon, 29 Sep 2003 16:36:09 +0200 (CEST) From: Harti Brandt To: Franky In-Reply-To: <20030928231321.662002422D@arrakis.solutions.net.pl> Message-ID: <20030929163344.G35443@beagle.fokus.fraunhofer.de> References: <20030928231321.662002422D@arrakis.solutions.net.pl> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-atm Subject: Re: patm, idt, ipfw 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, 29 Sep 2003 14:36:18 -0000 On Mon, 29 Sep 2003, Franky wrote: F>Hello, F>I have two problems: F>1. Driver patm on FreeBSD 5.1 do kernel panic, probably when pdu has CRC F>error. This router terminates Alcatel DSLAM with 16 connetcted ADSL modems F>(Cisco 827 or Alcatel Speedtouch Pro), sometimes PDU is incorrect and patm F>do panic sends message - something like this "recive to large bufer data 219 F>98989 bytes". I cannot find this message in the driver source. Is there any chance that you can get a trace from ddb when this panic happens? F>2. In the same router I use ForeRunner LE155 card. This card works better F>but send messages: nicstar_recv: Bad CRC - discarding PDU: 0/142 F>but this is normal, so router works. F>When I try to use ipfw with queue/pipe, the idt driver do panic too, but F>message is different - F>something about mem pages. F>What do you think about this? Would be also helpful to get the message and the trace. harti F>I will try to use prosum driver on FreeBSD 4.xx, maybe it will be work. -- harti brandt, http://www.fokus.fraunhofer.de/research/cc/cats/employees/hartmut.brandt/private brandt@fokus.fraunhofer.de, harti@freebsd.org From owner-freebsd-atm@FreeBSD.ORG Mon Sep 29 17:46:50 2003 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 EC28B16A4BF for ; Mon, 29 Sep 2003 17:46:50 -0700 (PDT) Received: from arrakis.solutions.net.pl (www.solutions.net.pl [217.144.192.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F38343FF2 for ; Mon, 29 Sep 2003 17:46:46 -0700 (PDT) (envelope-from franky@is.net.pl) Received: from UebiMiau (localhost [127.0.0.1]) by arrakis.solutions.net.pl (Postfix) with SMTP id BB99223D3E; Tue, 30 Sep 2003 02:53:29 +0200 (CEST) Received: from client 217.144.202.34 for UebiMiau2.7 (webmail client); Tue, 30 Sep 2003 2:53:29 +0200 Date: Tue, 30 Sep 2003 2:53:29 +0200 From: "Franky" To: "Harti Brandt" , "Franky" X-Priority: 3 X-Mailer: UebiMiau 2.7.2 X-Original-IP: 217.144.202.34 Content-Transfer-Encoding: 8bit X-MSMail-Priority: Medium Importance: Medium Content-Type: text/plain; charset="iso-8859-2"; MIME-Version: 1.0 Message-Id: <20030930005329.BB99223D3E@arrakis.solutions.net.pl> cc: freebsd-atm Subject: Odp: Re: patm, idt, ipfw X-BeenThere: freebsd-atm@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Franky List-Id: ATM for FreeBSD! List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2003 00:46:51 -0000 ok, this is kernel config: ... machine i386 cpu I686_CPU ident myker options SCHED_4BSD #4BSD scheduler options INET #InterNETworking options FFS #Berkeley Fast Filesystem options SOFTUPDATES #Enable FFS soft updates support options UFS_DIRHASH #Improve performance on big directories #options MD_ROOT #MD is a potential root device #options PROCFS #Process filesystem (requires PSEUDOFS) #options PSEUDOFS #Pseudo-filesystem framework options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] options COMPAT_FREEBSD4 #Compatible with FreeBSD4 options SCSI_DELAY=150 #Delay (in ms) before probing SCSI options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions options KBD_INSTALL_CDEV # install a CDEV entry in /dev device isa device pci #device patm #device utopia device atm device harp options ATM_CORE options ATM_IP options ATM_SIGPVC #options LIBMBPOOL #options NATM device idt options HZ=1000 options DEVICE_POLLING options PANIC_REBOOT_WAIT_TIME=9 options IPFIREWALL options IPDIVERT options IPFIREWALL_FORWARD options IPFIREWALL_DEFAULT_TO_ACCEPT options DUMMYNET options IPSTEALTH options PPP_BSDCOMP options PPP_DEFLATE #options PUC_FASTINTR options NMBCLUSTERS=65536 options NBUF=8192 ... this is the dmesg: Sep 29 19:48:03 ordos kernel: Copyright (c) 1992-2003 The FreeBSD Project. Sep 29 19:48:03 ordos kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 Sep 29 19:48:03 ordos kernel: The Regents of the University of California. All rights reserved. Sep 29 19:48:03 ordos kernel: FreeBSD 5.1-CURRENT #2: Mon Sep 29 00:45:18 GMT 2003 Sep 29 19:48:03 ordos kernel: root@ordos.is.net.pl:/usr/src/sys/i386/compile/myker Sep 29 19:48:03 ordos kernel: Preloaded elf kernel "/boot/kernel/kernel" at 0xc03f5000. Sep 29 19:48:03 ordos kernel: Timecounter "i8254" frequency 1193182 Hz quality 0 Sep 29 19:48:03 ordos kernel: CPU: Intel Celeron (701.59-MHz 686-class CPU) Sep 29 19:48:03 ordos kernel: Origin = "GenuineIntel" Id = 0x686 Stepping = 6 Sep 29 19:48:03 ordos kernel: Features=0x383f9ff Sep 29 19:48:03 ordos kernel: real memory = 267300864 (254 MB) Sep 29 19:48:03 ordos kernel: avail memory = 252456960 (240 MB) Sep 29 19:48:03 ordos kernel: Pentium Pro MTRR support enabled Sep 29 19:48:03 ordos kernel: npx0: [FAST] Sep 29 19:48:03 ordos kernel: npx0: on motherboard Sep 29 19:48:03 ordos kernel: npx0: INT 16 interface Sep 29 19:48:03 ordos kernel: pcibios: BIOS version 2.10 Sep 29 19:48:03 ordos kernel: Using $PIR table, 10 entries at 0xc00f1360 Sep 29 19:48:03 ordos kernel: pcib0: at pcibus 0 on motherboard Sep 29 19:48:03 ordos kernel: pci0: on pcib0 Sep 29 19:48:03 ordos kernel: pci_cfgintr: 0:2 INTA BIOS irq 11 Sep 29 19:48:03 ordos kernel: pci_cfgintr: 0:31 INTB BIOS irq 10 Sep 29 19:48:03 ordos kernel: agp0: mem 0xfb000000-0xfb07ffff,0xfc000000-0xfdfffff f irq 11 at device 2.0 on pci0 Sep 29 19:48:03 ordos kernel: pcib1: at device 30.0 on pci0 Sep 29 19:48:03 ordos kernel: pci1: on pcib1 Sep 29 19:48:03 ordos kernel: pci_cfgintr: 1:9 INTA BIOS irq 5 Sep 29 19:48:03 ordos kernel: pci_cfgintr: 1:11 INTA routed to irq 6 Sep 29 19:48:03 ordos kernel: pci_cfgintr: 1:12 INTA BIOS irq 7 Sep 29 19:48:03 ordos kernel: pci_cfgintr: 1:12 INTA BIOS irq 7 Sep 29 19:48:03 ordos kernel: pci_cfgintr: 1:13 INTA BIOS irq 5 Sep 29 19:48:03 ordos kernel: fxp0: port 0xd800-0xd83f mem 0xfa000000-0xfa0fffff,0xfa800000-0 xfa800fff irq 5 at device 9.0 on pci1 Sep 29 19:48:03 ordos kernel: fxp0: Ethernet address 00:03:47:b0:68:17 Sep 29 19:48:03 ordos kernel: miibus0: on fxp0 Sep 29 19:48:03 ordos kernel: inphy0: on miibus0 Sep 29 19:48:03 ordos kernel: inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto Sep 29 19:48:03 ordos kernel: idt0: port 0xd400-0xd4ff mem 0xf9800000-0xf9800fff irq 6 at device 11.0 on pci1 Sep 29 19:48:03 ordos kernel: idt0: ATM card is Fore LE155, PHY=PM5350 Sep 29 19:48:03 ordos kernel: idt0: 32K words of RAMSep 29 19:48:03 ordos kernel: idt0: MAC address 00:20:48:5a:68:85, HWrev=3 Sep 29 19:48:03 ordos kernel: puc0: port 0xb800-0xb81f,0xd000-0xd01f mem 0xf8800000-0xf8800fff,0xf9000000-0 xf9000fff irq 7 at device 12.0 on pci1 Sep 29 19:48:03 ordos kernel: sio4: on puc0 Sep 29 19:48:03 ordos kernel: sio4: type 16550A Sep 29 19:48:03 ordos kernel: sio4: unable to activate interrupt in fast mode - using normal mode Sep 29 19:48:03 ordos kernel: sio5: on puc0 Sep 29 19:48:03 ordos kernel: sio5: type 16550A Sep 29 19:48:03 ordos kernel: sio5: unable to activate interrupt in fast mode - using normal mode Sep 29 19:48:03 ordos kernel: sio6: on puc0 Sep 29 19:48:03 ordos kernel: sio6: type 16550A Sep 29 19:48:03 ordos kernel: sio6: unable to activate interrupt in fast mode - using normal mode Sep 29 19:48:03 ordos kernel: sio7: on puc0 Sep 29 19:48:03 ordos kernel: sio7: type 16550A Sep 29 19:48:03 ordos kernel: sio7: unable to activate interrupt in fast mode - using normal mode Sep 29 19:48:03 ordos kernel: puc1: port 0xb000-0xb01f,0xb400-0xb41f mem 0xf7800000-0xf7800fff,0xf8000000-0 xf8000fff irq 7 at device 12.1 on pci1 Sep 29 19:48:03 ordos kernel: sio8: on puc1 Sep 29 19:48:03 ordos kernel: sio8: type 16550A Sep 29 19:48:03 ordos kernel: sio8: unable to activate interrupt in fast mode - using normal mode Sep 29 19:48:03 ordos kernel: sio9: on puc1 Sep 29 19:48:03 ordos kernel: sio9: type 16550A Sep 29 19:48:03 ordos kernel: sio9: unable to activate interrupt in fast mode - using normal mode Sep 29 19:48:03 ordos kernel: sio10: on puc1 Sep 29 19:48:03 ordos kernel: sio10: type 16550A Sep 29 19:48:03 ordos kernel: sio10: unable to activate interrupt in fast mode - using normal mode Sep 29 19:48:03 ordos kernel: sio11: on puc1 Sep 29 19:48:03 ordos kernel: sio11: type 16550A Sep 29 19:48:03 ordos kernel: sio11: unable to activate interrupt in fast mode - using normal mode Sep 29 19:48:03 ordos kernel: fxp1: port 0xa800-0xa83f mem 0xf6800000-0xf68fffff,0xf7000000-0 xf7000fff irq 5 at device 13.0 on pci1 Sep 29 19:48:03 ordos kernel: fxp1: Ethernet address 00:03:47:ac:76:1d Sep 29 19:48:03 ordos kernel: miibus1: on fxp1 Sep 29 19:48:03 ordos kernel: inphy1: on miibus1 Sep 29 19:48:03 ordos kernel: inphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto Sep 29 19:48:03 ordos kernel: isab0: at device 31.0 on pci0 Sep 29 19:48:03 ordos kernel: isa0: on isab0 Sep 29 19:48:03 ordos kernel: atapci0: port 0x9800-0x980f at device 31.1 on pci0 Sep 29 19:48:03 ordos kernel: ata0: at 0x1f0 irq 14 on atapci0 Sep 29 19:48:03 ordos kernel: ata0: [MPSAFE] Sep 29 19:48:03 ordos kernel: ata1: at 0x170 irq 15 on atapci0 Sep 29 19:48:03 ordos kernel: ata1: [MPSAFE] Sep 29 19:48:03 ordos kernel: pci0: at device 31.3 (no driver attached) Sep 29 19:48:03 ordos kernel: orm0: