Display power off after time limit broken

General support questions
Post Reply
aussie
Posts: 101
Joined: 2018/06/30 12:21:31

Display power off after time limit broken

Post by aussie » 2020/02/20 02:05:14

Hello,

I just updated to 3.10.0-1062.12.1 and a number of other modules. The display power off after a time limit is broken. I'm running MATE and checked the power management screen and my display is still set to power off after 10 minutes. Is there a workaround?

Aussie

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Display power off after time limit broken

Post by TrevorH » 2020/02/20 02:37:08

It would appear to be something particular to you since I'm running that kernel and using MATE and all operates as it should.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

aussie
Posts: 101
Joined: 2018/06/30 12:21:31

Re: Display power off after time limit broken

Post by aussie » 2020/02/20 05:09:13

Hi TrevorH,

I had trouble with this update. The system hung after completing the last cleanup and I had to due a force reboot. When the system rebooted it got a panic before where you enter the pass phase for encryption. I booted on the previous kernel okay and did a yum-complete-transaction and removed the new kernel. I did another yum update and reinstalled the kernel. This also got a panic, so I rebooted on the previous kernel. Did a remove of the new kernel and this time did a yum clean all so I would download the new kernel. Did a yum update and rebooted. This time everything was fine. Maybe if the kernel was corrupt maybe other modules are as well that came in with that update. Is there a log of the installed modules so that I can do a yum reinstall of the other modules?

Aussie

aussie
Posts: 101
Joined: 2018/06/30 12:21:31

Re: Display power off after time limit broken

Post by aussie » 2020/02/20 08:26:50

Hello,

I tried this command: yum history redo force-reinstall 54 as it seems it would do exactly what I wanted.

However I get this error:
Skipping the running kernel: kernel-3.10.0-1062.12.1.el7.x86_64
Error: Problem in reinstall: no package matched to remove

Maybe I don't understand what this is supposed do

Aussie

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Display power off after time limit broken

Post by TrevorH » 2020/02/20 12:19:36

That's a yum restriction. You can't remove the running kernel in case it is the last one and then you'd have none. To remove this one, you have to reboot to an older one first. And yum reinstall kernel-3.10.0-1062.12.1.el7.x86_64 is the faster way to do what you're trying to do.

I'd also suggest using lsinitrd on the initramfs files for this and a previous kernel to see what things are different. The output is large and includes dates and times so it will take a bit of massaging to see the differences.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

aussie
Posts: 101
Joined: 2018/06/30 12:21:31

Re: Display power off after time limit broken

Post by aussie » 2020/02/21 13:00:26

Hi TrevorH,

Reinstalling the kernel didn't help, so I used history to find the other 85 items that came in with this update. I wrote a script and reinstalled them all.
My screen now powers off after the time limit is reached. Thanks for your help.

Aussie

Post Reply