From owner-freebsd-hackers Thu Nov 20 01:33:07 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id BAA23890 for hackers-outgoing; Thu, 20 Nov 1997 01:33:07 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from chouette.inria.fr (chouette.inria.fr [138.96.24.103]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id BAA23851 for ; Thu, 20 Nov 1997 01:32:21 -0800 (PST) (envelope-from Emmanuel.Duros@sophia.inria.fr) Received: by chouette.inria.fr (8.8.6/8.8.5) id KAA07538; Thu, 20 Nov 1997 10:32:10 +0100 (MET) Date: Thu, 20 Nov 1997 10:32:10 +0100 (MET) Message-Id: <199711200932.KAA07538@chouette.inria.fr> From: Emmanuel Duros To: freebsd-hackers@freebsd.org Subject: My fbsd router looses packets ! Reply-to: Emmanuel.Duros@sophia.inria.fr Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk My fbsd (2.2.2 release) router has two communication interfaces and when it routes packets between its interfaces, it looses lots of packets ! Here is the network configuration: --- --------- --- |A| | B | |C| --- --------- --- | (b1) | | (b2) | -------------------------- -------------------------- b1 is an Ethernet interface, b2 is a dvb interface, it is a satellite communication card (a send-only interface). I wrote the device driver for the latter. I have used a video conferencing application to verify the communication between the stations: 1) A generates a video stream to B up to several Mbps: NO LOSSES 2) B generates a video stream to C up to several Mbps: NO LOSSES 3) A generates a video stream to C at 100-200 kbps and I get 5 to 30 % loss rate 1) ensures that the connectivity between A and B is fine 2) ensures that the connectivity between B and C is fine 3) shows that there is a routing pb !!! Beside this, it is not the first time I have used this network configuration, it used to work very well on another a fbsd router running a one year old snapshot. I have got absolutely no idea where my pb comes from, I have checked IRQs, probable overlapping ports and everything looks fine to me. I do not think it comes from my driver because of 2) and because it used to work very well before I changed the PC and the fbsd OS version. I join the output of the dmesg in case this can help... Thanks a lot for any help! Emmanuel PS: For information the send-only interface (dvtx0) has an ISA bus and performs DMA transfers ------- Copyright (c) 1992-1997 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 2.2.2-RELEASE #5: Wed Nov 19 21:10:31 GMT 1997 eduros@pacman.inria.fr:/usr/src/sys/compile/PACMAN_TX CPU: Pentium Pro (199.43-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x619 Stepping=9 Features=0xfbff,MTRR,PGE,MCA,CMOV> real memory = 67108864 (65536K bytes) avail memory = 62619648 (61152K bytes) Probing for devices on PCI bus 0: chip0 rev 2 on pci0:0 chip1 rev 1 on pci0:7:0 chip2 rev 0 on pci0:7:1 vga0 rev 1 int a irq 10 on pci0:17 de0 rev 17 int a irq 15 on pci0:18 de0: 21041 [10Mb/s] pass 1.1 de0: address 00:00:c0:6b:ea:df chip3 rev 1 on pci0:20:0 pci0:20:1: Intel Corporation, device=0x1960, class=memory (misc) int a irq 9 [no driver assigned] Probing for devices on PCI bus 1: ahc0 rev 0 int a irq 10 on pci1:1 ahc0: aic7880 Wide Channel, SCSI Id=7, 16 SCBs ahc0 waiting for scsi devices to settle (ahc0:0:0): "CONNER CFP2107W 2.14GB 1524" type 0 fixed SCSI 2 sd0(ahc0:0:0): Direct-Access 2048MB (4194304 512 byte sectors) Probing for devices on the ISA bus: sc0 at 0x60-0x6f irq 1 on motherboard sc0: VGA color <16 virtual consoles, flags=0x0> sio0 at 0x3f8-0x3ff irq 4 on isa sio0: type 16550A sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: NEC 72065B fd0: 1.44MB 3.5in wdc0 at 0x1f0-0x1f7 irq 14 on isa wdc0: unit 0 (atapi): , removable, ovlap, dma, iordis wcd0: 2066Kb/sec, 128Kb cache, audio play, 256 volume levels, ejectable tray wcd0: no disc inside, unlocked dvtx0: 0.9b1 version - Probing... dvtx0 at 0x310 irq 11 drq 5 on isa npx0 on motherboard npx0: INT 16 interface ccd0-3: Concatenated disk drivers de0: enabling 10baseT port