Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Strange '<> used greatest stack depth' messages in dmesg
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
skgucek
n00b
n00b


Joined: 10 Feb 2015
Posts: 7

PostPosted: Tue Feb 10, 2015 7:00 am    Post subject: Strange '<> used greatest stack depth' messages in dme Reply with quote

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
View user's profile Send private message
Section_8
Guru
Guru


Joined: 22 May 2004
Posts: 566
Location: Arlington, TX, US

PostPosted: Tue Feb 10, 2015 1:41 pm    Post subject: Reply with quote

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
View user's profile Send private message
davidm
Guru
Guru


Joined: 26 Apr 2009
Posts: 557
Location: US

PostPosted: Tue Feb 10, 2015 2:54 pm    Post subject: Reply with quote

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
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 2152
Location: Berlin, Germany

PostPosted: Tue Feb 10, 2015 3:09 pm    Post subject: Reply with quote

The kernel option which controls this informational message is CONFIG_DEBUG_STACK_USAGE.
Back to top
View user's profile Send private message
skgucek
n00b
n00b


Joined: 10 Feb 2015
Posts: 7

PostPosted: Tue Feb 10, 2015 7:54 pm    Post subject: Reply with quote

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
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 2152
Location: Berlin, Germany

PostPosted: Tue Feb 10, 2015 10:24 pm    Post subject: Reply with quote

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
Code:
# dmesg -n 1
or
Code:
# echo 1 > /proc/sys/kernel/printk
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum