build drbd source pacakge. install drbd source package. build module using module-assistant. install debian package that m-a created.
However - m-a created the module /lib/modules/2.6.24-19-server/kernel/extra/drbd.ko and ubuntu has the module /lib/modules/2.6.24-19-server/ubuntu/block/drbd/drbd.ko. Whenver I do modprobe drbd the Ubuntu version is installed. I need the latest version to properly upgrade drbd0.7 to 0.8.X
For now I moved /lib/modules/2.6.24-19-server/kernel/extra/drbd.ko to /lib/modules/2.6.24-19-server/ubuntu/block/drbd/drbd.ko but that's going to be over-written if I ever upgrade the Ubuntu modules.
Right now I'm thinking build linux-ubuntu-modules-2.6.24 with the newer source, but it seems like there should be a better way to keep these from conflicting.
Included With Kernel
How do you get around the fact that drbd is now included with the ubuntu modules? Does it matter?
Here's what I did:
Download latest drbd source from debian here - http://packages.debian.org/experimental/drbd8-source
build drbd source pacakge. install drbd source package. build module using module-assistant. install debian package that m-a created.
However - m-a created the module /lib/modules/2.6.24-19-server/kernel/extra/drbd.ko and ubuntu has the module /lib/modules/2.6.24-19-server/ubuntu/block/drbd/drbd.ko. Whenver I do modprobe drbd the Ubuntu version is installed. I need the latest version to properly upgrade drbd0.7 to 0.8.X
For now I moved /lib/modules/2.6.24-19-server/kernel/extra/drbd.ko to /lib/modules/2.6.24-19-server/ubuntu/block/drbd/drbd.ko but that's going to be over-written if I ever upgrade the Ubuntu modules.
Right now I'm thinking build linux-ubuntu-modules-2.6.24 with the newer source, but it seems like there should be a better way to keep these from conflicting.