From owner-freebsd-current@FreeBSD.ORG Sat Dec 27 15:51:18 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2DCB116A4CE for ; Sat, 27 Dec 2003 15:51:18 -0800 (PST) Received: from niobe.ijs.si (mail.ijs.si [193.2.4.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id E8F4D43D5E for ; Sat, 27 Dec 2003 15:49:54 -0800 (PST) (envelope-from dejan.lesjak@ijs.si) Received: from localhost (localhost.ijs.si [127.0.0.1]) by niobe.ijs.si (Postfix) with ESMTP id 969B81DE182 for ; Sun, 28 Dec 2003 00:49:53 +0100 (CET) Received: from niobe.ijs.si ([193.2.4.66]) by localhost (niobe.ijs.si [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 44483-05 for ; Sun, 28 Dec 2003 00:49:51 +0100 (CET) Received: from rincewind.ijs.si (rincewind.ijs.si [193.2.4.137]) by niobe.ijs.si (Postfix) with ESMTP id 388781DE17E for ; Sun, 28 Dec 2003 00:49:50 +0100 (CET) From: Dejan Lesjak To: freebsd-current@freebsd.org Date: Sun, 28 Dec 2003 00:49:50 +0100 User-Agent: KMail/1.5.94 MIME-Version: 1.0 Content-Disposition: inline Content-Type: Multipart/Mixed; boundary="Boundary-00=_eqh7/a7oNAgo+1o" Message-Id: <200312280049.50629.dejan.lesjak@ijs.si> X-Virus-Scanned: by amavisd-new / Sophos+Sophie at ijs.si X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: 5.2-RC oerrs and collisions on dc0 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Dec 2003 23:51:18 -0000 --Boundary-00=_eqh7/a7oNAgo+1o Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello, I tried 5.2-RC2 on alpha and netstat -i keeps showing oerrs and collisions on dc card (DEC DE500-BA): Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll nge0* 1500 00:04:5a:71:d2:e0 0 0 0 0 0 dc0 1500 00:00:f8:10:52:47 1478 0 737 335 5695 dc0 1500 193.2.4 ewok 1103 - 733 - - lo0 16384 14 0 14 0 0 lo0 16384 your-net localhost 0 - 0 - - I also tried nge card and it works fine. The 21143 works without errors on 5.1-RELEASE. This has been reported by Andy Farkas here: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=2200233+0+archive/2003/freebsd-current/20031116.freebsd-current Furthermore I tried different snapshots from current and it goes thusly: cvsup with 2003.07.07.00.00.00 shows errors and collisions, but if I revert /src/sys/pci/if_dc.c from 1.115 to 1.114 and /src/sys/pci/if_dcreg.h from 1.34 to 1.33 the errors are gone. Attached are dmesg and pciconf -lv output from 52RC. I can play with this box for the holidays so mail me if there's anything I can do to help solve this. -- The utmost extent of man's knowledge, is to know that he knows nothing. -Joseph Addison --Boundary-00=_eqh7/a7oNAgo+1o Content-Type: text/plain; charset="us-ascii"; name="dmesg" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="dmesg" Copyright (c) 1992-2003 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.2-RC #0: Thu Dec 25 22:32:41 CET 2003 root@ewok.ijs.si:/usr/obj/usr/src/sys/EWOK Preloaded elf kernel "/boot/kernel/kernel" at 0xfffffc0000672000. ST6600 AlphaPC 264DP 666 MHz, 666MHz 8192 byte page size, 2 processors. CPU: EV67 (21264A) major=11 minor=9 extensions=0x307 OSF PAL rev: 0x2004a0002015c real memory = 1070866432 (1021 MB) avail memory = 1035853824 (987 MB) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs tsunami0: <21271 Core Logic chipset> pcib0: <21271 PCI host bus adapter> on tsunami0 pci0: on pcib0 isab0: at device 5.0 on pci0 isa0: on isab0 atapci0: port 0x1300-0x130f,0x3f4-0x3f7,0x1f0-0x1f7 irq 238 at device 5.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata0: interrupting at ISA irq 14 ata0: [MPSAFE] ata1: at 0x170 irq 15 on atapci0 ata1: interrupting at ISA irq 15 ata1: [MPSAFE] atapci1: port 0x374-0x377,0x170-0x177 mem 0x1860000-0x186ffff irq 239 at device 5.2 on pci0 atapci1: unable to map interrupt pci0: at device 5.3 (no driver attached) ahc0: port 0x1000-0x10ff mem 0x1881000-0x1881fff irq 19 at device 6.0 on pci0 ahc0: interrupting at TSUNAMI irq 19 aic7890/91: Ultra2 Wide Channel A, SCSI Id=7, 255 SCBs pci0: at device 7.0 (no driver attached) ahc1: port 0x1100-0x11ff mem 0x1882000-0x1882fff irq 27 at device 8.0 on pci0 ahc1: interrupting at TSUNAMI irq 27 aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs ahc2: port 0x1200-0x12ff mem 0x1883000-0x1883fff irq 26 at device 8.1 on pci0 ahc2: interrupting at TSUNAMI irq 26 aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/253 SCBs pcib1: <21271 PCI host bus adapter> on tsunami0 pci1: on pcib1 nge0: port 0x10000-0x100ff mem 0x1050000-0x1050fff irq 47 at device 7.0 on pci1 nge0: interrupting at TSUNAMI irq 47 nge0: Ethernet address: 00:04:5a:71:d2:e0 miibus0: on nge0 nsgphy0: on miibus0 nsgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto dc0: port 0x10100-0x1017f mem 0x1051000-0x105107f irq 43 at device 8.0 on pci1 dc0: Ethernet address: 00:00:f8:10:52:47 miibus1: on dc0 dcphy0: on miibus1 dcphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto dc0: interrupting at TSUNAMI irq 43 atkbdc0: at port 0x64,0x60 on isa0 atkbd0: irq 1 on atkbdc0 atkbd0: interrupting at ISA irq 1 mcclock0: at port 0x70-0x71 on isa0 sc0: on isa0 sc0: VGA <16 virtual consoles, flags=0x0> sio0 at port 0x3f8-0x3ff irq 4 on isa0 sio0: type 16550A, console sio0: interrupting at ISA irq 4 sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A sio1: interrupting at ISA irq 3 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "i8254" frequency 1193182 Hz quality 0 Timecounters tick every 0.976 msec acd0: CDROM at ata0-master BIOSPIO Waiting 15 seconds for SCSI devices to settle GEOM: create disk da0 dp=0xfffffc0000e23468 da0 at ahc1 bus 0 target 2 lun 0 da0: Fixed Direct Access SCSI-3 device da0: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing Enabled da0: 35003MB (71687340 512 byte sectors: 255H 63S/T 4462C) SMP: AP CPU #1 Launched! Mounting root from ufs:/dev/da0a --Boundary-00=_eqh7/a7oNAgo+1o--