March 29, 2014

How can i see my own prink messages?

I added one printk() in the function _init setup_arch() in /usr/src/linux/arch/x86/kernel/setup.c and then run make. But I didn't see my messages using dmesg. Also i want to know how to scroll up to the first few lines of messages, cuz there're too many messages for the terminal to display

Click Here!