On Wed, Mar 20, 2002 at 12:00:16PM -0500, Marek Zawadzki wrote: > Is there any alternative to printk which will output a given string to the > screen immediately, with no buffering, in all the cases? (sort of > direct-device acccess) Unless called from an interrupt, printk() prints immediately. IIRC you do need to put a '\n' at the end of each message. > Sometimes when my kernel dies messages die with it in the buffer and I > can't see what was the cause. "klogd -c 0" or "setterm -msglevel 8" Erik -- J.A.K. (Erik) Mouw, Information and Communication Theory Group, Faculty of Information Technology and Systems, Delft University of Technology, PO BOX 5031, 2600 GA Delft, The Netherlands Phone: +31-15-2783635 Fax: +31-15-2781843 Email: J.A.K.Mouw@its.tudelft.nl WWW: http://www-ict.its.tudelft.nl/~erik/ -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/