Re: [PATCH 0/2] i386: Fix two more NMI watchdog bugs

From: Udo A. Steinberg
Date: Fri Jun 08 2007 - 17:13:49 EST


--Sig_p5R6vRfu.SWBYQIx4HuvP34
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

On Fri, 8 Jun 2007 13:57:27 -0700 Andrew Morton (AM) wrote:

AM> On Fri, 8 Jun 2007 22:49:11 +0200
AM> "Udo A. Steinberg" <us15@xxxxxxxxxxxxxxxxxxxx> wrote:
AM>=20
AM> > On Fri, 8 Jun 2007 22:43:25 +0200 Ingo Molnar (IM) wrote:
AM> >=20
AM> > IM>=20
AM> > IM> * Bj?rn Steinbrink <B.Steinbrink@xxxxxx> wrote:
AM> > IM>=20
AM> > IM> > Anyway, both are bugs and should be fixed. Maybe we're even luc=
ky
AM> > IM> > and it fixes your hang. *fingers crossed*
AM> > IM>=20
AM> > IM> just to make it clear: the NMI watchdog was working perfectly fin=
e on=20
AM> > IM> that box (in v2.6.21 and in dozens of kernel releases before that,
AM> > IM> for multiple years) before Andi's cleanup patch. So lets find that
AM> > IM> bug first or revert the cleanups.
AM> > IM>=20
AM> > IM> Ingo
AM> >=20
AM> > None of the patches posted by Bj__rn fix the kernel BUG at
AM> > arch/i386/kernel/cpu/perfctr-watchdog.c:126! that occurs when doing
AM> > echo 0 > /proc/sys/kernel/nmi_watchdog
AM> >=20
AM> > Call Trace:
AM> > [<c010c429>] single_msr_unreserve+0xd/0x1a
AM> > [<c010c668>] disable_lapic_nmi_watchdog+0x27/0x35
AM> > [<c0110ac6>] proc_nmi_enabled+0xa0/0xbd
AM> > [<c018550c>] proc_sys_write+0x6f/0x8c
AM> > [<c018549d>] proc_sys_write+0x0/0x8c
AM> > [<c0156e5b>] vfs_write+0x8a/0x10c
AM> > [<c0157317>] sys_write+0x41/0x67
AM> > [<c0103c30>] syscall_call+0x7/0xb
AM> >=20
AM> > Andi, did you have a patch for that?
AM> >=20
AM>=20
AM> This?
AM>=20
AM>=20
AM> From: Bjorn Steinbrink <B.Steinbrink@xxxxxx>
AM>=20
AM> Fix oops triggered during: echo 0 > /proc/sys/kernel/nmi_watchdog
AM>=20
AM> The culprit seems to be 09198e68501a7e34737cd9264d266f42429abcdc:

This alone does not help, but in combination with the other two patches=20
the problem no longer occurs.=20

Thanks,

- Udo

--Sig_p5R6vRfu.SWBYQIx4HuvP34
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

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

iD8DBQFGacZ7nhRzXSM7nSkRAiIsAJ4va4OIBnL9ZDFO1242UuUF1EzQqgCdHpPp
f+pZJmTVMvjgOQjMssAXe4k=
=sHcr
-----END PGP SIGNATURE-----

--Sig_p5R6vRfu.SWBYQIx4HuvP34--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/