network probs rxcsum

Jack Vogel jfvogel at gmail.com
Wed May 19 18:36:01 UTC 2010


vmstat -i ?

Custom kernel? If you use stock kernel do you still see this problem?
If you use 8 RELEASE do you see the problem?

Jack


On Wed, May 19, 2010 at 11:06 AM, Mark Stapper <stark at mapper.nl> wrote:

> On 05/19/10 12:44, Jeremy Chadwick wrote:
> > On Wed, May 19, 2010 at 12:34:17PM +0200, Mark Stapper wrote:
> >
> >> I have two machines running FreeBSD amd64 8.0-Stable with custom
> kernels.
> >> My newer box has had troubles with ssh from day one.
> >> I hoped a kernel upgrade would help, but it didn't.
> >> When I'd ssh into the box ssh would exit with errors:
> >> Bad packet length xxxxxx
> >> Disconnecting: Packet corrupt.
> >>
> >> after issueing: "ifconfig em0 -rxcons" everything was stable again.
> >> First I figured it'd be a driver issue. However, I use the same NIC in
> >> my other box!
> >> What could be causing this problem?
> >>
> > I think you mean "-rxcsum", not "-rxcons".
> >
> > Could you please provide output from the following commands?  Jack Vogel
> > will probably respond later about this, but said output would help him.
> >
> > - uname -a
> > - dmesg | grep em0
> > - pciconf -lvc
> >
> > Thanks.
> >
> >
> Could it be a shared interrupt problem?
> Even though ssh worked with rxcsup disabled, network performance was
> horrible!
> Using my onboard nick in stead of em0 cleared it right up!
> em0 is a pci addon card.
> Here are the outputs you requested:
>
> [root at mario ~]# uname -a
> FreeBSD mario 8.0-STABLE FreeBSD 8.0-STABLE #0: Tue May 18 19:37:30 CEST
> 2010     root@:/usr/obj/usr/src/sys/mario  amd64
> [root at mario ~]# dmesg |grep em0
> em0: <Intel(R) PRO/1000 Legacy Network Connection 1.0.1> port
> 0x9c00-0x9c3f mem 0xfdfa0000-0xfdfbffff,0xfdfc0000-0xfdfdffff irq 18 at
> device 6.0 on pci2
> em0: [FILTER]
> em0: Ethernet address: 00:1b:21:4b:8b:85
> em0: link state changed to UP
> em0: link state changed to DOWN
> em0: link state changed to UP
> em0: link state changed to DOWN
> em0: link state changed to UP
> em0: link state changed to DOWN
> em0: link state changed to UP
> em0: link state changed to DOWN
> em0: link state changed to UP
> em0: link state changed to DOWN
> [root at mario ~]# pciconf -lvc
> none0 at pci0:0:0:0:       class=0x050000 card=0x02f010de chip=0x02f410de
> rev=0xa2 hdr=0x00
>    vendor     = 'NVIDIA Corporation'
>    device     = 'C51 Host Bridge'
>    class      = memory
>    subclass   = RAM
>    cap 08[44] = HT slave
>    cap 08[e0] = HT MSI address window disabled at 0xfee00000
> none1 at pci0:0:0:1:       class=0x050000 card=0x02fa10de chip=0x02fa10de
> rev=0xa2 hdr=0x00
>    vendor     = 'NVIDIA Corporation'
>    device     = 'C51 Memory Controller 0'
>    class      = memory
>    subclass   = RAM
> none2 at pci0:0:0:2:       class=0x050000 card=0x02fe10de chip=0x02fe10de
> rev=0xa2 hdr=0x00
>    vendor     = 'NVIDIA Corporation'
>    device     = 'C51 Memory Controller 1'
>    class      = memory
>    subclass   = RAM
> none3 at pci0:0:0:3:       class=0x050000 card=0x02f810de chip=0x02f810de
> rev=0xa2 hdr=0x00
>    vendor     = 'NVIDIA Corporation'
>    device     = 'C51 Memory Controller 5'
>    class      = memory
>    subclass   = RAM
> none4 at pci0:0:0:4:       class=0x050000 card=0x02f910de chip=0x02f910de
> rev=0xa2 hdr=0x00
>    vendor     = 'NVIDIA Corporation'
>    device     = 'C51 Memory Controller 4'
>    class      = memory
>    subclass   = RAM
> none5 at pci0:0:0:5:       class=0x050000 card=0x02ff10de chip=0x02ff10de
> rev=0xa2 hdr=0x00
>    vendor     = 'NVIDIA Corporation'
>    device     = 'C51 Host Bridge'
>    class      = memory
>    subclass   = RAM
>    cap 00[44] = unknown
> none6 at pci0:0:0:6:       class=0x050000 card=0x027f10de chip=0x027f10de
> rev=0xa2 hdr=0x00
>    vendor     = 'NVIDIA Corporation'
>    device     = 'C51 Memory Controller 3'
>    class      = memory
>    subclass   = RAM
> none7 at pci0:0:0:7:       class=0x050000 card=0x027e10de chip=0x027e10de
> rev=0xa2 hdr=0x00
>    vendor     = 'NVIDIA Corporation'
>    device     = 'C51 Memory Controller 2'
>    class      = memory
>    subclass   = RAM
> pcib1 at pci0:0:4:0:       class=0x060400 card=0x000010de chip=0x02fb10de
> rev=0xa1 hdr=0x01
>    vendor     = 'NVIDIA Corporation'
>    device     = 'C51 PCIe Bridge'
>    class      = bridge
>    subclass   = PCI-PCI
>    cap 0d[40] = PCI Bridge card=0x000010de
>    cap 01[48] = powerspec 2  supports D0 D3  current D0
>    cap 05[50] = MSI supports 2 messages, 64 bit
>    cap 08[60] = HT MSI address window disabled at 0xfee00000
>    cap 10[80] = PCI-Express 1 root port max data 128(128) link x16(x16)
> none8 at pci0:0:8:0:       class=0x050000 card=0xcb8410de chip=0x036910de
> rev=0xa1 hdr=0x00
>    vendor     = 'NVIDIA Corporation'
>    device     = 'MCP55 Memory Controller'
>    class      = memory
>    subclass   = RAM
>    cap 08[44] = HT slave
>    cap 08[dc] = HT MSI address window enabled at 0xfee00000
> isab0 at pci0:0:9:0:       class=0x060100 card=0xcb8410de chip=0x036010de
> rev=0xa2 hdr=0x00
>    vendor     = 'NVIDIA Corporation'
>    device     = 'MCP55 LPC Bridge'
>    class      = bridge
>    subclass   = PCI-ISA
> none9 at pci0:0:9:1:       class=0x0c0500 card=0xcb8410de chip=0x036810de
> rev=0xa2 hdr=0x00
>    vendor     = 'NVIDIA Corporation'
>    device     = 'SMBus controller ((0xCB84 integrated chip nForce Pro
> 3400))'
>    class      = serial bus
>    subclass   = SMBus
>    cap 01[44] = powerspec 2  supports D0 D3  current D0
> none10 at pci0:0:9:3:      class=0x0b4000 card=0x00000000 chip=0x036b10de
> rev=0xa2 hdr=0x00
>    vendor     = 'NVIDIA Corporation'
>    device     = 'MCP55 SMU'
>    class      = processor
> ohci0 at pci0:0:10:0:      class=0x0c0310 card=0xcb8410de chip=0x036c10de
> rev=0xa1 hdr=0x00
>    vendor     = 'NVIDIA Corporation'
>    device     = 'Standard OpenHCD USB Hostcontroller (81FB1043)'
>    class      = serial bus
>    subclass   = USB
>    cap 01[44] = powerspec 2  supports D0 D1 D2 D3  current D0
> ehci0 at pci0:0:10:1:      class=0x0c0320 card=0xcb8410de chip=0x036d10de
> rev=0xa2 hdr=0x00
>    vendor     = 'NVIDIA Corporation'
>    device     = 'Standard PCI-to-USB Enhanced Hostcontroller (81FB1043)'
>    class      = serial bus
>    subclass   = USB
>    cap 0a[44] = EHCI Debug Port at offset 0x98 in map 0x14
>    cap 01[80] = powerspec 2  supports D0 D1 D2 D3  current D0
> atapci0 at pci0:0:12:0:    class=0x01018a card=0xcb8410de chip=0x036e10de
> rev=0xa1 hdr=0x00
>    vendor     = 'NVIDIA Corporation'
>    device     = 'MCP55 PATA Controller (MCP55)'
>    class      = mass storage
>    subclass   = ATA
>    cap 01[44] = powerspec 2  supports D0 D3  current D0
> atapci1 at pci0:0:13:0:    class=0x010185 card=0xcb8410de chip=0x037f10de
> rev=0xa2 hdr=0x00
>    vendor     = 'NVIDIA Corporation'
>    device     = 'MCP55 SATA/RAID Controller (MCP55S)'
>    class      = mass storage
>    subclass   = ATA
>    cap 01[44] = powerspec 2  supports D0 D3  current D0
>    cap 05[b0] = MSI supports 4 messages, 64 bit
>    cap 08[cc] = HT MSI fixed address window disabled at 0xfee00000
> atapci2 at pci0:0:13:1:    class=0x010185 card=0xcb8410de chip=0x037f10de
> rev=0xa2 hdr=0x00
>    vendor     = 'NVIDIA Corporation'
>    device     = 'MCP55 SATA/RAID Controller (MCP55S)'
>    class      = mass storage
>    subclass   = ATA
>    cap 01[44] = powerspec 2  supports D0 D3  current D0
>    cap 05[b0] = MSI supports 4 messages, 64 bit
>    cap 08[cc] = HT MSI fixed address window disabled at 0xfee00000
> atapci3 at pci0:0:13:2:    class=0x010185 card=0xcb8410de chip=0x037f10de
> rev=0xa2 hdr=0x00
>    vendor     = 'NVIDIA Corporation'
>    device     = 'MCP55 SATA/RAID Controller (MCP55S)'
>    class      = mass storage
>    subclass   = ATA
>    cap 01[44] = powerspec 2  supports D0 D3  current D0
>    cap 05[b0] = MSI supports 4 messages, 64 bit
>    cap 08[cc] = HT MSI fixed address window disabled at 0xfee00000
> pcib2 at pci0:0:14:0:      class=0x060401 card=0xcb8410de chip=0x037010de
> rev=0xa2 hdr=0x01
>    vendor     = 'NVIDIA Corporation'
>    device     = 'MCP55 PCI bridge'
>    class      = bridge
>    subclass   = PCI-PCI
>    cap 0d[b8] = PCI Bridge card=0xcb8410de
>    cap 08[8c] = HT MSI address window disabled at 0xfee00000
> nfe0 at pci0:0:16:0:       class=0x068000 card=0xcb8410de chip=0x037310de
> rev=0xa2 hdr=0x00
>    vendor     = 'NVIDIA Corporation'
>    device     = 'MCP55 Ethernet'
>    class      = bridge
>    cap 01[44] = powerspec 2  supports D0 D1 D2 D3  current D0
>    cap 11[70] = MSI-X supports 8 messages in maps 0x18 and 0x1c enabled
>    cap 05[50] = MSI supports 8 messages, 64 bit, vector masks
>    cap 08[6c] = HT MSI fixed address window enabled at 0xfee00000
> nfe1 at pci0:0:17:0:       class=0x068000 card=0xcb8410de chip=0x037310de
> rev=0xa2 hdr=0x00
>    vendor     = 'NVIDIA Corporation'
>    device     = 'MCP55 Ethernet'
>    class      = bridge
>    cap 01[44] = powerspec 2  supports D0 D1 D2 D3  current D0
>    cap 11[70] = MSI-X supports 8 messages in maps 0x18 and 0x1c enabled
>    cap 05[50] = MSI supports 8 messages, 64 bit, vector masks
>    cap 08[6c] = HT MSI fixed address window enabled at 0xfee00000
> pcib3 at pci0:0:18:0:      class=0x060400 card=0x000010de chip=0x037610de
> rev=0xa2 hdr=0x01
>    vendor     = 'NVIDIA Corporation'
>    device     = 'MCP55 PCIe bridge'
>    class      = bridge
>    subclass   = PCI-PCI
>    cap 0d[40] = PCI Bridge card=0x000010de
>    cap 01[48] = powerspec 2  supports D0 D3  current D0
>    cap 05[50] = MSI supports 2 messages, 64 bit
>    cap 08[60] = HT MSI address window disabled at 0xfee00000
>    cap 10[80] = PCI-Express 1 root port max data 256(256) link x8(x8)
> pcib4 at pci0:0:20:0:      class=0x060400 card=0x000010de chip=0x037410de
> rev=0xa2 hdr=0x01
>    vendor     = 'NVIDIA Corporation'
>    device     = 'MCP55 PCIe bridge'
>    class      = bridge
>    subclass   = PCI-PCI
>    cap 0d[40] = PCI Bridge card=0x000010de
>    cap 01[48] = powerspec 2  supports D0 D3  current D0
>    cap 05[50] = MSI supports 2 messages, 64 bit
>    cap 08[60] = HT MSI address window disabled at 0xfee00000
>    cap 10[80] = PCI-Express 1 root port max data 256(256) link x4(x1)
> pcib5 at pci0:0:21:0:      class=0x060400 card=0x000010de chip=0x037810de
> rev=0xa2 hdr=0x01
>    vendor     = 'NVIDIA Corporation'
>    device     = 'MCP55 PCIe bridge'
>    class      = bridge
>    subclass   = PCI-PCI
>    cap 0d[40] = PCI Bridge card=0x000010de
>    cap 01[48] = powerspec 2  supports D0 D3  current D0
>    cap 05[50] = MSI supports 2 messages, 64 bit
>    cap 08[60] = HT MSI address window disabled at 0xfee00000
>    cap 10[80] = PCI-Express 1 root port max data 256(256) link x4(x1)
> pcib6 at pci0:0:22:0:      class=0x060400 card=0x000010de chip=0x037510de
> rev=0xa2 hdr=0x01
>    vendor     = 'NVIDIA Corporation'
>    device     = 'MCP55 PCIe bridge'
>    class      = bridge
>    subclass   = PCI-PCI
>    cap 0d[40] = PCI Bridge card=0x000010de
>    cap 01[48] = powerspec 2  supports D0 D3  current D0
>    cap 05[50] = MSI supports 2 messages, 64 bit
>    cap 08[60] = HT MSI address window disabled at 0xfee00000
>    cap 10[80] = PCI-Express 1 root port max data 256(256) link x8(x1)
> pcib7 at pci0:0:23:0:      class=0x060400 card=0x000010de chip=0x037710de
> rev=0xa2 hdr=0x01
>    vendor     = 'NVIDIA Corporation'
>    device     = 'MCP55 PCIe bridge'
>    class      = bridge
>    subclass   = PCI-PCI
>    cap 0d[40] = PCI Bridge card=0x000010de
>    cap 01[48] = powerspec 2  supports D0 D3  current D0
>    cap 05[50] = MSI supports 2 messages, 64 bit
>    cap 08[60] = HT MSI address window disabled at 0xfee00000
>    cap 10[80] = PCI-Express 1 root port max data 256(256) link x16(x16)
> hostb0 at pci0:0:24:0:     class=0x060000 card=0x00000000 chip=0x11001022
> rev=0x00 hdr=0x00
>    vendor     = 'Advanced Micro Devices (AMD)'
>    device     = 'Athlon64/Opteron/Sempron (K8 Family) HyperTransport
> Technology Configuration'
>    class      = bridge
>    subclass   = HOST-PCI
>    cap 08[80] = HT host
> hostb1 at pci0:0:24:1:     class=0x060000 card=0x00000000 chip=0x11011022
> rev=0x00 hdr=0x00
>    vendor     = 'Advanced Micro Devices (AMD)'
>    device     = 'Athlon64/Opteron/Sempron (K8 Family) Address Map'
>    class      = bridge
>    subclass   = HOST-PCI
> hostb2 at pci0:0:24:2:     class=0x060000 card=0x00000000 chip=0x11021022
> rev=0x00 hdr=0x00
>    vendor     = 'Advanced Micro Devices (AMD)'
>    device     = 'Athlon64/Opteron/Sempron (K8 Family) DRAM Controller'
>    class      = bridge
>    subclass   = HOST-PCI
> hostb3 at pci0:0:24:3:     class=0x060000 card=0x00000000 chip=0x11031022
> rev=0x00 hdr=0x00
>    vendor     = 'Advanced Micro Devices (AMD)'
>    device     = 'Athlon64/Opteron/Sempron (K8 Family) Miscellaneous
> Control'
>    class      = bridge
>    subclass   = HOST-PCI
>    cap 0f[f0] = unknown
> vgapci0 at pci0:1:0:0:     class=0x030000 card=0x042010de chip=0x019310de
> rev=0xa2 hdr=0x00
>    vendor     = 'NVIDIA Corporation'
>    device     = 'NVIDIA GeForce 8800 GTS (G80)'
>    class      = display
>    subclass   = VGA
>    cap 01[60] = powerspec 2  supports D0 D3  current D0
>    cap 05[68] = MSI supports 1 message, 64 bit
>    cap 10[78] = PCI-Express 1 endpoint max data 128(128) link x16(x16)
> em0 at pci0:2:6:0: class=0x020000 card=0x13768086 chip=0x107c8086 rev=0x05
> hdr=0x00
>    vendor     = 'Intel Corporation'
>    device     = 'Gigabit Ethernet Controller (Copper) rev 5 (82541PI)'
>    class      = network
>    subclass   = ethernet
>    cap 01[dc] = powerspec 2  supports D0 D3  current D0
>    cap 07[e4] = PCI-X supports 2048 burst read, 1 split transaction
> emu10kx0 at pci0:2:7:0:    class=0x040100 card=0x10211102 chip=0x00081102
> rev=0x00 hdr=0x00
>    vendor     = 'Creative Technology LTD.'
>    device     = 'sound blaster Audigy 2 (ca0108)'
>    class      = multimedia
>    subclass   = audio
>    cap 01[dc] = powerspec 2  supports D0 D1 D2 D3  current D0
> fwohci0 at pci0:2:9:0:     class=0x0c0010 card=0x100615bd chip=0x30441106
> rev=0x80 hdr=0x00
>    vendor     = 'VIA Technologies, Inc.'
>    device     = 'VT6306 VIA Fire II IEEE-1394 OHCI Link Layer Controller'
>    class      = serial bus
>    subclass   = FireWire
>    cap 01[50] = powerspec 2  supports D0 D2 D3  current D0
>
> _______________________________________________
> freebsd-stable at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"
>


More information about the freebsd-stable mailing list