From owner-freebsd-current@FreeBSD.ORG Wed Mar 7 04:29:20 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5332E16A400 for ; Wed, 7 Mar 2007 04:29:20 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.224]) by mx1.freebsd.org (Postfix) with ESMTP id 0819013C47E for ; Wed, 7 Mar 2007 04:29:19 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by nz-out-0506.google.com with SMTP id r28so42241nza for ; Tue, 06 Mar 2007 20:29:19 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:received:received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=TVVoBLsUsPH+ygdAGqmYOip+MElP0uIGwk58Aqqp6Fb5rymYrRgVw/KT8VkXvvEHmQ5OSTdnHwyjvkjDfiavDvIQBArCNZev5pWVFFxgBg/h8j45pDDz5Z6TvXUACoEBE3BeZO3PI+uxtEDFOrI5pAbGipRg9eKfh50Scn2t42Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=oPIOcJqDKUIGZG2gQT2hP8NpzYdtc0ii/U0+mqtpg7Oq6Ib/nyr4fTrmzkQxNUavuzjeAXWBBwQMgtkGdnlGgyG8xlOWPbubxHOA/YCClc3MzsLCCegQsrXF1A7wCjy9EG5hIF1cDq/iqNotV3Np9LN4cGXPXGZh18Gho8ecWNk= Received: by 10.35.100.6 with SMTP id c6mr10872496pym.1173241759403; Tue, 06 Mar 2007 20:29:19 -0800 (PST) Received: from michelle.cdnetworks.co.kr ( [211.53.35.84]) by mx.google.com with ESMTP id 16sm629540nzo.2007.03.06.20.29.15; Tue, 06 Mar 2007 20:29:17 -0800 (PST) Received: from michelle.cdnetworks.co.kr (localhost.cdnetworks.co.kr [127.0.0.1]) by michelle.cdnetworks.co.kr (8.13.5/8.13.5) with ESMTP id l274UIxH062906 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 7 Mar 2007 13:30:18 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id l274UCBn062905; Wed, 7 Mar 2007 13:30:12 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Wed, 7 Mar 2007 13:30:12 +0900 From: Pyun YongHyeon To: Danny Braniss Message-ID: <20070307043012.GB62062@cdnetworks.co.kr> References: <20070110120731.GA1515@shark.localdomain> <20070210171130.D47107@maildrop.int.zabbadoz.net> <45D98B62.1060402@yandex.ru> <20070220014535.GC912@cdnetworks.co.kr> <45DA9F40.1070604@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Cc: "Bjoern A. Zeeb" , "Andrey V. Elsukov" , FreeBSD current mailing list , Sergey Zaharchenko Subject: Re: nve related LOR triggered by lots of small packets, and a hard hang X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 04:29:20 -0000 On Wed, Feb 21, 2007 at 12:17:52PM +0200, Danny Braniss wrote: > > Pyun YongHyeon wrote: > > > Because your dmesg for nfe(4) shows 'obsoleted if_watchdog interface' > > > message I think you've used stock nfe(4) on CURRENT. > > > Try overhauld nfe(4) at the following URL. > > > > > > http://people.freebsd.org/~yongari/nfe/if_nfe.c > > > http://people.freebsd.org/~yongari/nfe/if_nfereg.h > > > http://people.freebsd.org/~yongari/nfe/if_nfevar.h > > > > > > The new nfe(4) has several protections for watchdog timeout errors > > > reported on the driver. One user repored TSO related issues for > > > the new driver so if you encounter strange errors in the new driver > > > please turn off TSO capability(e.g. #ifconfig nfe0 -tso) > > > hi, > I'm having 2 - probably related - problems: > 1- on a diskless host, it boots via PXE, attaches the NIC > but somehow the mount root nsf is bypassed. > 2- booting of the disk, and with ifconfig_nfe0="DHCP", dhclient > fails. > > if I run: > dhclient nfe0 > all is fine. > > adding 'net.inet.tcp.tso="0"' to sysctl.conf fixed 2, but > adding the same to loader.conf did not help with the PXE boot. > > danny > > Sorry for late reply. Do you use MCP65 based hardware? It seems that MCP65 does not have checksum offload capability on the hardware so TSO should not be used on MCP65. (Due to lack of datasheet I've unconditionally enabled TSO for hardwares that have checksum offload capability.) dmesg will show you what hardware were attached. If your hardware is not MCP65 based one please try latest tcp_output.c (rev, 1.125). Recently andre@ fixed TSO related bug. -- Regards, Pyun YongHyeon