Hi,

The first lines (bug: sector %d exists, bh_new...) probably do mean that
there is a kernel bug lurking somewhere. They tell us that the RAID-5 
layer received two requests for the same physical sector on the RAID
array pointed to by two different buffer head structures at the same
time (that is, the second request arrived before the first was completed).

It might be ok, but more likely it's a race somewhere (perhaps harmless,
we don't know where it is). Early versions of the RAID-5 code used to crash
on this, as they continued with the "old" request and ignored the "new"
completely (locking up kernel code which waited on the new buffers).

In current versions, we wait for completion of the old request, and then
continue with issuing the "new" one for the same sector, which is more
or less the behavior on a standard non RAID disk drive.

The condition is likely to happen on a standard disk as well, we are just
not able to detect it as we don't need to keep a physical sector -->
buffer_head mapping for a non-RAID drive; we are always following the
mapping in the opposite structure --> physical sector direction.

Gadi

On Thu, 2 Dec 1999, [iso-8859-1] Jakob Østergaard wrote:

> On Thu, Dec 02, 1999 at 12:11:33PM +0800, Deanne O'Connell wrote:
> > Hi all,
> > 
> > I am running redhat 6.0, with kernel 2.2.13 all patched up to run raid, on a
> > dual celeron 400 system.
> > I have 3x 18.2 gig atlas 4 lvd drives all on one cable, configured as
> > follows;
> [snip]
> 
> Ok, RAID usually works, so start by looking elsewhere:
>  *) Which compiler do you use ?  (gcc -v)
>  *) What kernel exactly ?  2.2.13+raid_patches or 2.2.13acX or ?
> 
> Of course you system isn't overclocked,  right ?   :)
> What about the memory ?  You don't receive sig-11 messages from gcc
> when compiling the kernel or something ?
> 
> RAID _should_ work, these errors are almost always caused by hardware or
> not-directly-raid-related software.
> 
> -- 
> ................................................................
> : [EMAIL PROTECTED]  : And I see the elder races,         :
> :.........................: putrid forms of man                :
> :   Jakob Østergaard      : See him rise and claim the earth,  :
> :        OZ9ABN           : his downfall is at hand.           :
> :.........................:............{Konkhra}...............:
> 
> 

Reply via email to