From owner-freebsd-mips@FreeBSD.ORG Thu Mar 4 05:53:42 2010 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6EFB91065672 for ; Thu, 4 Mar 2010 05:53:42 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 2C3FC8FC1D for ; Thu, 4 Mar 2010 05:53:41 +0000 (UTC) Received: by gwaa20 with SMTP id a20so1207100gwa.13 for ; Wed, 03 Mar 2010 21:53:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type; bh=uROo0lxyFgpu0/7p9TE5A2Ke3CvS6EEmqGpPUkZP5JM=; b=TVo9Uxmc8N4CaVLNkMuMP3H6hlMrH1Kz69VUqYi9d9llt2fVwZ0n9SBgzblCoaELqB BgyteqbP2w6Asst2+NIo8zHUx8MQ+Q0mNKPBFWRiSKbD/f9s/khzBiyj2OWbGH+N9vV9 eN//mSRUhr33zmGZDJCMZ37Mtiy5fphs4ECDA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=PFhXlDSDFWmcXRmLJisG6Z96L28wZHbJySTpj/KrUAyiO++lKoEOOqFqgJqQ3B96ev A3TBJwTPntgvvHQhTTNWGYOLgr9LOm5rryBtUDocfmJ/xZIsb5rwgYfISn/13T1Z0loS qSVQiHh4VMHzkecLoO/oLZGI1DwuVCk1v7as4= MIME-Version: 1.0 Sender: adrian.chadd@gmail.com Received: by 10.101.130.5 with SMTP id h5mr4363039ann.116.1267682010598; Wed, 03 Mar 2010 21:53:30 -0800 (PST) In-Reply-To: <20100303235333.794674a4@kan.dnsalias.net> References: <20100303235333.794674a4@kan.dnsalias.net> Date: Thu, 4 Mar 2010 13:53:30 +0800 X-Google-Sender-Auth: fd405be2f5e96c5c Message-ID: From: Adrian Chadd To: Alexander Kabaev Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-mips@freebsd.org Subject: Re: Missing hack to resolve umass issues on RouterStation Pro X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Mar 2010 05:53:42 -0000 On 4 March 2010 12:53, Alexander Kabaev wrote: > Hi, > > in order to fix issues with umass on RouterStation Pro, I had to > fix/hack the kenel in two places. One was related in the way we handled > partial cache line invaidations and I committed it to -current already > as http://svn.freebsd.org/changeset/base/203080. > > Another one is a hack that is not suitable for inclusion into official > sources, but still is good enough to get RouterStation Pro to work > reliably. Get it from here: > > http://people.freebsd.org/~kan/usb_rspro.diff > > I would appreciate if people who still have issues getting their > USB-attached storage working reliably with RSPro can test it and report > success/failure. It works fine for me. I do see occasional segfault-on-exec which I wonder whether is due to USB or VM/TLB magic; this smells somewhat like it could be both. I'll have to re-test things on an NFS root (and hope there's not MIPS/rspro-y issues with the NFS and NIC code. :) Is this USB alignment patch something that is needed for all MIPS/USB stuff, or just this specific SoC. If so, why? And will it potentially be an issue with other SoCs? Adrian