LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-13-2021, 01:31 PM   #1
bigfuzzydog
LQ Newbie
 
Registered: Aug 2016
Posts: 20

Rep: Reputation: Disabled
System freezes repeatedly


Debian kernel 4.9.0-16
KDE Plasma version 5.8.6
System is an HP Elitebook 8770w, 24gb ram

When I try to put the computer to sleep, there is at least a 50% chance that it won't go to sleep, but instead freeze up (and then will be quite hot when I return), requiring a hard reboot. That reboot then also has a 50+% chance of freezing, sometimes right after I enter my password, other times waiting until it's looking like the windows are going to come back up.

Other times if it goes to sleep properly, I try to come back from sleep mode, and again, it often lets me put my password in but freezes shortly afterwards.

The machine does not generally freeze up apart from those times.

Any hints?
 
Old 12-13-2021, 02:27 PM   #2
floppy_stuttgart
Senior Member
 
Registered: Nov 2010
Location: EU mainland
Distribution: Debian like
Posts: 1,154
Blog Entries: 5

Rep: Reputation: 107Reputation: 107
Any hanging processes you see in starting "htop" ?
Any error message in the output of "dmesg" ?
Currently I see a notebook hanging often with firefox. It looks like some applications have leaks.
 
Old 12-13-2021, 03:58 PM   #3
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,811
Blog Entries: 1

Rep: Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068
That laptop is rather old. RAM doesn't always last. Use memtest86 to give it several hours' workout, at least 4, and the more the better.
 
Old 12-13-2021, 05:09 PM   #4
bigfuzzydog
LQ Newbie
 
Registered: Aug 2016
Posts: 20

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by floppy_stuttgart View Post
Any hanging processes you see in starting "htop" ?
Any error message in the output of "dmesg" ?
Currently I see a notebook hanging often with firefox. It looks like some applications have leaks.
My system doesn't seem to have htop?
Dmesg outputs pages and pages. The two that it highlights in red are:

[ 1228.318811] Web Content: Corrupted page table at address 2be425680980

and

[ 1228.319057] RIP [<00007f105e6fe2c5>] 0x7f105e6fe2c5
Firefox is the main thing I use this computer for. I did wonder if that had something to do with it.

And mrmazda, that's a good idea. It is indeed an old system. I will try to run memtest tonight.
 
Old 12-13-2021, 09:28 PM   #5
bigfuzzydog
LQ Newbie
 
Registered: Aug 2016
Posts: 20

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by mrmazda View Post
That laptop is rather old. RAM doesn't always last. Use memtest86 to give it several hours' workout, at least 4, and the more the better.
Just to follow up: I did go through one full test just now. I realize that's only 2 hours, so I should go back and do more later, but as a preliminary it seems to point away from RAM as the culprit. I do agree with checking it, I once had a system with a hardware fault that caused random crashes.

One more clue I had forgotten to mention. In the course of rebooting the machine a few times while getting memtest86 set up, the machine kinda reminded me that it generally freezes while attempting a reboot -- as in, before it starts the reboot. The screen will go blank, or in the most recent crash it went to the Debian text login prompt (at the top left of a black background, so outside KDE) but it wouldn't let me enter any text.

That's what is so frustrating here, it's like there is sort of a pattern to when it freezes, but only sort of.
 
Old 12-13-2021, 11:12 PM   #6
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
Quote:
Originally Posted by bigfuzzydog View Post
My system doesn't seem to have htop?
Dmesg outputs pages and pages. The two that it highlights in red are:

[ 1228.318811] Web Content: Corrupted page table at address 2be425680980

and

[ 1228.319057] RIP [<00007f105e6fe2c5>] 0x7f105e6fe2c5
Those indicate that potentially something is corrupted in the file system.
It would be a good thing to boot from a live install media and run fsck on all the different partitions/filesystems on your drive just to make certain the file system is good. It also would still be good to test the memory as well
 
Old 12-13-2021, 11:25 PM   #7
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,987

Rep: Reputation: 388Reputation: 388Reputation: 388Reputation: 388
24GB of ram is an unusual configuration for something coming direct from the manufacturer. 8GB of ram would be the usual for a laptop of that era. I suspect that at some point someone may have done a ram upgrade and the upgraded ram may not be compatible with that motherboard. AMD boards tend to be more finicky about their ram. Please post your ram configuration, i.e how many ram sticks and their size.

Ram issues tend to result in the type of erratic problems you're describing, i.e random freezes. You probably have 3 sticks of 8GB ram. You can try pulling two of the sticks and run with one ram stick to see if your problems go away. Check your manual to see where a single ram stick should be installed.

Last edited by kilgoretrout; 12-13-2021 at 11:39 PM.
 
1 members found this post helpful.
Old 12-14-2021, 05:21 AM   #8
pmv
Member
 
Registered: Apr 2018
Location: Germany
Distribution: OpenSuSE 15.4 Ubuntu 20.04 Archlinux 2022.08.05 Slackware 15.0
Posts: 86
Blog Entries: 5

Rep: Reputation: 31
In my case this was the solution:
Quote:
How to fix Ubuntu 18.04 freeze after boot when NVIDIA card installed
Replace in GRUB menu for 18.04 "quiet splash" with "quiet splash nomodeset" (On the grub screen click select *Ubuntu and press e)
After that freeze should be gone.
I use nouveau driver.

Last edited by pmv; 12-14-2021 at 05:24 AM.
 
Old 12-14-2021, 08:07 AM   #9
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,983

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
Quote:
Originally Posted by bigfuzzydog View Post
My system doesn't seem to have htop?
Dmesg outputs pages and pages. The two that it highlights in red are:

[ 1228.318811] Web Content: Corrupted page table at address 2be425680980

and

[ 1228.319057] RIP [<00007f105e6fe2c5>] 0x7f105e6fe2c5
Firefox is the main thing I use this computer for. I did wonder if that had something to do with it.

And mrmazda, that's a good idea. It is indeed an old system. I will try to run memtest tonight.
https://bugzilla.kernel.org/show_bug.cgi?id=56461

I found it odd for Linux to call a RAM error page table, this is typically a MS Windows name for SWAP. Little googling found this link. While Chrome is not the root cause of this issue, it is something that can expose the error.

This does look, like as mentioned above, to be a hardware issue.

Run both the check on the RAM and the HDD. One of them is potentially on the fritz.
 
Old 12-14-2021, 08:53 AM   #10
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,113
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
Yeah. I had one chromebook that would lock up after a hour or so. Running ChromeOS even that is built for that netbook.

Replacing the ssd fixed it. Aint saying that is your problem. But there are tools to test ssd drives.

https://www.simplified.guide/linux/disk-health-check
 
Old 12-14-2021, 09:05 AM   #11
bigfuzzydog
LQ Newbie
 
Registered: Aug 2016
Posts: 20

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by kilgoretrout View Post
24GB of ram is an unusual configuration for something coming direct from the manufacturer. 8GB of ram would be the usual for a laptop of that era. I suspect that at some point someone may have done a ram upgrade and the upgraded ram may not be compatible with that motherboard. AMD boards tend to be more finicky about their ram. Please post your ram configuration, i.e how many ram sticks and their size.

Ram issues tend to result in the type of erratic problems you're describing, i.e random freezes. You probably have 3 sticks of 8GB ram. You can try pulling two of the sticks and run with one ram stick to see if your problems go away. Check your manual to see where a single ram stick should be installed.
Well, that's an interesting point.

I'm the guilty party there, I'm afraid. It came with two "Ramaxel" 4gb sticks for a total of 8gb, and I added two 8gb Crucial sticks. On the other hand I just looked up when I had bought them, and it was in early 2019. So they've been there for almost 3 years, and the problem didn't crop up until the past month or two.

Perhaps I should pull the two Ramaxel 4gb sticks and try just running the Crucials?
 
Old 12-14-2021, 09:13 AM   #12
bigfuzzydog
LQ Newbie
 
Registered: Aug 2016
Posts: 20

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by rokytnji View Post
Yeah. I had one chromebook that would lock up after a hour or so. Running ChromeOS even that is built for that netbook.

Replacing the ssd fixed it. Aint saying that is your problem. But there are tools to test ssd drives.

https://www.simplified.guide/linux/disk-health-check
I had tried an ssd awhile back and didn't like it (I forget what the odd behavior was, but there was one particular area where it was not like a normal hdd) so both drives installed in this machine are normal hdd's. I did run the smartmontools check and both passed.
 
Old 12-14-2021, 10:00 AM   #13
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,493

Rep: Reputation: Disabled
Skimming through the above, if not already done, check & re seat disk drive cables & ram modules; you may have a damaged drive cable, try a replacement.
 
Old 12-14-2021, 11:46 AM   #14
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,811
Blog Entries: 1

Rep: Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068
Quote:
Originally Posted by pmv View Post
In my case this was the solution:
Code:
How to fix Ubuntu 18.04 freeze after boot when NVIDIA card installed
Replace in GRUB menu for 18.04 "quiet splash" with "quiet splash nomodeset" (On the grub screen click select *Ubuntu and press e)
After that freeze should be gone.
I use nouveau driver.
Nomodeset is virtually always a workaround, not a solution. Some NVidia (non-FOSS) drivers may need it. All competent FOSS display drivers for AMD, Intel and NVidia GPUs, which includes nouveau, require KMS, which nomodeset disables. When using nomodeset, resolution and performance is seriously limited.
 
Old 12-15-2021, 01:20 PM   #15
floppy_stuttgart
Senior Member
 
Registered: Nov 2010
Location: EU mainland
Distribution: Debian like
Posts: 1,154
Blog Entries: 5

Rep: Reputation: 107Reputation: 107
I recommend #6: run fcsk
htop not installed? in a terminal give "su -" then return, give your root pw, then "apt-get install htop"
 
  


Reply



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
System repeatedly reboot... richard617 Fedora 2 10-11-2005 10:27 AM
ps -aux output: CROND running repeatedly redhatman Linux - Newbie 1 03-29-2004 08:51 PM
Mandrake 9.1 X boot manager fails repeatedly brainunused Mandriva 3 03-29-2004 12:00 PM
Login repeatedly ! juby LQ Suggestions & Feedback 2 05-17-2003 02:39 PM
KMail crashes repeatedly with SIGSEGV .. GulfXray Linux - Newbie 3 10-28-2001 01:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:29 AM.

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
Open Source Consulting | Domain Registration