mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jiri Kosina <jkosina@suse.cz>
To: "Szekeres István" <szekeres@iii.hu>
Cc: linux-kernel@vger.kernel.org
Subject: Re: kernel losing printk messages?
Date: Tue, 26 Feb 2008 22:59:07 +0100 (CET)	[thread overview]
Message-ID: <Pine.LNX.4.64.0802262256480.30955@jikos.suse.cz> (raw)
In-Reply-To: <f4fe1c2a0802261344xdbee78j730c9011b8b63aa7@mail.gmail.com>

[-- Attachment #1: Type: TEXT/PLAIN, Size: 1163 bytes --]

On Tue, 26 Feb 2008, Szekeres István wrote:

> >  I guess in dmesg the output is also corrupted, right?
> Interesting. Even after a dmesg -c -s 1000000 it contains only the end
> of the story. This is the beginning of the dmesg output:

Probably your kernel ring buffer is too small (log_buf_len boot 
parameter).

> rusalka:~% dmesg | head
> input.c: Mapping: Consumer.0230 ---> IGNORED
> [85080.775297] drivers/hid/hid-input.c: Mapping: Consumer.0231 ---> IGNORED
> [85080.775302] drivers/hid/hid-input.c: Mapping: Consumer.0232 ---> IGNORED
> [85080.775308] drivers/hid/hid-input.c: Mapping: Consumer.0233 ---> Key.ScrollUp
> [85080.775314] drivers/hid/hid-input.c: Mapping: Consumer.0234 --->
> Key.ScrollDown
> So the first line is corrupted. 

It is very probably just because it didn't fit into the ring buffer.

> In the remaining of the output (total=220 lines) I cannot see the 
> evidence of corruption.

So the corruption you see in your /var/log is probably just userspace 
issue (syslogd/klogd not grabbing lines coming too fast for too long?). 
Still, it seems to work for me here.

Thanks,

-- 
Jiri Kosina
SUSE Labs

      reply	other threads:[~2008-02-26 21:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <f4fe1c2a0802261309s17aaf082w14525c1e2f3af2f@mail.gmail.com>
2008-02-26 21:14 ` Szekeres István
2008-02-26 21:35   ` Jiri Kosina
2008-02-26 21:44     ` Szekeres István
2008-02-26 21:59       ` Jiri Kosina [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=Pine.LNX.4.64.0802262256480.30955@jikos.suse.cz \
    --to=jkosina@suse.cz \
    --cc=linux-kernel@vger.kernel.org \
    --cc=szekeres@iii.hu \
    /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®