Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp158632pxm; Fri, 25 Feb 2022 05:47:51 -0800 (PST) X-Google-Smtp-Source: ABdhPJzsg7IeIEW9B8f92F5bAEz3aOhefp2i/L9PsDNUXe9OkuuMWhma9RfNPTTYpNLtYYlZ0FcJ X-Received: by 2002:a05:6402:3489:b0:412:897b:9bb2 with SMTP id v9-20020a056402348900b00412897b9bb2mr7034759edc.73.1645796871183; Fri, 25 Feb 2022 05:47:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645796871; cv=none; d=google.com; s=arc-20160816; b=qA35MtwadwfYoJhF75fduertym7hPJfy2Qn/b729VknbNKFTWuYE/aDlcN8h8reuWV cbc+aBYNk+4KO3rt7atKs/Yz8MKt6DIxnZEnK9QAlLZnwRK8m5S/ZXdr4yLSwC992esM hxPc44vpbVEwBPAfBe50S4dXv4q4zTsc3PRE/ALtBlvNFdvGEoUxWG3HAwhmoS/fuYvD C5wLV0iaDeHHLKRSZdKhkyTW3HlQTxF5y6DbKL5BN4FenpCNTIHBgAb1nh8WHshhuTbg NnHWEVPOvJ702BY271ExjdJp6ls6ALxe08949UzDbRsNIQVQYTW1E/npGyf9rDLer4vk lD7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=6ERu3ijbotVZSnsow7/5H3NAVyf1QI0ZgBX04uvlPBA=; b=xxJYHSWgv0lBJ6EVicoxgLE54LgNLeLSKQADxJCd6WyyEERMrcpDOTwd8qitru+EI3 MfVbrWsr8aVY93D1Xk3/ut8dQrjEFtD0xneUvT8j1DpdP+zcexsVba2nf1F59C5Vd0yj ol/Qp2ykZeEfgPEQjXtBAu2RHVFl/Ej5hAVczABRKkxEpLWbuXat+utBOEVXW3PcAzf4 ddEZb8AnuvG1W3qT1eN+tUi9BYmp4QQAduo0Md/nhxdhTlTyVlEboJKYnBjvLt34j4ZA wP2ROcjyF9c3jUGLdTfN34aAtayB5ysTpYiSr4fbQBjkOzI//JMyZ335YwsELpIb5ygf 1YZA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ce2-20020a05640221e200b00412b3ae28cbsi2015135edb.585.2022.02.25.05.47.26; Fri, 25 Feb 2022 05:47:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241097AbiBYNTt (ORCPT + 99 others); Fri, 25 Feb 2022 08:19:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47210 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241140AbiBYNR7 (ORCPT ); Fri, 25 Feb 2022 08:17:59 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5BE4B1BF91C for ; Fri, 25 Feb 2022 05:17:24 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id F1F15B830AF for ; Fri, 25 Feb 2022 13:17:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 03D25C340E7; Fri, 25 Feb 2022 13:17:20 +0000 (UTC) Date: Fri, 25 Feb 2022 08:17:19 -0500 From: Steven Rostedt To: Willy Tarreau Cc: David Laight , LKML , Petr Mladek , Sergey Senozhatsky , John Ogness Subject: Re: Strange output on the console Message-ID: <20220225081719.7710f62e@gandalf.local.home> In-Reply-To: <20220225122546.GB18720@1wt.eu> References: <20220224230035.36547137@gandalf.local.home> <61226fc12ff9459d8daed8e346d6ab94@AcuMS.aculab.com> <20220225063637.GA18039@1wt.eu> <1dcb185901f04a5ea2476a449e371167@AcuMS.aculab.com> <20220225103239.GA18720@1wt.eu> <32a7af26f4494f47a03a6d965ac7c99a@AcuMS.aculab.com> <20220225122546.GB18720@1wt.eu> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 25 Feb 2022 13:25:46 +0100 Willy Tarreau wrote: > > TnsTesOT s T sKTesOT sKTvsOTtsTtsKTtsT sKTesTesKT sKTesOT siT stTnsaTvsaTesKTnsOT s > > TesKTnsT s TvsKTeslT sOTesT sKTtseTnseTvs_Tts_T sOTes TnsOT s T spTespTesdTesdTeseTtseTeseTt_rTe_rTv_oTes:T s:Tes:TnfwOTvfrKT fwT frTefpuTefpKTefpTvf:TnsOTvsOTnsoTvs Tvs TvsTtssTnsT sKTesTnsTvsTtsoTesmTnsgTesiTeslTtsTvsKTnsTvsOTtsT s_Tnsu > > > > which really doesn't have enough different characters in it to be a fifo problem. > > That looks like a UART struggling to find valid start and stop bits > > on a continuous data stream that doesn't match the baud rate. > > > > It may also be that whatever 'terminal' is being used is masking off the 0x80 bit. > > That could be one option I thought about but still, that sounds quite > suspicious. You don't even get any #!:$/ etc. Or maybe the UART is > configured in 6-bit mode (most 16550 support 5-8 bits), and maybe even > the stop bit and/or parity participates. One thing that's not easy to demonstrate here (I could try to video it), is that this output is the final result. It shows a bunch of other characters as it is displayed but then the cursor goes backwards and writes over it. But the characters that are deleted still do not make sense. When watching it, it reminds me of the Matrix characters, but running horizontal and not vertical. > > > Another possibility is that the count of characters is about right. > > But the receiver is misaligned on the 10 bit async characters. > > Because these is no line idle, it never synchronises properly. > > ISTR a real async terminal behaving that way. > > But I think that gives a much wider range of characters - just the wrong ones. > > > > There is also a third error pattern: > > ^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[ > > which might be an 'even more wrong' baud rate. > > This one just looks like the Up arrow, that Steven might have pressed at > some point during the capture. Yeah, sorry about that. That was the mouse wheel over my console window and I didn't quite hit "shift" in time. "shift-mouse-up" scrolls up the terminal window, but just "mouse-up" is the same as "up arrow", and caused that huge string of ^[[A to appear. > > > So maybe we are both right - for different bits of the error. > > :-) > ... and Steven having fun reading our proposals after having made this > up entirely in preparation of the next April's fool :-) I was thinking the same thing, but this output being the joke. Someone planning on slipping in Matrix characters for printk? -- Steve