Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: DRBD: Users

compile drbd 8.4.1 kernel 3.3

 

 

DRBD users RSS feed   Index | Next | Previous | View Threaded


Christophe.Bouder at lip6

Mar 23, 2012, 8:19 AM

Post #1 of 9 (591 views)
Permalink
compile drbd 8.4.1 kernel 3.3

hello,

I have error on compiling drbd 8.4.1 with kernel 3.3
configure is ok
configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc --with-km
make KDIR=/usr/src/linux
....
Userland tools build was successful.
make[1]: entrant dans le répertoire « /root/drbd-8.4.1/drbd »

Calling toplevel makefile of kernel source tree, which I believe is
in
KDIR=/usr/src/linux

make -C /usr/src/linux SUBDIRS=/root/drbd-8.4.1/drbd modules
make[2]: entrant dans le répertoire « /usr/src/linux-3.3 »
CC [M] /root/drbd-8.4.1/drbd/drbd_buildtag.o
CC [M] /root/drbd-8.4.1/drbd/drbd_nl.o
/root/drbd-8.4.1/drbd/drbd_nl.c: In function ?drbd_adm_prepare?:
/root/drbd-8.4.1/drbd/drbd_nl.c:183:2: error: implicit declaration of
function ?security_netlink_recv? [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
make[3]: *** [/root/drbd-8.4.1/drbd/drbd_nl.o] Erreur 1
make[2]: *** [_module_/root/drbd-8.4.1/drbd] Erreur 2
make[2]: quittant le répertoire « /usr/src/linux-3.3 »
make[1]: *** [kbuild] Erreur 2
make[1]: quittant le répertoire « /root/drbd-8.4.1/drbd »
make: *** [module] Erreur 2



How can i resolve this ?

thanks for your help

--
Christophe Bouder
_______________________________________________
drbd-user mailing list
drbd-user [at] lists
http://lists.linbit.com/mailman/listinfo/drbd-user


ildefonso.camargo at gmail

Mar 23, 2012, 8:57 AM

Post #2 of 9 (564 views)
Permalink
Re: compile drbd 8.4.1 kernel 3.3 [In reply to]

On Fri, Mar 23, 2012 at 10:49 AM, Christophe BOUDER
<Christophe.Bouder [at] lip6> wrote:
> hello,

Hi,

>
> I have error on compiling drbd 8.4.1 with kernel 3.3

Any particular reason for using 3.3 now? (I mean, you are just
testing, right?, 3.3 is not stable).

> configure is ok
> configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc --with-km
> make KDIR=/usr/src/linux
> ....
>        Userland tools build was successful.
> make[1]: entrant dans le répertoire « /root/drbd-8.4.1/drbd »
>
>     Calling toplevel makefile of kernel source tree, which I believe is
> in
>     KDIR=/usr/src/linux
>
> make -C /usr/src/linux   SUBDIRS=/root/drbd-8.4.1/drbd  modules
> make[2]: entrant dans le répertoire « /usr/src/linux-3.3 »
>   CC [M]  /root/drbd-8.4.1/drbd/drbd_buildtag.o
>   CC [M]  /root/drbd-8.4.1/drbd/drbd_nl.o
> /root/drbd-8.4.1/drbd/drbd_nl.c: In function ?drbd_adm_prepare?:
> /root/drbd-8.4.1/drbd/drbd_nl.c:183:2: error: implicit declaration of
> function ?security_netlink_recv? [-Werror=implicit-function-declaration]
> cc1: some warnings being treated as errors
> make[3]: *** [/root/drbd-8.4.1/drbd/drbd_nl.o] Erreur 1
> make[2]: *** [_module_/root/drbd-8.4.1/drbd] Erreur 2
> make[2]: quittant le répertoire « /usr/src/linux-3.3 »
> make[1]: *** [kbuild] Erreur 2
> make[1]: quittant le répertoire « /root/drbd-8.4.1/drbd »
> make: *** [module] Erreur 2
>
>
>
> How can i resolve this ?
>
> thanks for your help
>
> --
> Christophe Bouder
> _______________________________________________
> drbd-user mailing list
> drbd-user [at] lists
> http://lists.linbit.com/mailman/listinfo/drbd-user
_______________________________________________
drbd-user mailing list
drbd-user [at] lists
http://lists.linbit.com/mailman/listinfo/drbd-user


florian at hastexo

Mar 23, 2012, 9:28 AM

Post #3 of 9 (560 views)
Permalink
Re: compile drbd 8.4.1 kernel 3.3 [In reply to]

On Fri, Mar 23, 2012 at 4:57 PM, Jose Ildefonso Camargo Tolosa
<ildefonso.camargo [at] gmail> wrote:
>> I have error on compiling drbd 8.4.1 with kernel 3.3
>
> Any particular reason for using 3.3 now? (I mean, you are just
> testing, right?, 3.3 is not stable).

Define "stable"? It's definitely been released, a little less than a week ago.

Florian

--
Need help with High Availability?
http://www.hastexo.com/now
_______________________________________________
drbd-user mailing list
drbd-user [at] lists
http://lists.linbit.com/mailman/listinfo/drbd-user


ildefonso.camargo at gmail

Mar 23, 2012, 3:37 PM

Post #4 of 9 (560 views)
Permalink
Re: compile drbd 8.4.1 kernel 3.3 [In reply to]

On Fri, Mar 23, 2012 at 11:58 AM, Florian Haas <florian [at] hastexo> wrote:
> On Fri, Mar 23, 2012 at 4:57 PM, Jose Ildefonso Camargo Tolosa
> <ildefonso.camargo [at] gmail> wrote:
>>> I have error on compiling drbd 8.4.1 with kernel 3.3
>>
>> Any particular reason for using 3.3 now? (I mean, you are just
>> testing, right?, 3.3 is not stable).
>
> Define "stable"? It's definitely been released, a little less than a week ago.

I is declared as "mainline", meaning that it is not yet stable, in
other words: not yet production-ready. If you are going to test with
it: go ahead, but I wouldn't recommend against installing it on a
critical system.

Ildefonso.
_______________________________________________
drbd-user mailing list
drbd-user [at] lists
http://lists.linbit.com/mailman/listinfo/drbd-user


ildefonso.camargo at gmail

Mar 23, 2012, 3:39 PM

Post #5 of 9 (556 views)
Permalink
Re: compile drbd 8.4.1 kernel 3.3 [In reply to]

On Fri, Mar 23, 2012 at 6:07 PM, Jose Ildefonso Camargo Tolosa
<ildefonso.camargo [at] gmail> wrote:
> On Fri, Mar 23, 2012 at 11:58 AM, Florian Haas <florian [at] hastexo> wrote:
>> On Fri, Mar 23, 2012 at 4:57 PM, Jose Ildefonso Camargo Tolosa
>> <ildefonso.camargo [at] gmail> wrote:
>>>> I have error on compiling drbd 8.4.1 with kernel 3.3
>>>
>>> Any particular reason for using 3.3 now? (I mean, you are just
>>> testing, right?, 3.3 is not stable).
>>
>> Define "stable"? It's definitely been released, a little less than a week ago.
>
> I is declared as "mainline", meaning that it is not yet stable, in
> other words: not yet production-ready.  If you are going to test with
> it: go ahead, but I wouldn't recommend against installing it on a

typo...

(...)"but I wouldn't recommend installing it on a "(...)

Sorry!

> critical system.
>
> Ildefonso.
_______________________________________________
drbd-user mailing list
drbd-user [at] lists
http://lists.linbit.com/mailman/listinfo/drbd-user


Christophe.Bouder at lip6

Mar 27, 2012, 12:21 AM

Post #6 of 9 (531 views)
Permalink
Re: compile drbd 8.4.1 kernel 3.3 [In reply to]

> On Fri, Mar 23, 2012 at 10:49 AM, Christophe BOUDER
> <Christophe.Bouder [at] lip6> wrote:
>> hello,
>
> Hi,
>
>>
>> I have error on compiling drbd 8.4.1 with kernel 3.3
>
> Any particular reason for using 3.3 now? (I mean, you are just
> testing, right?, 3.3 is not stable).

call it as you want, testing or not stable
for me i can't use it with drbd
so i can test it on simple computers (and everything is fine)
but not on my servers.

--
Christophe Bouder
_______________________________________________
drbd-user mailing list
drbd-user [at] lists
http://lists.linbit.com/mailman/listinfo/drbd-user


ildefonso.camargo at gmail

Mar 27, 2012, 8:21 AM

Post #7 of 9 (537 views)
Permalink
Re: compile drbd 8.4.1 kernel 3.3 [In reply to]

On Tue, Mar 27, 2012 at 2:51 AM, Christophe BOUDER
<Christophe.Bouder [at] lip6> wrote:
>
>> On Fri, Mar 23, 2012 at 10:49 AM, Christophe BOUDER
>> <Christophe.Bouder [at] lip6> wrote:
>>> hello,
>>
>> Hi,
>>
>>>
>>> I have error on compiling drbd 8.4.1 with kernel 3.3
>>
>> Any particular reason for using 3.3 now? (I mean, you are just
>> testing, right?, 3.3 is not stable).
>
> call it as you want, testing or not stable
> for me i can't use it with drbd
> so i can test it on simple computers (and everything is fine)
> but not on my servers.

I'm using it right now on some servers with 3.0 kernels (Ubuntu with
backported kernel, using drbd 8.4.1 just as is), and on other servers
with 2.6.32 kernel (Debian squeeze) with this patch added:

http://git.drbd.org/gitweb.cgi?p=drbd-8.4.git;a=commitdiff;h=55a81dc

Now, if you are using/going to use kernel 3.3 on your servers: you
should think twice, as a mainline kernel, it is prone to stability
bugs more often than stable kernels, If I were you, I would use 3.2,
or just stay with whatever the Linux distribution came (as long as you
are using a stable release from your distro).

I mean, I know there are reasons why one would like to upgrade kernel,
but unless the reasons are so critical that you can risk kernel
crashes, you should avoid doing that.

Now, last, but not least: if you want to still use 3.3 kernel, you are
likely have to wait, or try git HEAD for drbd, instead of 8.4.1 (even
then, I'm not sure if it will work on 3.3 kernel)... however, that's,
also, not yet stable, and thus: increased bug probability.

Sincerely,

Ildefonso Camargo
_______________________________________________
drbd-user mailing list
drbd-user [at] lists
http://lists.linbit.com/mailman/listinfo/drbd-user


Christophe.bouder at lip6

Mar 31, 2012, 6:03 AM

Post #8 of 9 (486 views)
Permalink
Re: compile drbd 8.4.1 kernel 3.3 [In reply to]

Le 27/03/2012 17:21, Jose Ildefonso Camargo Tolosa a écrit :
> crashes, you should avoid doing that. Now, last, but not least: if you
> want to still use 3.3 kernel, you are likely have to wait, or try git
> HEAD for drbd, instead of 8.4.1 (even then, I'm not sure if it will
> work on 3.3 kernel)... however, that's, also, not yet stable, and
> thus: increased bug probability.
i have already all my server in production with kernel 3.2.X and drbd 8.4.1
and everything is fine
but no kernel 3.3 with drbd even with the last dev of drbd
but no problem i will be patient.

--
Christophe Bouder,

_______________________________________________
drbd-user mailing list
drbd-user [at] lists
http://lists.linbit.com/mailman/listinfo/drbd-user


ildefonso.camargo at gmail

Mar 31, 2012, 5:23 PM

Post #9 of 9 (491 views)
Permalink
Re: compile drbd 8.4.1 kernel 3.3 [In reply to]

On Sat, Mar 31, 2012 at 8:33 AM, Christophe Bouder
<Christophe.bouder [at] lip6> wrote:
> Le 27/03/2012 17:21, Jose Ildefonso Camargo Tolosa a écrit :
>
>> crashes, you should avoid doing that. Now, last, but not least: if you
>> want to still use 3.3 kernel, you are likely have to wait, or try git HEAD
>> for drbd, instead of 8.4.1 (even then, I'm not sure if it will work on 3.3
>> kernel)... however, that's, also, not yet stable, and thus: increased bug
>> probability.
>
> i have already all my server in production with kernel 3.2.X and drbd 8.4.1
> and everything is fine
> but no kernel 3.3 with drbd even with the last dev of drbd
> but no problem i will be patient.

No need to hurry into next kernel version, keep up with the 3.2
releases (that you are already using) until you really need to update
(for example, if you need newest features or hardware support), if you
see at kernel.org you will note there are 8 stable versions, all of
them are maintained, so, you can safely stay with any of the stable
releases for quite some time.

Also, some Linux distributions (Debian, Ubuntu, RedHat / CentOS /
Scientific Linux among others) maintain kernel versions for longer
than kernel.org (including security and stability), so, really, don't
take the extra administration overhead if you don't need to, your time
is valuable, and you can invest it on more interesting things than
compiling kernels.

Sincerely,

Ildefonso Camargo
_______________________________________________
drbd-user mailing list
drbd-user [at] lists
http://lists.linbit.com/mailman/listinfo/drbd-user

DRBD users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.