[DRBD-user] Re: Compile 8.2.6 against kernel 2.6.26.6

Adrian Chapela achapela.rexistros at gmail.com
Fri Oct 24 16:25:04 CEST 2008

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


Francis SOUYRI escribió:
> Hello,
>
> I used this patch.
>
> ##### BEGIN
>
> --- drbd_main.c 2008-05-27 10:50:56.000000000 +0200
> +++ ../../drbd-8.2.6.new/drbd/drbd_main.c       2008-09-17 
> 22:16:16.000000000 +0200
> @@ -2564,7 +2564,7 @@
>
>         if (minor_table) {
>                 if (drbd_proc)
> -                       remove_proc_entry("drbd", &proc_root);
> +                       remove_proc_entry("drbd", NULL);
>                 i = minor_count;
>                 while (i--) {
>                         struct drbd_conf        *mdev  = minor_to_mdev(i);
> @@ -2786,7 +2786,7 @@
>         /*
>          * register with procfs
>          */
> -       drbd_proc = create_proc_entry("drbd",  S_IFREG | S_IRUGO , 
> &proc_root);
> +       drbd_proc = create_proc_entry("drbd",  S_IFREG | S_IRUGO , NULL);
>
>         if (!drbd_proc) {
>                 printk(KERN_ERR "drbd: unable to register proc file\n");
>
> ##### END
>
> Best regards.
>
> Francis
Is the same patch I have used it. The other option of get the last git 
is valid too.

Now, I have compilled the 8.2.7-rc1 version.
>
> Norbert Tretkowski wrote:
>> Am Fri, 24 Oct 2008 09:45:47 +0200 schrieb Adrian Chapela:
>>   
>>> I have installed this kernel on my test machine and I am trying to
>>> compile drbd 8.2.6 against this kernel and it fails with next output:
>>>     
>>
>> 8.2.6 doesn't work with Linux 2.6.26, try the latest git release, it
>> should work.
>>
>>         Norbert
>>
>> _______________________________________________
>> drbd-user mailing list
>> drbd-user at lists.linbit.com
>> http://lists.linbit.com/mailman/listinfo/drbd-user
>>
>>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user
>   




More information about the drbd-user mailing list