Re: How the kernel printk works before do console_setup.

2009-06-29 Thread Freeman
Johnny Hung gmail.com> writes: > > Hi All: > I have a powerpc arch platform. The default console is ttyS1 not > ttyS0 in the platform. My question is how the kernel print debug > message > like DBG before parse kernel command line and do console_setup > function. The command line passed to k

Re: How the kernel printk works before do console_setup.

2009-06-24 Thread Michael Ellerman
On Thu, 2009-06-25 at 14:27 +0800, Johnny Hung wrote: > 2009/6/25 Benjamin Herrenschmidt : > > > >> Before the console is set up, the printk data is formatted > >> and put into the kernel log buffer, but not sent to any console. > >> Any messages printk'ed before that are buffered but do not > >> a

Re: How the kernel printk works before do console_setup.

2009-06-24 Thread Johnny Hung
2009/6/25 Benjamin Herrenschmidt : > >> Before the console is set up, the printk data is formatted >> and put into the kernel log buffer, but not sent to any console. >> Any messages printk'ed before that are buffered but do not >> appear.  When the console is initialized, then all buffered >> mess

Re: How the kernel printk works before do console_setup.

2009-06-24 Thread Benjamin Herrenschmidt
> Before the console is set up, the printk data is formatted > and put into the kernel log buffer, but not sent to any console. > Any messages printk'ed before that are buffered but do not > appear. When the console is initialized, then all buffered > messages are sent to the console, and subsequ

Re: How the kernel printk works before do console_setup.

2009-06-23 Thread Tim Bird
Johnny Hung wrote: > Hi All: > I have a powerpc arch platform. The default console is ttyS1 not > ttyS0 in the platform. My question is how the kernel print debug > message > like DBG before parse kernel command line and do console_setup > function. The command line passed to kernel about conso

How the kernel printk works before do console_setup.

2009-06-23 Thread Johnny Hung
Hi All: I have a powerpc arch platform. The default console is ttyS1 not ttyS0 in the platform. My question is how the kernel print debug message like DBG before parse kernel command line and do console_setup function. The command line passed to kernel about console info is console=ttyS1. So ke