From owner-freebsd-questions@FreeBSD.ORG Mon May 31 19:59:44 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 266C11065675 for ; Mon, 31 May 2010 19:59:44 +0000 (UTC) (envelope-from rowlands.mark@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id A6C218FC12 for ; Mon, 31 May 2010 19:59:43 +0000 (UTC) Received: by wyb36 with SMTP id 36so476658wyb.13 for ; Mon, 31 May 2010 12:59:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=nbhmA1kjgjlc3Q/qcZe9x+kZmiGwN1Z0c6FgzXXS/0s=; b=wb+00w0RY1Fyxu4bJKw18GXwEmGV9E66vLAeyFBHPZy6VnKLYwbSLLCECvChheTliN XRM/Z/4Dbg53NwnkadAeERgq8FpQlcABYhi+hXnuxjSDdeDfJ5cdtMx9zEyhOJ6KcnlJ ixzYzLewAZIsNu2dN1ONF7V562XX57gIGP/gs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=nXFJGDbWJAiBQoCjK+kFFBamvt5vvzmgBp4mJry361aRDDiPlUKOZcVVjLRqWlbdIZ vAOUV49F4c2tiujAqbwQNs0t0XM/vqDsoOnAGIoj9PcNeGSJzmzGEm5699SeR+CXopqC 95KGJ3ids34DnjKetkg6/ew34rEUCBPLKPp4c= MIME-Version: 1.0 Received: by 10.216.180.198 with SMTP id j48mr425089wem.108.1275334243085; Mon, 31 May 2010 12:30:43 -0700 (PDT) Received: by 10.216.7.11 with HTTP; Mon, 31 May 2010 12:30:42 -0700 (PDT) Date: Mon, 31 May 2010 21:30:42 +0200 Message-ID: From: mark rowlands To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Network sort of stops working with the em (intel) driver under load. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 May 2010 19:59:44 -0000 Newly built and cvsupped system,with GENERIC kernel, when copying large amounts of data over a gigabit link via scp the network will hang after a couple of gig. I can then no longer login via ssh. If I leave it be, after about 12-24 hours I can then login again. (A reboot of course fixes the issue immediately...) . The system is very vanilla, only accf_http in loader.conf. No sysctl tuning done, no firewall hankypanky. pciconf -lv | grep -A4 ^em em0@pci0:3:4:0: class=0x020000 card=0x001e8086 chip=0x100e8086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = 'Gigabit Ethernet Controller (82540EM)' class = network subclass = ethernet em0: port 0xec00-0xec3f mem 0xfeae0000-0xfeafffff,0xff irq 17 at device 4.0 on pci3 Suggestions as to where I could look for more information as to the precise nature of the problem gratefully received. Current plan is to purchase another variety of gigabit card to see if it is specific to the intel card. Copyright (c) 1992-2010 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 8.1-PRERELEASE #0: Sun May 30 10:00:58 CEST 2010 root@temp.mwrwin2k.se:/usr/obj/usr/src/sys/MARK2 i386 Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 3.40GHz (3391.53-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf34 Family = f Model = 3 Stepping = 4 Features=0xbfebfbff Features2=0x441d TSC: P-state invariant real memory = 2147483648 (2048 MB) avail memory = 2090823680 (1993 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs FreeBSD/SMP: 1 package(s) x 1 core(s) x 2 HTT threads cpu0 (BSP): APIC ID: 0 cpu1 (AP/HT): APIC ID: 1 ioapic0: Changing APIC ID to 2 ioapic1: Changing APIC ID to 3 ioapic0 irqs 0-23 on motherboard ioapic1 irqs 24-47 on motherboard kbd1 at kbdmux0 acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of fec00000, 1000 (3) failed acpi0: reservation of fee00000, 1000 (3) failed acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, 7ff00000 (3) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 cpu0: on acpi0 cpu1: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 vgapci0: port 0xd000-0xd0ff mem 0xc0000000-0xcfffffff,0xfe9e0000-0xfe9effff irq 16 at device 0.0 on pci1 vgapci1: mem 0xd0000000-0xdfffffff,0xfe9f0000-0xfe9fffff at device 0.1 on pci1 pcib2: irq 27 at device 2.0 on pci0 pci2: on pcib2 atapci0: port 0xcc00-0xcc07,0xc880-0xc883,0xc800-0xc807,0xc480-0xc483,0xc400-0xc40f,0xc000-0xc0ff irq 21 at device 15.0 on pci0 atapci0: [ITHREAD] ata2: on atapci0 ata2: [ITHREAD] ata3: on atapci0 ata3: [ITHREAD] atapci1: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfc00-0xfc0f at device 15.1 on pci0 ata0: on atapci1 ata0: [ITHREAD] ata1: on atapci1 ata1: [ITHREAD] uhci0: port 0xb480-0xb49f irq 20 at device 16.0 on pci0 uhci0: [ITHREAD] usbus0: on uhci0 uhci1: port 0xb800-0xb81f irq 22 at device 16.1 on pci0 uhci1: [ITHREAD] usbus1: on uhci1 uhci2: port 0xb880-0xb89f irq 21 at device 16.2 on pci0 uhci2: [ITHREAD] usbus2: on uhci2 uhci3: port 0xbc00-0xbc1f irq 23 at device 16.3 on pci0 uhci3: [ITHREAD] usbus3: on uhci3 ehci0: mem 0xfe8ffc00-0xfe8ffcff irq 21 at device 16.4 on pci0 ehci0: [ITHREAD] usbus4: EHCI version 1.0 usbus4: on ehci0 isab0: at device 17.0 on pci0 isa0: on isab0 vr0: port 0xb000-0xb0ff mem 0xfe8ff800-0xfe8ff8ff irq 23 at device 18.0 on pci0 vr0: Quirks: 0x0 vr0: Revision: 0x7c miibus0: on vr0 ukphy0: PHY 1 on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto vr0: Ethernet address: 00:19:66:92:a0:3f vr0: [ITHREAD] pcib3: at device 19.1 on pci0 pci3: on pcib3 em0: port 0xec00-0xec3f mem 0xfeae0000-0xfeafffff,0xfeac0000-0xfeadffff irq 17 at device 4.0 on pci3 em0: [FILTER] em0: Ethernet address: 00:0e:0c:38:a8:ca acpi_button0: on acpi0 acpi_button1: on acpi0 pcib4: on acpi0 pci128: on pcib4 pci128: at device 1.0 (no driver attached) atrtc0: port 0x70-0x71 irq 8 on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: [ITHREAD] psm0: model Generic PS/2 mouse, device ID 0 pmtimer0 on isa0 orm0: at iomem 0xc0000-0xccfff,0xcd000-0xce7ff pnpid ORM0000 on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ppc0: parallel port not found. p4tcc0: on cpu0 p4tcc1: on cpu1 Timecounters tick every 1.000 msec usbus0: 12Mbps Full Speed USB v1.0 usbus1: 12Mbps Full Speed USB v1.0 usbus2: 12Mbps Full Speed USB v1.0 usbus3: 12Mbps Full Speed USB v1.0 usbus4: 480Mbps High Speed USB v2.0 acd0: CDROM at ata0-master UDMA33 ugen0.1: at usbus0 uhub0: on usbus0 ugen1.1: at usbus1 uhub1: on usbus1 ugen2.1: at usbus2 uhub2: on usbus2 ugen3.1: at usbus3 uhub3: on usbus3 ugen4.1: at usbus4 uhub4: on usbus4 ad4: 238475MB at ata2-master UDMA100 SATA 1.5Gb/s ad6: 238475MB at ata3-master UDMA100 SATA 1.5Gb/s SMP: AP CPU #1 Launched! Root mount waiting for: usbus4 usbus3 usbus2 usbus1 usbus0 uhub0: 2 ports with 2 removable, self powered uhub1: 2 ports with 2 removable, self powered uhub2: 2 ports with 2 removable, self powered uhub3: 2 ports with 2 removable, self powered Root mount waiting for: usbus4 Root mount waiting for: usbus4 uhub4: 8 ports with 8 removable, self powered ugen4.2: at usbus4 umass0: on usbus4 Root mount waiting for: usbus4 Trying to mount root from ufs:/dev/ad4s1a da0 at umass-sim0 bus 0 scbus0 target 0 lun 0 da0: Fixed Direct Access SCSI-4 device da0: 40.000MB/s transfers da0: 953869MB (1953525168 512 byte sectors: 255H 63S/T 121601C)