public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: DervishD <lkml@dervishd.net>
To: "Srinivas G." <srinivasg@esntechnologies.co.in>
Cc: linux-kernel-Mailing-list <linux-kernel@vger.kernel.org>
Subject: Re: How to get the maximum output from dmesg command
Date: Mon, 14 Feb 2005 17:19:50 +0100	[thread overview]
Message-ID: <20050214161950.GA10253@DervishD> (raw)
In-Reply-To: <4EE0CBA31942E547B99B3D4BFAB3481134E2AE@mail.esn.co.in>

    Hi Srinivas :)

 * Srinivas G. <srinivasg@esntechnologies.co.in> dixit:
> 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.

    You can change this value using the configuration, namely
CONFIG_LOG_BUF_SHIFT. The value you store here is used to determine
LOG_BUF_LEN=2^CONFIG_LOG_BUF_SHIFT. You seem to have '14' as the
value of CONFIG_LOG_BUF_SHIFT. Increase it to 16 and you will have 4
times the current length for the dmesg buffer.

    I'm assuming you're using a more or less recent 2.4.x kernel. I
suppose that the same is applicable to 2.6.x kernels.

    Raúl Núñez de Arenas Coronado

-- 
Linux Registered User 88736
http://www.dervishd.net & http://www.pleyades.net/
It's my PC and I'll cry if I want to...

  reply	other threads:[~2005-02-14 16:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-14 15:25 How to get the maximum output from dmesg command Srinivas G.
2005-02-14 16:19 ` DervishD [this message]
2005-02-14 16:48   ` Rogério Brito
2005-02-14 17:29     ` DervishD

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=20050214161950.GA10253@DervishD \
    --to=lkml@dervishd.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=srinivasg@esntechnologies.co.in \
    /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