From patchwork Thu Mar 17 14:52:08 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Grall X-Patchwork-Id: 64006 Delivered-To: patch@linaro.org Received: by 10.112.199.169 with SMTP id jl9csp515717lbc; Thu, 17 Mar 2016 07:53:43 -0700 (PDT) X-Received: by 10.31.4.208 with SMTP id 199mr10510205vke.110.1458226423856; Thu, 17 Mar 2016 07:53:43 -0700 (PDT) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org. [192.237.175.120]) by mx.google.com with ESMTPS id n207si6662073vke.157.2016.03.17.07.53.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 17 Mar 2016 07:53:43 -0700 (PDT) Received-SPF: neutral (google.com: 192.237.175.120 is neither permitted nor denied by best guess record for domain of xen-devel-bounces@lists.xen.org) client-ip=192.237.175.120; Authentication-Results: mx.google.com; spf=neutral (google.com: 192.237.175.120 is neither permitted nor denied by best guess record for domain of xen-devel-bounces@lists.xen.org) smtp.mailfrom=xen-devel-bounces@lists.xen.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1agZHb-0003nr-U3; Thu, 17 Mar 2016 14:52:15 +0000 Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1agZHa-0003nf-Dg for xen-devel@lists.xen.org; Thu, 17 Mar 2016 14:52:14 +0000 Received: from [85.158.139.211] by server-11.bemta-5.messagelabs.com id 3A/5F-17208-D94CAE65; Thu, 17 Mar 2016 14:52:13 +0000 X-Env-Sender: julien.grall@arm.com X-Msg-Ref: server-3.tower-206.messagelabs.com!1458226332!29768915!1 X-Originating-IP: [217.140.101.70] X-SpamReason: No, hits=0.0 required=7.0 tests= X-StarScan-Received: X-StarScan-Version: 8.11; banners=-,-,- X-VirusChecked: Checked Received: (qmail 19239 invoked from network); 17 Mar 2016 14:52:12 -0000 Received: from foss.arm.com (HELO foss.arm.com) (217.140.101.70) by server-3.tower-206.messagelabs.com with SMTP; 17 Mar 2016 14:52:12 -0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id DAF8D49; Thu, 17 Mar 2016 07:51:09 -0700 (PDT) Received: from [10.1.215.28] (e108454-lin.cambridge.arm.com [10.1.215.28]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 92A9E3F21A; Thu, 17 Mar 2016 07:52:10 -0700 (PDT) To: Dushyant Behl , Konrad Rzeszutek Wilk References: <201603080833.u288Xbfi64553164@d28relay03.in.ibm.com> <20160309133750.GD2589@citrix.com> <56E10135.8050607@arm.com> <20160314141226.GC18000@char.us.oracle.com> From: Julien Grall Message-ID: <56EAC498.1030400@arm.com> Date: Thu, 17 Mar 2016 14:52:08 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: Cc: Wei Liu , Dushyant K Behl , Xen Devel , Meng Xu , Stefano Stabellini Subject: Re: [Xen-devel] Running Xen on Nvidia Jetson-TK1 X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" Hi Dushyant, On 14/03/16 14:19, Dushyant Behl wrote: > > Yes, I have enabled these configuration parameters when compiling linux - The list of options looks good to me. I guess Linux is crashing before setting up the console. Can you apply the below to Linux and post the log here? Regards, diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c index c963ba5..6f3b85b 100644 --- a/kernel/printk/printk.c +++ b/kernel/printk/printk.c @@ -1657,6 +1657,8 @@ static size_t cont_print_text(char *text, size_t size) return textlen; } +#include + asmlinkage int vprintk_emit(int facility, int level, const char *dict, size_t dictlen, const char *fmt, va_list args) @@ -1724,6 +1726,7 @@ asmlinkage int vprintk_emit(int facility, int level, * prefix which might be passed-in as a parameter. */ text_len = vscnprintf(text, sizeof(textbuf), fmt, args); + xen_raw_console_write(text); /* mark and strip a trailing newline */ if (text_len && text[text_len-1] == '\n') {