Mailing List Archive

drbd don't work
Hello,

I use drbd at linux vers 2.4.14 with network block devices
enabled in the kernel. If I type

insmod drdb

I get the message

/lib/modules/2.4.14/block/drbd.o: unresolved symbol del_timer_sync
/lib/modules/2.4.14/block/drbd.o: unresolved symbol __write_lock_failed
/lib/modules/2.4.14/block/drbd.o: unresolved symbol kernel_flag
/lib/modules/2.4.14/block/drbd.o: unresolved symbol __read_lock_failed


It's depends not of setting -DMODVERSIONS -DCONFIG_MODVERSIONS.
I guess it is vers. 6.0.1 of drbs.

What is wrong?

Ralph

Verein zur Foerderung eines Offenen Deutschen Schul-Netzes e.V.
Ralph Ballier, Vorstand ODS-Verein e.V., 12357 Berlin
E-Mail: ballier@example.com, Tel.: 030 - 66 09 81 16, Fax: 030 - 66 09 81 25
http://www.schule.de
Re: drbd don't work [ In reply to ]
Hi

> I use drbd at linux vers 2.4.14 with network block devices
> enabled in the kernel. If I type

I guess you must select the module option, because de the drdb will load as a
module.
If you use the kernel code, then you are not able to load the drdb module.
Best regards
Raul

>
>
> insmod drdb
>
> I get the message
>
> /lib/modules/2.4.14/block/drbd.o: unresolved symbol del_timer_sync
> /lib/modules/2.4.14/block/drbd.o: unresolved symbol __write_lock_failed
> /lib/modules/2.4.14/block/drbd.o: unresolved symbol kernel_flag
> /lib/modules/2.4.14/block/drbd.o: unresolved symbol __read_lock_failed
>
> It's depends not of setting -DMODVERSIONS -DCONFIG_MODVERSIONS.
> I guess it is vers. 6.0.1 of drbs.
>
> What is wrong?
>
> Ralph
>
> Verein zur Foerderung eines Offenen Deutschen Schul-Netzes e.V.
> Ralph Ballier, Vorstand ODS-Verein e.V., 12357 Berlin
> E-Mail: ballier@example.com, Tel.: 030 - 66 09 81 16, Fax: 030 - 66 09 81 25
> http://www.schule.de
>
> _______________________________________________
> DRBD-devel mailing list
> DRBD-devel@example.com
> https://lists.sourceforge.net/lists/listinfo/drbd-devel

--
------------------------------------------------------------------
Raul Filipe Oliveira Tel at office: 351 22 5081602/1502
FEUP/DEEC Fax at office: 351 22 5081443
Rua de Roberto Frias Email:rto@example.com
4200 465 Porto
Portugal
------------------------------------------------------------------
Why I love LINUX? Because a PC is a terrible thing to waste
Re: drbd don't work [ In reply to ]
Hi,

On Wed, 14 Nov 2001, Raul Oliveira wrote:

> Hi
>
> > I use drbd at linux vers 2.4.14 with network block devices
> > enabled in the kernel. If I type
>
> I guess you must select the module option, because de the drdb will load as a
> module.
> If you use the kernel code, then you are not able to load the drdb module.


thanks for your answer. I had found the reason for that. There are (I don't
know why, probably from a earlier compilation) two modules drbd.o:

/lib/modules/2.4.14/kernel/drivers/block/drbd.o

and

/lib/modules/2.4.14/block/drbd.o

If I type insmod drbd.o it means the first line, but correct is the second line.

Ralph

Verein zur Foerderung eines Offenen Deutschen Schul-Netzes e.V.
Ralph Ballier, Vorstand ODS-Verein e.V., 12357 Berlin
E-Mail: ballier@example.com, Tel.: 030 - 66 09 81 16, Fax: 030 - 66 09 81 25
http://www.schule.de