lkml.org 
[lkml]   [2012]   [Nov]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectBinutils test suite freezes kernel
Greetings:

The gas test suite in recent binutils snapshots from
ftp://sourceware.org/pub/binutils/snapshots/ consistently freezes my i386
custom-built kernels. This may be a kernel configuration problem but if so
it has manifested only recently. I have been building kernels since 1995
and this is the first instance I have seen where the kernel is brought down
by a non-privileged user space process. AIUI this should be impossible
regardless of what that process is doing. The problem affects all kernels
between 3.6.2 and 3.6.6. These are merely the kernels were I have seen the
problem; it may well affect other kernels.

My system uses a raid1 array of two SATA disks, each having a root partition
and a much smaller swap partition. Because the raid arrays have been in use
since 2001 on various disks over the years they use the older kernel
automatic raid detection metadata.

When the freeze occurs not all system processes always stop but most do such
that I can change virtual terminals but cannot enter characters into any of
them except sysreq magic keys. Often this also affects telnet from other
hosts, but not always. If a can kill the test process, either through
telnet or sysreq magic keys, the system returns, though it appears that the
system clock has also been stopped during the freeze.

If however I press the reset button during the freeze, this results in a
reconstruction of the raided swap partition on system restart. What is most
striking is that this reconstruction is not always successful because of
hard disk errors in one of the swap partitions. They are unrecoverable CRC
read errors which cause the affected partition to be kicked out of the raid
array. However, they disappear when the badblock program is run with the -w
(write then read) option on the affected partition. The partition can then
be added back into the array without further incident. This suggests to me
that sometimes the system freeze occurs in the middle of swap sector writes
such that they are actually bad on the disk. Just how that is happening is
a mystery to me.

I do not pretend to understand what is happening here but I will do what I
can to provide whatever additional information may be necessary.

Please CC me directly as I am no longer subscribed to the list.

Yours,

Joseph
jparmele at wildbear dot com



\
 
 \ /
  Last update: 2012-11-08 01:42    [W:1.922 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site