LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices

Reply
 
Search this Thread
Old 08-06-2010, 05:12 PM   #1
dragos240
Member
 
Registered: Apr 2009
Posts: 64

Rep: Reputation: 15
Kernel spitting out debug info.


Hello.

My LFS distro has been spitting out excess debug info when drives are plugged in, or networks have been established. It also complains of something like this:

x has reached max kernel stack

or something similar. What option do I have to toggle to make this go away, it's very annoying.
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 08-07-2010, 04:59 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374
Hi,

The klogd daemon is responsible. You can change which level of messages are send to the console by changing its default (=> send all messages to the console)

Have a look at this file: /etc/rc.d/init.d/sysklogd and look for this line: loadproc klogd. Edit it to look like this: loadproc klogd -c 3 and restart the sysklogd daemon (/etc/rc.d/init.d/sysklogd restart).

This setting (-c 3) will make sure that only the most important messages are sent to the console (messages you should not ignore if they are shown!!).

Have a look at the klogd manpage for all the details.

I cannot advise you on this: x has reached max kernel stack (we need the exact message). If it still shows up after you made the above changes it is probably something you have to investigate further.

Hope this helps.
 
2 members found this post helpful.
Old 08-08-2010, 01:47 AM   #3
dragos240
Member
 
Registered: Apr 2009
Posts: 64

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by druuna View Post
Hi,

The klogd daemon is responsible. You can change which level of messages are send to the console by changing its default (=> send all messages to the console)

Have a look at this file: /etc/rc.d/init.d/sysklogd and look for this line: loadproc klogd. Edit it to look like this: loadproc klogd -c 3 and restart the sysklogd daemon (/etc/rc.d/init.d/sysklogd restart).

This setting (-c 3) will make sure that only the most important messages are sent to the console (messages you should not ignore if they are shown!!).

Have a look at the klogd manpage for all the details.

I cannot advise you on this: x has reached max kernel stack (we need the exact message). If it still shows up after you made the above changes it is probably something you have to investigate further.

Hope this helps.
Thank you.
 
Old 08-08-2010, 04:12 AM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374
You're welcome
 
  


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
Kernel spitting out messages during the init process. Seph64 Linux From Scratch 19 08-04-2009 01:18 PM
Compiling With Debug Info Does Not Work? spotmax777 Linux - General 0 07-18-2007 02:30 PM
Debug info by inet1 during boot BroX Slackware 4 09-24-2006 11:59 AM
Redirecting debug info to another file subu_s Programming 1 12-07-2004 02:15 PM
redirect debug info raven Linux - General 1 11-20-2002 09:16 AM


All times are GMT -5. The time now is 03:17 PM.

Main Menu
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