Does sysrq work over USB?

Valentin Vidić vvidic at valentin-vidic.from.hr
Sun Nov 21 12:51:54 EST 2021


On Sun, Nov 21, 2021 at 04:47:57PM +0100, Marc SCHAEFER wrote:
> 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 at gluster-1:~# cat /proc/consoles 
>    tty0                 -WU (EC p  )    4:1
> 
> However, the command line seems correct and multiple console= are
> valid [1]:
> 
>    root at 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

Seems like it was not picked up for some reason. You can try with this:

  console=tty0 console=ttyUSB0,9600n8

-- 
Valentin



More information about the Kernelnewbies mailing list