From owner-freebsd-current@FreeBSD.ORG Sun Aug 3 08:19:43 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 2ACC51065671 for ; Sun, 3 Aug 2008 08:19:43 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.233]) by mx1.freebsd.org (Postfix) with ESMTP id E67A18FC0A for ; Sun, 3 Aug 2008 08:19:42 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so2387624rvf.43 for ; Sun, 03 Aug 2008 01:19:42 -0700 (PDT) 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=EuG/40T/D1nb1W7t1vasX5wSN1cz/VLLA+vMRhq+Dk0=; b=I+Ta/2gpPve6opa7WjLq1BFU22bgF5wEBp6YXsKLk6zR/RbruDFAUbKLJoTrjnGAXY ciBhtKalniAWKnv9/WCcxcdGoEM1nY1Pq77JtvxvA9u3z8cAw+vZ5NFchgwR4IcPDzhm nspTVm5s9mLBRXPgu8JTzeRckhXB/7U7//IY0= 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=jl+GM1ACyZDbapQ0B86jbGjShvxzdVm0nsj+EC+sW3+D3myLJakmpbcnGJ/v5EfZ55 V2tvjoKdWEzd9OEmHHYwimRXKtEy/tyqkVgJUcPIRkDmuibNZ0lrzKSoeAw5pV+kwdNl 2T+zmvX1k4JaBImfnvmJNvanXfqUeLGG591lQ= Received: by 10.141.76.21 with SMTP id d21mr6900630rvl.270.1217751582376; Sun, 03 Aug 2008 01:19:42 -0700 (PDT) Received: from michelle.cdnetworks.co.kr ( [211.53.35.84]) by mx.google.com with ESMTPS id b8sm4968688rvf.8.2008.08.03.01.19.39 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 03 Aug 2008 01:19:41 -0700 (PDT) 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 m738HUpH018799 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 3 Aug 2008 17:17:30 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id m738HU3p018798; Sun, 3 Aug 2008 17:17:30 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Sun, 3 Aug 2008 17:17:30 +0900 From: Pyun YongHyeon To: Ulrich Spoerlein Message-ID: <20080803081730.GA18731@cdnetworks.co.kr> References: <20080730113449.GD407@cdnetworks.co.kr> <20080802092830.GA1552@roadrunner.spoerlein.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080802092830.GA1552@roadrunner.spoerlein.net> User-Agent: Mutt/1.4.2.1i 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 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: Sun, 03 Aug 2008 08:19:43 -0000 On Sat, Aug 02, 2008 at 11:28:30AM +0200, Ulrich Spoerlein wrote: > 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 > I can't reproduce this and the backtrace does not seem to be related with bfe(4). Did bfe(40 spew some error messages? > If you need more info, I'll crash the machine again, I'm also happy to > test further patches. > Would you enable DDB/KDB in kernel get a backtrace again? -- Regards, Pyun YongHyeon