Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

alternative to printk, printing without buffering

23 views
Skip to first unread message

Marek Zawadzki

unread,
Mar 20, 2002, 12:00:16 PM3/20/02
to
Hello,

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)
Sometimes when my kernel dies messages die with it in the buffer and I
can't see what was the cause.
Thanks!

-marek

Kasper Dupont

unread,
Mar 21, 2002, 6:37:11 AM3/21/02
to

I think printk will send the message to the screen imidiately.
But it does so only if the message is important enough and if
the screen is in textmode. Are you runing X? What do you get
if you type "cat /proc/sys/kernel/printk"?


I have a few hints on this page, but perhaps not the answer to
your question:
http://www.daimi.au.dk/~kasperd/comp.os.linux.development.faq.html

BTW, I noticed that something is wrong in my note about debian.
How does the default /etc/syslog.conf look on a debian system?

--
Kasper Dupont -- der bruger for meget tid på usenet.
For sending spam use mailto:razor-...@daimi.au.dk

0 new messages