-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Marek Marczykowski-Górecki:
> [moving to qubes-devel]
>
> On Mon, Jan 29, 2018 at 01:55:20AM +0100, Marek Marczykowski-Górecki wrote:
>> Interesting, some times it works on my machine, but indeed some times
>> it doesn't. Especially it worked just after installation, and after one
>> (warm) reboot. But then after cold reboot it mostly doesn't (I get
>> successful suspend once, then like 10 of them failed).
>
>> It appears that downgrading kernel for sys-net and sys-usb helps:
>
>> sudo qubes-dom0-update --action=downgrade 'kernel-qubes-vm-4.9*'
>> # set default kernel back to 4.14.13-1 - required for PVH - most of
>> # VMs
>> qubes-prefs default-kernel 4.14.13-1
>> # then set sys-net and sys-usb to 4.9
>> qvm-prefs sys-net 4.9.56-21
>> qvm-prefs sys-usb 4.9.56-21
>
>> This applies only on X1 Carbon. On T460p (one generation older than X1)
>> it works just fine with 4.14 in VM.
>
> Some more info:
>
> VM suspend fails for any HVM running 4.14.13-1 kernel, not only those
> with PCI devices (it just happens that other VMs are PVH by default,
> where suspend works just fine).
Oh, that's a very useful info. Was looking for an pass-through issue.
So after poking around some more observations:
- I can observe this also a different machine (i5-3340M). So most
likely not directly X1 Carbon related.
- If suspend does not fails the first time after a VM start it seems to
fail never (at least it worked ~200 times for me). After restarting the
VM it can happen again.
- It also happens with qemu in dom0. So more likely an upstream bug.
- I can confirm Linux 4.9.56 inside the VM seems to solve (or hide?)
the problem.
WIP:
- Test Linux 4.15
- Test vanilla Xen
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEE3E8ezGzG3N1CTQ//kO9xfO/xly8FAlpvwAsACgkQkO9xfO/x
ly+ayg//Zd3k7wgfofZMNv6rS80QS7GBZe86xj/Z/4fDiS4cPY13zvzJORfIjoAk
pSbMZuZQoAZyYZxBgGzqyUB0l0D9N0f9mY4mRMOYvf2r9OrpJUfPupo0TAMueFIK
aIvphPhFa/Z6T43Qk6qUD3T+pAQJTiV4y2mD4FUS4eunYTzSYwg7kaeFNFmoWukb
Hd7lzfb5HGPAQhntVSnV+/RLQteYqkupWblwd9zgx5x6wo1UQrI9HkBixKkM25ei
eta+znLxbg3YQUYkLjBUeIns/389G2FTGOr+nNVWQQxWP+WKdjYw5cZVkNGOGvp6
kE/mTQYrzBs6qvIPNOvDt4s6McLhhbFSz2/67ZNxw4wnfXvHlenlJbNELuIKx8ao
SOeOzh3JgpJXPgjVn27wNUa9Gc0FGuahM3MqLKxzwN5eHNaRte/1nywBrtDAYVyw
NK1WH55NJccEiOZknRgskgEZFA/YyMMXKXXuiMpxo92Yl5ExYBdkZsaAj9+SnJVJ
yfvEsHJDciyxXNaYXQGMkgPzZI3QHe04rrcYjJG2QQp1VDh7S/7WWoBiKRPnIr+e
0cawwaQRbG/6bF3M19GvF3Py1dfQD0ZT8oMQfUhBHkcq2H0f0dKAEB6uxGeBgSRK
ni86fMCuMYn7cw/6Wm9QjT/oXUff2un0yyNdjDye3mPL7SVoXIU=
=Guye
-----END PGP SIGNATURE-----