2007-12-04 11:46:33

by Martin Knoblauch

[permalink] [raw]
Subject: Stack warning from 2.6.24-rc

Hi,

I see the following stack warning(s) on a IBM x3650 (2xDual-Core, 8 GB, AACRAID with 6x146GB RAID5) running 2.6.24-rc3/rc4:

[ 180.739846] mount.nfs used greatest stack depth: 3192 bytes left
[ 666.121007] bash used greatest stack depth: 3160 bytes left

Nothing bad has happened so far. The message does not show on a similarly configured HP/DL-380g4 (CCISS instead of AACRAID) running rc3. Anything to worry? Anything I can do to help debugging?

Cheers
Martin
------------------------------------------------------
Martin Knoblauch
email: k n o b i AT knobisoft DOT de
www: http://www.knobisoft.de


Attachments:
dmesg-2.6.24-rc4.log (28.65 kB)
lsmod-2.6.24-rc4.log (692.00 B)
lspci-2.6.24-rc4.log (43.30 kB)
config-2.6.24-rc4 (43.21 kB)
Download all attachments

2007-12-04 11:52:44

by Ingo Molnar

[permalink] [raw]
Subject: Re: Stack warning from 2.6.24-rc


* Martin Knoblauch <[email protected]> wrote:

> I see the following stack warning(s) on a IBM x3650 (2xDual-Core, 8
> GB, AACRAID with 6x146GB RAID5) running 2.6.24-rc3/rc4:
>
> [ 180.739846] mount.nfs used greatest stack depth: 3192 bytes left
> [ 666.121007] bash used greatest stack depth: 3160 bytes left
>
> Nothing bad has happened so far. The message does not show on a
> similarly configured HP/DL-380g4 (CCISS instead of AACRAID) running
> rc3. Anything to worry? Anything I can do to help debugging?

those are generated by:

CONFIG_DEBUG_STACKOVERFLOW=y
CONFIG_DEBUG_STACK_USAGE=y

and look quite harmless. If they were much closer to zero it would be a
problem.

Ingo

2007-12-04 11:57:26

by Jon Masters

[permalink] [raw]
Subject: Re: Stack warning from 2.6.24-rc


On Tue, 2007-12-04 at 03:46 -0800, Martin Knoblauch wrote:
> Hi,
>
> I see the following stack warning(s) on a IBM x3650 (2xDual-Core, 8 GB, AACRAID with 6x146GB RAID5) running 2.6.24-rc3/rc4:
>
> [ 180.739846] mount.nfs used greatest stack depth: 3192 bytes left
> [ 666.121007] bash used greatest stack depth: 3160 bytes left
>
> Nothing bad has happened so far. The message does not show on a similarly configured HP/DL-380g4 (CCISS instead of AACRAID) running rc3. Anything to worry? Anything I can do to help debugging?

This is enabled by CONFIG_DEBUG_STACK_USAGE, which defines
check_stack_usage. It is called on task exit and will warn each time a
task has used the biggest kernel mode stack since booting. This isn't a
bug, and isn't a (bad) warning, it's just informational right now.

Jon.

2007-12-04 12:22:01

by Martin Knoblauch

[permalink] [raw]
Subject: Re: Stack warning from 2.6.24-rc

----- Original Message ----
> From: Ingo Molnar <[email protected]>
> To: Martin Knoblauch <[email protected]>
> Cc: [email protected]
> Sent: Tuesday, December 4, 2007 12:52:23 PM
> Subject: Re: Stack warning from 2.6.24-rc
>
>
> * Martin Knoblauch wrote:
>
> > I see the following stack warning(s) on a IBM x3650 (2xDual-Core, 8
> > GB, AACRAID with 6x146GB RAID5) running 2.6.24-rc3/rc4:
> >
> > [ 180.739846] mount.nfs used greatest stack depth: 3192 bytes left
> > [ 666.121007] bash used greatest stack depth: 3160 bytes left
> >
> > Nothing bad has happened so far. The message does not show on a
> > similarly configured HP/DL-380g4 (CCISS instead of AACRAID) running
> > rc3. Anything to worry? Anything I can do to help debugging?
>
> those are generated by:
>
> CONFIG_DEBUG_STACKOVERFLOW=y
> CONFIG_DEBUG_STACK_USAGE=y
>
> and look quite harmless. If they were much closer to zero it would be
> a problem.
>
> Ingo
>

OK, I will ignore it then. I was just surprised to see it.

Thanks
Martin