From patchwork Fri Oct 10 12:02:31 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Campbell X-Patchwork-Id: 38578 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ee0-f70.google.com (mail-ee0-f70.google.com [74.125.83.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id B2BCA20D3D for ; Fri, 10 Oct 2014 12:03:55 +0000 (UTC) Received: by mail-ee0-f70.google.com with SMTP id c13sf2125746eek.1 for ; Fri, 10 Oct 2014 05:03:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:in-reply-to :references:mime-version:cc:subject:precedence:list-id :list-unsubscribe:list-post:list-help:list-subscribe:sender :errors-to:x-original-sender:x-original-authentication-results :mailing-list:list-archive:content-type:content-transfer-encoding; bh=GLKwpv6Ishx0Y8Cmlb0BCCLe/x6r4PmGhv4Vdp5LMfQ=; b=XSlyEnVBMN7h2fair3XK/imBfv42zpsHlD7UHclTTl+Uc1XL9er752lqa2624w28U4 SdNdM7Bczt26PrbQK+iCzBbPXy8Zneq2Ezg8kBtDJ7f5zxXqNGn+bYbykvgoZQVnei49 ucaVCLD19yhQH0m4Rd5hUSIyBIRuMjrfPYSgorm+I8spRKyXFhLFMNg0Lja8h3NDvrSx p8dcP+KzAKLPJ/cE4yQxCXpyaPlXgUwIoirDehHuIB6bkBboCEqQHuB/YJujjSngc8rB kHxFrNvugbnLwdG5MFjh4v1nl4tCK7MhH7zb6A/Vn/ZLOpHr1NCmPBSeSywKrZzsV6zK 47wQ== X-Gm-Message-State: ALoCoQn7YJMHWj0+Nazbtg80gk/fES3eHk8ir0WlAR4TrSuGe2tpeBFexpB4A0XlUDV6GHnTV8Ck X-Received: by 10.180.104.229 with SMTP id gh5mr971830wib.6.1412942634809; Fri, 10 Oct 2014 05:03:54 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.43.1 with SMTP id s1ls276967lal.30.gmail; Fri, 10 Oct 2014 05:03:54 -0700 (PDT) X-Received: by 10.152.5.169 with SMTP id t9mr4349523lat.33.1412942634690; Fri, 10 Oct 2014 05:03:54 -0700 (PDT) Received: from mail-lb0-f174.google.com (mail-lb0-f174.google.com [209.85.217.174]) by mx.google.com with ESMTPS id xm7si8841440lbb.97.2014.10.10.05.03.54 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 10 Oct 2014 05:03:54 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.174 as permitted sender) client-ip=209.85.217.174; Received: by mail-lb0-f174.google.com with SMTP id p9so2907940lbv.5 for ; Fri, 10 Oct 2014 05:03:54 -0700 (PDT) X-Received: by 10.153.6.36 with SMTP id cr4mr4490454lad.40.1412942634561; Fri, 10 Oct 2014 05:03:54 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.84.229 with SMTP id c5csp414374lbz; Fri, 10 Oct 2014 05:03:53 -0700 (PDT) X-Received: by 10.52.146.17 with SMTP id sy17mr1755925vdb.29.1412942632687; Fri, 10 Oct 2014 05:03:52 -0700 (PDT) Received: from lists.xen.org (lists.xen.org. [50.57.142.19]) by mx.google.com with ESMTPS id ee1si6603591vdb.67.2014.10.10.05.03.52 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 10 Oct 2014 05:03:52 -0700 (PDT) Received-SPF: none (google.com: xen-devel-bounces@lists.xen.org does not designate permitted sender hosts) client-ip=50.57.142.19; Received: from localhost ([127.0.0.1] helo=lists.xen.org) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1XcYue-0002oN-GE; Fri, 10 Oct 2014 12:03:12 +0000 Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1XcYud-0002l8-3w for xen-devel@lists.xen.org; Fri, 10 Oct 2014 12:03:11 +0000 Received: from [85.158.139.211:34125] by server-5.bemta-5.messagelabs.com id 93/E4-11546-EFAC7345; Fri, 10 Oct 2014 12:03:10 +0000 X-Env-Sender: Ian.Campbell@citrix.com X-Msg-Ref: server-15.tower-206.messagelabs.com!1412942587!9871282!2 X-Originating-IP: [66.165.176.89] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogNjYuMTY1LjE3Ni44OSA9PiAyMDMwMDc=\n X-StarScan-Received: X-StarScan-Version: 6.12.2; banners=-,-,- X-VirusChecked: Checked Received: (qmail 14525 invoked from network); 10 Oct 2014 12:03:09 -0000 Received: from smtp.citrix.com (HELO SMTP.CITRIX.COM) (66.165.176.89) by server-15.tower-206.messagelabs.com with RC4-SHA encrypted SMTP; 10 Oct 2014 12:03:09 -0000 X-IronPort-AV: E=Sophos;i="5.04,691,1406592000"; d="scan'208";a="180117037" Received: from ukmail1.uk.xensource.com (10.80.16.128) by smtprelay.citrix.com (10.13.107.78) with Microsoft SMTP Server id 14.3.181.6; Fri, 10 Oct 2014 08:02:51 -0400 Received: from kazak.uk.xensource.com ([10.80.2.80] helo=zakaz.uk.xensource.com) by ukmail1.uk.xensource.com with smtp (Exim 4.69) (envelope-from ) id 1XcYuI-0008U6-GH; Fri, 10 Oct 2014 13:02:51 +0100 Received: by zakaz.uk.xensource.com (sSMTP sendmail emulation); Fri, 10 Oct 2014 13:02:50 +0100 From: Ian Campbell To: Date: Fri, 10 Oct 2014 13:02:31 +0100 Message-ID: <1412942554-752-16-git-send-email-ian.campbell@citrix.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1412942404.27111.12.camel@citrix.com> References: <1412942404.27111.12.camel@citrix.com> MIME-Version: 1.0 X-DLP: MIA1 Cc: Ian Campbell , xen-devel@lists.xen.org Subject: [Xen-devel] [PATCH RFC OSSTEST 16/19] Osstest/Debian: support adding a rootdelay property to bootargs X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Post: , List-Help: , List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: ian.campbell@citrix.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.174 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Archive: arndale appears to be quite slow (and asynchronous) at finding it's scsi controller. rootdelay=3 seems to do the trick. Signed-off-by: Ian Campbell Acked-by: Ian Jackson --- Osstest/Debian.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm index 97a6cda..eca4d7f 100644 --- a/Osstest/Debian.pm +++ b/Osstest/Debian.pm @@ -673,9 +673,11 @@ END my @bootargs; my $root=target_guest_lv_name($ho,"root"); + my $rootdelay=get_host_property($ho, "rootdelay"); my $console=get_host_native_linux_console($ho); push @bootargs, "root=$root"; + push @bootargs, "rootdelay=$rootdelay"; push @bootargs, "console=$console" unless $console eq "NONE"; my $bootargs = join ' ', @bootargs;