Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jan 2007 17:05:32 +0100
From:      Robin Gruyters <r.gruyters@yirdis.nl>
To:        freebsd-net@freebsd.org
Subject:   Re: [Fwd: Re: bge Ierr rate increase from 5.3R -> 6.1R]
Message-ID:  <20070125170532.c9c2374hkwk4oc4k@server.yirdis.net>

next in thread | raw e-mail | index | archive | help
On 13-Jan-2007 Oleg Bulyzhin wrote:
>
> > Could you please test attached patch? It should fix ierrs issue =20
> and should not
> > break link events (would be fine to test it: unplug/plug cable, =20
> try to change
> > media with ifconfig, change media on other end of wire).
> >
Hi ya,

Just wondering will this patch/update be available for RELENG_6? I =20
have the same problems here with 3 of our servers.

Here is dmesg from our development server:

[...]
Copyright (c) 1992-2007 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 is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.2-RELEASE #1: Mon Jan 15 15:34:19 CET 2007
     root@server.yirdis.net:/data/obj/data/src_6_2/sys/YIRDIS
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(TM) CPU 3.00GHz (3000.12-MHz 686-class CPU)
   Origin =3D "GenuineIntel"  Id =3D 0xf41  Stepping =3D 1
   =20
Features=3D0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,M=
CA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
   Features2=3D0x641d<SSE3,RSVD2,MON,DS_CPL,CNTX-ID,CX16,<b14>>
   AMD Features=3D0x20000000<LM>
   Logical CPUs per core: 2
real memory  =3D 2147430400 (2047 MB)
avail memory =3D 2100547584 (2003 MB)
ACPI APIC Table: <HP     00000083>
Security auditing service present
BSM auditing present
ioapic1: Changing APIC ID to 9
ioapic0 <Version 2.0> irqs 0-23 on motherboard
ioapic1 <Version 2.0> irqs 24-47 on motherboard
ioapic2 <Version 2.0> irqs 48-71 on motherboard
ioapic3 <Version 2.0> irqs 72-95 on motherboard
acpi0: <HP P52> on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x908-0x90b on acpi0
cpu0: <ACPI CPU> on acpi0
pcib0: <ACPI Host-PCI bridge> on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> at device 2.0 on pci0
pci13: <ACPI PCI bus> on pcib1
pcib2: <ACPI PCI-PCI bridge> at device 4.0 on pci0
pci6: <ACPI PCI bus> on pcib2
pcib3: <ACPI PCI-PCI bridge> at device 0.0 on pci6
pci7: <ACPI PCI bus> on pcib3
pcib4: <ACPI PCI-PCI bridge> at device 0.2 on pci6
pci10: <ACPI PCI bus> on pcib4
pcib5: <PCI-PCI bridge> at device 1.0 on pci10
pci11: <PCI bus> on pcib5
ste0: <D-Link DL10050 10/100BaseTX> port 0x5000-0x507f irq 72 at =20
device 4.0 on pci11
miibus0: <MII bus> on ste0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ste0: Ethernet address: 00:0d:88:fc:c8:cc
ste1: <D-Link DL10050 10/100BaseTX> port 0x5080-0x50ff irq 73 at =20
device 5.0 on pci11
miibus1: <MII bus> on ste1
ukphy1: <Generic IEEE 802.3u media interface> on miibus1
ukphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ste1: Ethernet address: 00:0d:88:fc:c8:cd
ste2: <D-Link DL10050 10/100BaseTX> port 0x5400-0x547f irq 74 at =20
device 6.0 on pci11
miibus2: <MII bus> on ste2
ukphy2: <Generic IEEE 802.3u media interface> on miibus2
ukphy2:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ste2: Ethernet address: 00:0d:88:fc:c8:ce
ste3: <D-Link DL10050 10/100BaseTX> port 0x5480-0x54ff irq 75 at =20
device 7.0 on pci11
miibus3: <MII bus> on ste3
ukphy3: <Generic IEEE 802.3u media interface> on miibus3
ukphy3:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ste3: Ethernet address: 00:0d:88:fc:c8:cf
pcib6: <ACPI PCI-PCI bridge> at device 6.0 on pci0
pci3: <ACPI PCI bus> on pcib6
pcib7: <ACPI PCI-PCI bridge> at device 28.0 on pci0
pci2: <ACPI PCI bus> on pcib7
ciss0: <HP Smart Array 6i> port 0x4000-0x40ff mem =20
0xfdff0000-0xfdff1fff,0xfdf80000-0xfdfbffff irq 24 at device 1.0 on pci2
ciss0: [GIANT-LOCKED]
bge0: <Broadcom BCM5704 B0, ASIC rev. 0x2100> mem =20
0xfdf70000-0xfdf7ffff irq 25 at device 2.0 on pci2
miibus4: <MII bus> on bge0
brgphy0: <BCM5704 10/100/1000baseTX PHY> on miibus4
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, =20
1000baseTX-FDX, auto
bge0: Ethernet address: 00:12:79:94:ed:12
bge1: <Broadcom BCM5704 B0, ASIC rev. 0x2100> mem =20
0xfdf60000-0xfdf6ffff irq 26 at device 2.1 on pci2
miibus5: <MII bus> on bge1
brgphy1: <BCM5704 10/100/1000baseTX PHY> on miibus5
brgphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, =20
1000baseTX-FDX, auto
bge1: Ethernet address: 00:12:79:94:ed:11
pci0: <serial bus, USB> at device 29.0 (no driver attached)
pci0: <serial bus, USB> at device 29.1 (no driver attached)
pci0: <base peripheral> at device 29.4 (no driver attached)
pci0: <base peripheral, interrupt controller> at device 29.5 (no =20
driver attached)
pci0: <serial bus, USB> at device 29.7 (no driver attached)
pcib8: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci1: <ACPI PCI bus> on pcib8
pci1: <display, VGA> at device 3.0 (no driver attached)
pci1: <base peripheral> at device 4.0 (no driver attached)
pci1: <base peripheral> at device 4.2 (no driver attached)
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel 6300ESB UDMA100 controller> port =20
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x500-0x50f irq 18 at device 31.1 =20
on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
acpi_tz0: <Thermal Zone> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model IntelliMouse Explorer, device ID 4
sio0: <Standard PC COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
fdc0: <floppy drive controller (FDE)> port 0x3f2-0x3f5 irq 6 drq 2 on acpi0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem =20
0xc0000-0xc7fff,0xc8000-0xcbfff,0xee000-0xeffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=3D0x300>
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 3000124702 Hz quality 800
Timecounters tick every 1.000 msec
acd0: CDROM <COMPAQ CD-ROM SN-124/N104> at ata0-master PIO4
da0 at ciss0 bus 0 target 0 lun 0
da0: <COMPAQ RAID 1  VOLUME OK> Fixed Direct Access SCSI-0 device
da0: 135.168MB/s transfers
da0: 69459MB (142253280 512 byte sectors: 255H 32S/T 17433C)
Trying to mount root from ufs:/dev/da0s1a
Accounting enabled
[...]

And here the netstat interface statistics:
[...]
Name    Mtu Network       Address              Ipkts Ierrs    Opkts =20
Oerrs  Coll
ste0*  1500 <Link#1>      00:0d:88:fc:c8:cc        0     0        0    =20
  0     0
ste1*  1500 <Link#2>      00:0d:88:fc:c8:cd        0     0        0    =20
  0     0
ste2*  1500 <Link#3>      00:0d:88:fc:c8:ce        0     0        0    =20
  0     0
ste3*  1500 <Link#4>      00:0d:88:fc:c8:cf        0     0        0    =20
  0     0
bge0   1500 <Link#5>      00:12:79:94:ed:12 11343768 2114510 20564242  =20
    0     0
bge1*  1500 <Link#6>      00:12:79:94:ed:11        0     0        0    =20
  0     0
pflog 33208 <Link#7>                               0     0        0    =20
  0     0
lo0   16384 <Link#8>                        60221421     0 60221421    =20
  0     0
[...]

If you have a patch for FreeBSD 6.2, i'm quite happily to test it on =20
our development server.

Regards,

Robin Gruyters







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