From owner-freebsd-mips@FreeBSD.ORG Mon Sep 27 11:06:57 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 195C31065672 for ; Mon, 27 Sep 2010 11:06:57 +0000 (UTC) (envelope-from phcoder@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 952CB8FC16 for ; Mon, 27 Sep 2010 11:06:56 +0000 (UTC) Received: by fxm9 with SMTP id 9so3433692fxm.13 for ; Mon, 27 Sep 2010 04:06:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :x-enigmail-version:content-type; bh=/xDH/p+g8evzJR0SI7dY06nqyPku+MkP2iItC2VIS70=; b=hMMOAuZA+3VXn2lIsz2LqS0c2COqHAEJUEZF30U0GJA/lIhzmsSi4R6LWnDFVXDQJd sMRsTKjF0L7/33abinwCEjeU7mF4LcKGuaVdbDiNrPZuU+F/0qOYl6ERvyPdjAp9s+nq 9+ncfs1Aku1WgOXHtlS1cM+d8klQoDnic9oGY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type; b=kqHa/OEDjd/+u5k68T7sZC01WcJnM7XQlEGwfr2mYa474w7QdI/tEUpK2hJUUeuP+q 311OtLvDbEjB35dNoNxXHXHX1JYT9n8M/UsMF9AQFBkCcX2gkM7E6COSyF1dMM8wEjPX mtbmido0Xl4o9AHsEnKz9ADDobe3KpQeJS1P4= Received: by 10.223.123.19 with SMTP id n19mr7301235far.75.1285585615320; Mon, 27 Sep 2010 04:06:55 -0700 (PDT) Received: from debian.bg45.phnet (public-docking-hg-2-106.ethz.ch [129.132.247.106]) by mx.google.com with ESMTPS id s20sm2317951faa.28.2010.09.27.04.06.45 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 27 Sep 2010 04:06:54 -0700 (PDT) Message-ID: <4CA07AA8.7020704@gmail.com> Date: Mon, 27 Sep 2010 13:06:16 +0200 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.11) Gecko/20100805 Icedove/3.0.6 MIME-Version: 1.0 To: freebsd-mips@freebsd.org References: <4CA040CE.8090706@gmail.com> In-Reply-To: <4CA040CE.8090706@gmail.com> X-Enigmail-Version: 1.0.1 Content-Type: multipart/mixed; boundary="------------050904090301020102070001" Subject: Re: [PATCH] [yeeloong] held proper mountroot waits 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: Mon, 27 Sep 2010 11:06:57 -0000 This is a multi-part message in MIME format. --------------050904090301020102070001 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 09/27/2010 08:59 AM, Vladimir '=CF=86-coder/phcoder' Serbinenko wrote:= > Hello. Here the yeeloong patches split into small pieces for easier > review and merge. > First patch is to held mountroot wait during usb probing. I believe thi= s > issue isn't yeeloong-specific but became apparent on it because of > either different speed ratios between varios hardware components or > because when I first came up with it I was testing without cache at all= =2E=20 > > =20 Resending the attachment with .txt added --=20 Regards Vladimir '=CF=86-coder/phcoder' Serbinenko --------------050904090301020102070001 Content-Type: text/plain; name="mountroot.diff.txt" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="mountroot.diff.txt" PT09IG1vZGlmaWVkIGZpbGUgJ2NhbS9jYW1feHB0LmMnCi0tLSBjYW0vY2FtX3hwdC5jCTIw MTAtMDgtMTMgMjI6MTY6NDk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