From owner-freebsd-stable@FreeBSD.ORG Wed Mar 29 10:48:38 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3BDF416A420 for ; Wed, 29 Mar 2006 10:48:38 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 34A3343D49 for ; Wed, 29 Mar 2006 10:48:37 +0000 (GMT) (envelope-from pyunyh@gmail.com) Received: by zproxy.gmail.com with SMTP id l8so176700nzf for ; Wed, 29 Mar 2006 02:48:36 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=DoC5Re5+9rH+2m1Kksa4vi/a3hb1OmJ3gIiz2POF+mZFP+vQQO1C3wmKjmtXBQHbyUJzRV70MfhAVJ10zJ+S+/o4ruqdtsTS8+XhgNUgnOMOl9Op7vYIAqRKl9KlN3IFkIMEm6kUpHHMKsp7ZE8hQwuMLZZUz05oT5m5xl2tFQ4= Received: by 10.36.113.6 with SMTP id l6mr40848nzc; Wed, 29 Mar 2006 02:48:36 -0800 (PST) Received: from michelle.cdnetworks.co.kr ( [211.53.35.84]) by mx.gmail.com with ESMTP id 10sm466250nzo.2006.03.29.02.48.34; Wed, 29 Mar 2006 02:48:35 -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 k2TAml1H014874 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 29 Mar 2006 19:48:47 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id k2TAmgPq014873; Wed, 29 Mar 2006 19:48:42 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Wed, 29 Mar 2006 19:48:42 +0900 From: Pyun YongHyeon To: Wilko Bulte Message-ID: <20060329104842.GA12679@cdnetworks.co.kr> References: <20060324223317.2069564f@it.buh.tecnik93.com> <20060327185142.GC24315@soaustin.net> <200603271848.19010.joao@matik.com.br> <200603280221.28996.pieter@degoeje.nl> <20060328020840.GA8189@cdnetworks.co.kr> <20060328034846.GA81006@0lsen.net> <20060328142215.GC65098@freebie.xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060328142215.GC65098@freebie.xs4all.nl> User-Agent: Mutt/1.4.2.1i Cc: Pieter de Goeje , Clint Olsen , freebsd-stable@FreeBSD.ORG Subject: Re: new sk driver [was: nve timeout (and down) regression?] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Mar 2006 10:48:38 -0000 On Tue, Mar 28, 2006 at 04:22:15PM +0200, Wilko Bulte wrote: > On Mon, Mar 27, 2006 at 07:48:46PM -0800, Clint Olsen wrote.. > > On Mar 28, Pyun YongHyeon wrote: > > > and sparc64(SMP) and I never see above errors. The only issue known to > > > me is occasional watchdog timeout error which I really want to fix. But > > > the watchdog timeout error is hard to reproduce and I couldn't reproduce > > > the error on my system. > > > > I'm still seeing the watchdog timeout on 5.5-PRERELEASE (uni-processor): > > > > Mar 22 14:47:04 belle kernel: sk0: watchdog timeout > > Mar 24 08:37:19 belle kernel: sk0: watchdog timeout > > Mar 27 04:09:15 belle kernel: sk0: watchdog timeout > > > > But at least the driver doesn't wedge the interface now. > > Yes, same here on 6.1-PRERELEASE: > > ch0: 10 slots, 1 drive, 1 picker, 0 portals > sk0: watchdog timeout > sk0: watchdog timeout > Ok, here is a new patch that try to fix the watchdog timeout error. I don't know it will eradicate the bug as I don't see the watchdog error on my system. The patch borrowed Yukon specific register definition from Linux driver and adopted Yukon FIFO related operations from Linux. I don't know exact meaning of the registers(it's just guessing) but it seems it doesn't hurt on my system. You may have to download 4 files to build the driver. http://people.freebsd.org/~yongari/sk/sk_test2/if_sk.c http://people.freebsd.org/~yongari/sk/sk_test2/if_skreg.h http://people.freebsd.org/~yongari/sk/sk_test2/xmaciireg.h http://people.freebsd.org/~yongari/sk/sk_test2/yukonreg.h -- Regards, Pyun YongHyeon