From owner-freebsd-stable@FreeBSD.ORG Tue Sep 22 12:55:36 2009 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 C76F11065670 for ; Tue, 22 Sep 2009 12:55:36 +0000 (UTC) (envelope-from gaijin.k@gmail.com) Received: from mail-qy0-f192.google.com (mail-qy0-f192.google.com [209.85.221.192]) by mx1.freebsd.org (Postfix) with ESMTP id 7D11C8FC0A for ; Tue, 22 Sep 2009 12:55:36 +0000 (UTC) Received: by qyk30 with SMTP id 30so672112qyk.7 for ; Tue, 22 Sep 2009 05:55:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:cc :in-reply-to:references:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; bh=rsMAdR/aDz7hqjEe1R0DGPPOAMxHrUazmMaPGp7CppU=; b=h4RzobFxtRSVeCeAjCmB7B72Bq0iy3rQ7oEYjSs96q8qw33ifgyMC50RWrbvpq4ZAm l8cjo90krXwgE62e0QxU9CdhFn5IitIfU9t50uQYv8sXAIH2AAyisii9f7ZLNI1vTbxD +8T6A1f+7D6+eFMIh315IVxEPGdEDITXxR+IE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date :message-id:mime-version:x-mailer:content-transfer-encoding; b=ukJ3qP7jIQXIkU3jQqP1hH6Z4KLqMu0wEuISd21zHS3gQBznFp5DbyeFdDEfET9lAZ y3ZfeSEpT4h5zqIjE5l5wVODnw4miThooYilsxDjIU1SheCtoBOX7ah3QPcxugAT8mv7 Qdp4zCcQqS3rsEK21YPSIG4+dKO93Xs1HpSV4= Received: by 10.224.42.83 with SMTP id r19mr540329qae.35.1253624135654; Tue, 22 Sep 2009 05:55:35 -0700 (PDT) Received: from ?10.0.3.4? (pool-71-187-189-54.nwrknj.fios.verizon.net [71.187.189.54]) by mx.google.com with ESMTPS id 21sm379097qyk.12.2009.09.22.05.55.34 (version=SSLv3 cipher=RC4-MD5); Tue, 22 Sep 2009 05:55:34 -0700 (PDT) From: "Alexandre \"Sunny\" Kovalenko" To: Cassidy Larson In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Date: Tue, 22 Sep 2009 08:55:22 -0400 Message-Id: <1253624122.1321.9.camel@RabbitsDen> Mime-Version: 1.0 X-Mailer: Evolution 2.26.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 8bit Cc: freebsd-stable@freebsd.org Subject: Re: Random Network Drops on Realtek Interfaces (re) 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: Tue, 22 Sep 2009 12:55:36 -0000 On Mon, 2009-09-21 at 23:25 -0600, Cassidy Larson wrote: > All, > > I've been experiencing an intermittent issue with a drop in networking > connectivity on a couple of boxes. > > At random times I drop connectivity between the servers and their > gateway. I am able to login via the secondary interface and > "/etc/netstart" and everything starts behaving as normal. My switch > shows the link is up, ifconfig shows the link is up, but I am unable > to ping my gateway until running "/etc/netstart". Somedays it'll > happen a few times an hour, some days once every 8-10 hours. It really > is intermittent, and driving me crazy trying to track down the issue. > I've tried different cables, switches, gateways, IPs, and locations. > Memtest for 5 days showed no errors. However, the same problem exists > on two separate installs at different times. I am able to connect to > the one server from the second via their secondary interfaces, so the > problem isn't related to both network interfaces. > > Both servers have the Supermicro X7SLM-L motherboard, same CPU, RAM > and disks. Using the Realtek network driver (re). pciconf shows: > vendor = 'Realtek Semiconductor' > device = 'Gigabit Ethernet NIC(NDIS 6.0) (RTL8168/8111)' > class = network > subclass = ethernet > > I've experienced the problem for some time now on both 7.2-RELEASE and > 7.2-STABLE (09/20/09) using amd64. > > Any help or suggestions would be useful in getting to the bottom of this. I do not know how applicable this is in your case, but I have seen such behavior when speed auto-negotiation was allowed on the box connected to the Cisco switch. Condition was usually triggered by the certain volume of traffic (e.g. system could be fine for weeks with SSH/telnet/X11 and lose interface when someone sends large file over FTP or SCP). Restarting the interface, usually fixed it for a while. In my case it was platform-agnostic causing me to have a cheat-sheet on how to disable auto-negotiation on AIX/Solaris/Linux/etc. -- Alexandre Kovalenko (Олександр Коваленко)