[DRBD-user] Section mismatch drbd 0.7.21 2.6.17.11 kernel

Florin Cazacu goaga1 at yahoo.com
Wed Sep 6 16:56:27 CEST 2006

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


After looking on google, I found this:

 From: Randy Dunlap <XXX>
 
 Add ".smp_locks" section to whitelist as being safe
from
 init and exit sections.

I guess he talks about the same type of warnings I get
compilining drbd, and that drbd is safe to use.
Please, any kind of comment is more then welcome. 

Thank you.
Florin Cazacu


--- Florin Cazacu <florinc at reecemarketing.com> wrote:

> I'm sorry about the mistake. I am getting this
> warnnings when I compile 
> against 2.6.17.11 kernel. I also get them on
> 2.6.18-rc5. I don't get 
> them on 2.6.16. I ran 24 hours 30  Bonnie with 2G
> files at the same time 
> on the  drbd 0.7.21 with 2.6.17.11. No problem so
> far. But I really 
> don't want to move it on production if I'm not sure
> those warnnings 
> won't make me problems sooner or later. Thank you
> for any reply on this 
> matter.
> 
> Florin Cazacu wrote:
> > Hello,
> >
> > Compilinig drbd 0.7.21 against 2.6.7.11 kernel
> generates these 
> > warnnigs. Can anyone please tell me why are these
> warning generated? 
> > Thank you.
> >
> >
> > WARNING: /usr/local/src/drbd-0.7.21/drbd/drbd.o -
> Section mismatch: 
> > reference to .exit.text: from .smp_locks after ''
> (at offset 0x3b8)
> > WARNING: /usr/local/src/drbd-0.7.21/drbd/drbd.o -
> Section mismatch: 
> > reference to .exit.text: from .smp_locks after ''
> (at offset 0x3bc)
> > WARNING: /usr/local/src/drbd-0.7.21/drbd/drbd.o -
> Section mismatch: 
> > reference to .exit.text: from .smp_locks after ''
> (at offset 0x3c0)
> >
> > The full output of make is here:
> >
> >
> > make -C drbd drbd_buildtag.c
> > make[1]: Entering directory
> `/usr/local/src/drbd-0.7.21/drbd'
> > make[1]: Leaving directory
> `/usr/local/src/drbd-0.7.21/drbd'
> > make[1]: Entering directory
> `/usr/local/src/drbd-0.7.21/user'
> > gcc -c -Wall -I../drbd   -c -o
> ../drbd/drbd_buildtag.o 
> > ../drbd/drbd_buildtag.c
> > gcc -o drbdsetup drbdsetup.o
> ../drbd/drbd_buildtag.o
> > gcc -o drbdadm drbdadm_scanner.o drbdadm_parser.o
> drbdadm_main.o 
> > drbdadm_adjust.o ../drbd/drbd_buildtag.o
> > make[1]: Leaving directory
> `/usr/local/src/drbd-0.7.21/user'
> > make[1]: Entering directory
> `/usr/local/src/drbd-0.7.21/scripts'
> > make[1]: Nothing to be done for `all'.
> > make[1]: Leaving directory
> `/usr/local/src/drbd-0.7.21/scripts'
> > make[1]: Entering directory
> `/usr/local/src/drbd-0.7.21/documentation'
> > To (re)make the documentation: make doc
> > make[1]: Leaving directory
> `/usr/local/src/drbd-0.7.21/documentation'
> > make[1]: Entering directory
> `/usr/local/src/drbd-0.7.21/drbd'
> >
> >    Calling toplevel makefile of kernel source
> tree, which I believe is in
> >    KDIR=/lib/modules/2.6.17.11/build
> >
> > test -f ../scripts/adjust_drbd_config_h.sh && \
> > KDIR=/lib/modules/2.6.17.11/build /bin/sh 
> > ../scripts/adjust_drbd_config_h.sh
> >
> >  Using unmodified drbd_config.h
> >
> > make -C /lib/modules/2.6.17.11/build 
> > SUBDIRS=/usr/local/src/drbd-0.7.21/drbd  modules
> > make[2]: Entering directory
> `/usr/src/linux-2.6.17.11'
> >  LD [M]  /usr/local/src/drbd-0.7.21/drbd/drbd.o
> >  Building modules, stage 2.
> >  MODPOST
> > WARNING: /usr/local/src/drbd-0.7.21/drbd/drbd.o -
> Section mismatch: 
> > reference to .exit.text: from .smp_locks after ''
> (at offset 0x3b8)
> > WARNING: /usr/local/src/drbd-0.7.21/drbd/drbd.o -
> Section mismatch: 
> > reference to .exit.text: from .smp_locks after ''
> (at offset 0x3bc)
> > WARNING: /usr/local/src/drbd-0.7.21/drbd/drbd.o -
> Section mismatch: 
> > reference to .exit.text: from .smp_locks after ''
> (at offset 0x3c0)
> >  LD [M]  /usr/local/src/drbd-0.7.21/drbd/drbd.ko
> > make[2]: Leaving directory
> `/usr/src/linux-2.6.17.11'
> > mv .drbd_kernelrelease.new .drbd_kernelrelease
> > Memorizing module configuration ... done.
> > make[1]: Leaving directory
> `/usr/local/src/drbd-0.7.21/drbd'
> > _______________________________________________
> > 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
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the drbd-user mailing list