System freeze

My backup Kubuntu workstation began freezing shortly after boot recently. The problem was recurrent for a week or so and then I just switched the damn thing off. Have picked this up again recently to try and fix, because I would like to make use of this machine’s disks.

I ran MemTest86, and that surfaced no errors. Seems as though the RAM is okay and probably the CPU too.

The first thing I tried after the memory test was to remove the WD Blue 250GB SATA SSD M.2 which was in use as a ZFS cache. And this seems to have fixed the problem! Can’t be sure yet, but so far so good. Will continue to keep an eye on things…

Here are some photos for those playing along at home:

Proof of system

There’s a problem with some software user-interfaces, such as graphical shells, text-based shells, web browsers, etc. where the software needs to prompt the user for a secret (e.g. a PIN or master password) but the user can’t be sure that it’s a bona fide request from the software system itself, or some application, web page, or add-in that is pretending to be the system.

Seems to me like the solution to this problem is to have the system software do something that an application/web-page/add-in cannot do, and this leads me to think there should be a small area of a screen in a graphical user interface (textual UI is left as an exercise for the reader) which only the system software can manipulate.

If only the system can manipulate this small part of the screen then it’s a safe place to provide secrets to the system. Also, colour code be used by this reserved part of the screen to indicate when the input focus was active or not. So red on blur and green on focus.

In a web application the reserved part of the screen could be a drop down from the top of the screen over the address bar and toolbars, for an operating system it could be where the ‘Start’ menu button is. It will continue to display even when your app is in full screen mode, except perhaps if you temporarily turn it off during a presentation or game (although there may be some risk attached to allowing that temporary disablement).