public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: root <gunther.mayer@gmx.net>
To: linux-kernel@vger.kernel.org
Subject: Re: Console output for debugging
Date: Wed, 23 Jan 2002 19:09:08 +0100	[thread overview]
Message-ID: <3C4EFC44.2FE720B0@gmx.net> (raw)
In-Reply-To: <3C4DF2AD.66BC3F6C@cicese.mx> <a2ksul$6v5$1@cesium.transmeta.com>

"H. Peter Anvin" wrote:

> Followup to:  <3C4DF2AD.66BC3F6C@cicese.mx>
> By author:    Serguei Miridonov <mirsev@cicese.mx>
> In newsgroup: linux.dev.kernel
> >
> > Q: Is there any function in the kernel which I can call
> > safely from a module to print debug message on the console
> > screen?
> >
> > I don't want to use printk for some reasons. One of them is
> > that I want messages to appear on the screen immediately,
> > even from interrupt processing routines. Another is to be
> > able to see messages until the system freezes completely in
> > case of software or hardware bug.
> >
>
> Use printk.

But beware of some ioctls to which at least Suse defaults,
these can intercept the direct output to the console (and
let syslogd emulate the console output).


  reply	other threads:[~2002-01-23 18:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-22 23:15 Console output for debugging Serguei Miridonov
2002-01-22 23:31 ` Dave Jones
2002-01-22 23:34 ` H. Peter Anvin
2002-01-23 18:09   ` root [this message]
2002-01-22 23:42 ` Andrew Morton
2002-01-23 18:02 ` Serguei Miridonov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3C4EFC44.2FE720B0@gmx.net \
    --to=gunther.mayer@gmx.net \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox