Qemu Passthrough for Sm2262 Sm2263 Based Ssd

I have an NVMe device that I use to passthrough to a virtual machine on Linux. It has some internal issue, a workaround that worked for me so far was described here: <hostdev mode="subsystem" type="pci" managed="yes"> <source> <address domain="0x0000" bus="0x6f" slot="0x00" function="0x0"/> </source> <boot order="1"/> <alias name="ua-sm2262"/> <address type="pci" domain="0x0000" bus="0x00" slot="0x07" function="0x0"/> </hostdev> <qemu:commandline> <qemu:arg value="-set"/> <qemu:arg value="device.ua-sm2262.x-msix-relocation=bar2"/> </qemu:commandline> Since some release of qemu it seems to no longer work and give an error message like this:...

November 2, 2022

Fingerstyle Tabs

I learnt how to play things on the guitar mostly because of great tabs published at https://frettedinstrumentsnyc.com. For me this was the only way to stay learning, because just doing “exercises” makes no sense to my brain as there is no music produced that is remotely pleasurable to hear. With the tabs you instead can already mimic your favorite tunes - all that is required is some technical work to make your fingers accustomed to the changes in chord shapes....

November 2, 2022

Encrypting Existing Linux Installation

I have an Arch (Gnome) on one physical disk and Ubuntu on another. At some point I decided to encrypt the Ubuntu installation. Ubuntu was just sitting on a simple /dev/nvme1n1p1 partition. I added a separate boot /dev/nvme1n1p2 device to keep grub on, and it had its benefits too. Main bootloader lives on the Arch disk. I followed the steps on Arch wiki, but during the boot there was no prompt to put password for decryption....

November 1, 2022