[DRBD-user] DRBD doesn't work with Kernel 2.6.14 anymore

Thomas Schwanhäuser Thomas.Schwanhaeuser at aps-web.de
Sat Nov 12 07:41:02 CET 2005

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


Hi,

after upgrading to Kernel  2.6.14-1.1637_FC4smp on Fedora 4 (x86_64), the drbd modules can't be loaded anymore.


Message Log:

--------
Nov 11 21:37:15 *** kernel: drbd: Unknown symbol register_ioctl32_conversion
Nov 11 21:37:15 *** kernel: drbd: Unknown symbol unregister_ioctl32_conversion
Nov 11 21:37:15 *** modprobe: FATAL: Error inserting drbd (/lib/modules/2.6.14-1.1637_FC4smp/kernel/drivers/block/drbd.ko): Unknown symbol in module, or unknown parameter (see dmesg)
----------

I tried it both with drbd-0.7.11 and drbd-0.7.14, same problem.




This is the output of make clean all and 0.7.14:

make[1]: Entering directory `/root/drbd-0.7.14/user'
rm -f drbdadm_scanner.c
rm -f drbdadm_parser.c
rm -f drbdadm_parser.h
rm -f drbdsetup drbdadm *.o
rm -f *~
make[1]: Leaving directory `/root/drbd-0.7.14/user'
make[1]: Entering directory `/root/drbd-0.7.14/scripts'
rm -f *~
rm -f datadisk
make[1]: Leaving directory `/root/drbd-0.7.14/scripts'
make[1]: Entering directory `/root/drbd-0.7.14/documentation'
To clean the documentation: make doc-clean
make[1]: Leaving directory `/root/drbd-0.7.14/documentation'
make[1]: Entering directory `/root/drbd-0.7.14/drbd'
rm -rf .tmp_versions
rm -f *.[oas] *.ko .*.cmd .*.d .*.tmp *.mod.c .*.flags .depend .kernel*
make[1]: Leaving directory `/root/drbd-0.7.14/drbd'
rm -f *~
rm -rf dist
make -C drbd drbd_buildtag.c
make[1]: Entering directory `/root/drbd-0.7.14/drbd'
make[1]: Leaving directory `/root/drbd-0.7.14/drbd'
make[1]: Entering directory `/root/drbd-0.7.14/user'
gcc -c -Wall -I../drbd   -c -o drbdsetup.o drbdsetup.c
gcc -c -Wall -I../drbd   -c -o ../drbd/drbd_buildtag.o ../drbd/drbd_buildtag.c
gcc -o drbdsetup drbdsetup.o ../drbd/drbd_buildtag.o
bison -d -o drbdadm_parser.c drbdadm_parser.y
flex -s -odrbdadm_scanner.c drbdadm_scanner.fl
gcc -c -Wall -I../drbd   -c -o drbdadm_scanner.o drbdadm_scanner.c
gcc -c -Wall -I../drbd   -c -o drbdadm_parser.o drbdadm_parser.c
gcc -c -Wall -I../drbd   -c -o drbdadm_main.o drbdadm_main.c
gcc -c -Wall -I../drbd   -c -o drbdadm_adjust.o drbdadm_adjust.c
gcc -o drbdadm drbdadm_scanner.o drbdadm_parser.o drbdadm_main.o drbdadm_adjust.o ../drbd/drbd_buildtag.o
make[1]: Leaving directory `/root/drbd-0.7.14/user'
make[1]: Entering directory `/root/drbd-0.7.14/scripts'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/drbd-0.7.14/scripts'
make[1]: Entering directory `/root/drbd-0.7.14/documentation'
To (re)make the documentation: make doc
make[1]: Leaving directory `/root/drbd-0.7.14/documentation'
make[1]: Entering directory `/root/drbd-0.7.14/drbd'

    Calling toplevel makefile of kernel source tree, which I believe is in
    KDIR=/lib/modules/2.6.14-1.1637_FC4smp/build

test -f ../scripts/adjust_drbd_config_h.sh && \
 KDIR=/lib/modules/2.6.14-1.1637_FC4smp/build /bin/sh ../scripts/adjust_drbd_config_h.sh

  Using unmodified drbd_config.h

make -C /lib/modules/2.6.14-1.1637_FC4smp/build SUBDIRS=/root/drbd-0.7.14/drbd  modules
make[2]: Entering directory `/usr/src/kernels/2.6.14-1.1637_FC4-smp-x86_64'
  CC [M]  /root/drbd-0.7.14/drbd/drbd_sizeof_sanity_check.o
  CC [M]  /root/drbd-0.7.14/drbd/drbd_buildtag.o
  CC [M]  /root/drbd-0.7.14/drbd/drbd_bitmap.o
In file included from /root/drbd-0.7.14/drbd/drbd_bitmap.c:34:
/root/drbd-0.7.14/drbd/drbd_int.h:1108:5: warning: "USE_RW_WAIT_QUEUE_SPINLOCK" is not defined
  CC [M]  /root/drbd-0.7.14/drbd/drbd_fs.o
In file included from /root/drbd-0.7.14/drbd/drbd_fs.c:43:
/root/drbd-0.7.14/drbd/drbd_int.h:1108:5: warning: "USE_RW_WAIT_QUEUE_SPINLOCK" is not defined
  CC [M]  /root/drbd-0.7.14/drbd/drbd_proc.o
In file included from /root/drbd-0.7.14/drbd/drbd_proc.c:40:
/root/drbd-0.7.14/drbd/drbd_int.h:1108:5: warning: "USE_RW_WAIT_QUEUE_SPINLOCK" is not defined
  CC [M]  /root/drbd-0.7.14/drbd/drbd_worker.o
In file included from /root/drbd-0.7.14/drbd/drbd_worker.c:43:
/root/drbd-0.7.14/drbd/drbd_int.h:1108:5: warning: "USE_RW_WAIT_QUEUE_SPINLOCK" is not defined
  CC [M]  /root/drbd-0.7.14/drbd/drbd_receiver.o
In file included from /root/drbd-0.7.14/drbd/drbd_receiver.c:53:
/root/drbd-0.7.14/drbd/drbd_int.h:1108:5: warning: "USE_RW_WAIT_QUEUE_SPINLOCK" is not defined
  CC [M]  /root/drbd-0.7.14/drbd/drbd_req.o
In file included from /root/drbd-0.7.14/drbd/drbd_req.c:35:
/root/drbd-0.7.14/drbd/drbd_int.h:1108:5: warning: "USE_RW_WAIT_QUEUE_SPINLOCK" is not defined
  CC [M]  /root/drbd-0.7.14/drbd/drbd_actlog.o
In file included from /root/drbd-0.7.14/drbd/drbd_actlog.c:30:
/root/drbd-0.7.14/drbd/drbd_int.h:1108:5: warning: "USE_RW_WAIT_QUEUE_SPINLOCK" is not defined
  CC [M]  /root/drbd-0.7.14/drbd/lru_cache.o
  CC [M]  /root/drbd-0.7.14/drbd/drbd_main.o
In file included from /root/drbd-0.7.14/drbd/drbd_main.c:61:
/root/drbd-0.7.14/drbd/drbd_int.h:1108:5: warning: "USE_RW_WAIT_QUEUE_SPINLOCK" is not defined
/root/drbd-0.7.14/drbd/drbd_main.c: In function âdrbd_cleanupâ:
/root/drbd-0.7.14/drbd/drbd_main.c:1649: warning: implicit declaration of function âunregister_ioctl32_conversionâ
/root/drbd-0.7.14/drbd/drbd_main.c: In function âdrbd_initâ:
/root/drbd-0.7.14/drbd/drbd_main.c:1885: warning: implicit declaration of function âregister_ioctl32_conversionâ
  LD [M]  /root/drbd-0.7.14/drbd/drbd.o
  Building modules, stage 2.
  MODPOST
*** Warning: "unregister_ioctl32_conversion" [/root/drbd-0.7.14/drbd/drbd.ko] undefined!
*** Warning: "register_ioctl32_conversion" [/root/drbd-0.7.14/drbd/drbd.ko] undefined!
  CC      /root/drbd-0.7.14/drbd/drbd.mod.o
  LD [M]  /root/drbd-0.7.14/drbd/drbd.ko
make[2]: Leaving directory `/usr/src/kernels/2.6.14-1.1637_FC4-smp-x86_64'
Memorizing module configuration ... done.
make[1]: Leaving directory `/root/drbd-0.7.14/drbd'

        Build successful.




- Thomas




More information about the drbd-user mailing list