[OpenAFS-devel] Re: System lockup with do_IRQ: stack overflow

Axel Thimm openafs-devel@openafs.org
Mon, 26 Feb 2007 00:21:32 +0100


--/NkBOFFp2J2Af1nK
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Feb 26, 2007 at 09:58:50AM +1100, Deon George wrote:
> chas williams - CONTRACTOR wrote:
> >>>you might try building your 64-bit host/guest kernels with
> >>>DEBUG_STACK_USAGE or DEBUG_STACKOVERFLOW (if not already).
> >>>     =20
> >>Does this still apply then?
> >>   =20
> >
> >you could build a 32-bit kernel with these and try to find the path in
> >the kernel that is overflowing the stack.
> > =20
> I've just looked at the RHEL 5 and FC6 kernel and they both have these=20
> options set:
> [deon@fc6dev ~]$ grep STACK /boot/config-2.6.18-1.2868.fc6
> CONFIG_STACKTRACE_SUPPORT=3Dy
> CONFIG_NET_EMATCH_STACK=3D32
> CONFIG_STACK_UNWIND=3Dy
> CONFIG_DEBUG_STACKOVERFLOW=3Dy
> CONFIG_DEBUG_STACK_USAGE=3Dy
> CONFIG_4KSTACKS=3Dy
>=20
> and
> [deon@rhel5dev downloads]$ grep STACK /boot/config-2.6.18-1.2747.el5
> CONFIG_STACKTRACE_SUPPORT=3Dy
> CONFIG_NET_EMATCH_STACK=3D32
> CONFIG_STACK_UNWIND=3Dy
> CONFIG_DEBUG_STACKOVERFLOW=3Dy
> CONFIG_DEBUG_STACK_USAGE=3Dy
> CONFIG_4KSTACKS=3Dy
>=20
> Am I able to give you debug info without having to rebuild with the=20
> CONFIG_4KSTACK=3Dn? Can you tell me how to get that for you?

On Mon, Feb 26, 2007 at 10:03:29AM +1100, Deon George wrote:
> I've just noticed that my FC3 machine, I built the afs kernel modules,=20
> however, with the FC6 and RHEL5 machine, I got the kernel module from=20
> atrpms.

If you want to quickly test whether 4KSTACKS have bitten you there is
an 8K stacks kernel at ATrpms _and_ the matching openafs kernel
module. The kernel is on http://atrpms.net/dist/fc6/kernel-suspend2/,
pick one like for example

kernel-2.6.19-1.2911_0.99.fc6.cubbi_suspend2_8k.i686.rpm=20

The important bit is the "_8k" suffix.

And then pick the openafs-kmdl-<uname -r> package, where <uname -r>
for the above would look like "2.6.19-1.2911_0.99.fc6.cubbi_suspend2_8k"

These kernels and the assorted kernel modules (kmdls) can be installed
in parallel to the vendor kernel (and the matching kmdls), neither
yum, nor rpm will consider these kernels upgrading your stock kernels,
so it's easy to test w/o endangering your setup.

P.S. the focus on the cubbi kernel series is swsusp2.
--=20
Axel.Thimm at ATrpms.net

--/NkBOFFp2J2Af1nK
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFF4hn7QBVS1GOamfERAiNKAJwPbDBpNKjwm+cIqAI8AoX8fvamwgCfYV9D
p6VhJdUj7TXkkhyxO2zReMw=
=UAUK
-----END PGP SIGNATURE-----

--/NkBOFFp2J2Af1nK--