From owner-freebsd-bugs Thu Jun 22 12:00:01 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id MAA20629 for bugs-outgoing; Thu, 22 Jun 1995 12:00:01 -0700 Received: (from gnats@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id MAA20622 ; Thu, 22 Jun 1995 12:00:01 -0700 Date: Thu, 22 Jun 1995 12:00:01 -0700 Message-Id: <199506221900.MAA20622@freefall.cdrom.com> From: Ollivier Robert Reply-To: Ollivier Robert To: freebsd-bugs Subject: kern/540: ed0 is loosing packets on input In-Reply-To: Your message of Thu, 22 Jun 1995 20:12:59 +0200 (MET DST) <199506221812.UAA07756@keltia.frmug.fr.net> Sender: bugs-owner@FreeBSD.org Precedence: bulk >Number: 540 >Category: kern >Synopsis: ed0 is loosing packets on input >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs (FreeBSD bugs mailing list) >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jun 22 12:00:00 1995 >Originator: Ollivier Robert >Organization: A Happy FreeBSD 2.1-current Usenet Site >Release: FreeBSD 2.0-BUILT-19950618 i386 >Environment: 486DX-33, 32 MB SMC 8013EP in 16 bits mode CTM cvs-cur #786 date: 19950617080001Z FreeBSD 2.0-BUILT-19950618 #3: Sun Jun 18 00:08:36 MET DST 1995 roberto@keltia:/src/src/sys/compile/KELTIA CPU: i486DX (486-class CPU) real memory = 33161216 (8096 pages) avail memory = 31420416 (7671 pages) Probing for devices on the ISA bus: [...] ed0 at 0x300-0x31f irq 10 maddr 0xcc000 msize 16384 on isa ed0: address 00:00:c0:4d:ed:08, type WD8013EP (16 bit) bpf: ed0 attached Tadpole Sparcbook with build-in ethernet. Kernel config file : ------------------------------------------------------------ machine "i386" cpu "I486_CPU" ident "KELTIA" maxusers 20 options INET #InterNETworking options FFS #Berkeley Fast Filesystem options MFS #Berkeley Fast Filesystem options LFS #Berkeley Log Filesystem options PROCFS #Berkeley proc Filesystem options "COMPAT_43" #Compatible with BSD 4.3 options "SCSI_2_DEF" #hack for the mp1624 options UCONSOLE #for xconsole options "AUTO_EOI_1" options "AUTO_EOI_2" options DUMMY_NOPS options TEST_LABELLING options "COMPAT_LINUX" options SYSVSHM options SYSVSEM options SYSVMSG options "SHMMAXPGS=128" # 512 KB of sharable memory options GATEWAY options KTRACE config kernel root on sd0 swap on sd0 and sd1 and sd2 dumps on sd0 controller isa0 controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr disk fd0 at fdc0 drive 0 disk fd1 at fdc0 drive 1 controller bt0 at isa? port "IO_BT0" bio irq ? vector btintr controller scbus0 at bt0 disk sd0 at scbus0 target 0 unit 0 disk sd1 at scbus0 target 1 tape st0 at scbus0 target 4 device cd0 at scbus0 target 6 # new sound config. controller snd0 device sb0 at isa? port 0x220 irq 5 drq 3 vector sbintr device opl0 at isa? port 0x388 device sc0 at isa? port "IO_KBD" tty irq 1 vector scintr device npx0 at isa? port "IO_NPX" irq 13 vector npxintr device sio0 at isa? port "IO_COM1" tty irq 4 vector siointr device sio1 at isa? port "IO_COM2" tty irq 3 vector siointr device lpt0 at isa? port? tty irq 7 vector lptintr device ed0 at isa? port 0x300 net irq 10 iomem 0xcc000 vector edintr pseudo-device loop pseudo-device ether pseudo-device log pseudo-device sl 1 pseudo-device ppp 1 pseudo-device bpfilter 4 #Berkeley packet filter pseudo-device pty 24 pseudo-device speaker pseudo-device vn #Vnode driver (turns a file into a device) pseudo-device disc #Discard device pseudo-device tun 1 #Enable user-level PPP see ppp(8) ------------------------------------------------------------ >Description: The ethernet driver is having a lot of error on incoming packets. Transfert between Keltia (FreeBSD-current) and Sidhe (Sparcbook 2) : 489 [19:56] roberto@keltia:networking/dns> ncftp sidhe:/sources/networking/dns/bind-4.9.3-BETA21.tar.gz Receiving file: /sources/networking/dns/bind-4.9.3-BETA21.tar.gz 100% 0 1583300 bytes. ETA: 0:00 /sources/networking/dns/bind-4.9.3-BETA21.tar.gz: 1583300 bytes received in 34.60 seconds, 44.68 K/s. ^^^^^^^^^^ @keltia:~# netstat -i VVVVV Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll ed0 1500 00.00.c0.4d.ed.08 87471 560 77750 0 6 ed0 1500 FR-ATL-NET keltia.frmug.fr 87471 560 77750 0 6 lp0* 1500 0 0 0 0 0 ds0* 65532 0 0 0 0 0 lo0 16384 6377 0 6377 0 0 lo0 16384 127 localhost 6377 0 6377 0 0 ppp0* 1500 9993 1 10517 0 0 sl0* 552 0 0 0 0 0 tun0* 1500 0 0 0 0 0 295 [19:57] root@keltia:~# netstat -i Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll ed0 1500 00.00.c0.4d.ed.08 90396 598 81004 0 6 ed0 1500 FR-ATL-NET keltia.frmug.fr 90396 598 81004 0 6 lp0* 1500 0 0 0 0 0 ds0* 65532 0 0 0 0 0 lo0 16384 6540 0 6540 0 0 lo0 16384 127 localhost 6540 0 6540 0 0 ppp0* 1500 9993 1 10517 0 0 sl0* 552 0 0 0 0 0 tun0* 1500 0 0 0 0 0 The error rate is high... When doing a transfert from Keltia to Sidhe, the speed is better (240 Kbps) but not lighting quick either. There are only the 2 machines on the ethernet. 297 [20:02] root@keltia:~# netstat -i VVVVV Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll ed0 1500 00.00.c0.4d.ed.08 91336 599 82386 0 6 ed0 1500 FR-ATL-NET keltia.frmug.fr 91336 599 82386 0 6 lp0* 1500 0 0 0 0 0 ds0* 65532 0 0 0 0 0 lo0 16384 6562 0 6562 0 0 lo0 16384 127 localhost 6562 0 6562 0 0 ppp0* 1500 9993 1 10517 0 0 sl0* 552 0 0 0 0 0 tun0* 1500 0 0 0 0 0 298 [20:02] root@keltia:~# netstat -i Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll ed0 1500 00.00.c0.4d.ed.08 91988 601 83307 0 6 ed0 1500 FR-ATL-NET keltia.frmug.fr 91988 601 83307 0 6 lp0* 1500 0 0 0 0 0 ds0* 65532 0 0 0 0 0 lo0 16384 6573 0 6573 0 0 lo0 16384 127 localhost 6573 0 6573 0 0 ppp0* 1500 9993 1 10517 0 0 sl0* 552 0 0 0 0 0 tun0* 1500 0 0 0 0 0 >How-To-Repeat: FTP a file from/to Keltia shows this behaviour each time. This behaviour seems new but I cannot garantee when it started :-( >Fix: Unknown unfortunately. Open to suggestions, tests. >Audit-Trail: >Unformatted: