From owner-freebsd-current@FreeBSD.ORG Thu Apr 5 06:00:45 2007 Return-Path: X-Original-To: freebsd-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 8BE9916A401 for ; Thu, 5 Apr 2007 06:00:45 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from tmailer.gwdg.de (tmailer.gwdg.de [134.76.10.23]) by mx1.freebsd.org (Postfix) with ESMTP id 22AF013C45B for ; Thu, 5 Apr 2007 06:00:45 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from [87.139.104.184] (helo=[192.168.2.20]) by mailer.gwdg.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.66) (envelope-from ) id 1HZL1R-00023i-17; Thu, 05 Apr 2007 08:00:37 +0200 Message-ID: <4614907E.2070308@gwdg.de> Date: Thu, 05 Apr 2007 08:00:30 +0200 From: Rainer Hurling User-Agent: Thunderbird 1.5.0.10 (X11/20070318) MIME-Version: 1.0 To: pyunyh@gmail.com References: <45F636B5.9060608@gwdg.de> <20070313070153.GD87608@cdnetworks.co.kr> <20070331003031.GB68853@cdnetworks.co.kr> <460E77BE.9090503@gwdg.de> <20070402010230.GA1323@cdnetworks.co.kr> <46113CF2.6090009@gwdg.de> <20070403035845.GB7223@cdnetworks.co.kr> <461285A6.5010805@gwdg.de> <20070404003215.GA11525@cdnetworks.co.kr> <4613FC04.1040302@gwdg.de> <20070405002848.GB15837@cdnetworks.co.kr> In-Reply-To: <20070405002848.GB15837@cdnetworks.co.kr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated: Id:rhurlin X-Spam-Level: - X-Virus-Scanned: (clean) by exiscan+sophie Cc: darren780@yahoo.com, freebsd-current@freebsd.org, shigeaki@se.hiroshima-u.ac.jp Subject: Re: yongari nfe problems X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Apr 2007 06:00:45 -0000 Pyun YongHyeon schrieb: > On Wed, Apr 04, 2007 at 09:27:00PM +0200, Rainer Hurling wrote: > > Pyun YongHyeon schrieb: > > >On Tue, Apr 03, 2007 at 06:49:42PM +0200, Rainer Hurling wrote: > > > > > >[...] > > > > > > > > In "man ehci(4)" I found: > > > > > > > > ------- > > > > BUGS > > > > The driver is not finished and is quite buggy. > > > > There is currently no support for isochronous transfers. > > > > ------- > > > > > > > > Possibly this could cause the observed "dropouts" of nfe0 from a few > > > > seconds till several minutes? > > > > > > > > > >I'm not familiar with ehci(4) but I think it has nothing to do with > > >missing Tx completion interrupts observed on nfe(4). > > > > > > > > > > > Is there a knob or option in driver nfe(4) I can use to try classical > > > > polling or any 'lower' mode of operation? > > > > > > > > > >Add 'options DEVICE_POLLING' into kernel configuration file and > > >rebuild your kernel. Use ifconfig(8) to enable/disable polling(4) > > >feature. > > >See polling(4) for more detailed description and tuning parameters. > > > > > > > Thank you for this hint. I compiled my kernel with 'options > > DEVICE_POLLING' and reboot. > > > > For the first four hours I get no new watchdog timeouts. But then, > > without heavy load and without using usb devices, I get many timeouts. > > > > Obiously nfe(4) does not support this polling feature? Or we are looking > > at the wrong side ... > > > > Did you enable polling feature with ifconfig(8)? > (e.g. ifconfig nfe0 polling) > You should see POLLING in flags field in ifconfig output. You are right. I forgot to set the flag, in my case 'ifconfig_nfe0="DHCP polling"' in /etc/rc.conf, sorry. Now it works like a charm :-) Thank you, Rainer