mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ville Herva <vherva@mail.niksula.cs.hut.fi>
To: kees <kees@schoen.nl>
Cc: Aaron Lunansky <alunansky@rim.net>,
	"'linux-kernel@vger.kernel.org'" <linux-kernel@vger.kernel.org>,
	"'kees@shoen.nl'" <kees@shoen.nl>
Subject: Re: [OT] how to catch HW fault
Date: Mon, 19 Mar 2001 12:35:19 +0200	[thread overview]
Message-ID: <20010319123519.E5316@niksula.cs.hut.fi> (raw)
In-Reply-To: <A9FD1B186B99D4119BCC00D0B75B4D8104D4AA30@xch01ykf.rim.net> <Pine.LNX.4.21.0103182107460.20316-100000@schoen3.schoen.nl>
In-Reply-To: <Pine.LNX.4.21.0103182107460.20316-100000@schoen3.schoen.nl>; from kees@schoen.nl on Sun, Mar 18, 2001 at 09:11:46PM +0100

On Sun, Mar 18, 2001 at 09:11:46PM +0100, you [kees] claimed:
> Hi,
> 
> I tried memtest86 for 24 hours also and that didn't gave a clue. When bad
> ram was really involved I'd expected to find things like:
> failing fsck's, failing kernel compiles and such. But none of them
> the system runs perfect if it doesn't freeze(lockup).
> 
> So yes, only the CPU's and the mobo are at question. What I was looking
> for was a tool like memtest86 but now for motherboards.....

You really cannot say that bad memory is involved ONLY when fsck's fail and
kernel compiled fail. No way. 

Think about it: that failing bit can well be in a place that kernel never
touches, and gcc usually does not touch. Moreover the bit flip usually does
not happen every time; you have to stress the memory for hours and sometimes
use a specific bit pattern to trigger the problem.

I had one machine that compiled kernel just fine, and ran pretty smoothly
overall, but experienced weird hickups like dying apps, failing oracle
install etc. Not too much though, I was attributing them to buggy software.
Then I tried to take a large backup. Bzip failed (internal error) one third
of the time, and once produced a different result. I quickly hacked up an
user space memory tester, and sure enough it reported an error after five
hours. (The machine was already in production, so I couldn't just take it
down and launch memtest86.) I verified the problem with memtest86 during the
next night, and applied the marvellous badmem patch to the kernel. After
marking the problematic place unuable, all problem disappeared. I just lost
2MB out of 256.

What I learned is that spotting meory error can be difficult, and the
symptoms can be stealthy.


-- v --

v@iki.fi

  reply	other threads:[~2001-03-19 10:36 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-17 18:22 Aaron Lunansky
2001-03-17 19:04 ` John Jasen
2001-03-17 20:22 ` Ville Herva
2001-03-18 20:11 ` kees
2001-03-19 10:35   ` Ville Herva [this message]
2001-03-19 11:44     ` Ville Herva
  -- strict thread matches above, loose matches on Subject: below --
2001-03-17 16:29 kees

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010319123519.E5316@niksula.cs.hut.fi \
    --to=vherva@mail.niksula.cs.hut.fi \
    --cc=alunansky@rim.net \
    --cc=kees@schoen.nl \
    --cc=kees@shoen.nl \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®