From owner-freebsd-current@FreeBSD.ORG Tue Oct 2 00:49:05 2007 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 1950B16A419 for ; Tue, 2 Oct 2007 00:49:05 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.182]) by mx1.freebsd.org (Postfix) with ESMTP id F3D1213C45B for ; Tue, 2 Oct 2007 00:49:04 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so4918210waf for ; Mon, 01 Oct 2007 17:49:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; 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; bh=gita+vDVRUPH9gMBrBmqU24LJExAt+pAMZdxhAkoTGY=; b=ME4XA9mlyhhkrDBkvMGPxy34m7eeKleOcEWMHgmxizazmZDG0ZPgbtFexjgU5VRJfQUnA5TEuOMlXokHwCFL7A7QTGOm4BySJFtvNbawAeOTOg7crSGvScoxou7fS9fPkevYwXHfGPmzPk1wncNUMOc86mlfgkfn3/ZqXcJhHls= 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=UJ4tTFT5sRl/5IZE9N3cCFo+iqvGRcg/DpYKermpiv/9ReTmrpygZ+Q8P8Xf8ETLIhlCxqOp5FTYs2wOcyHs4O1RQTDeDs0XpqXYYc2aULrcn4/ZlYd1H4k05ZkDRgn+Ayzg+8JDk53uRD/GKejM58RHEGjFC1ddjaoQp4/nUmc= Received: by 10.114.135.1 with SMTP id i1mr1444763wad.1191286142486; Mon, 01 Oct 2007 17:49:02 -0700 (PDT) Received: from michelle.cdnetworks.co.kr ( [211.53.35.84]) by mx.google.com with ESMTPS id 25sm8069592wra.2007.10.01.17.48.59 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 01 Oct 2007 17:49:01 -0700 (PDT) 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 l920jLdu023259 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 2 Oct 2007 09:45:21 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id l920jLmQ023258; Tue, 2 Oct 2007 09:45:21 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Tue, 2 Oct 2007 09:45:21 +0900 From: Pyun YongHyeon To: Kudo Chien Message-ID: <20071002004521.GH18658@cdnetworks.co.kr> References: <8bebfc960710010039q3ae744b9h71f785f6e3a4634d@mail.gmail.com> <20071001080058.GE18658@cdnetworks.co.kr> <8bebfc960710010707o4b7e9b2cif086e35b4f8f736d@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8bebfc960710010707o4b7e9b2cif086e35b4f8f736d@mail.gmail.com> 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: Tue, 02 Oct 2007 00:49:05 -0000 On Mon, Oct 01, 2007 at 10:07:34PM +0800, Kudo Chien wrote: > Hi, > > I've applied the patch. But it seems not solve the problem. > After applied patch, mskc0 boot message changes from 'mskc0: [ITHREAD]' to > 'mskc0: [FILTER]'. > It just means it uses fast interrupt handler now. Previously you may have disabled it.(hw.msk.legacy_intr=1). > And one thing I forgot to provide before is that a line in boot message > "mskc0: port 0xa000-0xa0ff mem > 0xf1000000-0xf1003fff irq 16 at device 0.0 on pci3" > > > I'm not sure if it could be helpful. But if you need any infomation, I could > provide it. > Thanks for your help. > As I said I don't have this hardware to experiment so it would take long time to fix it. I'd like to know chaging PHY driver has any effect in your case. Edit /usr/src/sys/dev/mii/e1000phy.c with the following. From: 96 static const struct mii_phydesc e1000phys[] = { 97 MII_PHY_DESC(MARVELL, E1000), 98 MII_PHY_DESC(MARVELL, E1011), 99 MII_PHY_DESC(MARVELL, E1000_3), 100 MII_PHY_DESC(MARVELL, E1000S), 101 MII_PHY_DESC(MARVELL, E1000_5), 102 MII_PHY_DESC(MARVELL, E1000_6), 103 MII_PHY_DESC(MARVELL, E3082), 104 MII_PHY_DESC(MARVELL, E1112), 105 MII_PHY_DESC(MARVELL, E1149), 106 MII_PHY_DESC(MARVELL, E1111), 107 MII_PHY_DESC(MARVELL, E1116), To: 96 static const struct mii_phydesc e1000phys[] = { 97 MII_PHY_DESC(MARVELL, E1000), 98 MII_PHY_DESC(MARVELL, E1011), 99 MII_PHY_DESC(MARVELL, E1000_3), 100 MII_PHY_DESC(MARVELL, E1000S), 101 MII_PHY_DESC(MARVELL, E1000_5), 102 MII_PHY_DESC(MARVELL, E1000_6), 103 MII_PHY_DESC(MARVELL, E3082), 104 MII_PHY_DESC(MARVELL, E1112), 105 /*MII_PHY_DESC(MARVELL, E1149),*/ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 106 MII_PHY_DESC(MARVELL, E1111), 107 MII_PHY_DESC(MARVELL, E1116), Save and rebuild kernel. This makes ukphy(4) serve 88E1149 PHY. Do you still see the same error from msk(4) after above change? -- Regards, Pyun YongHyeon