printk/console_init

Benjamin Herrenschmidt benh at kernel.crashing.org
Tue Nov 13 21:01:47 EST 2007


On Mon, 2007-11-12 at 18:54 -0800, Siva Prasad wrote:
> Hi,
> 
> I am using 2.6.19 Linux on 8641D based system.
> 
> I am using early printk's and it works fine until console_init() is
> executed. After that it does not, as the early printk's get disabled,
> which is fine. However, I don't see any prints after that at all, that
> are based on regular printk statements. I looked directly into the
> memory at __log_buf and found all the print messages. It is just not
> coming out to the serial port properly.
> 
> It would be great if some one can tell me various parameters that I need
> to consider changing, to successfully port the serial driver for a new
> board.
> 
> Based on the early printk's, I am getting the following messages...

You can use udbg-immortal to force the udbg early printk to stay around,
and then use printk to see what's going on with your serial driver.

Ben.





More information about the Linuxppc-dev mailing list