From owner-freebsd-stable@FreeBSD.ORG Thu Apr 8 17:18:59 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E00321065673 for ; Thu, 8 Apr 2010 17:18:59 +0000 (UTC) (envelope-from jamesbrandongooch@gmail.com) Received: from mail-iw0-f171.google.com (mail-iw0-f171.google.com [209.85.223.171]) by mx1.freebsd.org (Postfix) with ESMTP id A32B98FC15 for ; Thu, 8 Apr 2010 17:18:59 +0000 (UTC) Received: by iwn1 with SMTP id 1so1589731iwn.27 for ; Thu, 08 Apr 2010 10:18:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=QitmNvqoLL4DYsEARhq0JKaNJ2YIjB9LfpIbMD2XdmU=; b=nxPAg8T6ALSj2wu5HOEHjc6o4APmuYuXrOOgKKfC1E5/+RqqipS9NHrrQ1cJA5a/U1 YNFxEsIQabbaEofeiyE4UtnJLyvG6lM/iHFnDtxGlXB5cR++yY2k37WM0Q0JKAO7t8xl HC4XgwF3wkCRch00kQfw16ZdTIpJg7Tk5hs7w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=hIPN8JQZWK39QpRYRz9RGTvSWvm/XrHwwmrAL5j1J/O/XFsmI5QGJO+CQRLl5rVzG7 CXz95t4aqj12Ji0u+RBowJez+asF0DHtJP5plKnjcH+I75rOgnmBshva0jTKnOYGvYLc hrygFAk11ZmW1aWHDgWYFz+g+cGAJWzRPBgiw= MIME-Version: 1.0 Received: by 10.231.44.209 with HTTP; Thu, 8 Apr 2010 10:18:58 -0700 (PDT) In-Reply-To: References: <201004081313.o38DD4JM041821@lava.sentex.ca> <201004081320.o38DKVX7041854@lava.sentex.ca> Date: Thu, 8 Apr 2010 12:18:58 -0500 Received: by 10.231.154.77 with SMTP id n13mr193488ibw.11.1270747138911; Thu, 08 Apr 2010 10:18:58 -0700 (PDT) Message-ID: From: Brandon Gooch To: Jack Vogel Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-stable@freebsd.org Subject: Re: em driver regression X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Apr 2010 17:19:00 -0000 On Thu, Apr 8, 2010 at 12:06 PM, Jack Vogel wrote: > > > On Thu, Apr 8, 2010 at 10:01 AM, Brandon Gooch > wrote: >> >> On Thu, Apr 8, 2010 at 11:52 AM, Jack Vogel wrote: >> > Mike, I noticed this connection is only 100Mb, that isn't accidental? >> > And, >> > is it possible for >> > you to check a connection at 1Gb and see if the watchdogs don't happen= . >> > >> > My test engineer is running this code, and we are having trouble >> > repro'ing >> > the issue, so any >> > clues might help. Is the kernel 64 or 32 bit? >> > >> > Jack >> > >> >> Not to butt in or anything... > > Not butting in :)=A0 OK, so this all looks fine or am I missing something= ? > > Jack > This is the dmesg from the system exhibiting the "ip length 328 disagrees with bytes received 332" while attempting to obtain a lease on the two DHCP-enabled VLANs, and also manifests in the VirtualBox bridged networking guests. I can honestly say that other than the output from dhclient and the VirtualBox issue, I might not have noticed problems otherwise. For instance, I have a VLAN interface configured to connect to an "outside" LAN segment and I'm running sshd on that interfaces IP address (using the new multiple routing table feature as well). I was able to connect to the sshd instance as usual, and I can make connections out as in: # setfib 4 ping google.com ...things seemed OK. Until VirtualBox. Then I started paying attention to messages scrolling by as my machine booted and saw the dhclient "ip length" thing (just as Mike Tancsa had) and thought, "It must be the new em(4) driver". That's my story :) I don't know what chip my em(4) device is, how can I check that? Also, would some type of traffic capture help in this case? -Brandon >> >> 64-bit FreeBSD Stable, 1Gb em(4) connected to Cisco 2960G trunking port. >> >> My dmesg: >> >> Copyright (c) 1992-2010 The FreeBSD Project. >> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 >> =A0 =A0 =A0 =A0The Regents of the University of California. All rights r= eserved. >> FreeBSD is a registered trademark of The FreeBSD Foundation. >> FreeBSD 8.0-STABLE #2 r206210:206343MS: Wed Apr =A07 16:18:14 CDT 2010 >> =A0 =A0root@bgooch755.se.edu:/usr/obj/usr/src/sys/DELL755 amd64 >> Timecounter "i8254" frequency 1193182 Hz quality 0 >> CPU: Intel(R) Core(TM)2 Quad CPU =A0 =A0Q6600 =A0@ 2.40GHz (2394.00-MHz = K8-class >> CPU) >> =A0Origin =3D "GenuineIntel" =A0Id =3D 0x6fb =A0Family =3D 6 =A0Model = =3D f =A0Stepping =3D 11 >> >> =A0Features=3D0xbfebfbff >> =A0Features2=3D0xe3bd >> =A0AMD Features=3D0x20100800 >> =A0AMD Features2=3D0x1 >> =A0TSC: P-state invariant >> real memory =A0=3D 8589934592 (8192 MB) >> avail memory =3D 8103940096 (7728 MB) >> ACPI APIC Table: >> FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs >> FreeBSD/SMP: 1 package(s) x 4 core(s) >> =A0cpu0 (BSP): APIC ID: =A00 >> =A0cpu1 (AP): APIC ID: =A01 >> =A0cpu2 (AP): APIC ID: =A02 >> =A0cpu3 (AP): APIC ID: =A03 >> ioapic0: Changing APIC ID to 8 >> ioapic0 irqs 0-23 on motherboard >> lapic0: Forcing LINT1 to edge trigger >> kbd1 at kbdmux0 >> acpi0: on motherboard >> acpi0: [ITHREAD] >> acpi0: Power Button (fixed) >> 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 >> cpu2: on acpi0 >> cpu3: on acpi0 >> acpi_hpet0: iomem 0xfed00000-0xfed003ff on >> acpi0 >> Timecounter "HPET" frequency 14318180 Hz quality 900 >> acpi_button0: on acpi0 >> pcib0: port 0xcf8-0xcff on acpi0 >> pci0: on pcib0 >> pcib1: irq 16 at device 1.0 on pci0 >> pci1: on pcib1 >> vgapci0: port 0xdc80-0xdcff mem >> 0xfd000000-0xfdffffff,0xd0000000-0xdfffffff,0xfa000000-0xfbffffff irq >> 16 at device 0.0 on pci1 >> nvidia0: on vgapci0 >> vgapci0: child nvidia0 requested pci_enable_busmaster >> vgapci0: child nvidia0 requested pci_enable_io >> vgapci0: child nvidia0 requested pci_enable_io >> nvidia0: [ITHREAD] >> pci0: at device 3.0 (no driver attached) >> atapci0: port >> 0xfe80-0xfe87,0xfe90-0xfe93,0xfea0-0xfea7,0xfeb0-0xfeb3,0xfef0-0xfeff >> irq 18 at device 3.2 on pci0 >> atapci0: [ITHREAD] >> ata2: on atapci0 >> ata2: [ITHREAD] >> ata3: on atapci0 >> ata3: [ITHREAD] >> pci0: at device 3.3 (no driver attached) >> em0: port 0xecc0-0xecdf >> mem 0xfebe0000-0xfebfffff,0xfebdb000-0xfebdbfff irq 21 at device 25.0 >> on pci0 >> em0: Using MSI interrupt >> em0: [FILTER] >> em0: Ethernet address: 00:1e:4f:d5:84:b7 >> uhci0: port 0xff20-0xff3f irq 16 >> at device 26.0 on pci0 >> uhci0: [ITHREAD] >> uhci0: LegSup =3D 0x2f00 >> usbus0: on uhci0 >> uhci1: port 0xff00-0xff1f irq 17 >> at device 26.1 on pci0 >> uhci1: [ITHREAD] >> uhci1: LegSup =3D 0x2f00 >> usbus1: on uhci1 >> ehci0: mem >> 0xfebd9c00-0xfebd9fff irq 22 at device 26.7 on pci0 >> ehci0: [ITHREAD] >> usbus2: EHCI version 1.0 >> usbus2: on ehci0 >> hdac0: mem >> 0xfebdc000-0xfebdffff irq 16 at device 27.0 on pci0 >> hdac0: HDA Driver Revision: 20100226_0142 >> hdac0: [ITHREAD] >> pcib2: irq 16 at device 28.0 on pci0 >> pci2: on pcib2 >> uhci2: port 0xff80-0xff9f irq 23 >> at device 29.0 on pci0 >> uhci2: [ITHREAD] >> usbus3: on uhci2 >> uhci3: port 0xff60-0xff7f irq 17 >> at device 29.1 on pci0 >> uhci3: [ITHREAD] >> usbus4: on uhci3 >> uhci4: port 0xff40-0xff5f irq 18 >> at device 29.2 on pci0 >> uhci4: [ITHREAD] >> usbus5: on uhci4 >> ehci1: mem >> 0xff980800-0xff980bff irq 23 at device 29.7 on pci0 >> ehci1: [ITHREAD] >> usbus6: EHCI version 1.0 >> usbus6: on ehci1 >> pcib3: at device 30.0 on pci0 >> pci3: on pcib3 >> atapci1: port >> 0xc8e0-0xc8e7,0xc8d8-0xc8db,0xc8e8-0xc8ef,0xc8dc-0xc8df,0xc8f0-0xc8ff >> mem 0xf9dffc00-0xf9dfffff irq 16 at device 0.0 on pci3 >> atapci1: [ITHREAD] >> ata4: on atapci1 >> ata4: [ITHREAD] >> ata5: on atapci1 >> ata5: [ITHREAD] >> ata6: on atapci1 >> ata6: [ITHREAD] >> ata7: on atapci1 >> ata7: [ITHREAD] >> pci3: at device 2.0 (no driver attached) >> isab0: at device 31.0 on pci0 >> isa0: on isab0 >> atapci2: port >> 0xfe00-0xfe07,0xfe10-0xfe13,0xfe20-0xfe27,0xfe30-0xfe33,0xfec0-0xfedf >> mem 0xff970000-0xff9707ff irq 18 at device 31.2 on pci0 >> atapci2: [ITHREAD] >> atapci2: AHCI called from vendor specific driver >> atapci2: AHCI v1.20 controller with 6 3Gbps ports, PM supported >> ata8: on atapci2 >> ata8: [ITHREAD] >> ata9: on atapci2 >> ata9: [ITHREAD] >> ata10: on atapci2 >> ata10: [ITHREAD] >> ata11: on atapci2 >> ata11: [ITHREAD] >> ata12: on atapci2 >> ata12: [ITHREAD] >> pci0: at device 31.3 (no driver attached) >> atrtc0: port 0x70-0x7f irq 8 on acpi0 >> fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq >> 2 on acpi0 >> fdc0: [FILTER] >> uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 >> uart0: [FILTER] >> orm0: at iomem >> 0xc0000-0xce7ff,0xce800-0xd37ff,0xd3800-0xd57ff,0xd5800-0xd7fff on >> isa0 >> sc0: at flags 0x100 on isa0 >> sc0: VGA <16 virtual consoles, flags=3D0x300> >> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa= 0 >> atkbdc0: at port 0x60,0x64 on isa0 >> atkbd0: irq 1 on atkbdc0 >> kbd0 at atkbd0 >> atkbd0: [GIANT-LOCKED] >> atkbd0: [ITHREAD] >> est0: on cpu0 >> p4tcc0: on cpu0 >> est1: on cpu1 >> p4tcc1: on cpu1 >> est2: on cpu2 >> p4tcc2: on cpu2 >> est3: on cpu3 >> p4tcc3: on cpu3 >> ZFS filesystem version 3 >> ZFS storage pool version 14 >> RTC BIOS diagnostic error 11 >> Timecounters tick every 1.000 msec >> vboxdrv: fAsync=3D0 offMin=3D0x171 offMax=3D0x360 >> ipfw2 (+ipv6) initialized, divert enabled, nat enabled, rule-based >> forwarding disabled, default to deny, logging disabled >> load_dn_sched dn_sched QFQ loaded >> load_dn_sched dn_sched RR loaded >> load_dn_sched dn_sched WF2Q+ loaded >> load_dn_sched dn_sched FIFO loaded >> load_dn_sched dn_sched PRIO loaded >> hdac0: HDA Codec #0: Analog Devices AD1984 >> usbus0: 12Mbps Full Speed USB v1.0 >> usbus1: 12Mbps Full Speed USB v1.0 >> usbus2: 480Mbps High Speed USB v2.0 >> usbus3: 12Mbps Full Speed USB v1.0 >> usbus4: 12Mbps Full Speed USB v1.0 >> usbus5: 12Mbps Full Speed USB v1.0 >> usbus6: 480Mbps High Speed USB v2.0 >> pcm0: at cad 0 nid 1 on hdac0 >> pcm1: at cad 0 nid 1 on hdac0 >> 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 >> ugen5.1: at usbus5 >> uhub5: on usbus5 >> ugen6.1: at usbus6 >> uhub6: on usbus6 >> uhub0: 2 ports with 2 removable, self powered >> uhub1: 2 ports with 2 removable, self powered >> uhub3: 2 ports with 2 removable, self powered >> uhub4: 2 ports with 2 removable, self powered >> uhub5: 2 ports with 2 removable, self powered >> uhub2: 6 ports with 6 removable, self powered >> uhub6: 6 ports with 6 removable, self powered >> (noperiph:ata7:0:-1:-1): rescan already queued >> ugen0.2: at usbus0 >> ukbd0: on >> usbus0 >> kbd2 at ukbd0 >> ada0 at ata7 bus 0 scbus5 target 0 lun 0 >> ada0: ATA-8 SATA 2.x device >> ada0: 150.000MB/s transfers (SATA 1.x, UDMA5, PIO 8192bytes) >> ada0: 476940MB (976773168 512 byte sectors: 16H 63S/T 16383C) >> ada1 at ata8 bus 0 scbus6 target 0 lun 0 >> ada1: ATA-8 SATA 2.x device >> ada1: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 8192bytes) >> ada1: 476940MB (976773168 512 byte sectors: 16H 63S/T 16383C) >> cd0 at ata10 bus 0 scbus8 target 0 lun 0 >> cd0: Removable CD-ROM SCSI-0 device >> cd0: 150.000MB/s transfers (SATA 1.x, UDMA5, ATAPI 12bytes, PIO 8192byte= s) >> cd0: Attempt to query device size failed: NOT READY, Medium not present >> ada2 at ata9 bus 0 scbus7 target 0 lun 0 >> ada2: ATA-8 SATA 2.x device >> ada2: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 8192bytes) >> ada2: 476940MB (976773168 512 byte sectors: 16H 63S/T 16383C) >> lapic1: Forcing LINT1 to edge trigger >> SMP: AP CPU #1 Launched! >> lapic2: Forcing LINT1 to edge trigger >> SMP: AP CPU #2 Launched! >> lapic3: Forcing LINT1 to edge trigger >> SMP: AP CPU #3 Launched! >> cd1 at ata11 bus 0 scbus9 target 0 lun 0 >> cd1: Removable CD-ROM SCSI-0 device >> cd1: 150.000MB/s transfers (SATA 1.x, UDMA5, ATAPI 12bytes, PIO 8192byte= s) >> cd1: cd present [1 x 2048 byte records] >> ugen0.3: at usbus0 >> ums0: > 3> on usbus0 >> ums0: 3 buttons and [XYZ] coordinates ID=3D0 >> GEOM_MIRROR: Device mirror/swap launched (2/2). >> Trying to mount root from zfs:zroot >> vboxnet0: Ethernet address: 0a:00:27:00:00:00 >> (cd1:ata11:0:0:0): READ TOC/PMA/ATIP. CDB: 43 0 0 0 0 0 0 0 4 0 >> (cd1:ata11:0:0:0): CAM status: SCSI Status Error >> (cd1:ata11:0:0:0): SCSI status: Check Condition >> (cd1:ata11:0:0:0): SCSI sense: ILLEGAL REQUEST asc:24,0 (Invalid field i= n >> CDB) >> Waiting (max 60 seconds) for system process `vnlru' to stop...done >> Waiting (max 60 seconds) for system process `bufdaemon' to stop...done >> Waiting (max 60 seconds) for system process `syncer' to stop... >> Syncing disks, vnodes remaining...0 0 0 0 0 done >> All buffers synced. >> GEOM_MIRROR: Device swap: provider mirror/swap destroyed. >> GEOM_MIRROR: Device swap destroyed. >