From owner-freebsd-current@FreeBSD.ORG Thu Dec 27 00:23:29 2007 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 265B016A41B for ; Thu, 27 Dec 2007 00:23:29 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.181]) by mx1.freebsd.org (Postfix) with ESMTP id ECB8713C45B for ; Thu, 27 Dec 2007 00:23:28 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so4648340waf.3 for ; Wed, 26 Dec 2007 16:23:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; bh=2Df5SpoqImn0rRxWdNy4tKZaLgTZcGckNj2OmeOxd1s=; b=Tk4ydlVBtT1BGWU8dN9DNRTwapcIHRxfMu+r6/11yOnYHMBp8TrtK3SndKItDoVU8K8Fgydyk4NHmLvf7msaf71IyNN4nKw6rc07DoPnXAj1r2SPkB7LfR5Ij5vqE9bSMDj9FZF/frLzK6bn0rIt5bYFU0r9hzjk6j+hwClHk7A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=DBN97/kkAPwPSwEqVsCKcBPiS0qO7usYROFJ8zgcc1Ra3RW/ETllw5s8Kg0xfxnVWnzq+FhtvNRJpalOd14avmO6K0GOdmQrIy3kHb2UhdPyXCjb2n2ylcgBkPKVEjHW1CQJrMjTHzGdP+ScoH1X7Xbmrr3peKUUgtOfScWrk3c= Received: by 10.115.23.12 with SMTP id a12mr5724469waj.146.1198715008524; Wed, 26 Dec 2007 16:23:28 -0800 (PST) Received: from michelle.cdnetworks.co.kr ( [211.53.35.84]) by mx.google.com with ESMTPS id j29sm6394408waf.18.2007.12.26.16.23.25 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 26 Dec 2007 16:23:27 -0800 (PST) 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 lBR0Mq91005514 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 27 Dec 2007 09:22:52 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id lBR0Mq3m005513; Thu, 27 Dec 2007 09:22:52 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Thu, 27 Dec 2007 09:22:52 +0900 From: Pyun YongHyeon To: Chris Poulsen Message-ID: <20071227002252.GE1018@cdnetworks.co.kr> References: <476EE604.2070809@nesluop.dk> <20071225234723.GA1018@cdnetworks.co.kr> <4772D649.3010001@nesluop.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4772D649.3010001@nesluop.dk> User-Agent: Mutt/1.4.2.1i 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 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: Thu, 27 Dec 2007 00:23:29 -0000 On Wed, Dec 26, 2007 at 11:31:37PM +0100, Chris Poulsen wrote: > Hi, > > Pyun YongHyeon wrote: > >On Sun, Dec 23, 2007 at 11:49:40PM +0100, Chris Poulsen wrote: > > > Hi, > > > > > > I've installed CURRENT on an asus m2n-vm. My network config is giving > > me > problems. > > > > > My dmesg contains: > > > > > > ata3: [ITHREAD] > > > nfe0: port 0xd880-0xd887 mem > > > 0xdfffc000-0xdfffcfff,0xdfffe400-0xdfffe4ff,0 > > > xdfffe000-0xdfffe00f irq 23 at device 10.0 on pci0 > > > miibus0: on nfe0 > > > ukphy0: PHY 1 on miibus0 > > ^^^^^^ > >It seems that ukphy(4) was picked up to serve your PHY hardware. > >I guess ukphy(4) is not right phy driver for the hardware as it could > >result in non-working driver. Would you show me the ukphy(4) output of > >verbosed boot message?(In verbosed boot mode, ukphy(4) may have printed > >OUI/model number of the PHY hardware.) > > > > > ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, > > auto > > > nfe0: Ethernet address: 00:1d:60:6d:73:ec > > > > > A verbose boot log contains the following: > ... > ata3: [ITHREAD] > nfe0: port 0xd880-0xd887 mem > 0xdfffc000-0xdfffcfff,0xdfffe400-0xdfffe4ff,0xdfffe000-0xdfffe00f irq 23 > at device 10.0 on pci0 > nfe0: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xdfffc000 > nfe0: attempting to allocate 8 MSI vectors (8 supported) > msi: routing MSI IRQ 256 to vector 56 > msi: routing MSI IRQ 257 to vector 57 > msi: routing MSI IRQ 258 to vector 58 > msi: routing MSI IRQ 259 to vector 59 > msi: routing MSI IRQ 260 to vector 60 > msi: routing MSI IRQ 261 to vector 61 > msi: routing MSI IRQ 262 to vector 62 > msi: routing MSI IRQ 263 to vector 63 > nfe0: using IRQs 256-263 for MSI > nfe0: Using 8 MSI messages > miibus0: on nfe0 > ukphy0: PHY 1 on miibus0 > ukphy0: OUI 0x001374, model 0x0001, rev. 6 ^^^^^^^^^^^^^^^^^^^^^^^^^^ According to IEEE stanards OUI database the manufacturer is Atheros Communications. Since Atheros acquired Attansic Technology I guess the phy originated from Attansic Technology. ATM there is no phy driver for FreeBSD and the vendor didn't release publicly available datasheets to developers. AFAIK kevlo is working on Attansic driver so I guess he may have more information for this phy hardware(CCed). > ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto > nfe0: bpf attached > nfe0: Ethernet address: 00:1d:60:6d:73:ec > nfe0: [MPSAFE] > nfe0: [FILTER] > ... > > Also I noticed that both nfe0 and ohci1 both lists irq 23, but I don't > know if that is a problem :) Don't worry about that. Your nfe(4) takes advantage of MSI so there is no IRQ sharing. > ... > ohci1: mem 0xdfffd000-0xdfffdfff irq 23 > at device 4.0 on pci0 > ... > > What would be the next step for me to try in order to resolve this? > > Thanks. > > -- > Regards > Chris -- Regards, Pyun YongHyeon