[ENBD] enbd module 2.6.13-15 kernel fails to modprobe or insmod

Norbert Pieroth pieroth.n at zdf.de
Tue Aug 8 09:41:09 MDT 2006


Peter T. Breuer wrote:
> "Also sprach Norbert Pieroth:"
> 
>>I'm a newbie on enbd. I want to use enbd to export a 4 TB Device via network.
>>I tried to build 2.4.32 on a suse 10.0 and 9.3 on different machines.
> 
> 
> Actually, your kernel is 2.6.13-15 which is way BELOW mine (which is at
> 2.6.15.4), so 2.4.32 should compile and run just fine.  It does here!
> 
> If there is a problem¸ it may be that your kernel is actually
> relatively old and I got the version at which kernel APIs changed wrong
> in one of the ifdefs in the code.  So, yes, show the compile log - any
> funnies will show up there.
> 
> Here's a typical compile line for me ...
> 
>   % gcc
>   -I/home/oboe/ptb/lang/c/nbd/enbd-2.4.32/kernel/linux-2.6.x/include
>   -Wp,-MD,/tmp/linux-2.6.x/drivers/block/enbd/.enbd_base.o.d -nostdinc
>   -iwithprefix include -D__KERNEL__ -Iinclude  -D__KERNEL__ -Iinclude
>   -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing
>   -fno-common -pipe -msoft-float   -march=i686
>   -Iinclude/asm-i386/mach-default -O2 -fomit-frame-pointer    -DMODULE
>   -I"/home/oboe/ptb/lang/c/nbd/enbd-2.4.32/kernel/linux-2.6.x/include"
>   -DKBUILD_BASENAME=enbd_base -DKBUILD_MODNAME=enbd -c -o
>   /tmp/linux-2.6.x/drivers/block/enbd/enbd_base.o
>   /tmp/linux-2.6.x/drivers/block/enbd/enbd_base.c
>   /tmp/linux-2.6.x/drivers/block/enbd/enbd_base.c:4467: warning:
>   `enbd_read_block_0' defined but not used
>   %
> 
> (kernel source 2.6.15.4).
> 
> And here's a seamless insmod:
> 
>   % sudo insmod /tmp/enbd.ko 
>   % 
> 
> (hic)
> 
> Make sure your compile log is as clean as the one above (only one
> warning, for an unused fn).
> 
> Peter
> _______________________________________________
> ENBD mailing list
> ENBD at lists.community.tummy.com
> http://lists.community.tummy.com/mailman/listinfo/enbd
> 
Hi Peter,
made the installation once more and there are a few warnings indeed.
The result by loading the module ist still the same. The -O2 CFLAG
is used by the kernel modules.
Here ist the compile log:

Script started on Tue Aug  8 14:08:27 2006
export CONFIG_SITE=/usr/local/build/enbd-2.4.32/conf/config.Linux; \
cd /tmp;  ./configure --srcdir=/usr/local/build/enbd-2.4.32/nbd  \
                                   --with-kernel-srcdir=/lib/modules/2.6.13-15-default/build; \
make VPATH=/usr/local/build/enbd-2.4.32/nbd \
                 CFLAGS="-D_LARGEFILE64_SOURCE=1 -D_LARGEFILE_SOURCE=1 -D_GNU_SOURCE=1 -D_XOPEN_SOURCE=1 -D_FILE_OFFSET_BITS=64 -Wall -Winline -O -g \
                       -I/tmp \
                       -I/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include \
                        -DDEBUG=1" \
                 EXTRA_LIBS="  " \
                 config
loading cache ./config.cache
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -D_LARGEFILE64_SOURCE=1 -D_LARGEFILE_SOURCE=1 -D_GNU_SOURCE=1 -D_XOPEN_SOURCE=1 -D_FILE_OFFSET_BITS=64 -Wall -Winline -O -g 
-I/lib/modules/2.6.13-15-default/build/include ) works... yes
checking whether the C compiler (gcc -D_LARGEFILE64_SOURCE=1 -D_LARGEFILE_SOURCE=1 -D_GNU_SOURCE=1 -D_XOPEN_SOURCE=1 -D_FILE_OFFSET_BITS=64 -Wall -Winline -O -g 
-I/lib/modules/2.6.13-15-default/build/include ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking whether warnings should be enabled... yes
checking for install... (cached) /usr/bin/install
checking whether byte ordering is bigendian... (cached) no
checking for inline... (cached) inline
checking for working const... (cached) yes
checking size of unsigned char... (cached) 1
checking size of unsigned short int... (cached) 2
checking size of unsigned int... (cached) 4
checking size of unsigned long int... (cached) 4
checking size of unsigned long long int... (cached) 8
checking size of char... (cached) 1
checking size of short int... (cached) 2
checking size of int... (cached) 4
checking size of long int... (cached) 4
checking size of long long int... (cached) 8
checking for llseek... (cached) yes
checking for lseek64... (cached) yes
checking for if_nameindex... (cached) yes
checking for bdflush... (cached) yes
checking for mlockall... (cached) yes
checking for daemon... (cached) yes
checking for strsep... (cached) yes
checking for strtok_r... (cached) yes
checking for timeradd... no
checking for atomic_t... yes
checking for atomic_set... yes
checking for atomic_dec_and_test... yes
checking for atomic_inc... yes
checking for strgsub in -lpub... (cached) no
checking for hosts_access in -lwrap... (cached) no
checking how to run the C preprocessor... (cached) gcc -E
checking for ANSI C header files... (cached) yes
checking for size_t... (cached) yes
checking for socklen_t... yes
checking whether client should be built... yes
checking where your init scripts are kept... /etc/init.d
checking where pidfiles and state files go... below /var
checking where helper scripts go... ${exec_prefix}/sbin
checking where configuration files go... /etc
checking where man pages go... ${prefix}/man
checking where misc documents go... ${prefix}/share/doc
checking where daemons go... ${exec_prefix}/sbin
creating ./config.status
creating Makefile
creating config.h
config.h is unchanged
make[1]: Entering directory `/tmp'
make[1]: Nothing to be done for `config'.
make[1]: Leaving directory `/tmp'
make -C /tmp VPATH=/usr/local/build/enbd-2.4.32/nbd \
                             CFLAGS="-D_LARGEFILE64_SOURCE=1 -D_LARGEFILE_SOURCE=1 -D_GNU_SOURCE=1 -D_XOPEN_SOURCE=1 -D_FILE_OFFSET_BITS=64 -Wall -Winline -O -g \
                                   -I/tmp \
                                   -I/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include \
                                   -I/lib/modules/2.6.13-15-default/build/include \
                                      \
                                   -DDEBUG=1" \
                             EXTRA_LIBS=" \
                                          "
make[1]: Entering directory `/tmp'
gcc -D_LARGEFILE64_SOURCE=1 -D_LARGEFILE_SOURCE=1 -D_GNU_SOURCE=1 -D_XOPEN_SOURCE=1 -D_FILE_OFFSET_BITS=64 -Wall -Winline -O -g  -I/tmp  -I/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include 
-I/lib/modules/2.6.13-15-default/build/include   -DDEBUG=1 -o enbd-server.o -c /usr/local/build/enbd-2.4.32/nbd/enbd-server.c
gcc -D_LARGEFILE64_SOURCE=1 -D_LARGEFILE_SOURCE=1 -D_GNU_SOURCE=1 -D_XOPEN_SOURCE=1 -D_FILE_OFFSET_BITS=64 -Wall -Winline -O -g  -I/tmp  -I/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include 
-I/lib/modules/2.6.13-15-default/build/include   -DDEBUG=1 -o socket.o -c /usr/local/build/enbd-2.4.32/nbd/socket.c
gcc -D_LARGEFILE64_SOURCE=1 -D_LARGEFILE_SOURCE=1 -D_GNU_SOURCE=1 -D_XOPEN_SOURCE=1 -D_FILE_OFFSET_BITS=64 -Wall -Winline -O -g  -I/tmp  -I/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include 
-I/lib/modules/2.6.13-15-default/build/include   -DDEBUG=1 -o logging.o -c /usr/local/build/enbd-2.4.32/nbd/logging.c
gcc -D_LARGEFILE64_SOURCE=1 -D_LARGEFILE_SOURCE=1 -D_GNU_SOURCE=1 -D_XOPEN_SOURCE=1 -D_FILE_OFFSET_BITS=64 -Wall -Winline -O -g  -I/tmp  -I/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include 
-I/lib/modules/2.6.13-15-default/build/include   -DDEBUG=1 -o alarm.o -c /usr/local/build/enbd-2.4.32/nbd/alarm.c
gcc -D_LARGEFILE64_SOURCE=1 -D_LARGEFILE_SOURCE=1 -D_GNU_SOURCE=1 -D_XOPEN_SOURCE=1 -D_FILE_OFFSET_BITS=64 -Wall -Winline -O -g  -I/tmp  -I/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include 
-I/lib/modules/2.6.13-15-default/build/include   -DDEBUG=1 -o file.o -c /usr/local/build/enbd-2.4.32/nbd/file.c
gcc -D_LARGEFILE64_SOURCE=1 -D_LARGEFILE_SOURCE=1 -D_GNU_SOURCE=1 -D_XOPEN_SOURCE=1 -D_FILE_OFFSET_BITS=64 -Wall -Winline -O -g  -I/tmp  -I/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include 
-I/lib/modules/2.6.13-15-default/build/include   -DDEBUG=1 -o select.o -c /usr/local/build/enbd-2.4.32/nbd/select.c
gcc -D_LARGEFILE64_SOURCE=1 -D_LARGEFILE_SOURCE=1 -D_GNU_SOURCE=1 -D_XOPEN_SOURCE=1 -D_FILE_OFFSET_BITS=64 -Wall -Winline -O -g  -I/tmp  -I/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include 
-I/lib/modules/2.6.13-15-default/build/include   -DDEBUG=1   -c -o fileserver.o /usr/local/build/enbd-2.4.32/nbd/fileserver.c
gcc -D_LARGEFILE64_SOURCE=1 -D_LARGEFILE_SOURCE=1 -D_GNU_SOURCE=1 -D_XOPEN_SOURCE=1 -D_FILE_OFFSET_BITS=64 -Wall -Winline -O -g  -I/tmp  -I/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include 
-I/lib/modules/2.6.13-15-default/build/include   -DDEBUG=1 -o db.o -c /usr/local/build/enbd-2.4.32/nbd/db.c
gcc -D_LARGEFILE64_SOURCE=1 -D_LARGEFILE_SOURCE=1 -D_GNU_SOURCE=1 -D_XOPEN_SOURCE=1 -D_FILE_OFFSET_BITS=64 -Wall -Winline -O -g  -I/tmp  -I/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include 
-I/lib/modules/2.6.13-15-default/build/include   -DDEBUG=1 -o stream.o -c /usr/local/build/enbd-2.4.32/nbd/stream.c
gcc -D_LARGEFILE64_SOURCE=1 -D_LARGEFILE_SOURCE=1 -D_GNU_SOURCE=1 -D_XOPEN_SOURCE=1 -D_FILE_OFFSET_BITS=64 -Wall -Winline -O -g  -I/tmp  -I/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include 
-I/lib/modules/2.6.13-15-default/build/include   -DDEBUG=1 -o ioctl.o -c /usr/local/build/enbd-2.4.32/nbd/ioctl.c
gcc -D_LARGEFILE64_SOURCE=1 -D_LARGEFILE_SOURCE=1 -D_GNU_SOURCE=1 -D_XOPEN_SOURCE=1 -D_FILE_OFFSET_BITS=64 -Wall -Winline -O -g  -I/tmp  -I/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include 
-I/lib/modules/2.6.13-15-default/build/include   -DDEBUG=1 -o ipaddrfile.o -c /usr/local/build/enbd-2.4.32/nbd/ipaddrfile.c
gcc -D_LARGEFILE64_SOURCE=1 -D_LARGEFILE_SOURCE=1 -D_GNU_SOURCE=1 -D_XOPEN_SOURCE=1 -D_FILE_OFFSET_BITS=64 -Wall -Winline -O -g  -I/tmp  -I/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include 
-I/lib/modules/2.6.13-15-default/build/include   -DDEBUG=1 -o pidfile.o -c /usr/local/build/enbd-2.4.32/nbd/pidfile.c
gcc -D_LARGEFILE64_SOURCE=1 -D_LARGEFILE_SOURCE=1 -D_GNU_SOURCE=1 -D_XOPEN_SOURCE=1 -D_FILE_OFFSET_BITS=64 -Wall -Winline -O -g  -I/tmp  -I/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include 
-I/lib/modules/2.6.13-15-default/build/include   -DDEBUG=1 -o interface.o -c /usr/local/build/enbd-2.4.32/nbd/interface.c
gcc -D_LARGEFILE64_SOURCE=1 -D_LARGEFILE_SOURCE=1 -D_GNU_SOURCE=1 -D_XOPEN_SOURCE=1 -D_FILE_OFFSET_BITS=64 -Wall -Winline -O -g  -I/tmp  -I/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include 
-I/lib/modules/2.6.13-15-default/build/include   -DDEBUG=1 -o lockfile.o -c /usr/local/build/enbd-2.4.32/nbd/lockfile.c
gcc -D_LARGEFILE64_SOURCE=1 -D_LARGEFILE_SOURCE=1 -D_GNU_SOURCE=1 -D_XOPEN_SOURCE=1 -D_FILE_OFFSET_BITS=64 -Wall -Winline -O -g  -I/tmp  -I/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include 
-I/lib/modules/2.6.13-15-default/build/include   -DDEBUG=1 -o md5.o -c /usr/local/build/enbd-2.4.32/nbd/md5.c
gcc -D_LARGEFILE64_SOURCE=1 -D_LARGEFILE_SOURCE=1 -D_GNU_SOURCE=1 -D_XOPEN_SOURCE=1 -D_FILE_OFFSET_BITS=64 -Wall -Winline -O -g  -I/tmp  -I/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include 
-I/lib/modules/2.6.13-15-default/build/include   -DDEBUG=1 -o lock.o -c /usr/local/build/enbd-2.4.32/nbd/lock.c
gcc -D_LARGEFILE64_SOURCE=1 -D_LARGEFILE_SOURCE=1 -D_GNU_SOURCE=1 -D_XOPEN_SOURCE=1 -D_FILE_OFFSET_BITS=64 -Wall -Winline -O -g  -I/tmp  -I/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include 
-I/lib/modules/2.6.13-15-default/build/include   -DDEBUG=1 -o shmem.o -c /usr/local/build/enbd-2.4.32/nbd/shmem.c
gcc -D_LARGEFILE64_SOURCE=1 -D_LARGEFILE_SOURCE=1 -D_GNU_SOURCE=1 -D_XOPEN_SOURCE=1 -D_FILE_OFFSET_BITS=64 -Wall -Winline -O -g  -I/tmp  -I/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include 
-I/lib/modules/2.6.13-15-default/build/include   -DDEBUG=1 -o hash.o -c /usr/local/build/enbd-2.4.32/nbd/hash.c
gcc -D_LARGEFILE64_SOURCE=1 -D_LARGEFILE_SOURCE=1 -D_GNU_SOURCE=1 -D_XOPEN_SOURCE=1 -D_FILE_OFFSET_BITS=64 -Wall -Winline -O -g  -I/tmp  -I/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include 
-I/lib/modules/2.6.13-15-default/build/include   -DDEBUG=1 -o time.o -c /usr/local/build/enbd-2.4.32/nbd/time.c
gcc -D_LARGEFILE64_SOURCE=1 -D_LARGEFILE_SOURCE=1 -D_GNU_SOURCE=1 -D_XOPEN_SOURCE=1 -D_FILE_OFFSET_BITS=64 -Wall -Winline -O -g  -I/tmp  -I/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include 
-I/lib/modules/2.6.13-15-default/build/include   -DDEBUG=1 -o sem.o -c /usr/local/build/enbd-2.4.32/nbd/sem.c
gcc -D_LARGEFILE64_SOURCE=1 -D_LARGEFILE_SOURCE=1 -D_GNU_SOURCE=1 -D_XOPEN_SOURCE=1 -D_FILE_OFFSET_BITS=64 -Wall -Winline -O -g  -I/tmp  -I/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include 
-I/lib/modules/2.6.13-15-default/build/include   -DDEBUG=1 -o gm.o -c /usr/local/build/enbd-2.4.32/nbd/gm.c
gcc  -o enbd-server enbd-server.o socket.o logging.o alarm.o file.o select.o fileserver.o db.o stream.o ioctl.o ipaddrfile.o pidfile.o interface.o lockfile.o md5.o lock.o shmem.o hash.o time.o sem.o gm.o
gcc -D_LARGEFILE64_SOURCE=1 -D_LARGEFILE_SOURCE=1 -D_GNU_SOURCE=1 -D_XOPEN_SOURCE=1 -D_FILE_OFFSET_BITS=64 -Wall -Winline -O -g  -I/tmp  -I/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include 
-I/lib/modules/2.6.13-15-default/build/include   -DDEBUG=1 -o enbd-sstatd.o -c /usr/local/build/enbd-2.4.32/nbd/enbd-sstatd.c
gcc -D_LARGEFILE64_SOURCE=1 -D_LARGEFILE_SOURCE=1 -D_GNU_SOURCE=1 -D_XOPEN_SOURCE=1 -D_FILE_OFFSET_BITS=64 -Wall -Winline -O -g  -I/tmp  -I/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include 
-I/lib/modules/2.6.13-15-default/build/include   -DDEBUG=1 -o config.o -c /usr/local/build/enbd-2.4.32/nbd/config.c
gcc  -o enbd-sstatd enbd-sstatd.o config.o ipaddrfile.o lockfile.o select.o
gcc -D_LARGEFILE64_SOURCE=1 -D_LARGEFILE_SOURCE=1 -D_GNU_SOURCE=1 -D_XOPEN_SOURCE=1 -D_FILE_OFFSET_BITS=64 -Wall -Winline -O -g  -I/tmp  -I/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include 
-I/lib/modules/2.6.13-15-default/build/include   -DDEBUG=1 -o enbd-client.o -c /usr/local/build/enbd-2.4.32/nbd/enbd-client.c
/usr/local/build/enbd-2.4.32/nbd/enbd-client.c: In function ‘server_write’:
/usr/local/build/enbd-2.4.32/nbd/enbd-client.c:946: warning: format ‘%d’ expects type ‘int’, but argument 6 has type ‘long unsigned int’
/usr/local/build/enbd-2.4.32/nbd/enbd-client.c:946: warning: format ‘%ld’ expects type ‘long int’, but argument 8 has type ‘int’
/usr/local/build/enbd-2.4.32/nbd/enbd-client.c:946: warning: format ‘%d’ expects type ‘int’, but argument 6 has type ‘long unsigned int’
/usr/local/build/enbd-2.4.32/nbd/enbd-client.c:946: warning: format ‘%ld’ expects type ‘long int’, but argument 8 has type ‘int’
gcc -D_LARGEFILE64_SOURCE=1 -D_LARGEFILE_SOURCE=1 -D_GNU_SOURCE=1 -D_XOPEN_SOURCE=1 -D_FILE_OFFSET_BITS=64 -Wall -Winline -O -g  -I/tmp  -I/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include 
-I/lib/modules/2.6.13-15-default/build/include   -DDEBUG=1 -o netserver.o -c /usr/local/build/enbd-2.4.32/nbd/netserver.c
/usr/local/build/enbd-2.4.32/nbd/netserver.c:59: warning: type qualifiers ignored on function return type
/usr/local/build/enbd-2.4.32/nbd/netserver.c:61: warning: type qualifiers ignored on function return type
/usr/local/build/enbd-2.4.32/nbd/netserver.c:233: warning: type qualifiers ignored on function return type
/usr/local/build/enbd-2.4.32/nbd/netserver.c:235: warning: type qualifiers ignored on function return type
gcc  -o enbd-client enbd-client.o socket.o logging.o alarm.o stream.o select.o ioctl.o netserver.o pidfile.o md5.o file.o fileserver.o time.o lock.o
gcc -D_LARGEFILE64_SOURCE=1 -D_LARGEFILE_SOURCE=1 -D_GNU_SOURCE=1 -D_XOPEN_SOURCE=1 -D_FILE_OFFSET_BITS=64 -Wall -Winline -O -g  -I/tmp  -I/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include 
-I/lib/modules/2.6.13-15-default/build/include   -DDEBUG=1 -o enbd-cstatd.o -c /usr/local/build/enbd-2.4.32/nbd/enbd-cstatd.c
gcc  -o enbd-cstatd enbd-cstatd.o config.o interface.o pidfile.o select.o
gcc -D_LARGEFILE64_SOURCE=1 -D_LARGEFILE_SOURCE=1 -D_GNU_SOURCE=1 -D_XOPEN_SOURCE=1 -D_FILE_OFFSET_BITS=64 -Wall -Winline -O -g  -I/tmp  -I/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include 
-I/lib/modules/2.6.13-15-default/build/include   -DDEBUG=1 -o enbd-test.o -c /usr/local/build/enbd-2.4.32/nbd/enbd-test.c
gcc  -o enbd-test enbd-test.o
enbd-test.o: In function `main':
/usr/local/build/enbd-2.4.32/nbd/enbd-test.c:808: warning: the use of `tempnam' is dangerous, better use `mkstemp'
cp /usr/local/build/enbd-2.4.32/nbd/enbd-maketest /tmp/
make[1]: Leaving directory `/tmp'
/bin/sh: line 0: [: -ge: unary operator expected
make[1]: Entering directory `/usr/src/linux-2.6.13-15'
*** Warning: Overriding SUBDIRS on the command line can cause
***          inconsistencies
mkdir -p /tmp/linux-2.6.x/.tmp_versions
make -f /usr/src/linux-2.6.13-15/scripts/Makefile.build obj=arch/i386/kernel arch/i386/kernel/asm-offsets.s
make[2]: `arch/i386/kernel/asm-offsets.s' is up to date.
   CHK     include/asm-i386/asm_offsets.h
make -f /usr/src/linux-2.6.13-15/scripts/Makefile.build obj=/tmp/linux-2.6.x/drivers/block/enbd
   gcc -I/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include -Wp,-MD,/tmp/linux-2.6.x/drivers/block/enbd/.enbd_base.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude  -D__KERNEL__ 
-Iinclude  -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -msoft-float   -march=i586  -Iinclude/asm-i386/mach-default -O2 -fomit-frame-pointer 
-Wdeclaration-after-statement   -DMODULE -I"/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include" -DKBUILD_BASENAME=enbd_base -DKBUILD_MODNAME=enbd -c -o 
/tmp/linux-2.6.x/drivers/block/enbd/.tmp_enbd_base.o /tmp/linux-2.6.x/drivers/block/enbd/enbd_base.c
/tmp/linux-2.6.x/drivers/block/enbd/enbd_base.c:2829: warning: conflicting types for built-in function ‘log2’
/tmp/linux-2.6.x/drivers/block/enbd/enbd_base.c: In function ‘enbd_ioctl’:
/tmp/linux-2.6.x/drivers/block/enbd/enbd_base.c:4359: warning: pointer targets in passing argument 1 of ‘remote_ioctl->convert_inplace’ differ in signedness
/tmp/linux-2.6.x/drivers/block/enbd/enbd_base.c: At top level:
/tmp/linux-2.6.x/drivers/block/enbd/enbd_base.c:4467: warning: ‘enbd_read_block_0’ defined but not used
   gcc -I/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include -Wp,-MD,/tmp/linux-2.6.x/drivers/block/enbd/.enbd_ioctl_stub.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude  -D__KERNEL__ 
-Iinclude  -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -msoft-float   -march=i586  -Iinclude/asm-i386/mach-default -O2 -fomit-frame-pointer 
-Wdeclaration-after-statement   -DMODULE -I"/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include" -DKBUILD_BASENAME=enbd_ioctl_stub -DKBUILD_MODNAME=enbd -c -o 
/tmp/linux-2.6.x/drivers/block/enbd/.tmp_enbd_ioctl_stub.o /tmp/linux-2.6.x/drivers/block/enbd/enbd_ioctl_stub.c
   gcc -I/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include -Wp,-MD,/tmp/linux-2.6.x/drivers/block/enbd/.enbd_seqno.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude  -D__KERNEL__ 
-Iinclude  -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -msoft-float   -march=i586  -Iinclude/asm-i386/mach-default -O2 -fomit-frame-pointer 
-Wdeclaration-after-statement   -DMODULE -I"/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include" -DKBUILD_BASENAME=enbd_seqno -DKBUILD_MODNAME=enbd -c -o 
/tmp/linux-2.6.x/drivers/block/enbd/.tmp_enbd_seqno.o /tmp/linux-2.6.x/drivers/block/enbd/enbd_seqno.c
   gcc -I/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include -Wp,-MD,/tmp/linux-2.6.x/drivers/block/enbd/.enbd_md.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude  -D__KERNEL__ -Iinclude 
  -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -msoft-float   -march=i586  -Iinclude/asm-i386/mach-default -O2 -fomit-frame-pointer -Wdeclaration-after-statement 
-DMODULE -I"/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include" -DKBUILD_BASENAME=enbd_md -DKBUILD_MODNAME=enbd -c -o /tmp/linux-2.6.x/drivers/block/enbd/.tmp_enbd_md.o 
/tmp/linux-2.6.x/drivers/block/enbd/enbd_md.c
   gcc -I/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include -Wp,-MD,/tmp/linux-2.6.x/drivers/block/enbd/.enbd_speed.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude  -D__KERNEL__ 
-Iinclude  -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -msoft-float   -march=i586  -Iinclude/asm-i386/mach-default -O2 -fomit-frame-pointer 
-Wdeclaration-after-statement   -DMODULE -I"/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include" -DKBUILD_BASENAME=enbd_speed -DKBUILD_MODNAME=enbd -c -o 
/tmp/linux-2.6.x/drivers/block/enbd/.tmp_enbd_speed.o /tmp/linux-2.6.x/drivers/block/enbd/enbd_speed.c
   gcc -I/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include -Wp,-MD,/tmp/linux-2.6.x/drivers/block/enbd/.enbd_proc.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude  -D__KERNEL__ 
-Iinclude  -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -msoft-float   -march=i586  -Iinclude/asm-i386/mach-default -O2 -fomit-frame-pointer 
-Wdeclaration-after-statement   -DMODULE -I"/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include" -DKBUILD_BASENAME=enbd_proc -DKBUILD_MODNAME=enbd -c -o 
/tmp/linux-2.6.x/drivers/block/enbd/.tmp_enbd_proc.o /tmp/linux-2.6.x/drivers/block/enbd/enbd_proc.c
   ld -m elf_i386  -r -o /tmp/linux-2.6.x/drivers/block/enbd/enbd.o /tmp/linux-2.6.x/drivers/block/enbd/enbd_base.o /tmp/linux-2.6.x/drivers/block/enbd/enbd_ioctl_stub.o 
/tmp/linux-2.6.x/drivers/block/enbd/enbd_seqno.o /tmp/linux-2.6.x/drivers/block/enbd/enbd_md.o /tmp/linux-2.6.x/drivers/block/enbd/enbd_speed.o /tmp/linux-2.6.x/drivers/block/enbd/enbd_proc.o
   gcc -I/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include -Wp,-MD,/tmp/linux-2.6.x/drivers/block/enbd/.enbd_ioctl.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude  -D__KERNEL__ 
-Iinclude  -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -msoft-float   -march=i586  -Iinclude/asm-i386/mach-default -O2 -fomit-frame-pointer 
-Wdeclaration-after-statement   -DMODULE -I"/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include" -DKBUILD_BASENAME=enbd_ioctl -DKBUILD_MODNAME=enbd_ioctl -c -o 
/tmp/linux-2.6.x/drivers/block/enbd/.tmp_enbd_ioctl.o /tmp/linux-2.6.x/drivers/block/enbd/enbd_ioctl.c
In file included from /tmp/linux-2.6.x/drivers/block/enbd/enbd_ioctl.c:25:
/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include/linux/enbd_ioctl_table.h: In function ‘new_IO_copy_from_user’:
/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include/linux/enbd_ioctl_table.h:761: warning: ignoring return value of ‘copy_from_user’, declared with attribute warn_unused_result
/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include/linux/enbd_ioctl_table.h: In function ‘new_IO_copy_to_user’:
/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include/linux/enbd_ioctl_table.h:776: warning: ignoring return value of ‘copy_to_user’, declared with attribute warn_unused_result
   Building modules, stage 2.
make -rR -f /usr/src/linux-2.6.13-15/scripts/Makefile.modpost VPATH=/usr/src/linux-2.6.13-15
   scripts/mod/modpost -m -a -o /usr/src/linux-2.6.13-15/Module.symvers -s /dev/null vmlinux /tmp/linux-2.6.x/drivers/block/enbd/enbd.o /tmp/linux-2.6.x/drivers/block/enbd/enbd_ioctl.o
   gcc -I/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include -Wp,-MD,/tmp/linux-2.6.x/drivers/block/enbd/.enbd.mod.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude  -D__KERNEL__ -Iinclude 
  -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -msoft-float   -march=i586  -Iinclude/asm-i386/mach-default -O2 -fomit-frame-pointer -Wdeclaration-after-statement 
-DKBUILD_BASENAME=enbd -DKBUILD_MODNAME=enbd -DMODULE -I"/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include" -c -o /tmp/linux-2.6.x/drivers/block/enbd/enbd.mod.o 
/tmp/linux-2.6.x/drivers/block/enbd/enbd.mod.c
   ld -m elf_i386 -r -o /tmp/linux-2.6.x/drivers/block/enbd/enbd.ko /tmp/linux-2.6.x/drivers/block/enbd/enbd.o /tmp/linux-2.6.x/drivers/block/enbd/enbd.mod.o
   gcc -I/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include -Wp,-MD,/tmp/linux-2.6.x/drivers/block/enbd/.enbd_ioctl.mod.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude  -D__KERNEL__ 
-Iinclude  -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -msoft-float   -march=i586  -Iinclude/asm-i386/mach-default -O2 -fomit-frame-pointer 
-Wdeclaration-after-statement    -DKBUILD_BASENAME=enbd_ioctl -DKBUILD_MODNAME=enbd_ioctl -DMODULE -I"/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include" -c -o 
/tmp/linux-2.6.x/drivers/block/enbd/enbd_ioctl.mod.o /tmp/linux-2.6.x/drivers/block/enbd/enbd_ioctl.mod.c
   ld -m elf_i386 -r -o /tmp/linux-2.6.x/drivers/block/enbd/enbd_ioctl.ko /tmp/linux-2.6.x/drivers/block/enbd/enbd_ioctl.o /tmp/linux-2.6.x/drivers/block/enbd/enbd_ioctl.mod.o
make[1]: Leaving directory `/usr/src/linux-2.6.13-15'

Script done on Tue Aug  8 14:08:44 2006



Kind regards
N.Pieroth


More information about the ENBD mailing list