Panellicense

Fix R1Soft 'no suitable hcpdriver module' error

Resolve R1Soft's 'no suitable hcpdriver module' error by aligning kernel and kernel-devel, opening krnlbld.r1soft.com on 443, or pulling a beta module.

4 min readUpdated 2026-05-16r1soft · kernel-module · hcpdriver · almalinux
schema: HowToschema: FAQPage

R1Soft's Server Backup agent does block-level CDP via a kernel module (hcpdriver). When the agent starts and the module is missing or mismatched, serverbackup-setup --get-module returns no suitable hcpdriver module found for kernel <version> and backups fail at the disk safe stage. The fix is almost always one of four things, in this order.

1. Align kernel and kernel-devel

The agent builds — or downloads a prebuilt match for — the exact kernel currently booted. A common cause is a yum update that pulled a newer kernel without the matching kernel-devel, or a kernel-devel left behind from a previous boot.

uname -r
rpm -q kernel-devel

If the two versions differ, install the matching kernel-devel:

yum install kernel-devel-$(uname -r)

If yum cannot find that exact version, your repo cache is stale or the kernel was pinned. Re-enable the base repo and retry. Do not reboot into a different kernel just to satisfy the build — fix the userspace first.

2. Refetch the prebuilt module

R1Soft maintains prebuilt hcpdriver modules for thousands of distro/kernel combinations on krnlbld.r1soft.com. The agent fetches one automatically:

serverbackup-setup --get-module

If this fails with a network error, your egress firewall is blocking krnlbld.r1soft.com on port 443. Open it. Many fleets that route through a squid proxy or restrictive cloud security group hit this first on a new build:

curl -sI https://krnlbld.r1soft.com/ | head -1

A 200 or 301 response means egress is clear. A timeout means open it on the firewall and retry.

3. Pull a beta module

If the prebuilt index does not yet have your kernel — usually within 24-48 hours of a fresh AlmaLinux, CloudLinux, or RHEL kernel release — request the beta:

serverbackup-setup --get-module --beta

Beta modules are built from the same source but have not been through R1Soft QA. In production they are almost always fine; revert to stable on the next agent restart once the public index catches up.

4. Fall back to DKMS build

If no prebuilt or beta exists (rare custom kernels, ELRepo kernel-ml, or hardened builds), build locally. Install the toolchain first:

yum install -y dkms kernel-headers-$(uname -r) gcc make perl
serverbackup-setup --get-module

The agent invokes dkms automatically when no prebuilt match is found. A local build adds 30-60 seconds to the first run and writes the module under /usr/lib/r1soft/kernel_modules/.

Verify the module loaded

lsmod | grep hcp
service cdp-agent restart
service cdp-agent status

You want hcpdriver in the lsmod output and the agent reporting running. From the Server Backup Manager, trigger a manual recovery point — it should advance past the "Mounting disk safe" stage that previously failed.

For a clean install from scratch on a new node, see installing the R1Soft agent on AlmaLinux. If you're still evaluating R1Soft against your existing tooling, the R1Soft vs JetBackup comparison covers where each one earns its keep.

Why does serverbackup-setup say no suitable hcpdriver module?+
Either kernel-devel does not match the booted kernel, the agent cannot reach krnlbld.r1soft.com on port 443, or R1Soft has not yet published a prebuilt module for your kernel. Work through those three in order.
How do I open krnlbld.r1soft.com in my firewall?+
Allow outbound TCP/443 to krnlbld.r1soft.com from the agent host. The agent does not need inbound — only egress. Test with curl -sI https://krnlbld.r1soft.com/.
Is it safe to use the R1Soft beta hcpdriver module in production?+
Yes. Beta modules are built from the same source as stable; they only differ in QA gating. Most hosts run beta for 24-48 hours after a kernel update until the stable index catches up.
Do I need to rebuild the hcpdriver after every kernel update?+
Yes. The module is kernel-version specific. Run serverbackup-setup --get-module after every kernel upgrade, or automate it via a systemd unit that runs after cdp-agent.service.
Will DKMS handle the hcpdriver rebuild automatically?+
Only if you installed dkms and the dkms-managed source tree. The default R1Soft install does not register hcpdriver with dkms — you have to install dkms and re-run --get-module once for it to take over.

Next steps

Switch in an afternoon

Switch from your current reseller — free.

We migrate active cPanel, Plesk, LiteSpeed and CloudLinux licenses from any reseller. We prorate the first month so you never pay twice, and your customers see zero downtime during the swap.