Checking Out Machine Check Exception (MCE) Errors in Linux

Machine Check Exception Error Linux

I recently reviewed ODROID-H2 with Ubuntu 19.04, and noticed some errors messages in the kernel log of the Intel Celeron J4105 single board computer while running SBC-Bench benchmark: I did not know what do make of those errors, but I was told I would get more details with mcelog which can be installed as follows: There’s just one little problem: it’s not in Ubuntu 19.04 repository, and a bug report mentions mcelog is not deprecated, and remove from Ubuntu 18.04 Bionic onwards. Instead, we’re being told the mcelog package functionality has been replaced by rasdaemon. But before looking into the utilities, let’s find out what Machine Check Exception (MCE) is all about from ArchLinux Wiki: A machine check exception (MCE) is an error generated by the CPU when the CPU detects that a hardware error or failure has occurred. Machine check exceptions (MCEs) can occur for a variety of reasons ranging from undesired or out-of-spec voltages from the power supply, …

Support CNX Software – Donate via PayPal or become a Patron on Patreon

Khadas VIM3 Review – Part 1: Kit Unboxing and Assembly

Khadas VIM3 Review

We started to read about Khadas VIM3 in May of this year as an Amlogic S922X development board with an M.2 socket for NVMe SSD, and 802.11ac WiFi 5 & Bluetooth 5.0 wireless module. Eventually, Shenzhen Wesion decided to change the processor to Amlogic A311D before the launch last month, since it does not cost much more, but includes a 5.0 TOPS neural processing engine. The company has sent me a Khadas VIM3 kit for evaluation and review. Before going through the software part, and especially the tools for the NPU which will be one of the highlights of the board, I’ll check out what I received today, and show how to assemble the kit. Khadas VIM3 Kit Unboxing The package is rather boring… But what’s really important is what’s inside… We’ve got an enclosure, a smaller package with the board itself, a USB-C power supply, a thermal pad + heatsink kit, and an IR remote control. The USB-C power …

Support CNX Software – Donate via PayPal or become a Patron on Patreon

ODROID-H2 Rev B Review – Part 1: Kit Unboxing and Assembly

ODROID-H2 Case Type 3 Assembled

ODROID-H2 was announced in October 2018 as the first x86 SBC from Hardkernel. The board features an Intel Celeron J4105 Gemini Lake processor, two SO-DIMM slots for memory, two SATA ports and M.2 NVMe slot for storage, two Gigabit Ethernet ports, a mix of USB 3.0 and 2.0 ports, as well as HDMI and DisplayPort video outputs. The board went for sale the following month for $111, and the first batch of 2,000 boards was sold within 24 hours. In normal cases, this should not be a big problem, and in a few weeks, the company should have been able to produce more boards to fulfill the demand. But Intel decided to prioritize higher-end processors, and Gemini Lake SoCs’ manufacturing was put on the back foot. That means Hardkernel had to wait over 6 months to get supply of the Celeron J4150 processors. In the meantime, the company slightly redesign the board, now called ODROID-H2 Rev B, and the good …

Support CNX Software – Donate via PayPal or become a Patron on Patreon

Create Minimal Debian Upstream Images with Debos and Armbian

Debos Armbian Debian Orange Pi Zero Plus 2 H5

[Update June 28: Post updated with correct procedure thanks to Collabora help] Armbian provides lightweight Debian or Ubuntu images for various Arm Linux SBC, and over the years has become the recommended source for stable firmware images for boards part of Orange Pi & Banana Pi families, and others. Uncompressed images are still over 1GB and come with Armbian-specific tools, kernel and bootloader. If you’d like to leverage Armbian images, but instead create a Debian upstream image with only the packages you intend to use, Collabora explains how to do just that with Orange Pi Zero +2 H5 and Libre Computer AML-S905X-CC (aka Le Potato) boards using Debos Debian OS builder. I’ve decided to give a try at the instructions for Orange Pi Zero Plus2 H5 in my laptop running Ubuntu 18.04 to better understand how this all works. I’ll assume you’ve already installed Docker, and made sure you’ve got it working as a non-root user, so we can install …

Support CNX Software – Donate via PayPal or become a Patron on Patreon

Customize Amazfit Bip Smartwatch – Thai Language and Mickey Mouse

Amazfit Bip Watch Face Mickey Mouse

I’ve been wearing WeLoop  Hey 3S smartwatch for well over a year now, and I’m still very satisfied with it, but a small problem is that it does not support Thai language, so when I receive messages it’s just blank, or only shows the ASCII characters part of the string. There’s also no real community for this watch, so customization options are limited, and readers recommended  Amazfit Bip instead. I’ve writing about this, because one person I know looked for a smartwatch, and first wanted to get an Apple Smartwatch, but where I live it’s over one month of the minimum salary and around two to three weeks of a typical office salary. So instead I recommended the much cheaper Amazfit Bip after I was told the requirements were support for Thai language notifications, and custom watch faces in order to install a Mickey Mouse watch face, and both of which appeared feasible after a (too) quick search on the …

Support CNX Software – Donate via PayPal or become a Patron on Patreon

Enabling Two-Factor Authentication for SSH Access in Armbian

Armbian Two Factor Authentication SSH

Until today, I only knew of two authentication methods for SSH: the traditional username/password and key-based login with private/public keys with the latter being more secure and not requiring any password. But I’ve just found out it’s also possible to login to SSH using two-factor authentication relying on your smartphone to get an OTP code like you would to access some banking services as it can easily be enabled in Armbian. First you’ll want to enable key-based login with private/public keys, or you won’t be able to access your board anymore after enabling 2FA except via the serial console. Now simply start armbian-config, and go to System Settings->Reconfigure SSH daemon to enable PhoneAuthentication “mobile phone one-time passcode”. We’re not done yet, so don’t close Armbian-config You’d then need an Android or iOS phone running Google Authenticator app to receive the OTP (one-time password). After enabling PhoneAuthenticator in armbian-config, you’ll see a new option to generate token select it, and it …

Support CNX Software – Donate via PayPal or become a Patron on Patreon

eWelink Camera App Recycles Your Old Smartphone into a Remote Camera

Old devices often end up in drawers or shelves collecting dust, but as we’ve seen before there are better ways to recycle your unused gadgets, from giving it to friends or family to selling them on eBay, or re-purposing them for specific purpose. For example, we’ve previously covered Haven open source app that transforms smartphones into smart security cameras or baby monitors. eWelink, the default app used with Sonoff wireless switches, smart plugs and light-bulbs, now happens to support a similar feature. So if you’re using the stock firmware on your Sonoff device and control them with the Sonoff app, you don’t need an extra app to use your old smartphone(s) as IP camera(s). It looked easy enough to setup, so I gave it a try. First you need to download & install eWelink Camera app, only available as an apk at this time, in your old phone. Once the app is installed, you’ll need to login with your eWelink …

Support CNX Software – Donate via PayPal or become a Patron on Patreon

Getting Started with Temperature & Humidity Sensors on ESP8266 using ANAVI Thermometer

ANAVI Thermometer Air / Humidity / Water

ANAVI Thermometer was launched on CrowdSupply in January.  It is an ESP8266 WiFi board with a built-in DHT22 temperature and humidity sensor, support for external DS18B20 waterproof temperature sensor, as well as other sensors thanks to three I2C sensors. I received the ANAVI Thermometer starter kit last month, and I’ve only found time to play with it in the last few days. I’ll start with a unboxing, assembly guide, before showing it action, and I’ll try to make it interface with Home Assistant over MQTT. ANAVI Thermometer Starter Kit Unboxing The kit comes with ANAVI Thermometer board, a plastic stand, a USB to TTL debug board, an I2C OLED display, a few nuts and bolts, and a couple of KiCad and ANAVI stickers. Leon ANAVI also added a traffic light board and LEDs, but it’s not normally part of the kit 🙂 ANAVI Thermometer board include an ESP8266 module, AM2302 (wired DHT 22) temperature and humidity sensor, a terminal block …

Support CNX Software – Donate via PayPal or become a Patron on Patreon