LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-21-2018, 04:39 PM   #1
dustpuppy
LQ Newbie
 
Registered: Jun 2018
Posts: 13

Rep: Reputation: Disabled
Box is freezing after period of idleness


Having a bit of an issue that I can’t figure out:

One of our PCs, when it sits idle for a while, freezes up completely except the mouse – it still moves. However, nothing it clicks on responds in any way, nor does the keyboard work. A rebbot fixes it, for a while.

Sometimes, however, the boot hangs while the motherboard searches the web for some file about PXE. When this happens I have to boot from a LiveUSB first, and then a reboot to the hard drive will work.

Almost as if it is forgetting that the hard drive is there.

I have run the Intel Proceesor tool, IPCT, and the CPU passed.
Memtest86+ - 3 passes – passed
smartctl - the disk passed

I have also wiped the disk partitions, re-partitioned and formatted, and completely reinstalled. Everything seems to be fine as long as it doesn’t sit idle. Not yet sure how long it takes yet, though.

Info about the box:
Code:
@Otherbox ~ $ inxi -Fxz

System: Host: Otherbox Kernel: 4.13.0-45-generic x86_64 (64 bit gcc: 5.4.0)
Desktop: Cinnamon 3.6.6 (Gtk 3.18.9-1ubuntu3.3)
Distro: Linux Mint 18.3 Sylvia
Machine: Mobo: Intel model: DH57DD v: AAE82022-204
Bios: Intel v: JGIBX10J.86A.0663.2011.1019.0408 date: 10/19/2011
CPU: Dual core Intel Core i5 650 (-HT-MCP-) cache: 4096 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 12800
clock speeds: max: 3200 MHz 1: 1404 MHz 2: 1417 MHz 3: 1409 MHz
4: 1322 MHz
Graphics: Card: Intel Core Processor Integrated Graphics Controller
bus-ID: 00:02.0
Display Server: X.Org 1.18.4 drivers: intel (unloaded: fbdev,vesa)
Resolution: 1360x768@59.95hz
GLX Renderer: Mesa DRI Intel Ironlake Desktop
GLX Version: 2.1 Mesa 17.0.7 Direct Rendering: Yes
Audio: Card Intel 5 Series/3400 Series High Definition Audio
driver: snd_hda_intel bus-ID: 00:1b.0
Sound: Advanced Linux Sound Architecture v: k4.13.0-45-generic
Network: Card: Intel 82578DC Gigabit Network Connection
driver: e1000e v: 3.2.6-k port: 2020 bus-ID: 00:19.0
IF: enp0s25 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives: HDD Total Size: 1000.2GB (9.3% used)
ID-1: /dev/sda model: ST1000DL002 size: 1000.2GB
Partition: ID-1: / size: 99G used: 9.1G (10%) fs: ext4 dev: /dev/sda1
ID-2: /home size: 405G used: 71G (19%) fs: ext4 dev: /dev/sda3
ID-3: swap-1 size: 8.59GB used: 0.00GB (0%) fs: swap dev: /dev/sda2
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: System Temperatures: cpu: 44.0C mobo: N/A
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 208 Uptime: 3 min Memory: 856.9/7775.3MB
Init: systemd runlevel: 5 Gcc sys: 5.4.0
Client: Shell (bash 4.3.481) inxi: 2.2.35
What other info can I supply to all you wonderful people?
 
Old 06-22-2018, 02:41 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,348

Rep: Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331
Your disk stuff is unclear. I would suspect allocation or drive problems. There's also the possibility it is moving to standby, hibernate or even suspend. Does suspend/hibernate work?
 
1 members found this post helpful.
Old 06-22-2018, 03:20 AM   #3
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
I know it might sound a little funny, but I had similar-ish problem, in that: there was nothing that was clearly wrong other than something related to ACPI and/or interrupts.

To cut a long story short: it wasn't until I physically removed one of the drives, that I finally realized the root cause, which was ACPI interrupt routing failures. From what you've said, it does have at least some similarities with the issues I had. It was a dodgy hard drive that was the cause of my problems.

If it does go into hibernation; does it freeze up completely when it comes out of it? Does it come straight back out of it without you bringing it out of hibernation yourself?

Have you tried swapping any drives out?

Is there any possible clues in your kernel log?

If not, try that. Verify your machines hardware is in good working order and go from there.
 
1 members found this post helpful.
Old 06-22-2018, 05:53 AM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by dustpuppy View Post
Sometimes, however, the boot hangs while the motherboard searches the web for some file about PXE.
you should switch off pxe booting in bios.

for the other issue:
open a terminal window, type 'top' or 'htop' (fancier), and figure out what the information means.
leave it running.
then, when the freeze occurs, with a bit of luck, you can see what's eating your resources.
 
1 members found this post helpful.
Old 06-22-2018, 05:19 PM   #5
dustpuppy
LQ Newbie
 
Registered: Jun 2018
Posts: 13

Original Poster
Rep: Reputation: Disabled
Thanks, everyone.

I've replaced the disk, and already the difference is noticeable.
And I installed from scratch, and all looks good.
I couldn't find any mention of "PXE" in the BIOS,but now the issue has disappeared.
And I've got "top" running in another workspace.

Looking good...


UPDATE: next day running fine - thanks again

Last edited by dustpuppy; 06-23-2018 at 05:17 AM. Reason: additional info
 
Old 06-23-2018, 04:50 PM   #6
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by dustpuppy View Post
I couldn't find any mention of "PXE" in the BIOS
it's some sort of network booting. might find these keywords in bios.
 
1 members found this post helpful.
Old 06-24-2018, 02:49 AM   #7
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,348

Rep: Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331
PXE is a boot method used for a system when you want to install automatically and there's nothing on the box. It's used via network. If you're not doing this it can be fairly safely ignored.
 
1 members found this post helpful.
Old 06-24-2018, 02:57 AM   #8
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
...and the OP seems to have solved their problem by replacing their drive. Which it was suggested in posts #2 and #3 that, it was a faulty drive that could be the problem here - and AFAICS it looks like it was indeed the problem.
 
Old 06-24-2018, 05:59 AM   #9
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
well personally i still think it's advisable to disable network booting when you're not using it, even if the system is working fine otherwise, for, you know, safety reasons.
 
  


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
Linux scheduler: Measuring the idleness of a CPU mistic0423 Linux - Kernel 2 08-09-2016 04:25 AM
How to incorporate Contention free period and contention period together in 802.11e? stud17 Linux - Newbie 0 01-20-2012 05:27 PM
[SOLVED] My Fedora 13 keeps freezing and freezing.. One Clueless Man Linux - Newbie 7 08-18-2010 10:33 AM
CRT screen becomes distorted after long period of idleness tux_addict Debian 3 11-27-2007 02:29 AM
Box is freezing using Knoppix 3.3 (APM?) bureado Linux - Hardware 1 10-30-2003 08:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:56 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
Open Source Consulting | Domain Registration