Tuesday, September 01, 2020

Re: [bugfix patch] smartmontools 7.1 -> 7.1p0

On Tue, Sep 01, 2020 at 09:29:27AM +0200, Martin Ziemer wrote:
> After i bought a new drive i got no smart data from it and the message
> "atascsi_passthru_done, timeout" in dmesg.
>
> Turns out, the current Version of smartmontools sets the timeout in
> ata.passthru to 60 instead of 60000. (Missing conversion from seconds
> to milliseconds)
>
> In Upstream commit 9c2f3a38063c4c6837507373c4dc4c9b1e3e7e81 from
> 2020-06-05 fixes this.
>
> Since there were also API-Changes, i could not just import the fix.
>
> The patch below patches just the timeout to fix our version.
> When smartmontools 7.2 is released the patch should be obsolete.
>
> Tested on the affected amd64 system.
Thanks, I just committed your diff after adding a comment to the patch.

No comments:

Post a Comment