Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Linux - Kernel This forum is for all discussion relating to the Linux kernel.


  Search this Thread
Old 07-20-2008, 11:10 PM   #1
Registered: May 2008
Posts: 227

Rep: Reputation: 30
Turning on/off debug messages


How do I enable/disable all debug messages when the kernel is booting up? From my limited understanding I have to change the DEFAULT_MESSAGE_LOGLEVEL, DEFAULT_CONSOLE_LOGLEVEL and MINIMUM_CONSOLE_LOGLEVEL in kernel/printk.c however I'm unsure what each one does. My kernel currently doesn't boot up properly, either hanging there or getting a kernel panic and I'd like to know where it fails. Do I simply set all 3 to 7(KERN_DEBUG) and rebuild?


Edit: nvm got it to work by changing all 3 values to 7.

Last edited by galapogos; 07-21-2008 at 01:20 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to debug without having debug section in an executable ? unclesam Linux - Newbie 0 02-02-2006 06:23 AM
Redirecting the kernel messages to file other than /var/log/messages jyotika_b83 Linux - General 3 04-28-2005 06:39 PM
[debug]what does the following debug information mean icoming Programming 21 06-08-2004 02:13 AM
/var/log/messages full of these messages. Should I be concerned? mdavis Linux - Security 5 04-16-2004 10:08 AM
MDK8.2 --> Turning on startup messages amp2000 Linux - Distributions 3 05-23-2002 02:15 PM > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 02:43 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration