Skip to contentSkip to conversation

2.6.17-rc5-mm1

DISCUSSION Robert Hancock 4 participants 5 messages Jun 1, 2006 – Jun 6, 2006 5 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#5 lore raw
Quoted 18 lines · Martin Bligh
Quoted 8 lines

We have to get to the bottom of this - there's a shadow over about 500 patches and we don't know which.

iirc I tried to reproduce this a couple of weeks back and failed.

Are you able to narrow it down to a particular LTP test? It was mtest01 or something like that? Perhaps we can identify a particular command line which triggers the fault in a standalone fashion?

The LTP output is here:

http://test.kernel.org/abat/33803/debug/test.log.1

The last test run was memset01

From a good test run (http://test.kernel.org/abat/33964/debug/test.log.1)
the one after memset01 is a second instance of the same.

Quoted 6 lines

Which is bad I suppose, in that it's likely an intermittent failure. Perhaps you can try running memset01 in a loop? I don't have such a box set up here right now, I'm afraid ... will see what I can do.

OTOH, it looks like this might be a different failure than the double fault we saw in previous -mm's, which was consistently in mtest01, IIRC.

As a shot in the dark, I've seen problems on my Athlon 64 box with a program that does memset on a huge chunk of memory repeatedly which causes the machine to panic in various ways, lock up or reboot. Is this what that test is doing? I suspect my problem is caused by a AMD Athlon 64/Opteron CPU erratum 97 "128-Bit Streaming Stores May Cause Coherency Failure". The Newcastle CPU I have has this bug which can cause loss of coherency on non-temporal stores, which the glibc memset function uses. The BIOS is supposed to apply a workaround but I've no way of knowing if mine (Asus A8N-SLI Deluxe) is..

And no it's not a memory problem, the system passes memtest86 overnight without error. The problem usually shows up within a minute of starting the continuous-memset program..

Signature · 3 lines
Robert Hancock      Saskatoon, SK, Canada
To email, remove "nospam" from [email protected]
Home Page: http://www.roberthancock.com/
#6 lore raw
Quoted 26 lines · Robert Hancock
Quoted 24 lines · Martin Bligh
Quoted 8 lines

We have to get to the bottom of this - there's a shadow over about 500 patches and we don't know which.

iirc I tried to reproduce this a couple of weeks back and failed.

Are you able to narrow it down to a particular LTP test? It was mtest01 or something like that? Perhaps we can identify a particular command line which triggers the fault in a standalone fashion?

The LTP output is here:

http://test.kernel.org/abat/33803/debug/test.log.1

The last test run was memset01

From a good test run
(http://test.kernel.org/abat/33964/debug/test.log.1)
the one after memset01 is a second instance of the same.

Which is bad I suppose, in that it's likely an intermittent failure. Perhaps you can try running memset01 in a loop? I don't have such a box set up here right now, I'm afraid ... will see what I can do.

Quoted 7 lines
Quoted 2 lines

OTOH, it looks like this might be a different failure than the double fault we saw in previous -mm's, which was consistently in mtest01, IIRC.

As a shot in the dark, I've seen problems on my Athlon 64 box with a program that does memset on a huge chunk of memory repeatedly which causes the machine to panic in various ways, lock up or reboot. Is this what that test is doing? I suspect my problem is caused by a AMD Athlon 64/Opteron CPU erratum 97 "128-Bit Streaming Stores May Cause Coherency Failure". The Newcastle CPU I have has this bug which can cause loss of coherency on non-temporal stores, which the glibc memset function uses. The BIOS is supposed to apply a workaround but I've no way of knowing if mine (Asus A8N-SLI Deluxe) is..

And no it's not a memory problem, the system passes memtest86 overnight without error. The problem usually shows up within a minute of starting the continuous-memset program..

All sounds very sensible ... but not sure why -mm would hit it all the time, and never mainline ...

M.

#7 lore raw
Quoted 3 lines · Martin J. Bligh

All sounds very sensible ... but not sure why -mm would hit it all the time, and never mainline ...

You can use memeat.c to test the machine with other kernels. It tends to find such problems reliably. Let it run for some time

http://www.firstfloor.org/~andi/memeat.c

-Andi

#8 lore raw

From: Andi Kleen <[email protected]>
Date: 02 Jun 2006 10:52:05 +0200

Quoted 9 lines
Quoted 3 lines · Martin J. Bligh

All sounds very sensible ... but not sure why -mm would hit it all the time, and never mainline ...

You can use memeat.c to test the machine with other kernels. It tends to find such problems reliably. Let it run for some time

http://www.firstfloor.org/~andi/memeat.c

Wouldn't it be more useful for this program to use LowTotal instead of LowFree? It didn't grind my sparc64 machine much until I changed it like that. :)

#9 lore raw
Quoted 8 lines · David Miller

From: Andi Kleen <[email protected]>
Date: 02 Jun 2006 10:52:05 +0200

Quoted 5 lines
Quoted 3 lines · Martin J. Bligh

All sounds very sensible ... but not sure why -mm would hit it all the time, and never mainline ...

Quoted 8 lines
Quoted 4 lines

You can use memeat.c to test the machine with other kernels. It tends to find such problems reliably. Let it run for some time

http://www.firstfloor.org/~andi/memeat.c

Wouldn't it be more useful for this program to use LowTotal instead of LowFree? It didn't grind my sparc64 machine much until I changed it like that. :)

The idea is that the memory that is already used is tested. And the machine should be still usable.

If you want a generic memory eater you can use memhog from numactl.

It's mainly a quick test for machines that error out when they detect a 2 bit errors using ECC. And when run for longer it tends to stress other parts of the motherboard like VRMs.

At least on Opterons with ECC memory it seems to detect most memory problems pretty reliably, that is why I suggested it to Martin.

-Andi

Quoted 2 lines