From owner-freebsd-current@FreeBSD.ORG Fri Nov 7 19:19:32 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 43938106568E; Fri, 7 Nov 2008 19:19:32 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from mailrelay.rz.uni-wuerzburg.de (mailrelay.rz.uni-wuerzburg.de [132.187.3.28]) by mx1.freebsd.org (Postfix) with ESMTP id E8F1A8FC20; Fri, 7 Nov 2008 19:19:31 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from virusscan.mail (localhost [127.0.0.1]) by mailrelay.mail (Postfix) with ESMTP id 2D5A7A075D; Fri, 7 Nov 2008 20:19:30 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by virusscan.mail (Postfix) with ESMTP id 1F559A0755; Fri, 7 Nov 2008 20:19:30 +0100 (CET) Received: from mail.physik.uni-wuerzburg.de (wthp192.physik.uni-wuerzburg.de [132.187.40.192]) by mailmaster.uni-wuerzburg.de (Postfix) with ESMTP id 0A41CA0742; Fri, 7 Nov 2008 20:19:30 +0100 (CET) Received: from localhost.my.domain ([132.187.37.59]) by mail.physik.uni-wuerzburg.de (Lotus Domino Release 8.0.2) with ESMTP id 2008110720192856-30725 ; Fri, 7 Nov 2008 20:19:28 +0100 Received: by localhost.my.domain (sSMTP sendmail emulation); Fri, 7 Nov 2008 20:19:35 +0100 Date: Fri, 7 Nov 2008 20:19:35 +0100 From: Alexey Shuvaev To: Hans Petter Selasky Message-ID: <20081107191935.GA51170@localhost.my.domain> References: <20081107082740.GA1334@icarus.home.lan> <200811071811.27181.hselasky@c2i.net> MIME-Version: 1.0 In-Reply-To: <200811071811.27181.hselasky@c2i.net> Organization: Universitaet Wuerzburg User-Agent: Mutt/1.5.18 (2008-05-17) X-MIMETrack: Itemize by SMTP Server on domino1/uni-wuerzburg(Release 8.0.2|August 07, 2008) at 11/07/2008 08:19:28 PM, Serialize by Router on domino1/uni-wuerzburg(Release 8.0.2|August 07, 2008) at 11/07/2008 08:19:29 PM, Serialize complete at 11/07/2008 08:19:29 PM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Virus-Scanned: by amavisd-new at uni-wuerzburg.de Cc: freebsd-current@freebsd.org, freebsd-usb@freebsd.org Subject: Re: Kernel panic when copying data to umass device (USB4BSD) - problem found 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: Fri, 07 Nov 2008 19:19:32 -0000 On Fri, Nov 07, 2008 at 06:11:26PM +0100, Hans Petter Selasky wrote: > > Hi Jeremy, > > I've reproduced the issue with some mods to the usb2_busdma.c on 32-bit > arcitecture and have made a fix for this problem. > > Try the following patch and re-test! > Thanks a lot! I have rebuild the kernel with this patch > > http://perforce.freebsd.org/chv.cgi?CH=152624 > and so far no panics. Indeed, the system I am using is amd64 with 4Gb of RAM. > Some mem-stick benchmarks would be nice ... > What exactly do you mean? I have done: dd if=file_on_one_stick of=/dev/null bs=1m (12.5 Mb/s) dd if=/dev/random of=file_on_the_stick bs=1m count=128 (2.6 Mb/s) and the same tests with USB-microSDHC adapter with 8Gb card (20 MB/s read, 15 Mb/s write). Anything else? Alexey.