Re: checksum error

Bad Bod <[email protected]> Fri, 30 Mar 2012 14:45:49 +0700
Newsgroups gmane.linux.ataraid
Message-ID <CA+4duQ=KqqxJCrRQOJ=-mOPA_OeYabpAf+Fu7O+=teqHhF3piw@mail.gmail.com>
--===============0160783952484427496==
Content-Type: multipart/alternative; boundary=bcaec501638fae682504bc710856

--bcaec501638fae682504bc710856
Content-Type: text/plain; charset=ISO-8859-1

Hi Philip,
  Thankyou for taking some time on this. I searched the Ubuntu forums long
and hard, even posted on there. I was starting to think no-one uses the VIA
raid any more. I guess few do.

   Is it possible you might still have a working version in CVS?  It used
to work, and on this very same mainboard. I can't remember which version of
ubuntu, but I do remember it was the first version where the live CD could
see the array and existing partitions, and installed, without any
intervention from me. It was 2 or 3 years back.


Regards
David



On Thu, Mar 29, 2012 at 9:12 PM, Phillip Susi <[email protected]> wrote:

> I took a look at this, and I can't see how this error would ever NOT
> happen ( which is really strange since I used to have a via chipset that
> worked fine ).  via.c computes a sum of the first 50 bytes ( comment says
> this, but it actually starts at offset 50 and goes back to zero, so it's
> really 51 bytes ), then compares it with the sum stored in the metadata,
> which is at byte 50.  There is no value you could possibly have for the
> checksum byte that when added to the sum of the preceding bytes, would give
> you that same checksum, unless the sum of the first 50 bytes happened to be
> zero, any value at all would be valid for the checksum byte.
>
>
> On 12/6/2011 12:29 PM, Heinz Mauelshagen wrote:
>
>> On 12/05/2011 02:38 PM, Bad Bod wrote:
>>
>>> Hi,
>>> I don't know if this is the correct place to send this, please send me
>>> information on where I should post of this is not the right place.
>>>
>>> dmraid version
>>> 1.0.0.rc16 (2009.09.16) shared
>>>
>>> RAID 0, Asus M2V motherboard, via 8237, 2 * hitachi 250Gb HD
>>>
>>> ubuntu 11.04 and fedora 15
>>>
>>> running 'dmraid - ay' gives the following output.
>>>
>>> ERROR: via: invalid checksum on /dev/sdb
>>> ERROR: via: invalid checksum on /dev/sda
>>> no raid disks
>>>
>>> windows via v-raid tool shows no errors, array boots works fine in
>>> windows 7. Have rebuilt array several times to ensure metadata should
>>> not be corrupt.
>>>
>>> attached is dd of /dev/sda with metadata. Sorry, dumped 3000 sectors
>>> so a bit more than you need ;)
>>>
>>> Any assistance greatly appreciated, even if this is just my setup that
>>> is weird, I am happy to patch around it to get it working. I looked at
>>> the via.h and could not work out where to start :(
>>>
>>> As I said at start, if this is not the correct place then please
>>> inform me where is, and please accept my apologies.
>>>
>>
>> That's fine.
>> I'll try to have a look...
>>
>> Heinz
>>
>

--bcaec501638fae682504bc710856
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi Philip,<div>=A0 Thankyou for taking some time on this. I searched the Ub=
untu forums long and hard, even posted on there. I was starting to think no=
-one uses the VIA raid any more. I guess few do.</div><div><br><div>=A0 =A0=
Is it possible you might still have a working version in CVS? =A0It used to=
 work, and on this very same mainboard. I can&#39;t remember which version =
of ubuntu, but I do remember it was the first version where the live CD cou=
ld see=A0the array and existing partitions, and installed, without any inte=
rvention from me. It was 2 or 3 years back.</div>

<div><br></div><div><br></div><div>Regards<div>David</div><div><br></div>
<br><br><div class=3D"gmail_quote">On Thu, Mar 29, 2012 at 9:12 PM, Phillip=
 Susi <span dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]">psusi@ubunt=
u.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"m=
argin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

I took a look at this, and I can&#39;t see how this error would ever NOT ha=
ppen ( which is really strange since I used to have a via chipset that work=
ed fine ). =A0via.c computes a sum of the first 50 bytes ( comment says thi=
s, but it actually starts at offset 50 and goes back to zero, so it&#39;s r=
eally 51 bytes ), then compares it with the sum stored in the metadata, whi=
ch is at byte 50. =A0There is no value you could possibly have for the chec=
ksum byte that when added to the sum of the preceding bytes, would give you=
 that same checksum, unless the sum of the first 50 bytes happened to be ze=
ro, any value at all would be valid for the checksum byte.<div class=3D"HOE=
nZb">

<div class=3D"h5"><br>
<br>
On 12/6/2011 12:29 PM, Heinz Mauelshagen wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
On 12/05/2011 02:38 PM, Bad Bod wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
Hi,<br>
I don&#39;t know if this is the correct place to send this, please send me<=
br>
information on where I should post of this is not the right place.<br>
<br>
dmraid version<br>
1.0.0.rc16 (2009.09.16) shared<br>
<br>
RAID 0, Asus M2V motherboard, via 8237, 2 * hitachi 250Gb HD<br>
<br>
ubuntu 11.04 and fedora 15<br>
<br>
running &#39;dmraid - ay&#39; gives the following output.<br>
<br>
ERROR: via: invalid checksum on /dev/sdb<br>
ERROR: via: invalid checksum on /dev/sda<br>
no raid disks<br>
<br>
windows via v-raid tool shows no errors, array boots works fine in<br>
windows 7. Have rebuilt array several times to ensure metadata should<br>
not be corrupt.<br>
<br>
attached is dd of /dev/sda with metadata. Sorry, dumped 3000 sectors<br>
so a bit more than you need ;)<br>
<br>
Any assistance greatly appreciated, even if this is just my setup that<br>
is weird, I am happy to patch around it to get it working. I looked at<br>
the via.h and could not work out where to start :(<br>
<br>
As I said at start, if this is not the correct place then please<br>
inform me where is, and please accept my apologies.<br>
</blockquote>
<br>
That&#39;s fine.<br>
I&#39;ll try to have a look...<br>
<br>
Heinz<br>
</blockquote>
</div></div></blockquote></div><br></div></div>

--bcaec501638fae682504bc710856--


--===============0160783952484427496==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Ataraid-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/ataraid-list
--===============0160783952484427496==--