Search code examples
linuxlinux-kernelconsoletty

Stop tty from scrolling down


I was making some modifications in the linux kernel, and something has broken due to my changes, I have lots of printk's inside the code, which do show up only in the tty console (Ctrl+Alt+F1) .

The problem is that it quickly keeps moving down and reaches the kernel crash info and I cannot determine anything from the crash info as everything is lost after a reset.

Is it somehow possible to make the tty scrollable or even static . By static I mean that it should not scroll down and stay on the original screen even when new messages pop up. (So that I can see my printk's)


Solution

  • There is no way to stop it from scrolling at boot time (as far as I know).