You are not logged in.

#1 2018-09-02 23:37:22

matthewfl
Member
Registered: 2012-03-11
Posts: 5

Hard drive turning off when changing from AC -> Battery or when waking

Hello,

I have been having this issue for a few weeks now and have been unable to figure out a fix.
Most of the time (~80%) when I wake my computer up without an external power supply it ends up freezing up within a few seconds.  I originally though that this might have had something to do with the nvidia graphics card, but I now think that it is the hard drive.  My best guess for what is happening is that the main hard drive appears to be getting turned off and isn't woken back up.  This seems to cause a lot of pending reads and writes to just freeze.  This happens about 80% of the time when I wake my computer up from sleep without external power connected, and about 40% of the time when unplugging the power from my computer it causes the same behavior.
I haven't been able to capture a system log of when it actually happens as I can't launch any programs or commands, and the system log is lost as it doesn't get saved to the disk.

Thanks,
Matthew

Computer: Lenovo W530
Hard drive:  Crucial CT1024M5
Graphics card: GK107GLM [Quadro K1000M]

Offline

#2 2018-09-03 18:05:55

lucastracq
Member
From: Earth
Registered: 2017-03-09
Posts: 19

Re: Hard drive turning off when changing from AC -> Battery or when waking

do you use any particular settings for hard disk power management?

Offline

#3 2018-09-04 16:11:43

matthewfl
Member
Registered: 2012-03-11
Posts: 5

Re: Hard drive turning off when changing from AC -> Battery or when waking

I have had this install of Arch Linux for a while (since 2013) so it is possible that something was changed a while ago that I have forgotten.

Afaik, I have not made any changes to the hard drive settings.  Are there any configuration files that you recommended that I check.

Offline

#4 2018-09-04 16:44:16

lucastracq
Member
From: Earth
Registered: 2017-03-09
Posts: 19

Offline

#5 2018-09-05 12:20:17

RoundCube
Member
Registered: 2016-05-14
Posts: 42

Re: Hard drive turning off when changing from AC -> Battery or when waking

Also laptop-mode-tools and tlp, the former was especially popular a few years ago.

Offline

#6 2018-09-10 14:57:31

matthewfl
Member
Registered: 2012-03-11
Posts: 5

Re: Hard drive turning off when changing from AC -> Battery or when waking

Apparently I had laptop-mode-tools installed.  I tried disabling it using systemctl and in its configuration file but that wasn't enough to fix the issue.  After fully uninstalling laptop-mode-tools and restarting the issue seems to have gone away (at least  for the last few days).

Offline

Board footer

Powered by FluxBB