----- Original Message -----
On Di, 02.10.18 10:16, Bastien Nocera (bnocera(a)redhat.com) wrote:
> Until the kernel can use a dedicated partition for hibernation, which
> would fix the majority of problems users can encounter, we're just
> offering more sharp edges with which to cut themselves.
As I understand the problems have more to do with hardware
combinations, and driver code not getting things right, the actual
serialization of stuff is fine and unproblematic...
There's problems with:
- not having enough swap space available at a particular instant
- swap being encrypted and not allowing restore because the keys aren't
- swap not being encrypted, which could leak information down the line
- resume= not being there in the default parameters, so dracut needing
to rewrite the initrd before hibernation is considered done (?)
If the drivers being broken were the only problem, then reporting bugs upstream
for those drivers would help, just in the same way it helped for suspend
10 years ago.
In my experience, the problem isn't so much with specific drivers, and
more with the whole infrastructure, whether in the kernel, user-space,
or a combination of both.