* Probs in printk
@ 2003-03-31 10:06 _VJ
2003-03-31 15:33 ` Randy.Dunlap
0 siblings, 1 reply; 2+ messages in thread
From: _VJ @ 2003-03-31 10:06 UTC (permalink / raw)
To: linux-kernel
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
Thanx in advance.
Vj
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Probs in printk
2003-03-31 10:06 Probs in printk _VJ
@ 2003-03-31 15:33 ` Randy.Dunlap
0 siblings, 0 replies; 2+ messages in thread
From: Randy.Dunlap @ 2003-03-31 15:33 UTC (permalink / raw)
To: _VJ; +Cc: linux-kernel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-03-31 15:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-31 10:06 Probs in printk _VJ
2003-03-31 15:33 ` Randy.Dunlap
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox