NVIDIA Driver on Fedora 31 with Kernel 5.4

There’s been problem with NVIDIA driver on my computer running Fedora 31 ever since the kernel has hit version 5.4.*. The issue is that the NVIDIA driver version 435.21, which is installed from rpmfusion-nonfree, can’t be built with kernel 5.4. Here is the version of the akmod-nvidia package: [root@watamem ~]# dnf info akmod-nvidia Last metadata expiration check: 1:48:11 ago on Sun 02 Feb 2020 08:13:26 PM AEDT. Installed Packages Name : akmod-nvidia Epoch : 3 Version : 435.21 Release : 1.fc31 Architecture : x86_64 Size : 22 k Source : nvidia-kmod-435.21-1.fc31.src.rpm Repository : @System From repo : rpmfusion-nonfree Summary : Akmod package for nvidia kernel module(s) URL : http://www.nvidia.com/ License : Redistributable, no modification permitted Description : This package provides the akmod package for the nvidia kernel modules. And here is what happened when I tried to build the NVIDIA driver: ...

February 2, 2020 · 4 min · 652 words · kenno

Mounting exFat Filesystem on Fedora

Just a note to remind myself to install packages required to have Fedora based system to recognize SD cards or other drives formatted using exFAT. # dnf install fuse-exfat exfat-utils -y After the above 2 packages installed, just reinsert the SD cards, no reboot is required.

December 21, 2019 · 1 min · 46 words · kenno

New BIOS Firmware for ThinkPad P1 1.25

It looks like Lenovo just released a new firmware for ThinkPad P1 Gen1 again. Here is the changes in this 1.25 release: CHANGES IN THIS RELEASE Version 1.25 [Important updates] - Update includes security fixes. - Addresses CVE-2019-0151 (https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-0151) - Addresses CVE-2019-0152 (https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-0152) - Addresses CVE-2019-0123 (https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-0123) - Addresses CVE-2019-0124 (https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-0124) - Addresses CVE-2019-0117 (https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-0117) - Addresses CVE-2019-0184 (https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-0184) [New functions or enhancements] - Updated the CPU microcode. - Updated Regulatory Information. [Problem fixes] - Nothing. Unlike previous BIOS version 1.24 update, I wanted to try to just use the fwupdmgr command utility to do it. It turned it out it was quite simple and straight forward. ...

December 8, 2019 · 2 min · 370 words · kenno

How to Update Packages on Arch Linux

Finally, I got Arch installed on my ThinkPad X220. This also means that I will need to learn how to install and update software from scratch again. But that’s the fun part, isn’t it? :) Like many other distros, before we can update the installed packages, we need to update the software database (i.e. updated list from the repositories): [root@tora ~]# pacman -Syy Note the above command is similar to apt-get update in Debian/Ubuntu. ...

December 7, 2019 · 1 min · 173 words · kenno

How to Install Ansible on Centos 8

On most Linux distribution, Ansible can be installed either using python3-pip or ansible package. I’m going to show how to get Ansible installed using the second method on CentOS 8. First add the EPEL repository to the CentOS 8 server. # yum localinstall https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm Next, install ansible package: # yum install ansible Last metadata expiration check: 0:00:49 ago on Sun 10 Nov 2019 09:33:22 PM AEDT. Dependencies resolved. ======================================================================================================================= Package Arch Version Repository Size ======================================================================================================================= Installing: ansible noarch 2.8.5-2.el8 epel 15 M Installing dependencies: python3-babel noarch 2.5.1-3.el8 AppStream 4.8 M python3-jinja2 noarch 2.10.1-2.el8_0 AppStream 538 k python3-jmespath noarch 0.9.0-11.el8 AppStream 45 k python3-markupsafe x86_64 0.23-19.el8 AppStream 39 k python3-pyasn1 noarch 0.3.7-6.el8 AppStream 126 k libsodium x86_64 1.0.18-2.el8 epel 162 k python3-bcrypt x86_64 3.1.6-2.el8.1 epel 44 k python3-pynacl x86_64 1.3.0-5.el8 epel 100 k sshpass x86_64 1.06-9.el8 epel 27 k Installing weak dependencies: python3-paramiko noarch 2.4.3-1.el8 epel 289 k Transaction Summary ======================================================================================================================= Install 11 Packages Total download size: 21 M Installed size: 104 M Is this ok [y/N]: Let’s confirm that the installation went ok by checking the version of ansible: ...

November 9, 2019 · 2 min · 233 words · kenno