Bug#1040189: miscomputes SHA1 sums on IMX53 (armhf)

Dmitry Baryshkov dbaryshkov at gmail.com
Mon Jul 3 16:04:39 BST 2023


Hi Simon,

On Mon, 3 Jul 2023 at 17:56, Simon McVittie <smcv at debian.org> wrote:
>
> On Mon, 03 Jul 2023 at 09:12:08 +0300, Dmitry Baryshkov wrote:
> > I tried building the quake shareware packages on my fresh iMX53 install
> > (Debian bookworm, armhf port). However I faced an issue with
> > game-data-packager being unable to identify any source file, because it
> > miscomputes sha1 sums. As you can see in the following fragment, md5 and
> > sha256 sums match, but sha1 doesn't:

[skipped quake106 data]

>
> If I'm understanding you correctly, your use of Quake and quake106.zip
> is just an example, and you get similar results (md5 and sha256 correct,
> sha1 wrong) for other files and other games? Is that true?
>
> Is this a general problem with Python on this hardware? game-data-packager
> doesn't do anything particularly special to calculate hashes, it just uses
> the Python standard library to do it.

I wrote this in a 'bts close' email, but it seems bts hides this
somewhere. I didn't notice that default settings overclock the board.
And most of the things work, except the rare fallouts (like sha1).
After limiting the CPU frequency to 1GHz (from the default 1.2 GHz)
the system is stable (and all hashsums match).


-- 
With best wishes
Dmitry



More information about the Pkg-games-devel mailing list