From: "Randy.Dunlap" <rddunlap@osdl.org>
To: _VJ <vjose@icope.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Probs in printk
Date: Mon, 31 Mar 2003 07:33:51 -0800 [thread overview]
Message-ID: <20030331073351.2de6c47a.rddunlap@osdl.org> (raw)
In-Reply-To: <3E881337.50903@icope.com>
On Mon, 31 Mar 2003 15:36:47 +0530 _VJ <vjose@icope.com> wrote:
| Hi,
|
| I'm using printk for the device driver I'm writing.It doesn't give the
| output to my console and the only way I can get those is just using
| cat /proc/kmsg.But what I want is to get console prints while I'm
| running .Then I put the kernel image of the remote system where it used
| to give console output.Still I'm not getting any output to the screen.I
| tried to use console_print ....not giving any result to the console.So I
| would like to know what can I do about this
The only time that I've had this kind of problem (that I recall),
I just had to use a KERN_printklevel attribute to print the message.
E.g.,
printk(KERN_CRIT "where does this message go\n");
It can also help to change the console loglevel (Alt-SysRq-N, where
N is 1 digit, higher prints more messages [try 9]).
and what kernel version? You should always give that info,
even when it's useless. :)
--
~Randy
prev parent reply other threads:[~2003-03-31 15:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-31 10:06 _VJ
2003-03-31 15:33 ` Randy.Dunlap [this message]
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=20030331073351.2de6c47a.rddunlap@osdl.org \
--to=rddunlap@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=vjose@icope.com \
/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
all inboxes | Powered by JetHome®