2011-06-15 11:02:57

by Bruce Stenning

[permalink] [raw]
Subject: kernel 2.6.39 iop-adma pq-zero-sum self-test failed

I believe that I have configured everything correctly for the iop-adma
acceleration on iop13xx, using kernel 2.6.39, but I notice that the pq
self test is failing:

iop-adma iop-adma.0: Intel(R) IOP: ( xor xor_val fill cpy intr )
iop-adma iop-adma.1: Intel(R) IOP: ( xor xor_val fill cpy intr )
iop-adma iop-adma.2: Self-test pq-zero-sum failed to validate: 1

The relevant bits from the kernel configuration are:

CONFIG_MD=y
CONFIG_BLK_DEV_MD=y
CONFIG_RAID_ATTRS=m
CONFIG_MD_RAID0=y
CONFIG_MD_RAID1=y
# CONFIG_MD_RAID10 is not set
CONFIG_MD_RAID456=y
# CONFIG_ASYNC_RAID6_TEST is not set
CONFIG_ASYNC_RAID6_RECOV=y
CONFIG_RAID6_PQ=y

Is this a known issue? We have previously been using the iop-adma
acceleration on 2.6.26, but this was prior to the pq self-test being
added.


Kind Regards,

Bruce Stenning,
IndigoVision,
b <dot> stenning <at> indigovision <dot> com


Latest News at: http://www.indigovision.com/index.php/en/news.html


2011-06-17 11:02:59

by Bruce Stenning

[permalink] [raw]
Subject: RE: kernel 2.6.39 iop-adma pq-zero-sum self-test failed

I wrote:
> iop-adma iop-adma.0: Intel(R) IOP: ( xor xor_val fill cpy intr )
> iop-adma iop-adma.1: Intel(R) IOP: ( xor xor_val fill cpy intr )
> iop-adma iop-adma.2: Self-test pq-zero-sum failed to validate: 1

This was with gcc 4.6.0. Switching to gcc 4.4.2, the pq-zero-sum self-test
passes:

iop-adma iop-adma.0: Intel(R) IOP: ( xor xor_val fill cpy intr )
iop-adma iop-adma.1: Intel(R) IOP: ( xor xor_val fill cpy intr )
iop-adma iop-adma.2: Intel(R) IOP: ( pq pq_val xor xor_val fill cpy intr )


Bruce.


Latest News at: http://www.indigovision.com/index.php/en/news.html