Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Aug 2008 13:27:06 +0200
From:      Ivan Voras <ivoras@freebsd.org>
To:        freebsd-current@freebsd.org
Subject:   Re: System, diagnose thyself: auto-documentation for crashes
Message-ID:  <g9baqb$pj0$1@ger.gmane.org>
In-Reply-To: <BDDFB834-C15F-4E48-B1D1-B644940FBE42@strauser.com>
References:  <BDDFB834-C15F-4E48-B1D1-B644940FBE42@strauser.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig1AC820626EC19428EE08A86A
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Kirk Strauser wrote:
> I was having flaky system problems that were driving me to distraction.=
=20
> Yesterday, I finally got a panic message with an instruction pointer,
> used addr2line to see that the failure was in uma_zfree_internal,
> searched Google, and learned that it was probably due to bad RAM.  Half=

> any hour later, memtest86 found the defective stick and the problem was=

> solved.
>=20
> This led me to thinking, though: the OS already had all the information=

> needed to figure out where the problem was.  If there had been an
> explanation inside that function definition, FreeBSD could have
> automatically gone to the file, searched for that explanation, and told=

> me why my system had probably crashed.

There's a "small" problem here - to validate something like this you
need an AI or at least an expert system. It's purely coincidence that
you found someone else with bad RAM crashing in the same function and
byitself it doesn't mean anything. The exact same failure could be
caused by almost any serious problem:

* bad CPU or overheating
* bad motherboard/bus
* compiler generating bad code
* simply, a code bug.

The next time someone reads about "crash in uma_zfree_internal" he could
have an overheated CPU and will spend days swapping and testing RAM :)

=46rom the other side, bad RAM can manifest in practically infinite ways,=

as you discovered before you hit uma_zfree_internal.


--------------enig1AC820626EC19428EE08A86A
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAki5LooACgkQldnAQVacBcgQJQCff2sfdxbyLj5HVLNBfptJj5ld
ZjsAn2AQhdrcHA2IFqVMxuRmIVtv9AGr
=snLL
-----END PGP SIGNATURE-----

--------------enig1AC820626EC19428EE08A86A--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?g9baqb$pj0$1>