From owner-freebsd-net@FreeBSD.ORG Thu Feb 23 01:09:44 2012 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 69E2D106564A for ; Thu, 23 Feb 2012 01:09:44 +0000 (UTC) (envelope-from seanbru@yahoo-inc.com) Received: from mrout1-b.corp.bf1.yahoo.com (mrout1-b.corp.bf1.yahoo.com [98.139.253.104]) by mx1.freebsd.org (Postfix) with ESMTP id 341608FC0A for ; Thu, 23 Feb 2012 01:09:43 +0000 (UTC) Received: from [127.0.0.1] (rideseveral.corp.yahoo.com [10.73.160.231]) by mrout1-b.corp.bf1.yahoo.com (8.14.4/8.14.4/y.out) with ESMTP id q1N0wmK4000451 for ; Wed, 22 Feb 2012 16:58:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yahoo-inc.com; s=cobra; t=1329958729; bh=8JpAKX8vqrLHDpksdayzWIETHSiolEUnDAANIdaool0=; h=Subject:From:Reply-To:To:Content-Type:Date:Message-ID: Mime-Version:Content-Transfer-Encoding; b=JDNIYtEl12T76tm/uAn+5btFNcoEFDFmnVFVF33yFgEI9aEA+qzNbbPo8V3Ht3dux XRN8EekjmrVmjhgA0qTOuePDk6qk7qYjsVHgL+5gYmT4f5lwE95rgMdfQesP4/jML2 KFvs+IbGon6H7kf/G3FfoFZSGGNE2j+c8iadPkXo= From: Sean Bruno To: freebsd-net@freebsd.org Content-Type: text/plain; charset="UTF-8" Date: Wed, 22 Feb 2012 16:58:48 -0800 Message-ID: <1329958728.78750.6.camel@powernoodle-l7.corp.yahoo.com> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Subject: bge(4) failure, Dell 12G hardware, BCM5720C X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: sbruno@freebsd.org List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Feb 2012 01:09:44 -0000 Trying some hackery today in my netboot environment with the Dell 12G R620. I had to disable some bios calls in bios.c after reviewing an email from Doug Ambrisko, and I see a pretty hard failure of bge(4) on stable/7 with yahoo modifications on i386. I've tried disabling msi via: ==== //depot/yahoo/ybsd_7/src/sys/dev/bge/if_bge.c#49 - /home/seanbru/ybsd_7/src/sys/dev/bge/if_bge.c ==== 5633c5633 < sc->bge_msi = 1; --- > sc->bge_msi = 0; This quieted a lot of errors but the interface still appears to be non functional. http://people.freebsd.org/~sbruno/dell_12g_bgesysctl.txt http://people.freebsd.org/~sbruno/dell_12g_pciconf.txt http://people.freebsd.org/~sbruno/dell_12g_dmesg.txt Sean P.S. Not related to the bge(4) failure but might be interesting to others who are trying to get the Dell 12G h/w working in their environment: ==== //depot/yahoo/ybsd_7/src/sys/dev/mpt/mpt_pci.c#21 - /home/seanbru/ybsd_7/src/sys/dev/mpt/mpt_pci.c ==== 235c235,236 < switch ((pci_get_device(dev) & ~1)) { --- > //switch ((pci_get_device(dev) & ~1)) { > switch ((pci_get_device(dev))) { ==== //depot/yahoo/ybsd_7/src/sys/i386/i386/bios.c#5 - /home/seanbru/ybsd_7/src/sys/i386/i386/bios.c ==== 89a90,91 > printf("Ugh, hackery due to modern BIOS implementations\n"); > return;