Disabling upowerd on a Desktop Linux computer that never actually had a battery.

One of the facts which I’d like to make sure the reader knows, is what, exactly, the process ‘upowerd’ is responsible for on any Linux computer, lest the reader disable something that he or she may really need.

Many computers, including laptops, have batteries. ‘upowerd’ is the Linux process that monitors the battery, or the batteries, in case there is more than one to monitor. If the computer has batteries to monitor, then this process is essential and should not be disabled. But, in certain specific other cases, this process can become a problem, as it recently was on my desktop computer named ‘Phosphene’, which is running Debian 9 / Stretch, which has Plasma 5.8 as its desktop manager, and which will only ever run on A/C power, due to the very way in which its hardware is designed.

Several months ago, I noticed that the ‘North Bridge’ of this computer – an essential chip on its motherboard – was becoming rather hot. And the motherboard in question, the ‘Sabertooth X58′, manufactured in the year 2011, was already famous for the design flaw that causes its North Bridge to become 76.5⁰C hot when idle, which is actually hotter than the GPU on that computer will normally become, when pressed to work hard. Several Months ago, the North Bridge temperature when idle was 80⁰C or even 81⁰C! Whether it’s actually safe for a chip to be that hot is a subject open to opinion. This temperature will not cause an immediate failure, but if the chip is so hot continuously, then its lifespan will become shorter, than what the lifespan of chips is supposed to be, in general.

Therefore, months ago, when I first noticed this, I opened up the tower / desktop computer and examined it, to look for failed cooling fans, etc. There was no such cause for the elevated NB temperature. Not being able to remedy the problem, I just left it that way.

But only yesterday, I noticed that the process ‘upowerd’ was consuming an inordinate amount of CPU time. On the octa-core machine, that process was consuming maybe 1% of available CPU time, which was quite a lot, considering that there should have been nothing for it to do. And, never having noticed this before, it seemed possible to me that ‘upowerd’ may have been consuming 1% of available CPU time (unnoticed), since months ago.

When ‘upowerd’ misbehaves in this way, sometimes this happens, because of hardware signals, such as perhaps, a battery which continuously disconnects and reconnects, etc… Therefore, before a software kludge is attempted, all possibilities need to be followed, to find hardware causes for this behaviour, to which ‘upowerd’ would simply be responding in a normal fashion. Yet, even given hardware reasons to be active, ‘upowerd’ should not be consuming much more than 1% of available CPU time, in case the reader has some situation where this process is consuming, say, 10% of the CPU.

Continue reading Disabling upowerd on a Desktop Linux computer that never actually had a battery.

My computer Plato is having a technical issue.

One of the main computers which I’ve been using, that is named ‘Plato’, that was running Debian / Stretch, has experienced a major technical problem. When I got home this afternoon, I found it was not running. And, when I pushed the power button, it did not turn on.

A basic, automatic idea which would pop into people’s heads is, ‘The power-supply burned out.’ If the only task which lies ahead really was, to replace the power supply, I’d have it easy. This is a tower-computer from the year 2011, with a Sabertooth X58 motherboard.

  • The correct power-supplies for this old MB may have become hard to find,
  • Even if I had a replacement power-supply, it would be very cumbersome to replace because the harnesses of the present one loops behind too many recessed compartments, within the case.

The only thing I’ve done so far, is to perform a diagnostic test. I disconnected all the jacks between the power-supply and the MB, and retried the power button. My purpose behind that was, the idea that modern power supplies will refuse to turn on, if they sense a short-circuit between their load, and ground. Thus, if the power supply had been able to resume, with the MB disconnected, I’d know it was the MB, and I’d also know there’s no point in replacing the power-supply. But thankfully, the power-supply also did not power up like that. So I reconnected the power-supply to the MB.

So as it stands, I don’t know the best way to proceed, but am without the use of that trusty computer for now.

(Update 2/7/2019, 14h15 : )

One reason this apparent loss is unfortunate is the fact that, being my only Debian / Stretch computer, that computer was also the only one, which had “SageMath” installed and working on it. So my available Computer Algebra Systems are reduced to “Maxima” and “Yacas” for now.

(Update 2/9/2019, 18h50 : )

Actually, I’ve learned that my so-called diagnostic test was pointless. The power button these days, does not have a direct connection to the power-supply, to signal that the power-supply should turn on. The power button has its connection to the M.B., which tells the power-supply to turn on. Therefore, with the M.B. disconnected from the power-supply, there was no way for the power-supply even to get the signal, to turn on.

A personal friend of mine has lent me a power-supply tester, so that I’ll next be able to test that more properly. And, hoping that it is just the power-supply which is faulty, I’ll look into replacing it.

(As of 2/7/2019, 14h15 … )

Continue reading My computer Plato is having a technical issue.