Linux - Laptop and NetbookHaving a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm having an issue with my laptop since January. I thought it was due to a misconfiguration of something, and after not finding I formatted my laptop yesterday, but the issue is still there.
When I suspend my laptop and I come back after, it freeze totally, and I need to reboot to be able to use it again.
I achieve to take a picture of the tty while it was crashing, you can check it here. It seems to be an issue with my disk. The disk is quite new (less than 6 months): it's a SSD.
Another strange thing: while I'm not suspending it, everything just works greatly ! (no matter how long I use it).
If you have any idea of what could happen / how to solve it ?
My guess is that it has something to do with writing to your swap file or swap partition. When you suspend the laptop, the system stores information in swap. From the picture you attached, it appears that you are using disk encryption, and it appears that there is some problem reading and writing to it, and perhaps decrypting it?
This may not be the best solution, but I would try creating a dedicated swap partition on the disk that isn't encrypted. The size of the swap partition should be equal to the size of the physical RAM installed. I guess that would harm your information security somewhat, so someone else might have a better solution that wouldn't involve repartitioning the disk with an unencrypted partition.
Thanks for your answer !
I'm pretty sure the problem is not about encryption: I had the same issue before while I was using standard ext and ntfs formatting.
I'm suspending, not hibernating.
I'm not sure to understand what do you mean by "ssd self-encrypting". The encryption is the one I defined while I installed mint.
Model Number: Samsung SSD 850 EVO 500GB
There is no problem while going to sleep. The freeze come when I wake it up.
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524
Rep:
There is a file called swsusp.conf that controls going to sleep and waking up. Look in your log files or journalctl around the time of the wake up to check what's happening. It sounds like maybe there is some glitch in security. Anyone could wake the laptop up. There's no way it can tell who wakes it up.
But you want the drive unencrypted and the screen locked when it wakes up. So, check the logs and see if you can find the problem.
Exactly how are you suspending? Are you manually suspending from the logout menu or are you closing the lid [which normally leaves the task to the power manager]?
From my experience certain power managers/distros are good with autosuspend and others are not. Xfce Power Manager is good with autosuspend in Debian but not in Slackware, for some reason. One workaround is to attempt manually suspending from the logout menu. I have a similar issue whereby I can't rely on autosuspend in Slackware, but manually suspending is a perfectly acceptable workaround [for me anyway].
Woh, I didn't see those answers, sorry for the delay.
@AwesomeMachine, I didn't find the swsusp.conf file. And for the logs, the picture I took is all I found in logs.
@Lysander666, I have the same issue with auto suspending and manual suspending. It's just always.
@AwesomeMachine, I'm not sure to understand what are you talking about, and what should I do to fix it ?
I remembered that I had this issue since I changed my SSD. Is that possible that the problem is from the hardware ? (as it's just working fine when I'm not suspending my laptop)
I just installed Linux Mint 18.3 Cinnamon 64-bit on my Lenovo Z50-70. I also have a Samsung SSD 850 EVO 500GB.
On my previous Linux Mint 17.3 Cinnamon I had no issue about resuming from Suspend, now I have the same issue as Tonio- as: "When I suspend my laptop and I come back after, it freeze totally, and I need to reboot to be able to use it again."
Tonio- could you fix the issue? Any other suggestion?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.