building drbd v9 for scaleway riscv

TODO now based on 6.9

requirements

cd /lib/modules/`uname -r`/source/
zcat /proc/config.gz > .config
make oldconfig
make prepare
make scripts
make modules_prepare

cd /lib/modules/`uname -r`/build/
mv scripts/ scripts.dist/
ln -s /lib/modules/`uname -r`/source/scripts

build

# https://linbit.com/linbit-software-download-page-for-linstor-and-drbd-linux-driver/#drbd-9
ver=9.2.12
wget https://pkg.linbit.com//downloads/drbd/9/drbd-$ver.tar.gz
    tar xzf drbd-$ver.tar.gz
    cd drbd-$ver/drbd/
export MAKEFLAGS=-j4
    time make > ../../drbd-$ver.log && echo BUILT
    make install >/dev/null && echo DEPLOYED
depmod -a

HOME | GUIDES | LECTURES | LAB | SMTP HEALTH | HTML5 | CONTACT
Copyright © 2024 Pierre-Philipp Braun