Subject: Re: [vserver] [DRBD-user] modprobe drbd fails on debian etch amd64
From: Konrad Korzeniowski <konrad@pandur.net>
Date: Tue, 29 Apr 2008 09:24:15 +0200

[2008-04-28 17:36] Eugen Leitl:
> I figured asking here would be also useful. Any ideas?
>
> ----- Forwarded message from Eugen Leitl <eugen@leitl.org> -----
>
> From: Eugen Leitl <eugen@leitl.org>
> Date: Mon, 28 Apr 2008 15:05:54 +0200
> To: drbd-user@lists.linbit.com
> Subject: [DRBD-user] modprobe drbd fails on debian etch amd64
> User-Agent: Mutt/1.5.13 (2006-08-11)
>
>
> Hi,
>
> I'm running into trouble when trying to 
>
> # drbdadm attach r0
> No response from the DRBD driver! Is the module loaded?
> Command 'drbdsetup /dev/drbd1 disk /dev/md2 /dev/md2 internal --set-defaults --create-device'
terminated with exit code 20
> drbdadm aborting
>
> this seems to be due to drbdb module failing to load
>
> vhost2:~# modprobe drbd
> FATAL: Module drbd not found.
>
> I've got 2.6.22-4-vserver-amd64 kernel on etch amd64 and
> drbd8-2.6.22-4-vserver-amd64 installed.
>
> My apt sources are 
>
> # cat /etc/apt/sources.list
>
> deb http://ftp.de.debian.org/debian/ etch main
> deb-src http://ftp.de.debian.org/debian/ etch main
>
> deb http://security.debian.org/ etch/updates main contrib
> deb-src http://security.debian.org/ etch/updates main contrib
>
> deb http://www.backports.org/debian etch-backports main contrib non-free
>
> Should I ditch etch backports, and/or build my own vserver-patched 
> kernel? Or am I missing some other steps?
did you build drbd module? i suggest you to run m-a command...

rgrds.,
Konrad Korzeniowski