On Wed, May 20, 2020 at 05:33:25PM +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). > > John Ogness > > [0] https://lkml.kernel.org/r/20200520102233.GC3464@linux-b0ei Thanks. It is weird that both this and my bug report were posted on the same day ! Joe