Debian, Suse, and other distributions with recent 2.6.29 and higher kernels, package their kernel headers in a new architecture-specific manner, which breaks compatibility with earlier established methods of building modules for kernels.
Consequently, attempting to build kernel modules on these Linux distributions can prove unsuccessful.
This is the excerpted output from one attempt. In our example here, we use r1soft-cki, but this applies for r1soft-setup in CDP3 as well.
cd /usr/src/ rsync -avz /usr/src/linux-headers-2.6.32-5-xen-amd64/ r1build/ rsync -avz /usr/src/linux-headers-2.6.32-5-common-xen/ r1build/
/usr/bin/r1soft-setup --get-module --kernel-dir /usr/src/r1build