From owner-freebsd-net@FreeBSD.ORG Thu May 30 05:12:30 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 65DFE7FC; Thu, 30 May 2013 05:12:30 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-pd0-f172.google.com (mail-pd0-f172.google.com [209.85.192.172]) by mx1.freebsd.org (Postfix) with ESMTP id 3D156EDF; Thu, 30 May 2013 05:12:30 +0000 (UTC) Received: by mail-pd0-f172.google.com with SMTP id 10so10036165pdi.3 for ; Wed, 29 May 2013 22:12:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=eymMzSlC9AzlUENuioDZSTYqYeSDbSKeSDVzWmoshKE=; b=HluTWCpzw0zqcR67Fc0Se6pMDPm6e4H31x9NhH41vOtQjG7kdfD0a8tV66NkXHAJdG +vSSZCdPXpMSRY6cYIw7WvVp23qA7g4HmbUeEvkwzWhIF8f00ZnoK1ykMcrxsl8OQXSd dQ4yvcG1UB+t4316W1/sx+2yQPJBdkgi2xurABsAWiFX8+r+IZG73CW1YJ5cgLMM8fka 76qXYoEUufRMHnRMUQTMOczyc6DeTWbqwskrrN/ZvmQeezYOy1lNav1MejXipCVR3jCS Jx/qa2Q/kbIhVq8kttbFJssZflpjdKtITtRb18tHZTFK8q8loe+/1Ab2SQyuklkpkYtp qypQ== X-Received: by 10.66.145.2 with SMTP id sq2mr6666408pab.2.1369890743249; Wed, 29 May 2013 22:12:23 -0700 (PDT) Received: from pyunyh@gmail.com (lpe4.p59-icn.cdngp.net. [114.111.62.249]) by mx.google.com with ESMTPSA id fp2sm40201480pbb.36.2013.05.29.22.12.19 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 29 May 2013 22:12:22 -0700 (PDT) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Thu, 30 May 2013 14:12:15 +0900 From: YongHyeon PYUN Date: Thu, 30 May 2013 14:12:14 +0900 To: "Mr. Clif" Subject: Re: misc/179033: [dc] dc ethernet driver seems to have issues with some multiport card and mother board combinations Message-ID: <20130530051214.GA1530@michelle.cdnetworks.com> References: <201305300113.r4U1DRGp089692@freefall.freebsd.org> <51A6CE52.20501@eugeneweb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <51A6CE52.20501@eugeneweb.com> User-Agent: Mutt/1.4.2.3i Cc: freebsd-net@FreeBSD.org, yongari@FreeBSD.org X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 May 2013 05:12:30 -0000 On Wed, May 29, 2013 at 08:58:10PM -0700, Mr. Clif wrote: > Sorry for the confusion Pyun, > > I started looking at it in the context of pfsense, but they rejected my > bug report which was understandable because it's an upstream issue. They > suggested I resubmit it to you guys if I could reproduce it. So I booted > FreeBSD and lo and behold the same two ports failed in exactly the same Ok, I'd like to fix that. > way. I didn't see the point in re-running all the tests because I was > assuming that FreeBSD would work as well as pfsense for the ports that > worked, and there were no further tests I could think of for the dead ports. > There are too many different dc(4) controllers out there and each controller will require different hack to make it work. > This Atom board only has serial headers not a DB9 on the back, so I have > to look for the proper back panel adapter for that. Otherwise I should > be able to set up that test environment. Though it might take me a If you can't setup two systems, attach USB etherent controller to the box and let me know login information to the box. That wouldn't be enough configuration for remote debugging but probably I can experiment some basic things with your help. > couple of days, sorry it's crunch time for me on a volunteer project. > One which I would like to deploy routers like this on. :-) > > Thanks, > Clif > > yongari@FreeBSD.org wrote: > >Synopsis: [dc] dc ethernet driver seems to have issues with some multiport > >card and mother board combinations > > > >State-Changed-From-To: open->feedback > >State-Changed-By: yongari > >State-Changed-When: Thu May 30 01:11:55 UTC 2013 > >State-Changed-Why: > >The information you gave looks confusing to me. > >If you're using pfSense on Atom D510MO and seeing the issue I'm > >afraid I'm not able to help that. pfSense may have some local > >changes and I'm not familiar with that. > >Did you try stock FreeBSD 9.1-RELEASE on Atom D510MO? > >If you still see the same issue with stock FreeBSD 9.1-REELASE, > >could you setup remote debugging environment mentioned in the > >following URL? > >http://people.freebsd.org/~yongari/remote_debugging.txt > > > >Given that dc(4) works fine with Dell machines I guess the issue > >may be in pci(4) which can't correctly handle device sits behind > >PCI-PCI bridge. > > > >Note, Holland Consulting's document does not apply to FreeBSD. > >dc(4) can handle multiple instances of dc(4) and should be able to > >support dual/quad port dc(4) controllers. > > > > > >Responsible-Changed-From-To: freebsd-net->yongari > >Responsible-Changed-By: yongari > >Responsible-Changed-When: Thu May 30 01:11:55 UTC 2013 > >Responsible-Changed-Why: > >Grab. > > > >http://www.freebsd.org/cgi/query-pr.cgi?pr=179033 >