From owner-freebsd-current@FreeBSD.ORG Sat Aug 2 09:43:23 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 BB9AA106566B for ; Sat, 2 Aug 2008 09:43:23 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: from acme.spoerlein.net (cl-43.dus-01.de.sixxs.net [IPv6:2a01:198:200:2a::2]) by mx1.freebsd.org (Postfix) with ESMTP id 45CA48FC14 for ; Sat, 2 Aug 2008 09:43:23 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: from roadrunner.spoerlein.net (e180164088.adsl.alicedsl.de [85.180.164.88]) by acme.spoerlein.net (8.14.2/8.14.2) with ESMTP id m729hEjS062442 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 2 Aug 2008 11:43:17 +0200 (CEST) (envelope-from uspoerlein@gmail.com) Received: from roadrunner.spoerlein.net (localhost [127.0.0.1]) by roadrunner.spoerlein.net (8.14.2/8.14.2) with ESMTP id m729SW2g053653 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 2 Aug 2008 11:28:32 +0200 (CEST) (envelope-from uspoerlein@gmail.com) Received: (from uqs@localhost) by roadrunner.spoerlein.net (8.14.2/8.14.2/Submit) id m729SVbQ053652; Sat, 2 Aug 2008 11:28:31 +0200 (CEST) (envelope-from uspoerlein@gmail.com) Date: Sat, 2 Aug 2008 11:28:30 +0200 From: Ulrich Spoerlein To: Pyun YongHyeon Message-ID: <20080802092830.GA1552@roadrunner.spoerlein.net> Mail-Followup-To: Pyun YongHyeon , freebsd-current@FreeBSD.org References: <20080730113449.GD407@cdnetworks.co.kr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080730113449.GD407@cdnetworks.co.kr> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-current@FreeBSD.org Subject: Re: Call for bfe(4) testers. 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: Sat, 02 Aug 2008 09:43:23 -0000 On Wed, 30.07.2008 at 20:34:49 +0900, Pyun YongHyeon wrote: > > Hi, > > I have been using the following patched bfe(4) and it seems it > works as expected. I've fixed long standing bus_dma(9) bugs in it > and it should work on systems with > 1GB memory. In theory bfe(4) > should also work on big-endian architectures. However the 1GB DMA > address space of the hardware is much lower than that of DVMA base > address of sparc64 so the possibility of using bfe(4) on sparc64 is > zero. :-( > > As added bonus of patched driver, bfe(4) now supports hardware > statistics counter. You can use sysctl(8) to see what counters are > maintained in the hardware. For example, the following command will > show detailed statistics for Tx/Rx frames. > #sysctl dev.bfe.0.stats=1 > > If you have one of bfe(4) hardwares please give it try and let me > know how it goes. The latest bfe(4) can be found at the following > URL. > http://people.freebsd.org/~yongari/bfe/if_bfe.c > http://people.freebsd.org/~yongari/bfe/if_bfereg.h Hi Pyun, I recompiled a fresh RELENG_7 kernel with the files above, and it led to a panic, shortly after the system was up. I can't provide you with a dump for now, but here's the handwritten backtrace: last dmesg: no toe capability of 0xc421d800 trace: device_is_attached cf_set_method cpufreq_curr_sysctl sysctl_root userland_sysctl If you need more info, I'll crash the machine again, I'm also happy to test further patches. Cheers, Ulrich Spoerlein -- It is better to remain silent and be thought a fool, than to speak, and remove all doubt.