From owner-freebsd-net@FreeBSD.ORG Tue Sep 13 01:07:16 2011 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 0A9DF106566B for ; Tue, 13 Sep 2011 01:07:16 +0000 (UTC) (envelope-from jmg@h2.funkthat.com) Received: from h2.funkthat.com (gate.funkthat.com [70.36.235.232]) by mx1.freebsd.org (Postfix) with ESMTP id BFAA18FC16 for ; Tue, 13 Sep 2011 01:07:15 +0000 (UTC) Received: from h2.funkthat.com (localhost [127.0.0.1]) by h2.funkthat.com (8.14.3/8.14.3) with ESMTP id p8D17E7b061945 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 12 Sep 2011 18:07:14 -0700 (PDT) (envelope-from jmg@h2.funkthat.com) Received: (from jmg@localhost) by h2.funkthat.com (8.14.3/8.14.3/Submit) id p8D17EBt061944; Mon, 12 Sep 2011 18:07:14 -0700 (PDT) (envelope-from jmg) Date: Mon, 12 Sep 2011 18:07:13 -0700 From: John-Mark Gurney To: David Christensen Message-ID: <20110913010713.GP3098@funkthat.com> Mail-Followup-To: David Christensen , "freebsd-net@freebsd.org" , Gary Zambrano References: <5D267A3F22FD854F8F48B3D2B523819360D707B74C@IRVEXCHCCR01.corp.ad.broadcom.com> <20110912204757.GN3098@funkthat.com> <5D267A3F22FD854F8F48B3D2B523819385F3056CCC@IRVEXCHCCR01.corp.ad.broadcom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5D267A3F22FD854F8F48B3D2B523819385F3056CCC@IRVEXCHCCR01.corp.ad.broadcom.com> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.2-RELEASE i386 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (h2.funkthat.com [127.0.0.1]); Mon, 12 Sep 2011 18:07:14 -0700 (PDT) Cc: "freebsd-net@freebsd.org" , Gary Zambrano Subject: Re: New bxe(4) Driver for Broadcom BCM57710 & BCM57711 Devices X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Sep 2011 01:07:16 -0000 David Christensen wrote this message on Mon, Sep 12, 2011 at 14:13 -0700: > > Thanks for the drivers, but at work we have some issues w/ the driver > > on an HP Blade. We could do some basic pings, but when trying to > > pass DNS traffic, it failed. Turning off both rxcsum and txcsum made > > the driver work. If I only turned one or the other off, DNS traffic > > would still not work. > > Are you using Flex-10? If so, can you tell me how the 57711E is configured? I also ran into an issue w/ this machine where it would panic at shutdown. After the panic, all the cpu's would join in the panic fun and drop to the db prompt also, causing all sorts of fun. After a little debugging help from attilio, I changed the device_shutdown handler to bxe_detach instead, and that prevented the panic at reboot. The panic would happen both compiled into the kernel and as a module, but would only trigger at reboot, but not when unloading the module. I did not test the fix when the driver is compiled into the kernel. The test fix was also on a kernel w/o WITNESS, w/o SMP and w/o PREEMPTION, to make things easier to see. I have put images of the panic, w/ the backtrace up at: https://www.funkthat.com/~jmg/hpblade/ Thanks for your help. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."