Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp329280pxu; Tue, 6 Oct 2020 07:26:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzxXEcFKVAILOUQx7ltjCbgohMkEJJebCwGY4IJRqVXDuCg5mqrgOVdFDZUsRYQ/rf7DChJ X-Received: by 2002:aa7:dd49:: with SMTP id o9mr5891346edw.331.1601994394988; Tue, 06 Oct 2020 07:26:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601994394; cv=none; d=google.com; s=arc-20160816; b=OEXCWTpHOERWJ5hLnpyXUVxjrR/GqSW+RumBeZbRQCGcLq1Em4YUcyR0y1tN8HODvJ Mjq4quaCIGPhiF80WajsuPK74okacVTeLdkTiK9m5j8LTtGuRUzaSXe5bOHVdli7/L/d wJMlgTx+qsKCObPq53X2T5Px05ERc/OxjL81LfzJMjbV0AJRVSEO8WIrzf8El+f5BQ3d itwXjJg9UDy0MCO/JjbRZe19qW+rlrLjIhCfyAtQFjNREevmXX2JB3NKCAjmltMRTu7C ZMghkRAddF7xYSsXyl95lDOCvarmtbkMw72EFN5dguhzgmZVHmr56jXSft1XemWnlmnq 4uAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:autocrypt:from :references:cc:to:subject:sender:dkim-signature; bh=9ffsOYmmozmMfw4Am3oqBim824yEcz7GMjtyxeRegT0=; b=bLH2dqTxIMmbnZ92oAa2XOSWXGvcs3AVCJ3KpEj4rq5lE6zoY3rzOyLB+9Z1TaCc9N y2c1/PqKSK4/bbd9Wo+gf2QD6NbVDSfwUAInJD+qMuc8Dem1+xMneo1cP1mhD9Lle062 3bv4EYoJ2WkiuuQfdkn9YilDsMv6Uzy4sZpecwwWtBqWw9adv/4+Wcaz3m/0EUtOvnyd i9EEJGgVGFeLq0bjQpxR0Am4N24ncGAOrSSJidVvijGFkJS777nDQcAse0TYohEKIlTW 2O2Al74ltOZAR7VW+V6xcAPOr7/pJChfCws2VoQcqLp6mubp+Qkbgas0OJuDblGTfCXm jIVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=MlJcpsHJ; 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 r23si676572ejy.529.2020.10.06.07.26.11; Tue, 06 Oct 2020 07:26:34 -0700 (PDT) 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=MlJcpsHJ; 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 S1726444AbgJFOW6 (ORCPT + 99 others); Tue, 6 Oct 2020 10:22:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34602 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725947AbgJFOW5 (ORCPT ); Tue, 6 Oct 2020 10:22:57 -0400 Received: from mail-oi1-x243.google.com (mail-oi1-x243.google.com [IPv6:2607:f8b0:4864:20::243]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB883C061755 for ; Tue, 6 Oct 2020 07:22:57 -0700 (PDT) Received: by mail-oi1-x243.google.com with SMTP id u126so12725777oif.13 for ; Tue, 06 Oct 2020 07:22:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:autocrypt:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=9ffsOYmmozmMfw4Am3oqBim824yEcz7GMjtyxeRegT0=; b=MlJcpsHJnvtJSPceOZFzLpTBCvZlkwb+JjXuJSDaq9nQm+DpwrZHvQ6gQ/wmlIONav nsCio/2q0ek14dMqmUTsdJlb6U2T5OmlpJy38k8kq1qiTlARoz+Tj/tLXCvT+iGManxV BJ1WXXnG5EOqUCdventjWe6ZKj4lB5HMftQd8Uo76YOt4q7aMr1LZdg30Cu646jJ0kkS PX2NKN+PFegbmngGsnrDrY0eTY9W3w+dOe9D1rZILAPviBxWK+zdbinQ5zSwnuumuphj MxweNR5wKJBoNfvB8lR3s63ng+fbLHaYjoUyaTDsHj7RX8+2VY7DjLUjg4mEPLzwbrHL AAfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:autocrypt :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=9ffsOYmmozmMfw4Am3oqBim824yEcz7GMjtyxeRegT0=; b=YiIqH7lYoumgPneJHOQG5bJGcpb6OS9PkJh8LfzJB0HQLYBLRieU1RIOUC9iEktZgT UY0o45jJ9xz9EYPltjqwVSLcyrCPE7HwQ+T1FRwl1wm1Uc1LIYVQMtxOEU+8pxneBF7c +tg5z4IRMhQ4xmAurkkvVhuWZBDlTnVxk7Q0JKviGioMkHCGq/qx+zdbs9k6nA1F/j/1 xpuRBu6OHiNkB4Kl6PIHC6w6wQVHQ5Mpjz2p0ZfpIrNgG1Ifpi1fJJ4fin03BqsVIVp8 bXBz45SS45MZIKFp2v40JDqJLCO0NpbH/bQeCxuGXQnp8LCYn8mstDZn0pLX7Igjuhm8 kd5g== X-Gm-Message-State: AOAM533zRf15sncOS+w0bo4rCUIfHK7JuAylPVFZrDInHoNULZHDVHp2 6oShoyUnN44HfxD5+EuWoChFXC0XS1M= X-Received: by 2002:a54:4086:: with SMTP id i6mr2788578oii.66.1601994177054; Tue, 06 Oct 2020 07:22:57 -0700 (PDT) Received: from server.roeck-us.net ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id n92sm892415ota.67.2020.10.06.07.22.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 06 Oct 2020 07:22:56 -0700 (PDT) Sender: Guenter Roeck Subject: Re: [PATCH] printk: handle blank console arguments passed in. To: Sergey Senozhatsky , Petr Mladek Cc: Shreyas Joshi , rostedt@goodmis.org, shreyasjoshi15@gmail.com, linux-kernel@vger.kernel.org, Greg Kroah-Hartman , Linus Torvalds References: <20200522065306.83-1-shreyas.joshi@biamp.com> <20200522100046.GH3464@linux-b0ei> <20201006025935.GA597@jagdpanzerIV.localdomain> <20201006065907.GA528@jagdpanzerIV.localdomain> <20201006095435.GC32369@alley> <20201006133319.GA178176@jagdpanzerIV.localdomain> From: Guenter Roeck Autocrypt: addr=linux@roeck-us.net; keydata= xsFNBE6H1WcBEACu6jIcw5kZ5dGeJ7E7B2uweQR/4FGxH10/H1O1+ApmcQ9i87XdZQiB9cpN RYHA7RCEK2dh6dDccykQk3bC90xXMPg+O3R+C/SkwcnUak1UZaeK/SwQbq/t0tkMzYDRxfJ7 nyFiKxUehbNF3r9qlJgPqONwX5vJy4/GvDHdddSCxV41P/ejsZ8PykxyJs98UWhF54tGRWFl 7i1xvaDB9lN5WTLRKSO7wICuLiSz5WZHXMkyF4d+/O5ll7yz/o/JxK5vO/sduYDIlFTvBZDh gzaEtNf5tQjsjG4io8E0Yq0ViobLkS2RTNZT8ICq/Jmvl0SpbHRvYwa2DhNsK0YjHFQBB0FX IdhdUEzNefcNcYvqigJpdICoP2e4yJSyflHFO4dr0OrdnGLe1Zi/8Xo/2+M1dSSEt196rXaC kwu2KgIgmkRBb3cp2vIBBIIowU8W3qC1+w+RdMUrZxKGWJ3juwcgveJlzMpMZNyM1jobSXZ0 VHGMNJ3MwXlrEFPXaYJgibcg6brM6wGfX/LBvc/haW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7Gm2rQOMv8lSRdjva++GT0VLXtHULdlzg8VjDnFZ3lfz5PWEOeIMk7Rj trjv82EZtrhLuLjHRCaG50OOm0hwPSk1J64R8O3HjSLdertmw7eyAYOo4RuWJguYMg5DRnBk WkRwrSuCn7UG+qVWZeKEsFKFOkynOs3pVbcbq1pxbhk3TRWCGRU5JolI4ohy/7JV1TVbjiDI HP/aVnm6NC8of26P40Pg8EdAhajZnHHjA7FrJXsy3cyIGqvg9os4rNkUWmrCfLLsZDHD8FnU mDW4+i+XlNFUPUYMrIKi9joBhu18ssf5i5Q= Message-ID: <7d512002-e33c-198f-52df-a89a30bc665b@roeck-us.net> Date: Tue, 6 Oct 2020 07:22:54 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20201006133319.GA178176@jagdpanzerIV.localdomain> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/6/20 6:33 AM, Sergey Senozhatsky wrote: > On (20/10/06 11:54), Petr Mladek wrote: >> On Tue 2020-10-06 15:59:07, Sergey Senozhatsky wrote: >>> On (20/10/05 20:35), Guenter Roeck wrote: >>>> On a side note, I don't see the problem presumably fixed with this >>>> patch in any of my tests. >>> >>> Hmm. This is rather interesting. Empty console= certainly oops-es my laptop, >> >> Just by chance. Do you have any log with the Oops? Or does it die >> silently? > > The laptop in question has fbdev and no serial. It dies with blank screen. > I'll try to dig it and get some backtrace or anything useful. > Some versions of systemd (and possibly other distributions) apparently react allergic if no console is present. See [1]. Maybe that is what happens with your laptop ? That exchange leads to the question what should be done with /dev/console if there is no console. On Chromebooks we see an error when trying to open it if I recall correctly. Guenter --- [1] https://github.com/systemd/systemd/issues/13332