From owner-freebsd-net@FreeBSD.ORG Thu Dec 24 19:42:22 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B612D1065679 for ; Thu, 24 Dec 2009 19:42:22 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-qy0-f176.google.com (mail-qy0-f176.google.com [209.85.221.176]) by mx1.freebsd.org (Postfix) with ESMTP id 680B08FC16 for ; Thu, 24 Dec 2009 19:42:22 +0000 (UTC) Received: by qyk6 with SMTP id 6so3591946qyk.3 for ; Thu, 24 Dec 2009 11:42:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=lB4t8P3Z0wkCx4PWXwL9bfSfcA214MqGWppMUEcvdVQ=; b=ECq8KLDJ35qMtm9GW+I9RQ/gFo0YZm7/U2vFFpnMDZm8xxub45EUpffc6OtQkLlE2z 2rWhBNaw8/p2b0b8h7pYYAXGL5rX3Kxg2gjJSuTxOBHZEuyvKRhL6RKcEf18xLU40aqs NYnMPYm/RHivWBVXop0+N99NxB2VL/m5rmwVA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=EJ+ybxExvWSNgsZyv8Rp92uKs9kxdKjzFPGyHOKOotStVGoUT7o8lqtEA6uhFUrcuv y+xKUwKWsgGlpMeFkQBsLaqS/pDGsWmDFPDHdQGN+RM71QmlxPRDwVEQUhOCs2XIQjQi 0ONe/PKrtcygXI31tp9QE8xM4fDi5p8ZuISMc= Received: by 10.224.97.200 with SMTP id m8mr6071017qan.141.1261683741916; Thu, 24 Dec 2009 11:42:21 -0800 (PST) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id 22sm7538524qyk.10.2009.12.24.11.42.18 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 24 Dec 2009 11:42:20 -0800 (PST) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Thu, 24 Dec 2009 11:42:14 -0800 From: Pyun YongHyeon Date: Thu, 24 Dec 2009 11:42:14 -0800 To: "Lhunath (Maarten B.)" Message-ID: <20091224194214.GE8146@michelle.cdnetworks.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: freebsd-net@freebsd.org Subject: Re: mskc0: Tx descriptor error X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Dec 2009 19:42:22 -0000 On Wed, Dec 23, 2009 at 10:11:11AM +0100, Lhunath (Maarten B.) wrote: > Hey, > > I'm having problems getting my Marvell Yukon to work. I can successfully get it set up using DHCP, but when I start using it, I get error messages such as: "mskc0: Tx descriptor error" and "msk0: watchdog timeout". This is using the msk(4) module from 8.0-RELEASE. > > A bit of googling indicates that this problem is not uncommon, but had each time been resolved by patches that appear to have already been applied to the msk module that I'm using. > > Some help would be appreciated. Here is the ''dmesg'' output with bootverbose on and a ''vmstat -i'' should it matter. > > From dmesg: > > mskc0: port 0xe800-0xe8ff mem 0xfebfc000-0xfebfffff irq 17 at device 0.0 on pci4 > pcib4: mskc0 requested memory range 0xfebfc000-0xfebfffff: good > mskc0: MSI count : 1 > mskc0: attempting to allocate 1 MSI vectors (1 supported) > msi: routing MSI IRQ 256 to local APIC 0 vector 58 > mskc0: using IRQ 256 for MSI > mskc0: RAM buffer size : 0KB > msk0: on mskc0 > msk0: bpf attached > msk0: Ethernet address: 00:1f:c6:83:a7:d0 > miibus0: on msk0 > e1000phy0: PHY 0 on miibus0 > e1000phy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto I guess you hit known msk(4) issue for 88E8056/88E1149 PHY. Some users have no problems but others seem to suffer from the issue. There is also a PR about this but it seems it's hard to fix that mainly because I don't have access to the hardware. > mskc0: [MPSAFE] > mskc0: [FILTER] > pci5: driver added > pci6: driver added > msk0: link state changed to DOWN > msk0: link state changed to UP > mskc0: Tx descriptor error > mskc0: Tx descriptor error > mskc0: Tx descriptor error > mskc0: Tx descriptor error > mskc0: Tx descriptor error > mskc0: Tx descriptor error > mskc0: Tx descriptor error > mskc0: Tx descriptor error > mskc0: Tx descriptor error > mskc0: Tx descriptor error > msk0: watchdog timeout > msk0: link state changed to DOWN > msk0: link state changed to UP