Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp849225pxb; Wed, 13 Jan 2021 18:15:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJzNnVvWVjo4g9tqZH4BxcAlMAB9rD+6cFW1wGh7QMsj+WdfctWNkxNZNsCdNQmIBgcgW5wn X-Received: by 2002:a17:906:6c8b:: with SMTP id s11mr3559081ejr.187.1610590512059; Wed, 13 Jan 2021 18:15:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610590512; cv=none; d=google.com; s=arc-20160816; b=o8uu4x4zvwqQFEsSzteEWYr9RTrOrujnXR+4gvbGywQDEjf1aDgHcuK2s2Uz/CDASG PdaXEs2bT/m9Vpk2cc5Vs1qYHNf4hmjerPt7eBmiEk0sbrbmY+uR1nr2uwl7quLyTkt8 v+kl8X6Usx0K6x9tk5eWTXQ5DPgV5yqQUDVhbnkdtXv/vn816tf1s81ZZA0YMjaNXRhj kHHmPULosc0XLRhsQlK8K9VYOKl0gpwqvRmMNpMeDiNoP/30HjGL5iDXxZhwVsv3dGpT m/c1c9LEpGdyOfnkiKXDDyYVFNnMIi3cAShYY4iDV514J1QGRaasceJpAOJA+vazFk2f jmEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:message-id:in-reply-to :date:references:subject:cc:to:from:sender:dkim-signature; bh=Fjx4x9CJD2wWjKON/wheiuq+1EzL46Iryc22xTN24oY=; b=g/w25LyGOI/ZqhJtiEvTzHe22F2QNuBUOePhgNeNaERDXYXesOCxSaYB4tQK9qXgc2 abmOoA13oKdRXykMzdBlf/k89N+GqwQZ6WRW/pVqiFIMNVk6mxWI1eXOAfi9xFKOSxQA V4zKysSoxkUhchzw8KiE7JMV/vgnloZ8SpTWQEggm89nxyv1Gb9iw8xCv4t962lPlStq btoEAWG/a43RFxd+Fhmd9+ZD1gHqFr+8tZIe0dsLokCUfNR9dbtgcTeMj/kwl4iNdCU7 tlltYZvkjQTHFVxWmEQ3mBO5i9G07/QPje3lxoSRk77MYEZYvNkMSk61TarsZVTI+QGi pGmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=va4GwRxt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c12si1568378ejb.751.2021.01.13.18.14.48; Wed, 13 Jan 2021 18:15:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=va4GwRxt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730145AbhANCMI (ORCPT + 99 others); Wed, 13 Jan 2021 21:12:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51634 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729238AbhAMWIy (ORCPT ); Wed, 13 Jan 2021 17:08:54 -0500 Received: from mail-ed1-x52e.google.com (mail-ed1-x52e.google.com [IPv6:2a00:1450:4864:20::52e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE7A1C061575; Wed, 13 Jan 2021 14:07:48 -0800 (PST) Received: by mail-ed1-x52e.google.com with SMTP id h16so3610363edt.7; Wed, 13 Jan 2021 14:07:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=Fjx4x9CJD2wWjKON/wheiuq+1EzL46Iryc22xTN24oY=; b=va4GwRxtMiYIKSA/SqIIQIDY1vPL/tulMkOywZckEhLZbkhHpEMpYvfhLrH13087EN kXM2l8Jf61kJJXZttzxj3aSr3wdcXQ3NiOK/1XYg5lwTvXKffuuaxQKICLn8mwRhoiez 7KNyrcUunR+dYvmVagw8isyRG7MvR5ZtxwcoZgoSZ5lKIx5/3EejSzfQlYdS0zYagmev cPIsk0AJvOACpUU+da4NawTYTwixhknA+O6n4rxx5TmITa1OIsGTEg86Y9Xol9aSUYWP tJMSk0r8RKd98RiFQc/HOsUK2zSr4NVbZSraJ+tgb4CMpTMF87CAs02UeyIbmSdq3xqG KXgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=Fjx4x9CJD2wWjKON/wheiuq+1EzL46Iryc22xTN24oY=; b=CgL744oy/hNzjwT+pI2yPFgx/+Puvk6q77KeUomTOp+295yPR3OOx7vLkfZDSDy5oG jfJTWcfyp3zh8SsKCSWyNNmwsg1AQF8ncUghoH+HvlMkLDkuDwKSR1GkCa1tB8KqpyAW gREANaDlXFZf9vlGc4dmWxedLRnmi/8k+P8xbw5UoFfD3qcg4/rIM69BJPY/lj8UDKTt 5m/C3yRFMD2soCxlNj64mN4pEUtXNN/0uPUHeC+7kkmmMfNL52XhA2BLs6vYiDiUrUgS 72G3T5OKsN3A8+oDIUifpyd3rBOdi4kZ0EWnwZVuTAY80OgWfR/j6zwZhRMtpeONnMij 1Uuw== X-Gm-Message-State: AOAM5306Qnw2RRvtxbXM6S1qy5591Xvo7x83IA2xWh90bsgA2M3CDA4R Mo0akocU3CxF5CQewKt0ojPok9SlO30= X-Received: by 2002:a50:c34b:: with SMTP id q11mr449809edb.214.1610575667713; Wed, 13 Jan 2021 14:07:47 -0800 (PST) Received: from dell.be.48ers.dk (d51A5BC31.access.telenet.be. [81.165.188.49]) by smtp.gmail.com with ESMTPSA id b14sm1403781edu.3.2021.01.13.14.07.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 14:07:46 -0800 (PST) Sender: Peter Korsgaard Received: from peko by dell.be.48ers.dk with local (Exim 4.92) (envelope-from ) id 1kzoIr-0004d2-QY; Wed, 13 Jan 2021 23:07:45 +0100 From: Peter Korsgaard To: Vineet Gupta Cc: Petr Mladek , linux-arch@vger.kernel.org, Sergey Senozhatsky , John Ogness , Shreyas Joshi , linux-kernel@vger.kernel.org, Steven Rostedt , Sergey Senozhatsky , Thomas Petazzoni , Greg Kroah-Hartman , buildroot@busybox.net, arcml , Linus Torvalds , shreyasjoshi15@gmail.com, Guenter Roeck Subject: Re: ARC no console output (was Re: [PATCH 1/2] init/console: Use ttynull as a fallback when there is no console) References: <20201111135450.11214-1-pmladek@suse.com> <20201111135450.11214-2-pmladek@suse.com> <8735zdm86m.fsf@jogness.linutronix.de> <50ade852-c598-6476-1f4b-9a3f8d11d143@synopsys.com> <466644f5-bed7-caef-9fcd-e66208f65545@synopsys.com> Date: Wed, 13 Jan 2021 23:07:45 +0100 In-Reply-To: <466644f5-bed7-caef-9fcd-e66208f65545@synopsys.com> (Vineet Gupta's message of "Thu, 7 Jan 2021 09:58:05 -0800") Message-ID: <87turkfq32.fsf@dell.be.48ers.dk> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org >>>>> "Vineet" == Vineet Gupta writes: > On 1/7/21 9:04 AM, Petr Mladek wrote: >> On Thu 2021-01-07 08:43:16, Vineet Gupta wrote: >>> Hi John, >>> >>> On 1/7/21 1:02 AM, John Ogness wrote: >>>> Hi Vineet, >>>> >>>> On 2021-01-06, Vineet Gupta wrote: >>>>> This breaks ARC booting (no output on console). >>>> >>>> Could you provide the kernel boot arguments that you use? This series is >>>> partly about addressing users that have used boot arguments that are >>>> technically incorrect (even if had worked). Seeing the boot arguments of >>>> users that are not experiencing problems may help to reveal some of the >>>> unusual console usages until now. >>> >>> >>> Kernel command line: earlycon=uart8250,mmio32,0xf0005000,115200n8 >>> console=ttyS0,115200n8 debug print-fatal-signals=1 >> >> This is strange, the problematic patch should use ttynull >> only as a fallback. It should not be used when a particular console >> is defined on the command line. > What happens in my case is console_on_rootfs() doesn't find > /dev/console and switching to ttynull. /dev is not present because > devtmpfs doesn't automount for initramfs. But our initramfs/cpio logic ensures that the initramfs has a static /dev/console device node, so how can that be? https://git.buildroot.net/buildroot/tree/fs/cpio/cpio.mk#n25 -- Bye, Peter Korsgaard