LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
Search this Thread
Old 07-21-2008, 12:10 AM   #1
galapogos
Member
 
Registered: May 2008
Posts: 227

Rep: Reputation: 30
Turning on/off debug messages


Hi,

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?

Thanks.

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

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


Reply


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 07:23 AM
Redirecting the kernel messages to file other than /var/log/messages jyotika_b83 Linux - General 3 04-28-2005 07:39 PM
[debug]what does the following debug information mean icoming Programming 21 06-08-2004 03:13 AM
/var/log/messages full of these messages. Should I be concerned? mdavis Linux - Security 5 04-16-2004 11:08 AM
MDK8.2 --> Turning on startup messages amp2000 Linux - Distributions 3 05-23-2002 03:15 PM


All times are GMT -5. The time now is 12:10 AM.

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