public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* How to get the maximum output from dmesg command
@ 2005-02-14 15:25 Srinivas G.
  2005-02-14 16:19 ` DervishD
  0 siblings, 1 reply; 4+ messages in thread
From: Srinivas G. @ 2005-02-14 15:25 UTC (permalink / raw)
  To: linux-kernel-Mailing-list; +Cc: jjoy

Dear All,

How to get maximum output from dmesg command? 
I am unable to see all my debug messages after loading my driver. 
I think there is a restriction in displaying the dmesg output. 
I saw in printk.c file under source directory. There I found LOG_BUF_LEN
is 16384.
But I am unable to see not more that 300 to 400 lines of code from
dmesg. 
If I modify in the printk.c file then I get more lines of code from
dmesg command!!!

As var/log/messages is the source of dmesg command, I made a copy of
var/log/messages assuming that I will be getting the complete driver
trace in it. But a part of the messages that are at the initialization
of our driver are not seen. 

How can I get maximum lines of output from the dmesg command? 
I am using Red Hat 7.3 with 2.4.18-3 kernel version. 
Can anybody help in this regard?

Thanks in advance.
Regards,
Srinivas G


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-02-14 17:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-14 15:25 How to get the maximum output from dmesg command Srinivas G.
2005-02-14 16:19 ` DervishD
2005-02-14 16:48   ` Rogério Brito
2005-02-14 17:29     ` DervishD

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox