From: "Frédéric Weisbecker" <fweisbec@gmail.com>
To: "Peter Teoh" <htmldeveloper@gmail.com>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: Re: Kernel Error Message: modprobe used greatest stack depth
Date: Wed, 3 Dec 2008 17:03:36 +0100 [thread overview]
Message-ID: <c62985530812030803s30b76fc6t209dfbef958ba532@mail.gmail.com> (raw)
In-Reply-To: <804dabb00812030611k222606a6j24097fcdd93862d2@mail.gmail.com>
Hi Peter.
2008/12/3 Peter Teoh <htmldeveloper@gmail.com>:
> In less than 6 hours since I turned on the machine I have been getting
> these message (spread over different times) in my dmesg:
>
> Machine A (AMD Athlon 4200, 3G RAM):
>
> khelper used greatest stack depth: 7484 bytes left
> modprobe used greatest stack depth: 7184 bytes left
> mknod used greatest stack depth: 6976 bytes left
> showconsole used greatest stack depth: 6904 bytes left
> modprobe used greatest stack depth: 5600 bytes left
> mysearch.pl used greatest stack depth: 5536 bytes left
> mysearch.pl used greatest stack depth: 5496 bytes left
> firefox-bin used greatest stack depth: 5484 bytes left
> totem-video-thu used greatest stack depth: 5324 bytes left
> thunderbird-bin used greatest stack depth: 4864 bytes left
>
> And another machine (intel, 3G RAM):
>
> [ 0.123030] khelper used greatest stack depth: 2768 bytes left
> [ 3.518510] insmod used greatest stack depth: 2148 bytes left
> [ 6.203832] insmod used greatest stack depth: 1424 bytes left
This is the result of CONFIG_DEBUG_STACK_USAGE turned on.
When a process exits, kernel/exit.c:check_stack_usage() is called.
> Seemingly harmless, but when it hit firefox, the entire firefox will
> hang - and it does not respond to any keyboard/mouse input. Since it
> has hit two of my machine simultaneously, I don't it should be
> ignored.
When firefox exits, this function is called... If you think that
check_stack_usage()
could be responsible of this hang, perhaps you can put a printk()
after its call to check it.
I don't know, it depends on when it happens.
>
> Can someone help me?
>
> a. How do I probe further the cause of the error?
> b. Seemingly repeatable ..... how to generate a BUG() stack trace at
> the point of error - recompiling really needed?
> c. Kernel version 2.6.28-rc6, with FTRACE compiled option turned on.
> HOw do I used FTRACE to de
You should first try to find a way to reproduce it..... When does it happen?
prev parent reply other threads:[~2008-12-03 16:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-03 14:11 Peter Teoh
2008-12-03 16:03 ` Frédéric Weisbecker [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c62985530812030803s30b76fc6t209dfbef958ba532@mail.gmail.com \
--to=fweisbec@gmail.com \
--cc=htmldeveloper@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®