Re: enbd module 2.6.13-15 kernel fails to modprobe or insmod

Norbert Pieroth <[email protected]> Tue, 08 Aug 2006 17:41:09 +0200
Newsgroups gmane.linux.enbd.general
Organization zdf
Message-ID <[email protected]>
Peter T. Breuer wrote:
> "Also sprach Norbert Pieroth:"
>=20
>>I'm a newbie on enbd. I want to use enbd to export a 4 TB Device via ne=
twork.
>>I tried to build 2.4.32 on a suse 10.0 and 9.3 on different machines.
>=20
>=20
> 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!
>=20
> If there is a problem=B8 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.
>=20
> Here's a typical compile line for me ...
>=20
>   % 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=3Di686
>   -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=3Denbd_base -DKBUILD_MODNAME=3Denbd -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
>   %
>=20
> (kernel source 2.6.15.4).
>=20
> And here's a seamless insmod:
>=20
>   % sudo insmod /tmp/enbd.ko=20
>   %=20
>=20
> (hic)
>=20
> Make sure your compile log is as clean as the one above (only one
> warning, for an unused fn).
>=20
> Peter
> _______________________________________________
> ENBD mailing list
> [email protected]
> http://lists.community.tummy.com/mailman/listinfo/enbd
>=20
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=3D/usr/local/build/enbd-2.4.32/conf/config.Linux; \
cd /tmp;  ./configure --srcdir=3D/usr/local/build/enbd-2.4.32/nbd  \
                                   --with-kernel-srcdir=3D/lib/modules/2.=
6.13-15-default/build; \
make VPATH=3D/usr/local/build/enbd-2.4.32/nbd \
                 CFLAGS=3D"-D_LARGEFILE64_SOURCE=3D1 -D_LARGEFILE_SOURCE=3D=
1 -D_GNU_SOURCE=3D1 -D_XOPEN_SOURCE=3D1 -D_FILE_OFFSET_BITS=3D64 -Wall -W=
inline -O -g \
                       -I/tmp \
                       -I/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/=
include \
                        -DDEBUG=3D1" \
                 EXTRA_LIBS=3D"  " \
                 config
loading cache ./config.cache
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -D_LARGEFILE64_SOURCE=3D1 -D_LARGEFI=
LE_SOURCE=3D1 -D_GNU_SOURCE=3D1 -D_XOPEN_SOURCE=3D1 -D_FILE_OFFSET_BITS=3D=
64 -Wall -Winline -O -g=20
-I/lib/modules/2.6.13-15-default/build/include ) works... yes
checking whether the C compiler (gcc -D_LARGEFILE64_SOURCE=3D1 -D_LARGEFI=
LE_SOURCE=3D1 -D_GNU_SOURCE=3D1 -D_XOPEN_SOURCE=3D1 -D_FILE_OFFSET_BITS=3D=
64 -Wall -Winline -O -g=20
-I/lib/modules/2.6.13-15-default/build/include ) is a cross-compiler... n=
o
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=3D/usr/local/build/enbd-2.4.32/nbd \
                             CFLAGS=3D"-D_LARGEFILE64_SOURCE=3D1 -D_LARGE=
FILE_SOURCE=3D1 -D_GNU_SOURCE=3D1 -D_XOPEN_SOURCE=3D1 -D_FILE_OFFSET_BITS=
=3D64 -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=3D1" \
                             EXTRA_LIBS=3D" \
                                          "
make[1]: Entering directory `/tmp'
gcc -D_LARGEFILE64_SOURCE=3D1 -D_LARGEFILE_SOURCE=3D1 -D_GNU_SOURCE=3D1 -=
D_XOPEN_SOURCE=3D1 -D_FILE_OFFSET_BITS=3D64 -Wall -Winline -O -g  -I/tmp =
 -I/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include=20
-I/lib/modules/2.6.13-15-default/build/include   -DDEBUG=3D1 -o enbd-serv=
er.o -c /usr/local/build/enbd-2.4.32/nbd/enbd-server.c
gcc -D_LARGEFILE64_SOURCE=3D1 -D_LARGEFILE_SOURCE=3D1 -D_GNU_SOURCE=3D1 -=
D_XOPEN_SOURCE=3D1 -D_FILE_OFFSET_BITS=3D64 -Wall -Winline -O -g  -I/tmp =
 -I/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include=20
-I/lib/modules/2.6.13-15-default/build/include   -DDEBUG=3D1 -o socket.o =
-c /usr/local/build/enbd-2.4.32/nbd/socket.c
gcc -D_LARGEFILE64_SOURCE=3D1 -D_LARGEFILE_SOURCE=3D1 -D_GNU_SOURCE=3D1 -=
D_XOPEN_SOURCE=3D1 -D_FILE_OFFSET_BITS=3D64 -Wall -Winline -O -g  -I/tmp =
 -I/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include=20
-I/lib/modules/2.6.13-15-default/build/include   -DDEBUG=3D1 -o logging.o=
 -c /usr/local/build/enbd-2.4.32/nbd/logging.c
gcc -D_LARGEFILE64_SOURCE=3D1 -D_LARGEFILE_SOURCE=3D1 -D_GNU_SOURCE=3D1 -=
D_XOPEN_SOURCE=3D1 -D_FILE_OFFSET_BITS=3D64 -Wall -Winline -O -g  -I/tmp =
 -I/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include=20
-I/lib/modules/2.6.13-15-default/build/include   -DDEBUG=3D1 -o alarm.o -=
c /usr/local/build/enbd-2.4.32/nbd/alarm.c
gcc -D_LARGEFILE64_SOURCE=3D1 -D_LARGEFILE_SOURCE=3D1 -D_GNU_SOURCE=3D1 -=
D_XOPEN_SOURCE=3D1 -D_FILE_OFFSET_BITS=3D64 -Wall -Winline -O -g  -I/tmp =
 -I/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include=20
-I/lib/modules/2.6.13-15-default/build/include   -DDEBUG=3D1 -o file.o -c=
 /usr/local/build/enbd-2.4.32/nbd/file.c
gcc -D_LARGEFILE64_SOURCE=3D1 -D_LARGEFILE_SOURCE=3D1 -D_GNU_SOURCE=3D1 -=
D_XOPEN_SOURCE=3D1 -D_FILE_OFFSET_BITS=3D64 -Wall -Winline -O -g  -I/tmp =
 -I/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include=20
-I/lib/modules/2.6.13-15-default/build/include   -DDEBUG=3D1 -o select.o =
-c /usr/local/build/enbd-2.4.32/nbd/select.c
gcc -D_LARGEFILE64_SOURCE=3D1 -D_LARGEFILE_SOURCE=3D1 -D_GNU_SOURCE=3D1 -=
D_XOPEN_SOURCE=3D1 -D_FILE_OFFSET_BITS=3D64 -Wall -Winline -O -g  -I/tmp =
 -I/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include=20
-I/lib/modules/2.6.13-15-default/build/include   -DDEBUG=3D1   -c -o file=
server.o /usr/local/build/enbd-2.4.32/nbd/fileserver.c
gcc -D_LARGEFILE64_SOURCE=3D1 -D_LARGEFILE_SOURCE=3D1 -D_GNU_SOURCE=3D1 -=
D_XOPEN_SOURCE=3D1 -D_FILE_OFFSET_BITS=3D64 -Wall -Winline -O -g  -I/tmp =
 -I/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include=20
-I/lib/modules/2.6.13-15-default/build/include   -DDEBUG=3D1 -o db.o -c /=
usr/local/build/enbd-2.4.32/nbd/db.c
gcc -D_LARGEFILE64_SOURCE=3D1 -D_LARGEFILE_SOURCE=3D1 -D_GNU_SOURCE=3D1 -=
D_XOPEN_SOURCE=3D1 -D_FILE_OFFSET_BITS=3D64 -Wall -Winline -O -g  -I/tmp =
 -I/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include=20
-I/lib/modules/2.6.13-15-default/build/include   -DDEBUG=3D1 -o stream.o =
-c /usr/local/build/enbd-2.4.32/nbd/stream.c
gcc -D_LARGEFILE64_SOURCE=3D1 -D_LARGEFILE_SOURCE=3D1 -D_GNU_SOURCE=3D1 -=
D_XOPEN_SOURCE=3D1 -D_FILE_OFFSET_BITS=3D64 -Wall -Winline -O -g  -I/tmp =
 -I/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include=20
-I/lib/modules/2.6.13-15-default/build/include   -DDEBUG=3D1 -o ioctl.o -=
c /usr/local/build/enbd-2.4.32/nbd/ioctl.c
gcc -D_LARGEFILE64_SOURCE=3D1 -D_LARGEFILE_SOURCE=3D1 -D_GNU_SOURCE=3D1 -=
D_XOPEN_SOURCE=3D1 -D_FILE_OFFSET_BITS=3D64 -Wall -Winline -O -g  -I/tmp =
 -I/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include=20
-I/lib/modules/2.6.13-15-default/build/include   -DDEBUG=3D1 -o ipaddrfil=
e.o -c /usr/local/build/enbd-2.4.32/nbd/ipaddrfile.c
gcc -D_LARGEFILE64_SOURCE=3D1 -D_LARGEFILE_SOURCE=3D1 -D_GNU_SOURCE=3D1 -=
D_XOPEN_SOURCE=3D1 -D_FILE_OFFSET_BITS=3D64 -Wall -Winline -O -g  -I/tmp =
 -I/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include=20
-I/lib/modules/2.6.13-15-default/build/include   -DDEBUG=3D1 -o pidfile.o=
 -c /usr/local/build/enbd-2.4.32/nbd/pidfile.c
gcc -D_LARGEFILE64_SOURCE=3D1 -D_LARGEFILE_SOURCE=3D1 -D_GNU_SOURCE=3D1 -=
D_XOPEN_SOURCE=3D1 -D_FILE_OFFSET_BITS=3D64 -Wall -Winline -O -g  -I/tmp =
 -I/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include=20
-I/lib/modules/2.6.13-15-default/build/include   -DDEBUG=3D1 -o interface=
=2Eo -c /usr/local/build/enbd-2.4.32/nbd/interface.c
gcc -D_LARGEFILE64_SOURCE=3D1 -D_LARGEFILE_SOURCE=3D1 -D_GNU_SOURCE=3D1 -=
D_XOPEN_SOURCE=3D1 -D_FILE_OFFSET_BITS=3D64 -Wall -Winline -O -g  -I/tmp =
 -I/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include=20
-I/lib/modules/2.6.13-15-default/build/include   -DDEBUG=3D1 -o lockfile.=
o -c /usr/local/build/enbd-2.4.32/nbd/lockfile.c
gcc -D_LARGEFILE64_SOURCE=3D1 -D_LARGEFILE_SOURCE=3D1 -D_GNU_SOURCE=3D1 -=
D_XOPEN_SOURCE=3D1 -D_FILE_OFFSET_BITS=3D64 -Wall -Winline -O -g  -I/tmp =
 -I/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include=20
-I/lib/modules/2.6.13-15-default/build/include   -DDEBUG=3D1 -o md5.o -c =
/usr/local/build/enbd-2.4.32/nbd/md5.c
gcc -D_LARGEFILE64_SOURCE=3D1 -D_LARGEFILE_SOURCE=3D1 -D_GNU_SOURCE=3D1 -=
D_XOPEN_SOURCE=3D1 -D_FILE_OFFSET_BITS=3D64 -Wall -Winline -O -g  -I/tmp =
 -I/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include=20
-I/lib/modules/2.6.13-15-default/build/include   -DDEBUG=3D1 -o lock.o -c=
 /usr/local/build/enbd-2.4.32/nbd/lock.c
gcc -D_LARGEFILE64_SOURCE=3D1 -D_LARGEFILE_SOURCE=3D1 -D_GNU_SOURCE=3D1 -=
D_XOPEN_SOURCE=3D1 -D_FILE_OFFSET_BITS=3D64 -Wall -Winline -O -g  -I/tmp =
 -I/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include=20
-I/lib/modules/2.6.13-15-default/build/include   -DDEBUG=3D1 -o shmem.o -=
c /usr/local/build/enbd-2.4.32/nbd/shmem.c
gcc -D_LARGEFILE64_SOURCE=3D1 -D_LARGEFILE_SOURCE=3D1 -D_GNU_SOURCE=3D1 -=
D_XOPEN_SOURCE=3D1 -D_FILE_OFFSET_BITS=3D64 -Wall -Winline -O -g  -I/tmp =
 -I/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include=20
-I/lib/modules/2.6.13-15-default/build/include   -DDEBUG=3D1 -o hash.o -c=
 /usr/local/build/enbd-2.4.32/nbd/hash.c
gcc -D_LARGEFILE64_SOURCE=3D1 -D_LARGEFILE_SOURCE=3D1 -D_GNU_SOURCE=3D1 -=
D_XOPEN_SOURCE=3D1 -D_FILE_OFFSET_BITS=3D64 -Wall -Winline -O -g  -I/tmp =
 -I/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include=20
-I/lib/modules/2.6.13-15-default/build/include   -DDEBUG=3D1 -o time.o -c=
 /usr/local/build/enbd-2.4.32/nbd/time.c
gcc -D_LARGEFILE64_SOURCE=3D1 -D_LARGEFILE_SOURCE=3D1 -D_GNU_SOURCE=3D1 -=
D_XOPEN_SOURCE=3D1 -D_FILE_OFFSET_BITS=3D64 -Wall -Winline -O -g  -I/tmp =
 -I/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include=20
-I/lib/modules/2.6.13-15-default/build/include   -DDEBUG=3D1 -o sem.o -c =
/usr/local/build/enbd-2.4.32/nbd/sem.c
gcc -D_LARGEFILE64_SOURCE=3D1 -D_LARGEFILE_SOURCE=3D1 -D_GNU_SOURCE=3D1 -=
D_XOPEN_SOURCE=3D1 -D_FILE_OFFSET_BITS=3D64 -Wall -Winline -O -g  -I/tmp =
 -I/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include=20
-I/lib/modules/2.6.13-15-default/build/include   -DDEBUG=3D1 -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 selec=
t.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=3D1 -D_LARGEFILE_SOURCE=3D1 -D_GNU_SOURCE=3D1 -=
D_XOPEN_SOURCE=3D1 -D_FILE_OFFSET_BITS=3D64 -Wall -Winline -O -g  -I/tmp =
 -I/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include=20
-I/lib/modules/2.6.13-15-default/build/include   -DDEBUG=3D1 -o enbd-ssta=
td.o -c /usr/local/build/enbd-2.4.32/nbd/enbd-sstatd.c
gcc -D_LARGEFILE64_SOURCE=3D1 -D_LARGEFILE_SOURCE=3D1 -D_GNU_SOURCE=3D1 -=
D_XOPEN_SOURCE=3D1 -D_FILE_OFFSET_BITS=3D64 -Wall -Winline -O -g  -I/tmp =
 -I/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include=20
-I/lib/modules/2.6.13-15-default/build/include   -DDEBUG=3D1 -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=
=2Eo
gcc -D_LARGEFILE64_SOURCE=3D1 -D_LARGEFILE_SOURCE=3D1 -D_GNU_SOURCE=3D1 -=
D_XOPEN_SOURCE=3D1 -D_FILE_OFFSET_BITS=3D64 -Wall -Winline -O -g  -I/tmp =
 -I/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include=20
-I/lib/modules/2.6.13-15-default/build/include   -DDEBUG=3D1 -o enbd-clie=
nt.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 =91server_wri=
te=92:
/usr/local/build/enbd-2.4.32/nbd/enbd-client.c:946: warning: format =91%d=
=92 expects type =91int=92, but argument 6 has type =91long unsigned int=92=

/usr/local/build/enbd-2.4.32/nbd/enbd-client.c:946: warning: format =91%l=
d=92 expects type =91long int=92, but argument 8 has type =91int=92
/usr/local/build/enbd-2.4.32/nbd/enbd-client.c:946: warning: format =91%d=
=92 expects type =91int=92, but argument 6 has type =91long unsigned int=92=

/usr/local/build/enbd-2.4.32/nbd/enbd-client.c:946: warning: format =91%l=
d=92 expects type =91long int=92, but argument 8 has type =91int=92
gcc -D_LARGEFILE64_SOURCE=3D1 -D_LARGEFILE_SOURCE=3D1 -D_GNU_SOURCE=3D1 -=
D_XOPEN_SOURCE=3D1 -D_FILE_OFFSET_BITS=3D64 -Wall -Winline -O -g  -I/tmp =
 -I/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include=20
-I/lib/modules/2.6.13-15-default/build/include   -DDEBUG=3D1 -o netserver=
=2Eo -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 qualifier=
s ignored on function return type
/usr/local/build/enbd-2.4.32/nbd/netserver.c:235: warning: type qualifier=
s ignored on function return type
gcc  -o enbd-client enbd-client.o socket.o logging.o alarm.o stream.o sel=
ect.o ioctl.o netserver.o pidfile.o md5.o file.o fileserver.o time.o lock=
=2Eo
gcc -D_LARGEFILE64_SOURCE=3D1 -D_LARGEFILE_SOURCE=3D1 -D_GNU_SOURCE=3D1 -=
D_XOPEN_SOURCE=3D1 -D_FILE_OFFSET_BITS=3D64 -Wall -Winline -O -g  -I/tmp =
 -I/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include=20
-I/lib/modules/2.6.13-15-default/build/include   -DDEBUG=3D1 -o enbd-csta=
td.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=3D1 -D_LARGEFILE_SOURCE=3D1 -D_GNU_SOURCE=3D1 -=
D_XOPEN_SOURCE=3D1 -D_FILE_OFFSET_BITS=3D64 -Wall -Winline -O -g  -I/tmp =
 -I/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include=20
-I/lib/modules/2.6.13-15-default/build/include   -DDEBUG=3D1 -o enbd-test=
=2Eo -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 `te=
mpnam' 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=3Darch/i386/k=
ernel 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=3D/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__=20
-Iinclude  -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing =
-fno-common -pipe -msoft-float   -march=3Di586  -Iinclude/asm-i386/mach-d=
efault -O2 -fomit-frame-pointer=20
-Wdeclaration-after-statement   -DMODULE -I"/usr/local/build/enbd-2.4.32/=
kernel/linux-2.6.x/include" -DKBUILD_BASENAME=3Denbd_base -DKBUILD_MODNAM=
E=3Denbd -c -o=20
/tmp/linux-2.6.x/drivers/block/enbd/.tmp_enbd_base.o /tmp/linux-2.6.x/dri=
vers/block/enbd/enbd_base.c
/tmp/linux-2.6.x/drivers/block/enbd/enbd_base.c:2829: warning: conflictin=
g types for built-in function =91log2=92
/tmp/linux-2.6.x/drivers/block/enbd/enbd_base.c: In function =91enbd_ioct=
l=92:
/tmp/linux-2.6.x/drivers/block/enbd/enbd_base.c:4359: warning: pointer ta=
rgets in passing argument 1 of =91remote_ioctl->convert_inplace=92 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: =91enbd_re=
ad_block_0=92 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 -iwith=
prefix include -D__KERNEL__ -Iinclude  -D__KERNEL__=20
-Iinclude  -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing =
-fno-common -pipe -msoft-float   -march=3Di586  -Iinclude/asm-i386/mach-d=
efault -O2 -fomit-frame-pointer=20
-Wdeclaration-after-statement   -DMODULE -I"/usr/local/build/enbd-2.4.32/=
kernel/linux-2.6.x/include" -DKBUILD_BASENAME=3Denbd_ioctl_stub -DKBUILD_=
MODNAME=3Denbd -c -o=20
/tmp/linux-2.6.x/drivers/block/enbd/.tmp_enbd_ioctl_stub.o /tmp/linux-2.6=
=2Ex/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 -iwithprefi=
x include -D__KERNEL__ -Iinclude  -D__KERNEL__=20
-Iinclude  -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing =
-fno-common -pipe -msoft-float   -march=3Di586  -Iinclude/asm-i386/mach-d=
efault -O2 -fomit-frame-pointer=20
-Wdeclaration-after-statement   -DMODULE -I"/usr/local/build/enbd-2.4.32/=
kernel/linux-2.6.x/include" -DKBUILD_BASENAME=3Denbd_seqno -DKBUILD_MODNA=
ME=3Denbd -c -o=20
/tmp/linux-2.6.x/drivers/block/enbd/.tmp_enbd_seqno.o /tmp/linux-2.6.x/dr=
ivers/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 i=
nclude -D__KERNEL__ -Iinclude  -D__KERNEL__ -Iinclude=20
  -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-comm=
on -pipe -msoft-float   -march=3Di586  -Iinclude/asm-i386/mach-default -O=
2 -fomit-frame-pointer -Wdeclaration-after-statement=20
-DMODULE -I"/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include" -DKB=
UILD_BASENAME=3Denbd_md -DKBUILD_MODNAME=3Denbd -c -o /tmp/linux-2.6.x/dr=
ivers/block/enbd/.tmp_enbd_md.o=20
/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 -iwithprefi=
x include -D__KERNEL__ -Iinclude  -D__KERNEL__=20
-Iinclude  -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing =
-fno-common -pipe -msoft-float   -march=3Di586  -Iinclude/asm-i386/mach-d=
efault -O2 -fomit-frame-pointer=20
-Wdeclaration-after-statement   -DMODULE -I"/usr/local/build/enbd-2.4.32/=
kernel/linux-2.6.x/include" -DKBUILD_BASENAME=3Denbd_speed -DKBUILD_MODNA=
ME=3Denbd -c -o=20
/tmp/linux-2.6.x/drivers/block/enbd/.tmp_enbd_speed.o /tmp/linux-2.6.x/dr=
ivers/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__=20
-Iinclude  -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing =
-fno-common -pipe -msoft-float   -march=3Di586  -Iinclude/asm-i386/mach-d=
efault -O2 -fomit-frame-pointer=20
-Wdeclaration-after-statement   -DMODULE -I"/usr/local/build/enbd-2.4.32/=
kernel/linux-2.6.x/include" -DKBUILD_BASENAME=3Denbd_proc -DKBUILD_MODNAM=
E=3Denbd -c -o=20
/tmp/linux-2.6.x/drivers/block/enbd/.tmp_enbd_proc.o /tmp/linux-2.6.x/dri=
vers/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=20
/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 /t=
mp/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 -iwithprefi=
x include -D__KERNEL__ -Iinclude  -D__KERNEL__=20
-Iinclude  -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing =
-fno-common -pipe -msoft-float   -march=3Di586  -Iinclude/asm-i386/mach-d=
efault -O2 -fomit-frame-pointer=20
-Wdeclaration-after-statement   -DMODULE -I"/usr/local/build/enbd-2.4.32/=
kernel/linux-2.6.x/include" -DKBUILD_BASENAME=3Denbd_ioctl -DKBUILD_MODNA=
ME=3Denbd_ioctl -c -o=20
/tmp/linux-2.6.x/drivers/block/enbd/.tmp_enbd_ioctl.o /tmp/linux-2.6.x/dr=
ivers/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 =91new_IO_copy_from_user=92:
/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include/linux/enbd_ioctl_=
table.h:761: warning: ignoring return value of =91copy_from_user=92, decl=
ared 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 =91new_IO_copy_to_user=92:
/usr/local/build/enbd-2.4.32/kernel/linux-2.6.x/include/linux/enbd_ioctl_=
table.h:776: warning: ignoring return value of =91copy_to_user=92, declar=
ed with attribute warn_unused_result
   Building modules, stage 2.
make -rR -f /usr/src/linux-2.6.13-15/scripts/Makefile.modpost VPATH=3D/us=
r/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=20
  -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-comm=
on -pipe -msoft-float   -march=3Di586  -Iinclude/asm-i386/mach-default -O=
2 -fomit-frame-pointer -Wdeclaration-after-statement=20
-DKBUILD_BASENAME=3Denbd -DKBUILD_MODNAME=3Denbd -DMODULE -I"/usr/local/b=
uild/enbd-2.4.32/kernel/linux-2.6.x/include" -c -o /tmp/linux-2.6.x/drive=
rs/block/enbd/enbd.mod.o=20
/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 -iwithp=
refix include -D__KERNEL__ -Iinclude  -D__KERNEL__=20
-Iinclude  -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing =
-fno-common -pipe -msoft-float   -march=3Di586  -Iinclude/asm-i386/mach-d=
efault -O2 -fomit-frame-pointer=20
-Wdeclaration-after-statement    -DKBUILD_BASENAME=3Denbd_ioctl -DKBUILD_=
MODNAME=3Denbd_ioctl -DMODULE -I"/usr/local/build/enbd-2.4.32/kernel/linu=
x-2.6.x/include" -c -o=20
/tmp/linux-2.6.x/drivers/block/enbd/enbd_ioctl.mod.o /tmp/linux-2.6.x/dri=
vers/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/driver=
s/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