LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having 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


Reply
  Search this Thread
Old 09-10-2019, 02:14 PM   #1
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 10,482

Rep: Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162
Historic Hibernation Issue


I have Slackware64-current on a twin core laptop with 6G ram.
Memory usage is light. I had a problem with hibernation and fixed the problem, and want to document it for posterity, because it's soo weird.

I never normally hibernate. But there's a few spurious undocumented key combinations that if pressed can start a hibernation. The box would appear to go off fine. It would boot a kernel, restore, wait a sec, then shut down and power off. That was the problem. It really was a case of "Do not adjust your set."
I would restart, promise I'd fix it, but never did.

It pulled a hibernate today. In the 'shutdown' phase of the hibernate, I noticed an error. It told me that I was lacking /usr/lib64/firefox-57.0??? I'm running firefox 68.0

On a hunch, I removed swap, zeroed it, made a new swap (same partition) and remounted it. Hibernate now works fine. Firefox-57.0 must have been about 2016? So a few things dawned on me
  1. I mustn't have used any swap space in a long time.
  2. This box isn't rewriting the hibernate image if it looks like there's a valid swap file there. I don't know if that's peculiar to this box, or a possible wider issue. It has endured more than 1 upgrade & 1 new install, and a second OS.
  3. There happened to be a valid looking swap file there since 2016 which I wiped today.

I'd love to know if it's a crazy one-off, or something else.
 
Old 09-12-2019, 01:06 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 12,307
Blog Entries: 9

Rep: Reputation: 3309Reputation: 3309Reputation: 3309Reputation: 3309Reputation: 3309Reputation: 3309Reputation: 3309Reputation: 3309Reputation: 3309Reputation: 3309Reputation: 3309
How's it SOLVED?
 
Old 09-12-2019, 08:46 AM   #3
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 10,482

Original Poster
Rep: Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162
The "valid" hibernation image from 2016 was zeroed, prompting a rewrite. I would hope hibernate images woule be rewritten more often; I thought it was every time, but someone is obviously saving cpu cycles.
 
1 members found this post helpful.
Old 09-13-2019, 04:45 AM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 10,482

Original Poster
Rep: Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162
/Later

I've since discovered that the whole shutdown mode of a hibernation has changed, indicating to me that it wasn't probably wasn't writing an image at all. Now it stays in X, sits there for 4-5 seconds, then turns all the lights off and is gone. Because I hadn't hibernated in so long, I didn't cop that my hibernate pattern didn't look right.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Historic victory of the "Associazione per il Software Libero"! nx5000 Syndicated Linux News 0 04-24-2007 09:49 AM
LXer: Historic victory of the "Associazione per il Software Libero"! LXer Syndicated Linux News 0 04-06-2007 12:16 AM
Booting from a pre-historic SCSI cdrom drive easuter Linux - Hardware 8 03-24-2007 10:51 AM
LXer: Historic Libre Graphics Meeting set for next month LXer Syndicated Linux News 0 02-23-2006 09:01 AM
historic linux distros ;-) guy24x Linux - General 10 06-23-2005 03:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 08:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration