From owner-freebsd-current@FreeBSD.ORG Fri Jul 7 04:53:44 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 618) id 177AF16A4DD; Fri, 7 Jul 2006 04:53:44 +0000 (UTC) In-Reply-To: <20060706124258.GE76865@cdnetworks.co.kr> from Pyun YongHyeon at "Jul 6, 2006 09:42:58 pm" To: pyunyh@gmail.com Date: Fri, 7 Jul 2006 04:53:44 +0000 (GMT) X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: <20060707045344.177AF16A4DD@hub.freebsd.org> From: wpaul@FreeBSD.ORG (Bill Paul) 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 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 04:53:44 -0000 > 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). 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, 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. 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 -- ============================================================================= -Bill Paul (510) 749-2329 | Senior Engineer, Master of Unix-Fu wpaul@windriver.com | Wind River Systems ============================================================================= you're just BEGGING to face the moose =============================================================================