Re: [syzbot] [serial?] WARNING in register_console

Tetsuo Handa <[email protected]>
Newsgroups gmane.linux.serial,gmane.linux.kernel
Message-ID <[email protected]>
On 2026/08/07 15:45, Jiri Slaby wrote:
>> printk: legacy console [ttyS0] enabled
>> ------------[ cut here ]------------
>> IS_ERR(kt)
> 
> Well, the creation of "pr/legacy" thread failed. Would be nice to see what is actual PTR_ERR(kt).
> 
>> RAX: fffffffffffffffc

fffffffffffffffc = -EINTR

> console_store() is serialized by a mutex. So this should not be a race. I cannot reproduce using:
> while :; do
>   echo 0 >/sys/class/tty/ttyS0/console
>   echo 1 > /sys/class/tty/ttyS0/console
> done
> 
> That's what the reproducer suggests is the cause.

A patch was already posted to
https://lkml.kernel.org/r/[email protected]
and sashiko's review is available at
https://sashiko.dev/#/patchset/[email protected] .
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.