Re: writing to serial console

Keith Owens (kaos@ocs.com.au)
Fri, 05 Jul 2002 08:32:16 +1000


On Thu, 04 Jul 2002 10:14:50 -0500,
"Lee Chin" <leechin@mail.com> wrote:
>I'm trying to write status messages to the serial console as the kernel boots up. I tried writing to ttyS0 in main.c, but the kernel crashes with a paging violation. Is there an easy way to do this?

printk() and a serial console. Console output does not occur until
console_init(). To debug problems that occur before console_init(),
see these patches.

http://marc.theaimsgroup.com/?l=linux-kernel&m=101072840225142&w=2
http://marc.theaimsgroup.com/?l=linux-kernel&m=102386369913669&w=2

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/