Install Lmod on Gentoo

Lmod is not available in Gentoo’s portage. This blog post will document how I got Lmod installed on my Gentoo machine. First requirement is to install lua. I picked lua 5.2 as I had problem when experimenting with Lua 5.1. To install lua-5.2.3 from portage, run: # emerge -av =dev-lang/lua-5.2.3 If you have multiple versions of Lua installed, make sure to select this lua 5.2.3 as the default version using eselect: ...

February 19, 2019 · 3 min · 442 words · kenno

Autostart a KVM Domain

Again this is a quick note to explain myself how to set a kvm (domain/vm) autostart when the server boots up. To list autostart domains: virsh list --autostart To set a domian, e.g. dhcp1, to autostart: virsh autostart dhcp1 To disable autostart for a domain (e.g. named dhcp1): virsh autostart dhcp1 --disable Ref: KVM: Start a Virtual Machine / Guest At Boot Time

February 13, 2019 · 1 min · 63 words · Kenno

ZFS Testing on Fedora

When Fedora release kernel 4.20.*, the ZFS 0.7.12 could no longer compiled. Accoriding to the ZFS release page at Github zfs-0.7.12 is only compartible iwth kernels 2.6.32 - 4.19. At first I was going to just wait for the 0.8.0 release, and continue to use kernel 4.19. However, Fedora keeps releasing the updates of kernel 4.20. As of this writing, the current version of the kernel on Fedora 29 is 4.20.6-200. At the same time, zfs-0.8.0 is still not yet released. ...

January 31, 2019 · 2 min · 215 words · kenno

NVME Not Found on Boot With UEFI

A quick note to remind myself how to get NVME recognized on Dell XPS 15 9570 on Gentoo. Make sure to add the kernel BLK_DEV_NVME options. NVM Express block device (BLK_DEV_NVME) CONFIG_BLK_DEV_NVME: The NVM Express driver is for solid state drives directly connected to the PCI or PCI Express bus. If you know you don't have one of these, it is safe to answer N. To compile this driver as a module, choose M here: the module will be called nvme. Symbol: BLK_DEV_NVME [=m] Type : tristate Prompt: NVM Express block device Location: -> Device Drivers Defined at drivers/nvme/host/Kconfig:1 Depends on: PCI [=y] && BLOCK [=y] Ref: ...

January 17, 2019 · 1 min · 124 words · kenno

How to Connect to Hidden Wifi Using nmcli

Today I need to setup a wifi connection on a laptop to my home network with hidden SSID. Like so many things that I only have to do it once in a while, I couldn’t remember how to do it. So this blog post is something to remind me in the future should I need to do it agian. Here is one way to do it, thanks to this Stack Overflow question. (Alternatively, check man nmcli and man nmcli-examples which have detailed information): ...

January 15, 2019 · 1 min · 188 words · kenno