LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
Password
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 09-08-2016, 10:44 PM   #16
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled

Have you tried "pcie_aspm=performance" or "pcie_aspm=off".
 
Old 09-08-2016, 11:06 PM   #17
vladguan
Member
 
Registered: Jun 2014
Posts: 39

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Emerson View Post
Have you tried "pcie_aspm=performance" or "pcie_aspm=off".
I have modified grub.conf with pcie_aspm=performance and rebooted yesterday. For some reason, I cannot modify the policy file in /sys/module/pcie_aspm/parameters directory. I also get operation not permitted if I do an echo "performance" | sudo tee policy 1> /dev/null
 
Old 09-08-2016, 11:10 PM   #18
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Well, at this point I'd try and replace the drive.
 
Old 09-09-2016, 12:05 AM   #19
vladguan
Member
 
Registered: Jun 2014
Posts: 39

Original Poster
Rep: Reputation: Disabled
I actually modified the grub to force ASPM and was then able to modify the policy. Have yet to reboot it.

Interestingly, after a reboot, the policy changed to [default]

Last edited by vladguan; 09-09-2016 at 01:34 AM.
 
Old 09-09-2016, 07:06 PM   #20
Jjanel
Member
 
Registered: Jun 2016
Distribution: any&all, in VBox; Ol'UnixCLI; NO GUI resources
Posts: 999
Blog Entries: 12

Rep: Reputation: 364Reputation: 364Reputation: 364Reputation: 364
...thinking... (please don't get 'mad' at my Newbie/'noob' studying/learning/trying2help...)

(yes, I agree that the boot/root SSD is mysteriously failing i.e. 'disappearing' off-line)

Can you [easily] get another SSD? (if identical, maybe connect external & simply dd copy [UUID same?])
Or *maybe* 'mirror' [raid/multipath?] the SSD to free space somewhere on other 3 hdd...

I'm wondering if there's a 'better' way to capture console messages (just SEE them; not depend on any disk logging)...
** What 'console'/display do you use, when you find the system frozen?
(Could you leave -like- a serial dumb-terminal console, where displaying last messages isn't dependent on kernel video display. Or maybe remotely, to avoid any screensaver-blanking, need to [load&run] login, ...)

I found something interesting here(middle), (more info and .../power/control):
Quote:
To spin down the SDD platters and power off the individual disks, to simulate disks being taken out or prior to taking out the disks, issue the following:

echo 1 > /sys/block/sda/device/delete
...
I tried this with my VirtualBox CentOS7 netinst CD /sr0/ [only; no hdd] (Ctrl-Alt-F1 thru F5)
I got lots of kernel messages on tty4 (Alt-F4: console logs) but [tty2&3] `df /`loop&top kept running ok (new cmds [on tty5] from /bin failed w/msgs of course) Also fdisk -l instead of df catches it gone.

Of course, don't take my 'noob' ramblings as *anywhere near* expert...!
(getting inanely obscure, breakpoint/debug-log [SSD?]driver.c/.ko sending such...)

I assume that /etc and [/usr]/bin&lib are on the SDD, 'mostly' readonly [not /var on SSD]

While the system is down, maybe you could boot single [ro ok for safety] & try the 'delete',
&reset, to see whether a full power-cycle is needed to bring SDD back online (per BIOS)

I wonder if some software could be ['accidentally'] doing something like this...
(blame systemd, *LOL* ... *JUST KIDDING*, sorry)

I'm looking for some way to 'prove' that what is SEEN, fully matches the SDD 'shutting off'.

Last edited by Jjanel; 09-09-2016 at 10:40 PM.
 
Old 09-11-2016, 07:50 PM   #21
vladguan
Member
 
Registered: Jun 2014
Posts: 39

Original Poster
Rep: Reputation: Disabled
Well, I had the loop script as suggested by Jjanel running over the weekend. I also had firefox running with Jenkins Web Interface. Came in this morning and it was still running. I have increased the sleep from 2 to 10 seconds for now. I cannot do any further testing without upsetting developers unless it fails again .

As for terminals, it just has an LCD monitor attached via on-board VGA. I normally SSH into it. When it froze, the SSH session is lost.
 
Old 09-14-2016, 09:30 PM   #22
vladguan
Member
 
Registered: Jun 2014
Posts: 39

Original Poster
Rep: Reputation: Disabled
As luck will have it, it crashed again, even with the script running. Have replaced the Intel 540 240GB M.2 SSD with a standard Intel 540 240GB 2.5" SATA 3 SSD. Will see how things pan out.
 
Old 03-28-2018, 02:22 PM   #23
rksyeung
Member
 
Registered: Feb 2018
Posts: 71

Rep: Reputation: Disabled
@ vladguan. Any update on this issue? How did you eventually fix this? I run into similar issue with CentOS 7 VM, when running bitbake trying to generate a Yocto Project Linux kernel.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to suspend after idle or inactivity period without desktop environment or X? ineloquucius Linux - Newbie 7 12-30-2018 04:12 PM
IDLEOUT , TMOUT --> Logout users of a specified period of idle time. barnarasta Linux - Newbie 8 10-02-2012 06:53 PM
Ubt. 9.04 hangs when idle for >30mins aurora72 Linux - Newbie 2 07-21-2009 01:39 PM
Centos - console hangs after inactivity period yuri_d Red Hat 3 09-15-2006 07:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS

All times are GMT -5. The time now is 07:40 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