From owner-freebsd-current@FreeBSD.ORG Fri Dec 26 09:00:08 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0ED65106564A for ; Fri, 26 Dec 2008 09:00:08 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.229]) by mx1.freebsd.org (Postfix) with ESMTP id CA7D68FC16 for ; Fri, 26 Dec 2008 09:00:07 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so4951445rvf.43 for ; Fri, 26 Dec 2008 01:00:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; 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; bh=OGYJ+eOdIus4dormZAW9xDGseGGe4wOGsFij6Y8uKuI=; b=HtTwWVd7enXuCpQ0H89TVjkoB9rO9f1+d8YZnpGt0blKAtiTMnVws9yQd+s/j2pG4n lkzZE0RlDaa+tzUfQDYUOtWb9rM9OVsR+M9KMRMAejZUQDy+V/qhIEHuYe2fOGk73z1l ivSIa23OOcYT9OvGywCaL+0cClJIanQ6CxerI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=FIYf6BOrN+jc1Z6e5CMkshgbZTbJ4m92B0qOIrXTsfmJ/kgYXixFFT1fv+HM62V4xR 7KowqbHPuXEg6UpLKHPNWRythGurY/4moBd1+2MzmoZyg9ANCWtYTe3QZoj8UMRUB7i7 WolFZT1LFSLVHjDXvJEQ1s0P4aNmtKO9ZPYrc= Received: by 10.140.187.10 with SMTP id k10mr1150869rvf.264.1230282007608; Fri, 26 Dec 2008 01:00:07 -0800 (PST) Received: from michelle.cdnetworks.co.kr ([211.53.35.84]) by mx.google.com with ESMTPS id f21sm26093849rvb.7.2008.12.26.01.00.05 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 26 Dec 2008 01:00:06 -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 mBQ900Qm004297 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 26 Dec 2008 18:00:00 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id mBQ8xxxl004296; Fri, 26 Dec 2008 17:59:59 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Fri, 26 Dec 2008 17:59:59 +0900 From: Pyun YongHyeon To: Bruce Simpson Message-ID: <20081226085959.GE2700@cdnetworks.co.kr> References: <20070520174124.GA14987@Athena.infor.org> <495258E7.5070309@incunabulum.net> <20081226022359.GB2700@cdnetworks.co.kr> <4954926C.4050702@incunabulum.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4954926C.4050702@incunabulum.net> User-Agent: Mutt/1.4.2.1i Cc: freebsd-current@FreeBSD.org Subject: Re: msk watchdog timeout 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: Fri, 26 Dec 2008 09:00:08 -0000 On Fri, Dec 26, 2008 at 08:14:36AM +0000, Bruce Simpson wrote: > Pyun YongHyeon wrote: > >Also show me dmesg output to see what revision you have(This > >information is not available with pciconf(8)). > > > > anglepoise:~ % dmesg | grep msk > mskc0: port 0xc800-0xc8ff mem > 0xfe9fc000-0xfe9fffff irq 18 at device 0.0 on pci2 > msk0: on mskc0 > msk0: Ethernet address: 00:15:f2:32:a8:8a > miibus0: on msk0 > mskc0: [FILTER] > Thanks, it looks like Yukon EC revision A1. According to Marvell's FreeBSD driver Yukon EC A1 requires workaround due to silicon bugs. However the workaround does not seem to work as you still suffers from watchdog timeouts. Unfortunately Yukon driver does not show detailed description of the bug and possible workaround for the issue so I just guess the bug from the workaround code. That patch I posted removed old workaround of Marvell and always try to kick Tx moderation register if it is in stuck state in interrupt handler. Linux sky2 also seem to use the same trick. Did the patch make any difference for you? -- Regards, Pyun YongHyeon