Re: questions on swapping

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

printk is specially crafted so that it can be called from any point of
kernel (including interrupt context).

-------------------------------------------------------------------------------
						 Jan 'Bulb' Hudec <bulb@ucw.cz>
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux