From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from shelob.surriel.com (shelob.surriel.com [96.67.55.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0DDB4C433F5 for ; Sun, 21 Nov 2021 15:49:45 +0000 (UTC) Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.94.2) (envelope-from ) id 1mop68-0002Lb-LJ for kernelnewbies@archiver.kernel.org; Sun, 21 Nov 2021 10:49:44 -0500 Received: from shakotay.alphanet.ch ([46.140.72.222]) by shelob.surriel.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1mop4Y-0000Md-A3 for kernelnewbies@kernelnewbies.org; Sun, 21 Nov 2021 10:48:06 -0500 Received: by shakotay.alphanet.ch (Postfix, from userid 1022) id AD114124EFEE; Sun, 21 Nov 2021 16:48:02 +0100 (CET) Received: from reliant.alphanet.ch (reliant.alphanet.ch [192.168.1.30]) by shakotay.alphanet.ch (Postfix) with ESMTP id CB99112462A7 for ; Sun, 21 Nov 2021 16:47:57 +0100 (CET) Received: by reliant.alphanet.ch (Postfix, from userid 1000) id C3CE917FD47; Sun, 21 Nov 2021 16:47:57 +0100 (CET) Date: Sun, 21 Nov 2021 16:47:57 +0100 From: Marc SCHAEFER To: kernelnewbies@kernelnewbies.org Subject: Re: Does sysrq work over USB? Message-ID: <20211121154757.GA5318@alphanet.ch> References: <20211116140456.GA10235@alphanet.ch> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-BeenThere: kernelnewbies@kernelnewbies.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Learn about the Linux kernel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: kernelnewbies-bounces+kernelnewbies=archiver.kernel.org@kernelnewbies.org On Tue, Nov 16, 2021 at 10:29:00PM +0100, Valentin Vidi?? wrote: > Do you have console=ttyUSB0,... set? What does /proc/consoles say? No, I did not. Now, I have added on a test machine: console=ttyUSB0,9600 console=tty0 to /etc/default/grub and started upgrade-grub and rebooted. I had and I still have: root@gluster-1:~# cat /proc/consoles tty0 -WU (EC p ) 4:1 However, the command line seems correct and multiple console= are valid [1]: root@gluster-1:~# cat /proc/cmdline BOOT_IMAGE=/vmlinuz-4.19.0-18-amd64 root=/dev/mapper/vg1-root ro console=ttyUSB0,9600 console=tty0 quiet raid0.default_layout=1 It does not seem to be work for some reason. Let's try with one ttyUSB console specification only: does not boot anymore. Does not print anything on ttyUSB0. Had to recover using a grub kernel command line edition at boot time. Any idea? NB: the USB serial port works with cu bidirectionnally once the system is booted, but %break has no effect. [1] https://www.kernel.org/doc/html/latest/admin-guide/serial-console.html _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies