lkml.org 
[lkml]   [2002]   [Jul]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: writing to serial console
Date
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/

\
 
 \ /
  Last update: 2005-03-22 13:27    [W:0.091 / U:0.164 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site