From owner-freebsd-current@FreeBSD.ORG Wed Jan 16 22:04:53 2008 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 1B06B16A418 for ; Wed, 16 Jan 2008 22:04:53 +0000 (UTC) (envelope-from mailinglist@nesluop.dk) Received: from unixdunk.nesluop.dk (cpe.atm4-0-51450.0x535f05ca.hrnxx12.customer.tele.dk [83.95.5.202]) by mx1.freebsd.org (Postfix) with SMTP id 662F413C442 for ; Wed, 16 Jan 2008 22:04:52 +0000 (UTC) (envelope-from mailinglist@nesluop.dk) Received: (qmail 1352 invoked by uid 89); 16 Jan 2008 21:58:10 -0000 Received: from unknown (HELO ?192.168.1.100?) (192.168.1.100) by unixdunk.nesluop.dk with SMTP; 16 Jan 2008 21:58:10 -0000 Message-ID: <478E7DF3.4080908@nesluop.dk> Date: Wed, 16 Jan 2008 22:58:11 +0100 From: Chris Poulsen User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: pyunyh@gmail.com References: <476EE604.2070809@nesluop.dk> <20071225234723.GA1018@cdnetworks.co.kr> <4772D649.3010001@nesluop.dk> <20071227002252.GE1018@cdnetworks.co.kr> <20080116012154.GB84758@cdnetworks.co.kr> In-Reply-To: <20080116012154.GB84758@cdnetworks.co.kr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: kevlo@freebsd.org, FreeBSD Current Subject: Re: Problem with nfe stability and throughput 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, 16 Jan 2008 22:04:53 -0000 Hi, Pyun YongHyeon wrote: > > Based on hardware information from Linux l1 driver I wrote a simple > PHY driver. You can get the diff at the following URL. > Would you give it spin? > > http://people.freebsd.org/~yongari/atphy.diff > > Note, I don't have the hardware so don't know whether it works or > not. Just compile tested. I also have no PHY hardware information > so the model name in the driver may not reflect real name. > > Thank you for your reply. I tried building a new kernel with your patch and loaded nfe0 instead of the old rl0 I'm currently using. It came up nicely with the following entries in dmesg: ata3: on atapci0 ata3: [ITHREAD] nfe0: port 0xc880-0xc887 mem 0xdfefc000-0xdfefcfff,0xdfefe400-0xdfefe4ff,0xdfefe0 00-0xdfefe00f irq 23 at device 10.0 on pci0 miibus0: on nfe0 atphy0: PHY 1 on miibus0 atphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto nfe0: Ethernet address: 00:1d:60:6d:73:ec nfe0: [FILTER] nfe0: [FILTER] nfe0: [FILTER] nfe0: [FILTER] nfe0: [FILTER] nfe0: [FILTER] nfe0: [FILTER] nfe0: [FILTER] pcib2: at device 11.0 on pci0 pci2: on pcib2 Things seemed to work, so I decided to try and transfer a couple of big files to it using ftp. First file went really well, transfer finished reporting a transfer speed of 7.68 megabyte/sec - a performance that seems ok, taking my network equipment into account ;) After transferring the file, the ftp client said "entering passive mode" preparing for the next file and then things froze up. (Well only the network.) The M2N-VM machine stopped responding to ping, ssh, ftp. I could not find anything in /var/log/messages, I tried pulling the interface down and up, but it didn't bring it back to life. What do you need me to do, in order to get some usable info about what is going on? -- Regards Chris