[ENBD] make test fails with 2.4.32 on linux 2.4.22

Anders Blomdell anders.blomdell at control.lth.se
Tue Mar 2 01:20:22 MST 2004


> Sorry - I've done a bit more reading and it looks slightly stranger
> than simple "resource too small".
>
>> export OPTASYNC="" OPTBLK="-b 1024" OPTCLISSL="" OPTJRNL="" OPTLOCK=""
>> OPTMD5SUM="" OPTORDER="-w 500" OPTRAID="-l" OPTRCACHE="-h 0" OPTRO=""
>> OPTSASYNC="" OPTSIG="-i "NBDabcdefNBD"" OPTSOCK="-n 4" OPTSRVSSL="" 
>> OPTTIME=
>> "-t 120" OPT_REQ_TIMEO="-p 5" BUILD="/tmp" VPATH="/tmp" DEVICE="/dev/nda"
>> SERVER="localhost" CLIENT="localhost" EXPORT="/tmp/core0 /tmp/core1" 
>> BLKSIZ=
>> "1024" SRVSIZ="4096" RAHEAD="20" MERGE_REQS="0" CHK_PART="0" ;
>
> So fine, should be 1024 * 4096 * 2 in size, or 8MB.
I (and the computer) begs to differ:

   BLKSIZ="1024" SRVSIZ="4096"

but enbd-maketest says

   let SRVBLKS=$(( $SRVSIZ / $BLKSIZ ))
   ...
     dd if=/dev/zero bs=$BLKSIZ count=$SRVBLKS of="$i"


and core0, core1 ends up being 4K instead of 4M, if I correct that test 
works (/tmp/core? is not removed, so testing it on a machine withe these 
already in place will give correct results)...

My money is on a bad Makefile 8^).

Thanks!

Anders



More information about the ENBD mailing list