View previous topic :: View next topic |
Author |
Message |
skgucek n00b
Joined: 10 Feb 2015 Posts: 7
|
Posted: Tue Feb 10, 2015 7:00 am Post subject: Strange '<> used greatest stack depth' messages in dme |
|
|
Hello all!
I just installed Gentoo successfully. Note that the setup is systemd-based as I am writing this from GNOME.
The only problem so far (at least one I can't diagnose and fix myself) are strange kernel messages that appear a couple of times per session. In the beginning (before emerging GNOME et al) they freely printed in console, now I can see them with dmesg:
[ 299.579169] cc1 (4235) used greatest stack depth: 11808 bytes left
[ 2636.210982] cc1 (16548) used greatest stack depth: 11760 bytes left
What else should I post so you guys can help me fix this?
Cheers! |
|
Back to top |
|
|
Section_8 l33t
Joined: 22 May 2004 Posts: 627
|
Posted: Tue Feb 10, 2015 1:41 pm Post subject: |
|
|
I would guess that's just some kernel trace message and not a real problem. There's probably some kernel debugging config setting that's turned them on. |
|
Back to top |
|
|
davidm Guru
Joined: 26 Apr 2009 Posts: 557 Location: US
|
Posted: Tue Feb 10, 2015 2:54 pm Post subject: |
|
|
I likewise see the message and I am using OpenRC. It doesn't seem to cause any problems so far for me. |
|
Back to top |
|
|
chithanh Developer
Joined: 05 Aug 2006 Posts: 2158 Location: Berlin, Germany
|
Posted: Tue Feb 10, 2015 3:09 pm Post subject: |
|
|
The kernel option which controls this informational message is CONFIG_DEBUG_STACK_USAGE. |
|
Back to top |
|
|
skgucek n00b
Joined: 10 Feb 2015 Posts: 7
|
Posted: Tue Feb 10, 2015 7:54 pm Post subject: |
|
|
chithanh wrote: | The kernel option which controls this informational message is CONFIG_DEBUG_STACK_USAGE. |
Thank you very much! I disabled the main kernel debugging option and they are gone. I don't know why this option was selected by default (I customised settings in most other main configuration categories, but kernel hacking was one of those I dared not to mess with).
However I still have two types of kernel messages that print in the middle of console after the system boots:
[ x.xxxxxx] random: nonblocking pool is initialized
- Obviously something thing to do with the random number generator.
[yy.yyyyyy] iwlwifi: L1 Disabled - LTR Disabled
... and so on and so on, also from IPv6 and wlp3s0
- These appear when I connect to wireless networks.
Is there a way to prevent these printing in the middle of tty1 after ex-runlevel 3 is reached? I mean, I don't have a problem with them appearing in kernel logs (if it is normal) and I of course don't want to disable my Intel WiFi drivers or /dev/random, but why do they just print all over my console? Is there a kernel verbosity setting for messages like this so only errors would print after a completed boot and console would not be spammed like this?
Cheers! |
|
Back to top |
|
|
chithanh Developer
Joined: 05 Aug 2006 Posts: 2158 Location: Berlin, Germany
|
Posted: Tue Feb 10, 2015 10:24 pm Post subject: |
|
|
Normally the messages will stop being printed to the console as soon as a system logger (such as metalog, rsyslogd or syslog-ng) starts.
If you don't want a system logger, you can reduce the kernel loglevel e.g. to 1. This can be done in menuconfig by changing CONFIG_MESSAGE_LOGLEVEL_DEFAULT, or at runtime by running or Code: | # echo 1 > /proc/sys/kernel/printk |
|
|
Back to top |
|
|
|