I can confirm that the same issue occurs with kernel 4.12.0-041200rc4-generic and that the issue did not exist with Ubuntu 16.10. I do not know which kernel introduced the issue but immediately after upgrading to Ubuntu 17.04 I started observing the machine occasionally freezing upon resuming from suspend.
I have just installed kernel version 4.12.0-041200rc4-generic and reproduced the bug. To reproduce the bug I usually need to suspend the system about five times. Most of the times suspend/resume does work just fine, and then occasionally it leaves the system in an unrecoverable state. Not sure if a specific state triggers the issue. It seems random to me. I have attached the dmesg output I obtained with kernel 4.12.0-041200rc4-generic. The issue seems to be exactly the same as with kernel 4.10.0-22-generic. Once the bug arises, I cannot file the report with apport as the machine is unable to use the network: $ apport-collect 1697027 ERROR: connecting to Launchpad failed: Unable to find the server at launchpad.net You can reset the credentials by removing the file /home/genovese/.cache/apport/launchpad.credentials Is there a way to collect the data with apport into a file and upload it later after rebooting the machine? ** Attachment added: "dmesg.4.12.0-041200rc4-generic" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1697027/+attachment/4893177/+files/dmesg.4.12.0-041200rc4-generic ** Changed in: linux (Ubuntu) Status: Incomplete => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1697027 Title: ath9k freezes suspend resume Ubuntu 17.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1697027/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs