Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Dec 2003 00:49:50 +0100
From:      Dejan Lesjak <dejan.lesjak@ijs.si>
To:        freebsd-current@freebsd.org
Subject:   5.2-RC oerrs and collisions on dc0
Message-ID:  <200312280049.50629.dejan.lesjak@ijs.si>

next in thread | raw e-mail | index | archive | help

--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 <Link#1>      00:04:5a:71:d2:e0        0     0        0     0     
0
dc0    1500 <Link#2>      00:00:f8:10:52:47     1478     0      737   335  
5695
dc0    1500 193.2.4       ewok                  1103     -      733     -     
-
lo0   16384 <Link#3>                              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<BWX,FIX,CIX,MVI,PRECISE>
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: <PCI bus> on pcib0
isab0: <PCI-ISA bridge> at device 5.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Cypress 82C693 ATA controller> 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: <GENERIC ATA controller> port 0x374-0x377,0x170-0x177 mem 0x1860000-0x186ffff irq 239 at device 5.2 on pci0
atapci1: unable to map interrupt
pci0: <serial bus, USB> at device 5.3 (no driver attached)
ahc0: <Adaptec aic7890/91 Ultra2 SCSI adapter> 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: <display, VGA> at device 7.0 (no driver attached)
ahc1: <Adaptec 3960D Ultra160 SCSI adapter> 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: <Adaptec 3960D Ultra160 SCSI adapter> 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: <PCI bus> on pcib1
nge0: <National Semiconductor Gigabit Ethernet> 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: <MII bus> on nge0
nsgphy0: <DP83861 10/100/1000 media interface> on miibus0
nsgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
dc0: <Intel 21143 10/100BaseTX> port 0x10100-0x1017f mem 0x1051000-0x105107f irq 43 at device 8.0 on pci1
dc0: Ethernet address: 00:00:f8:10:52:47
miibus1: <MII bus> on dc0
dcphy0: <Intel 21143 NWAY media interface> on miibus1
dcphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
dc0: interrupting at TSUNAMI irq 43
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
atkbd0: interrupting at ISA irq 1
mcclock0: <MC146818A real time clock> at port 0x70-0x71 on isa0
sc0: <System console> 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: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "i8254" frequency 1193182 Hz quality 0
Timecounters tick every 0.976 msec
acd0: CDROM <TOSHIBA CD-ROM XM-6702B> 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: <IBM IC35L036UWD210-0 S5BS> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200312280049.50629.dejan.lesjak>