On Tue, May 26, 2020 at 06:44:49PM +0200, Sebastian Andrzej Siewior wrote: > On 2020-05-20 17:33:25 [+0200], John Ogness wrote: > > On 2020-05-20, Joe Korty <joe.korty@xxxxxxxxxxxxxxxxx> wrote: > > > [5.4-rt] kdb: push 'bt' command output to console immediately. > > > > > > The rt patch for 5.4 and 5.2 broke kdb slightly. The kdb > > > 'bt' command now prints a single line then returns to the > > > kdb prompt. There is no stack trace being shown. > > ... > > > > > > I have attached a small patch that Seems To Work. It > > > taps earlier into printk than the official tap does. > > > > On LKML a similar patch was recently posted[0]. It would probably be > > better to follow that (patching vprintk_func and using > > KDB_MSGSRC_PRINTK). > > Should I do here anything? Hi John, Probably not. Since the bug is in mainline, not rt, ideally rt should just wait for the fix you so graciously found for me to enter mainline and propagate down to the various stable trees. That should be OK since the bug is more of an annoyance rather than something critical, so I feel there is no rush to get an official fix in. For myself, I have applied the fix to my tree, and I will delete it when and whenever it shows up in the mainline branches I care about. Joe