Linux-kernel mailing list archive 1997-49,: Re: Various bugs, 2.1.66 - still there 2.1.71

# Re: Various bugs, 2.1.66 - still there 2.1.71

Ingo Molnar (mingo@pc7537.hil.siemens.at)
Wed, 10 Dec 1997 12:06:19 +0100 (MET)

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Samuli K{rkk{inen: "2.0.32-pre5: bad magic number for tty struct (04:41) in release_dev"
- Previous message: Paul Koning: "Re: linux and EGCS PATCH"

On Tue, 9 Dec 1997, Pavel Machek wrote:

> I guess that spontaneous reboots are mostly caused by kernel stack
> overflow. As it seems to be pretty widespread problem, it might be
> nice to produce patch to detect such overflows (and panic() machine so
> that messages are not lost).
>
> [With one version of kernel, all you had to do to reboot the machine
> was to press t and <TAB> twice in bash$ prompt ;-)]

you might want to give ktrace a go, it detects stack overflows as well.
Alternatively you also might want to try EGCS's --check-stack, i dont know
what it does, it might need some tweaking to suit kernel needs.

-- mingo

- Next message: Samuli K{rkk{inen: "2.0.32-pre5: bad magic number for tty struct (04:41) in release_dev"
- Previous message: Paul Koning: "Re: linux and EGCS PATCH"