Kernel test cases¶
This list comprises some test cases that are useful to identify missing kernel configuration.
Docker¶
Launch a container
sudo apt-get install docker.io
sudo docker pull ubuntu:noble
sudo docker run -ti ubuntu:noble
exit
sudo container prune -f
sudo image rm ubuntu:noble
Firewall¶
Add Firewall rules
sudo ufw enable
sudo ufw status
sudo ufw allow from 192.168.0.0/16 proto udp port 1714:1764 comment 'KDE Connect'
sudo ufw allow from 192.168.0.0/16 proto tcp port 1714:1764 comment 'KDE Connect'
sudo ufw status numeric
sudo ufw disable
sudo ufw status
LXC, LXD¶
Launch a container
sudo snap install --channel latest/stable lxd
# If the snap is already installed
# sudo snap refresh --channel latest/stable lxd
lxc init --auto
lxc launch ubuntu:24.04 noble1
lxc shell noble1
sudo poweroff
lxc delete noble1
Snapcraft¶
Build a snap
sudo snap install --classic snapcraft
sudo ufw disable
lxd init
git clone https://git.code.sf.net/p/sispmctl/git sispmctl
cd sispmctl/
snapcraft --use-lxd --verbose
find . -name '*.snap'
QEMU¶
Launch an EFI Shell in QEMU
sudo apt install qemu-system-riscv qemu-efi-riscv64
qemu-system-riscv64 -machine virt -m 4096 -nographic \
-drive if=pflash,format=raw,unit=0,file=/usr/share/qemu-efi-riscv64/RISCV_VIRT_CODE.fd,readonly=on \
-drive if=pflash,format=raw,unit=1,file=../RISCV_VIRT_VARS.fd