Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Nov 2005 13:27:26 +0000
From:      Chris Howells <howells@kde.org>
To:        freebsd-net@freebsd.org
Subject:   Re: em(4) patch for test
Message-ID:  <200511031327.26695.howells@kde.org>
In-Reply-To: <20051020140200.GL59364@cell.sick.ru>
References:  <20051020140200.GL59364@cell.sick.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 20 October 2005 14:02, Gleb Smirnoff wrote:

>   since the if_em problem was taken as a late showstopper for 6.0-RELEASE,
> I am asking you to help with testing of the fixes made in HEAD.
>
>   Does your em(4) interface wedge for some time?
>   Do you see a lot of errors in 'netstat -i' output? Does these errors
>   increase not monotonously but they have peaks?
>
> If the answer is yes, then the attached patch is likely to fix your
> problem. If the answer is no, then you are still encouraged to help with
> testing and install the patch to check that no regressions are introduced.
> If you skip this, then you may encounter regressions after release, so you
> have been warned.

Doesn't fix the problem for me, the card still stops responding sometimes.

em0, Sean, I just recieved an RX overrun interrupt, Take it easy on me!
em0, Sean, I just recieved an RX overrun interrupt, Take it easy on me!
em0, Sean, I just recieved an RX overrun interrupt, Take it easy on me!
em0, Sean, I just recieved an RX overrun interrupt, Take it easy on me!
em0, Sean, I just recieved an RX overrun interrupt, Take it easy on me!
em0, Sean, I just recieved an RX overrun interrupt, Take it easy on me!
em0, Sean, I just recieved an RX overrun interrupt, Take it easy on me!
em0, Sean, I just recieved an RX overrun interrupt, Take it easy on me!
em0, Sean, I just recieved an RX overrun interrupt, Take it easy on me!
nfs server 192.168.1.11:/raid2: not responding
em0, Sean, I just recieved an RX overrun interrupt, Take it easy on me!
em0, Sean, I just recieved an RX overrun interrupt, Take it easy on me!
em0, Sean, I just recieved an RX overrun interrupt, Take it easy on me!
em0, Sean, I just recieved an RX overrun interrupt, Take it easy on me!
em0, Sean, I just recieved an RX overrun interrupt, Take it easy on me!
em0, Sean, I just recieved an RX overrun interrupt, Take it easy on me!
em0, Sean, I just recieved an RX overrun interrupt, Take it easy on me!
em0, Sean, I just recieved an RX overrun interrupt, Take it easy on me!
em0, Sean, I just recieved an RX overrun interrupt, Take it easy on me!
nfs server 192.168.1.11:/raid2: not responding
em0, Sean, I just recieved an RX overrun interrupt, Take it easy on me!


I had to 'ifconfig em0 down; ifconfig em0 up' on the console to get it to work 
again.

Netstat -i seems to show some input errors:


[12:21][chris@sauron:~]$ netstat -i
Name    Mtu Network       Address              Ipkts Ierrs    Opkts Oerrs  
Coll
<snip>
em0    1500 <Link#2>      00:0e:0c:74:0d:4c 161332114   149 167896109     0     
0
em0    1500 192.168.1     sauron            161275107     - 167892529     -     
-
em0    1500 fe80:2::20e:c fe80:2::20e:cff:f        0     -        6     -     
-
<snip>

The system is:

[12:21][chris@sauron:~]$ uname -a
FreeBSD sauron.devrandom.org.uk 5.4-STABLE FreeBSD 5.4-STABLE #18: Thu Oct 27 
17:02:46 BST 2005     
root@sauron.devrandom.org.uk:/usr/obj/usr/src/sys/SAURON  i386
[12:21][chris@sauron:~]$ uptime
12:26PM  up 6 days, 19:58, 3 users, load averages: 0.00, 0.09, 0.11

Copyright (c) 1992-2005 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.4-STABLE #18: Thu Oct 27 17:02:46 BST 2005
    root@sauron.devrandom.org.uk:/usr/obj/usr/src/sys/SAURON
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Duron(TM) (1791.21-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x681  Stepping = 1
  
Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
  AMD Features=0xc0400000<AMIE,DSP,3DNow!>
real memory  = 402636800 (383 MB)
avail memory = 384307200 (366 MB)
npx0: <math processor> on motherboard
npx0: INT 16 interface
cpu0 on motherboard
pcib0: <Host to PCI bridge> pcibus 0 on motherboard
pir0: <PCI Interrupt Routing Table: 14 Entries> on motherboard
pci0: <PCI bus> on pcib0
agp0: <VIA 8377 (Apollo KT400/KT400A/KT600) host to PCI bridge> mem 
0xf8000000-0xfbffffff at device 0.0 on pci0
pcib1: <PCIBIOS PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
atapci0: <Promise PDC20268 UDMA100 controller> port 
0xa400-0xa40f,0xa800-0xa803,0xb000-0xb007,0xb400-0xb403,0xb800-0xb807 mem 
0xf2800000-0xf2803fff irq 5 at device 12.0 on pci0
ata2: channel #0 on atapci0
ata3: channel #1 on atapci0
atapci1: <Promise PDC20268 UDMA100 controller> port 
0x8800-0x880f,0x9000-0x9003,0x9400-0x9407,0x9800-0x9803,0xa000-0xa007 mem 
0xf2000000-0xf2003fff irq 11 at device 13.0 on pci0
ata4: channel #0 on atapci1
ata5: channel #1 on atapci1
ahc0: <Adaptec 2940 Ultra SCSI adapter> port 0x8400-0x84ff mem 
0xf1800000-0xf1800fff irq 10 at device 14.0 on pci0
aic7880: Ultra Wide Channel A, SCSI Id=15, 16/253 SCBs
uhci0: <VIA 83C572 USB controller> port 0x8000-0x801f irq 9 at device 16.0 on 
pci0
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <VIA 83C572 USB controller> port 0x7800-0x781f irq 9 at device 16.1 on 
pci0
usb1: <VIA 83C572 USB controller> on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: <VIA 83C572 USB controller> port 0x7400-0x741f irq 9 at device 16.2 on 
pci0
usb2: <VIA 83C572 USB controller> on uhci2
usb2: USB revision 1.0
uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
pci0: <serial bus, USB> at device 16.3 (no driver attached)
isab0: <PCI-ISA bridge> at device 17.0 on pci0
isa0: <ISA bus> on isab0
atapci2: <VIA 8235 UDMA133 controller> port 
0x7000-0x700f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 17.1 on pci0
ata0: channel #0 on atapci2
ata1: channel #1 on atapci2
vr0: <VIA VT6102 Rhine II 10/100BaseTX> port 0x6800-0x68ff mem 
0xf0800000-0xf08000ff irq 11 at device 18.0 on pci0
miibus0: <MII bus> on vr0
rlphy0: <RTL8201L 10/100 media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vr0: Ethernet address: 00:11:2f:51:8f:24
em0: <Intel(R) PRO/1000 Network Connection, Version - 1.7.35> port 
0x6400-0x643f mem 0xf0000000-0xf001ffff irq 3 at device 19.0 on pci0
em0: Ethernet address: 00:0e:0c:74:0d:4c
em0:  Speed:N/A  Duplex:N/A
orm0: <ISA Option ROMs> at iomem 
0xd0000-0xd07ff,0xcc000-0xce7ff,0xc0000-0xc7fff on isa0
pmtimer0 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0f13> can't assign resources (irq)
unknown: <PNP0303> can't assign resources (port)
Timecounter "TSC" frequency 1791212858 Hz quality 800
Timecounters tick every 10.000 msec
ad0: 39205MB <Maxtor 6E040L0/NAR61EA0> [79656/16/63] at ata0-master UDMA133
ad2: 152627MB <WDC WD1600JB-00EVA0/15.05R15> [310101/16/63] at ata1-master 
UDMA100
ad4: 152627MB <WDC WD1600JB-32EVA0/15.05R15> [310101/16/63] at ata2-master 
UDMA100
ad6: 194481MB <Maxtor 6B200P0/BAH41B70> [395136/16/63] at ata3-master UDMA100
ad8: 152627MB <WDC WD1600JB-00EVA0/15.05R15> [310101/16/63] at ata4-master 
UDMA100
ad10: 152627MB <WDC WD1600JB-00EVA0/15.05R15> [310101/16/63] at ata5-master 
UDMA100
Waiting 15 seconds for SCSI devices to settle
sa0 at ahc0 bus 0 target 6 lun 0
sa0: <HP C7438A V312> Removable Sequential Access SCSI-3 device
sa0: 40.000MB/s transfers (20.000MHz, offset 8, 16bit)
Mounting root from ufs:/dev/ad0s1a
em0: Link is up 1000 Mbps Full Duplex


-- 
Cheers, Chris Howells -- chris@chrishowells.co.uk, howells@kde.org
Web: http://chrishowells.co.uk, PGP ID: 0x33795A2C
KDE/Qt/C++/PHP Developer: http://www.kde.org




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