On Tue, 29 Apr 2003 13:28:29 +0200 Jan Hudec <bulb@ucw.cz> wrote: | On Tue, Apr 29, 2003 at 04:52:36PM +0530, Heerappa Hunje wrote: | > Thanks for the information, well i have following difficulties. | > 1. How to handle/write the Bottom Half part of Interrupt for Device Drivers | > 2. If any error, then the messages during the running of Device Driver | > modules where(in which file) they are written by Kernel, or we have to | > specify the location/Pathname of file during the implimentation. | | Kernel prints messages using the printk function. It writes them to the | active console and makes them available via a magic file in /proc | filesystem where they are picked by klogd and passed to syslogd. Try this paragraph instead: Kernel prints messages using the printk function. printk queues messages to a ring buffer. Messages are pulled from the ring buffer by syslog or klog using the syslog system call. Console messages are printed to all registered console output methods, such as ones for the video console, serial console, printer, etc. (no magic /proc file) | printk is specially crafted so that it can be called from any point of | kernel (including interrupt context). -- ~Randy -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/