[<prev] [next>] [day] [month] [year] [list]
Message-ID: <f4e013870704251214s37395ea2i85381313a406c56b@mail.gmail.com>
Date: Wed, 25 Apr 2007 12:14:15 -0700
From: "Mark Hull-Richter" <mhullrich@...il.com>
To: "John Anthony Kazos Jr." <jakj@...-k-j.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: Kernel traces coming back with trash/clutter [SOLVED]
On 4/24/07, John Anthony Kazos Jr. <jakj@...-k-j.com> wrote:
> > > Perhaps you have something looping that's outputting KERN_DEBUG with a
> > > null message? Or one of your diagnostic printk statements includes
> > > KERN_DEBUG with no actual message?
> > >
> > No, they are all KERN_DEBUG<space>"some string here", almost all with
> > some formatted output as well. Could I be overloading the printk
> > output buffer, as in possibly too tightly repeated/looped code to be
> > able to output it all?
>
> It is possible, I suppose. Is what you're working on open-source? If so,
> you could send it to me and I could try and reproduce it here and track it
> down. If you want me to, that is. (If you do send, please include a
> ".config".)
>
> Otherwise, I couldn't tell you what it might be. Make sure all your
> messages end with '\n', make sure you're not accidentally using the wrong
> formatting codes and it's backing over previous output with ^H or
> something. You could confirm or rule out the possibility of overflowing
> the printk buffers by writing a dummy module with a tight loop of nothing
> but printk statements with counters to see if you can get it to asplode.
>
It seems that my 'all KERN_DEBUG<space>"some string here"' was off by
one - there was one, the newest, with a comma after the KERN_DEBUG.
Removing it solved the problem.
Many thanks for the assistance.
--
Mark Hull-Richter, Linux Kernel Engineer
DATAllegro (www.datallegro.com)
85 Enterprise, Second Floor, Aliso Viejo, CA 92656
949-680-3082 - Office 949-330-7691 - fax
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists