lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YS490P27YM6UlB2z@alley>
Date:   Tue, 31 Aug 2021 16:33:52 +0200
From:   Petr Mladek <pmladek@...e.com>
To:     James Wang <jnwang@...ux.alibaba.com>
Cc:     Sergey Senozhatsky <senozhatsky@...omium.org>,
        Linus Torvalds <torvalds@...ux-foundation.org>,
        Steven Rostedt <rostedt@...dmis.org>,
        John Ogness <john.ogness@...utronix.de>,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: kernel hang during reboot when cmdline include a non-exist
 console device

On Tue 2021-08-31 21:45:05, James Wang wrote:
> 
> 在 2021/8/31 PM4:47, Sergey Senozhatsky 写道:
> > And may I ask, just in case, if James can revert a revert of Petr's commit:
> > 
> >         revert a91bd6223ecd46addc71ee6fcd432206d39365d2
> > 
> > boot with wrong console argument and see if the kernel reboots without
> > any problems.
> 
> After test, revert Petr's commit can work; reboot without any problem;

Interesting, it looks like the panic() is really caused by missing
stdout, stdin, and stderr, for the init process.

Unfortunately, the fix is not easy, as described in the commit
a91bd6223ecd46addc71e ("Revert "init/console: Use ttynull as
a fallback when there is no console").

Best Regards,
Petr

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ