From owner-freebsd-current@FreeBSD.ORG Fri Jul 7 07:47:02 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6E2C416A4DF for ; Fri, 7 Jul 2006 07:47:02 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.176]) by mx1.FreeBSD.org (Postfix) with ESMTP id A986D43D6A for ; Fri, 7 Jul 2006 07:46:44 +0000 (GMT) (envelope-from pyunyh@gmail.com) Received: by py-out-1112.google.com with SMTP id i75so289773pye for ; Fri, 07 Jul 2006 00:46:10 -0700 (PDT) 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=k9rZlIr5S8PQahovlb4ZHuR8R5mqZJ20sdRIyGEiEikqOtyn0Ee2aTgrsuLQdK4j1X3Y1VNG/qbQ81P8sDw+AE4CpE725gmaHJVKGQyYpjKPdzJOn2u4WoTcFiYRMDCF24GDNhsR7v9r01UIZKZe8H3cDEWpCI94mFGSpaflB8U= Received: by 10.35.84.16 with SMTP id m16mr1935131pyl; Fri, 07 Jul 2006 00:46:10 -0700 (PDT) Received: from michelle.cdnetworks.co.kr ( [211.53.35.84]) by mx.gmail.com with ESMTP id z80sm632550pyg.2006.07.07.00.46.07; Fri, 07 Jul 2006 00:46:09 -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 k677nwiV084859 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 7 Jul 2006 16:49:59 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id k677nv4H084858; Fri, 7 Jul 2006 16:49:57 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Fri, 7 Jul 2006 16:49:57 +0900 From: Pyun YongHyeon To: Bill Paul Message-ID: <20060707074957.GF82406@cdnetworks.co.kr> References: <20060706124258.GE76865@cdnetworks.co.kr> <20060707045344.177AF16A4DD@hub.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060707045344.177AF16A4DD@hub.freebsd.org> User-Agent: Mutt/1.4.2.1i Cc: csaba-ml@creo.hu, freebsd-current@FreeBSD.ORG Subject: Re: Call for stge(4) testers 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, 07 Jul 2006 07:47:02 -0000 On Fri, Jul 07, 2006 at 04:53:44AM +0000, Bill Paul wrote: > > On Thu, Jul 06, 2006 at 11:52:39AM +0000, Csaba Henk wrote: > > > On 2006-07-06, Pyun YongHyeon wrote: > > > > What model/maker you've got(pciconf -lv output)? > > > > > > stge0@pci0:11:0: class=0x020000 card=0x545013f0 chip=0x102113f0 rev=0x07 hdr=0x00 > > > vendor = 'Sundance Technology Inc' > > > class = network > > > subclass = ethernet > > > > > > And this is what shows up in dmesg: > > > > > > Jul 6 07:50:23 leavemealone kernel: stge0: port 0xe000-0xe0ff mem 0xef000000-0xef0001ff irq 11 at device 11.0 on pci0 > > > Jul 6 07:50:23 leavemealone kernel: stge0: phy read fail > > > Jul 6 07:50:23 leavemealone last message repeated 31 times > > > Jul 6 07:50:23 leavemealone kernel: miibus2: on stge0 > > > Jul 6 07:50:23 leavemealone kernel: e1000phy0: on miibus2 > > > Jul 6 07:50:23 leavemealone kernel: e1000phy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX, auto > > > > > > > Since your NIC has a Marvell PHY and shows many "phy read fail" > > message I have to investigate the root cause. I don't have > > TC9021 NIC with Marvell PHY. So I can't sure I can fix it. > > > > Does ifconfig(8) reports correct link speed/status? > > Does "phy read fail" message shows only at device attach time? > > FYI: I don't know if you have them or not, but a long time ago I > stashed away copies of the TC9020/TC9021 programming manuals. The > provenance of these parts is a little murky. I first learned of them > as being Sundance Technologies devices, but later I found references to > them belonging to a company called Tamarack M.I. Later still, a > company called ICplus ended up with them. ICplus eventually produced > a single chip device combining the TC902x MAC with an integrated PHY > (though I've yet to actually see a NIC that uses these anywhere). > ASUS NX1101 and some motherboards from ABIT have IC Plus GigE controller. > Sundance and Tamarack seem to have disappeared, but ICplus is still > around (www.icplus.com.tw) and they still have the gigE MAC and PHY > manuals online. They deleted the original TC902x manuals from their site, Yes, the online manuals are useless. > but I saved copies. :) I put all the manuals I have for these devices at > http://www.freebsd.org/~wpaul/Sundance along with the original ST201 > manual. Note that I didn't have to sign any NDAs to get any of these. > Thank you very very much. I really appreciate it. I mailed to guys working for IC Plus a couple of of times and they all requested to sign NDAs so I gave up. > In case you can't tell, the hardware API for the ST201 and the TC902x > is copied very closely from the 3Com 3c90xB/3c90xC devices. > > Anyway, I'm posting these in case they help with maintaining the driver > (or if anyone just wants to tinker around with the hardware). Share > and enjoy! > > -Bill > Thanks again. I hope I can solve JUMBO frame issues soon. -- Regards, Pyun YongHyeon