Mark Hull-Richter
2007-Apr-25 19:19 UTC
[CentOS] Strange content in the kernel dmesg traces [SOLVED]
On 4/25/07, Michael D. Kralka <michael.kralka at kvs.com> wrote:> > I am going to regret answering this, because it is not the right place > for such questions. However...True, but thank you for the post.> I suspect you are misusing printk and the KERN_XXX prefixes (KERN_DEBUG, > KERN_ERR, KERN_INFO, etc.) defined in include/linux/kernel.h. Try > dropping the comma between the prefix and the message. That is: > printk(KERN_INFO "Hello World!\n"); > rather than: > printk(KERN_INFO, "Hello World!\n");I would hate to admit that a typo was "misusing" something, but this was the problem - one of the 35 traces I have in place was mistyped with a comma after the KERN_DEBUG. I think staring at them allowed me to miss this the first four or five times through, and, of course, it was the last one I added - the one that was not supposed to appear at all. -- 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
Ralph Angenendt
2007-Apr-25 19:43 UTC
[CentOS] Strange content in the kernel dmesg traces [SOLVED]
Mark Hull-Richter wrote:> On 4/25/07, Michael D. Kralka <michael.kralka at kvs.com> wrote: > >I am going to regret answering this, because it is not the right place > >for such questions. However... > > True, but thank you for the post.Your mail reader is shredding references. Could you please try to fix that? Thanks, Ralph -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://lists.centos.org/pipermail/centos/attachments/20070425/f829d9bd/attachment-0003.sig>
Mark Hull-Richter
2007-Apr-25 21:37 UTC
[CentOS] Strange content in the kernel dmesg traces [SOLVED]
On 4/25/07, Ralph Angenendt <ra+centos at br-online.de> wrote:> Mark Hull-Richter wrote: > > On 4/25/07, Michael D. Kralka <michael.kralka at kvs.com> wrote: > > >I am going to regret answering this, because it is not the right place > > >for such questions. However... > > > > True, but thank you for the post. > > Your mail reader is shredding references. Could you please try to fix > that?I deleted what I thought was no longer necessary for the discussion to continue. My mail reader does pretty much exactly what I want it to (one of the reasons I like gmail). Between the subject and the above content, I thought the thread was pretty clear. Could you clarify what you think I should have left in so I can improve on my posts in the future? Thanks. -- 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