Subject: Re: howto debug kernel
To: Jeremy Cooper <>
From: Jason Thorpe <>
List: tech-kern
Date: 05/09/1997 14:15:48
On Fri, 9 May 1997 14:09:51 -0700 (PDT) 
 Jeremy Cooper <> wrote:

 > Use printf() - that's what it's for.  There is no 'syslog' inside the
 > kernel.  When you issue a printf() the text you print is sent to the

...actually, there is a "log()", but printf() is better for debugging :-)

 > message buffer inside the kernel.  The user process 'syslogd' monitors
 > this buffer via the /dev/klog device and takes action when it sees
 > something new.  These events are logged as the facility and
 > priority of kern.crit by default. 
 > -J

Jason R. Thorpe                             
NASA Ames Research Center                               Home: 408.866.1912
NAS: M/S 258-6                                          Work: 415.604.0935
Moffett Field, CA 94035                                Pager: 415.428.6939