From owner-freebsd-current@FreeBSD.ORG Wed Apr 8 06:45:30 2009 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 7BE8B1065754 for ; Wed, 8 Apr 2009 06:45:30 +0000 (UTC) (envelope-from ndenev@gmail.com) Received: from mail-fx0-f167.google.com (mail-fx0-f167.google.com [209.85.220.167]) by mx1.freebsd.org (Postfix) with ESMTP id 814AD8FC25 for ; Wed, 8 Apr 2009 06:45:27 +0000 (UTC) (envelope-from ndenev@gmail.com) Received: by fxm11 with SMTP id 11so2580617fxm.43 for ; Tue, 07 Apr 2009 23:45:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=4HPZnLHErn7FOSjpmuwOuczyLeQjHrrMf3AaUdUNdDU=; b=o/bjqi0dJi8+TFalJpmN8znGi/eb7nn1WmSQwiVWHUNVFE+K9louOGFY4DXV6GqVR5 ZcdkYVdvKbLUr1goj8+RoSD5XS2xn1OSCsxiLKk++DZ6HQGXD1ZqA9f5M9Ms6xr/aJlS T9Xopu9W7G4U7i7UNAHpi5Waz9EGdxKnW0eS4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=TZPJlDWELShoYXpVAeFIdsGgxaOEXgz4ytsCe8aalcoLHb6g+glBvMmDlvtXkFjtVa uKh19BRYNA/zyydY46jarKYTd0DJq6vPs4HT9BfS4Z/oeEBcdslC++7H0Pxlh2zRaa/3 T5fvpnB1P1cYbal7+B6stdbvbnJUwQ6LFfW8U= MIME-Version: 1.0 Received: by 10.223.107.198 with SMTP id c6mr328847fap.32.1239173126952; Tue, 07 Apr 2009 23:45:26 -0700 (PDT) In-Reply-To: <20090408024901.GC37714@michelle.cdnetworks.co.kr> References: <75656435-49E2-457A-9CFE-8706CD44916E@gmail.com> <2e77fc10903280259s5a761cacs398b88649a2367fe@mail.gmail.com> <20090328102735.GE99923@michelle.cdnetworks.co.kr> <2e77fc10903280942u7c934aa4w80176680e9dff6d7@mail.gmail.com> <2e77fc10903281539h7b713711w116a90fd2bfadbcf@mail.gmail.com> <20090330021648.GE7076@michelle.cdnetworks.co.kr> <20090330024748.GF7076@michelle.cdnetworks.co.kr> <2e77fc10904071315q66d725bl76229d9bffd92f35@mail.gmail.com> <20090408024901.GC37714@michelle.cdnetworks.co.kr> Date: Wed, 8 Apr 2009 09:45:26 +0300 Message-ID: <2e77fc10904072345o4d8215dcg561931ede528bcd6@mail.gmail.com> From: Niki Denev To: pyunyh@gmail.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: axe(4) (Belkin F5D5055) problems 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: Wed, 08 Apr 2009 06:45:32 -0000 Hi Pyun, On Wed, Apr 8, 2009 at 5:49 AM, Pyun YongHyeon wrote: > On Tue, Apr 07, 2009 at 11:15:47PM +0300, Niki Denev wrote: > > [...] > > I've read the datasheet but I still don't understand why dsp > programming in truephy_reset is required. Anyway would you try > attached patch? And show me dmesg output generated by truephy(4). Here is the dmesg output with the latest patch. truephy0: PHY 1 on miibus0 truephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto > >> I have temporarily replaced the belkin USB ethernet interface with an >> Apple USB ethernet, >> which also uses the axe(4) driver, but is only 100Mbit/s. >> As I suspected the negotiation problems do not exist with it, and >> everything seemed ok, until >> it started to stop working exactly like the previous adapter. >> Pings start to return "buffer space not available" and replugging or >> "usbconfig reset" the interface >> returns it to normal status. >> > > This sounds like different issue to me. Let's focus on the > truephy(4) until axe(4) get a valid link report. > Ok. With this patch the old problems still persist. >> It looks like that the packet loss that I've experienced with the >> Belkin gigabit adabter is one problem, >> and the interface stopping to work another. >> >> P.S.: I don't know if it could be my USB hardware, because the machine >> is a little bit "exotic", >> an HP ex470 MediaSmartServer, which was supposedly designed to run >> only embedded version of >> Windows and has a nasty SiS chipset in it (with the unsupported sis191 >> gigabit adapter) > > There had been a post for SiS191 driver. Check mailing list > archives. Unfortunately I don't have SiS191 controller so I > couldn't write a driver and commit the posted driver to tree. > Even though the controller is not for high performance servers it > would be enough to most desktop users. At least SiS controllers > does not seem to require special workarounds for silicon bugs which > are commonly found on RealTek/Marvell controllers. > Yes, I've tried to make this driver work for several days, I've found OpenSolaris driver and tried to get some stuff missing in the linux driver from it, but the best I got was to see some packets on the wire, but was never able to send anything. Also the SiS191 seems to have problems negotiating gigabit link, there are many posts about this when using Linux. > Alternatively you can use ndis(4) to use your SiS191 controller. I > don't know whether ndis(4) works for this controller though. > I've tried, but afair there were some functions in the driver that were not yet implemented in the ndis layer, so it didn't worked for me. Many thanks for your help!