On 2020-09-18 10:23:01 +0200, Vincent Lefevre wrote: > https://github.com/openzfs/zfs/issues/8552 suggests a drive firmware > bug (which could explain the absence of errors with smartctl and > badblocks), but in this case the kernel might have a way to avoid it. > > Also I'm wondering why this issue occurs *only* with swap. This could > mean that the problem is on the kernel side (at least partly).
As suggested by the above URL and also by http://www.howtoeverything.net/linux/hardware/ubuntu-freeze-issue-after-ssd-upgrade (which also mentions freeze issues with swap) I've set libata.force=noncq, which made the error disappear. The error no longer occurs after reboot without this kernel parameter. Still wondering whether this is a general issue with SSD and something can be done in the kernel. -- Vincent Lefèvre <[email protected]> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

