All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [dm-crypt] "ERROR:apitest failed" after make check cryptsetup 1.1.0
@ 2010-04-28 16:18 Si St
  0 siblings, 0 replies; 10+ messages in thread
From: Si St @ 2010-04-28 16:18 UTC (permalink / raw)
  To: dm-crypt

Thanks Felix Blanke!
Now the command

svn checkout http://cryptsetup.googlecode.com/svn/trunk/ cryptsetup-read-only

goes with this result:

sled-10sp3:/home/sigbj/cryptsetup-1.1.0 # /usr/bin/svn checkout http://cryptsetup.googlecode.com/svn/trunk/ cryptsetup-read-only
A    cryptsetup-read-only/AUTHORS
A    cryptsetup-read-only/configure.in
A    cryptsetup-read-only/src
A    cryptsetup-read-only/src/cryptsetup.c
A    cryptsetup-read-only/src/cryptsetup.h
A    cryptsetup-read-only/src/Makefile.am
A    cryptsetup-read-only/ChangeLog
A    cryptsetup-read-only/README
A    cryptsetup-read-only/tests
A    cryptsetup-read-only/tests/fileDiffer.py
A    cryptsetup-read-only/tests/align_test
A    cryptsetup-read-only/tests/Makefile.am
A    cryptsetup-read-only/tests/apitest.c
A    cryptsetup-read-only/tests/compatimage.img.bz2
A    cryptsetup-read-only/ABOUT-NLS
A    cryptsetup-read-only/TODO
A    cryptsetup-read-only/acinclude.m4
A    cryptsetup-read-only/lib
A    cryptsetup-read-only/lib/libcryptsetup.pc.in
A    cryptsetup-read-only/lib/libcryptsetup.h
A    cryptsetup-read-only/lib/blockdev.h
A    cryptsetup-read-only/lib/libcryptsetup.sym
A    cryptsetup-read-only/lib/utils.c
A    cryptsetup-read-only/lib/setup.c
A    cryptsetup-read-only/lib/nls.h
A    cryptsetup-read-only/lib/internal.h
A    cryptsetup-read-only/lib/utils_debug.c
A    cryptsetup-read-only/lib/Makefile.am
A    cryptsetup-read-only/lib/gcrypt.c
A    cryptsetup-read-only/lib/libdevmapper.c
A    cryptsetup-read-only/lib/backends.c
A    cryptsetup-read-only/INSTALL
A    cryptsetup-read-only/COPYING
A    cryptsetup-read-only/Makefile.am
A    cryptsetup-read-only/autogen.sh
A    cryptsetup-read-only/man
A    cryptsetup-read-only/man/cryptsetup.8
A    cryptsetup-read-only/man/Makefile.am
A    cryptsetup-read-only/NEWS
A    cryptsetup-read-only/luks
A    cryptsetup-read-only/luks/random.c
A    cryptsetup-read-only/luks/keymanage.c
A    cryptsetup-read-only/luks/hexprint.c
A    cryptsetup-read-only/luks/luks.h
A    cryptsetup-read-only/luks/keyencryption.c
A    cryptsetup-read-only/luks/random.h
A    cryptsetup-read-only/luks/af.c
A    cryptsetup-read-only/luks/pbkdf.c
A    cryptsetup-read-only/luks/Makefile.am
A    cryptsetup-read-only/luks/pbkdf.h
A    cryptsetup-read-only/luks/af.h
A    cryptsetup-read-only/po
A    cryptsetup-read-only/po/LINGUAS
A    cryptsetup-read-only/po/fr.po
A    cryptsetup-read-only/po/de.po
A    cryptsetup-read-only/po/sv.po
A    cryptsetup-read-only/po/nl.po
A    cryptsetup-read-only/po/Makevars
A    cryptsetup-read-only/po/it.po
A    cryptsetup-read-only/po/id.po
A    cryptsetup-read-only/po/POTFILES.in
A    cryptsetup-read-only/po/vi.po
Ausgecheckt, Revision 202.
sled-10sp3:/home/sigbj/cryptsetup-1.1.0 #   

______________________________________________________________________________
> ----- Original Message -----
> From: Felix Blanke <felixblanke@gmail.com>
> To: dm-crypt@saout.de
> Subject: Re: [dm-crypt] "ERROR:apitest failed" after make check cryptsetup 1.1.0
> Date: Wed, 28 Apr 2010 18:07:50 +0200
> 
> Hi,
> 
> the program you're looking for is called subversion. Search for that
> and you'll definitely find it at YaST.
> 
> 
> Regards,
> Felix
> 
> Am Wed, 28 Apr 2010 16:56:21 +0100
> schrieb "Si St" <sigbj-st@operamail.com>:
> 
> > Cant find a svn-program on my computer; the YaST install cant find it
> > either. But I changed or added the lines according to the revised
> > apitest.c you gave me the link to. But still negativ function, Sir!
> >
> > Passwort:
> > sled-10sp3:/home/sigbj # cd cryptsetup-1.1.0/
> > sled-10sp3:/home/sigbj/cryptsetup-1.1.0 # make check
> > Making check in luks
> > make[1]: Entering directory `/home/sigbj/cryptsetup-1.1.0/luks'
> > make[1]: Für das Ziel »check« ist nichts zu tun.
> > make[1]: Leaving directory `/home/sigbj/cryptsetup-1.1.0/luks'
> > Making check in lib
> > make[1]: Entering directory `/home/sigbj/cryptsetup-1.1.0/lib'
> > make[1]: Für das Ziel »check« ist nichts zu tun.
> > make[1]: Leaving directory `/home/sigbj/cryptsetup-1.1.0/lib'
> > Making check in src
> > make[1]: Entering directory `/home/sigbj/cryptsetup-1.1.0/src'
> > make[1]: Für das Ziel »check« ist nichts zu tun.
> > make[1]: Leaving directory `/home/sigbj/cryptsetup-1.1.0/src'
> > Making check in man
> > make[1]: Entering directory `/home/sigbj/cryptsetup-1.1.0/man'
> > make[1]: Für das Ziel »check« ist nichts zu tun.
> > make[1]: Leaving directory `/home/sigbj/cryptsetup-1.1.0/man'
> > Making check in tests
> > make[1]: Entering directory `/home/sigbj/cryptsetup-1.1.0/tests'
> > make  apitest
> > make[2]: Entering directory `/home/sigbj/cryptsetup-1.1.0/tests'
> > make[2]: »apitest« ist bereits aktualisiert.
> > make[2]: Leaving directory `/home/sigbj/cryptsetup-1.1.0/tests'
> > make  check-TESTS
> > make[2]: Entering directory `/home/sigbj/cryptsetup-1.1.0/tests'
> > ioctl: LOOP_CLR_FD: Kein passendes Gerät bzw. keine passende Adresse
> > gefunden ioctl: LOOP_CLR_FD: Kein passendes Gerät bzw. keine passende
> > Adresse gefunden compatimage.img: Datei oder Verzeichnis nicht
> > gefunden 4+0 records in
> > 4+0 records out
> > 4194304 bytes (4,2 MB) copied, 0,022984 seconds, 182 MB/s
> > NonFIPSAlg: Crypto is properly initialised in format
> >  [(success),NonFIPSAlg:693] crypt_init(&cd, DEVICE_2)
> >  [(success),NonFIPSAlg:694] crypt_format(cd, CRYPT_LUKS1, cipher,
> > cipher_mode, NULL, key, key_size, &params) FAIL line 694
> > [NonFIPSAlg]: code -22, Not compatible PBKDF2 options (using hash
> > algorithm whirlpool). ioctl: LOOP_CLR_FD: Kein passendes Gerät bzw.
> > keine passende Adresse gefunden FAIL: apitest ==================
> > 1 of 1 test failed
> > ==================
> > make[2]: *** [check-TESTS] Fehler 1
> > make[2]: Leaving directory `/home/sigbj/cryptsetup-1.1.0/tests'
> > make[1]: *** [check-am] Fehler 2
> > make[1]: Leaving directory `/home/sigbj/cryptsetup-1.1.0/tests'
> > make: *** [check-recursive] Fehler 1
> > sled-10sp3:/home/sigbj/cryptsetup-1.1.0 #    > ----- Original Message -----
> > > From: Milan Broz <mbroz@redhat.com>
> > > To: dm-crypt@saout.de
> > > Subject: Re: [dm-crypt] "ERROR:apitest failed" after make check
> > > cryptsetup 1.1.0 Date: Wed, 28 Apr 2010 12:17:32 +0200
> > > > > On 04/28/2010 11:13 AM, Si St wrote:
> > > > "can you try svn snapshot first - does it work?"
> > > > What do you mean by "svn Snapshot"?
> > > > I meant current devel code
> > > http://code.google.com/p/cryptsetup/source/checkout
> > > > (you have to run autoconf there. Or wait few days for 1.1.1 release)
> > > > > > Don't understand the expression, I am probably a too weak 
> > newbie > > in this game.
> > > >
> > > > I have by the way ended all attemps of make install until it 
> > is > > 100%. I dont dare to mess up my SLED10,
> > > > but in case I later should or ought to update I will do it on 
> > > > Your recommendation. So far the cryptsetup 1.0.3 works fine 
> > and > > smooth for me.
> > > > I have no access to SLED10 currently, but it is possible that 
> > only > test is broken
> > > because of unsupported IV option - can you try this change?
> > > > 
> > http://code.google.com/p/cryptsetup/source/diff?spec=svn201&r=201&path=/trunk/tests/apitest.c
> > > > The test were written primarily for maintainers, so it is 
> > quite > possible that it fails on some old system,
> > > but I'll try to fix them in next release.
> > > > Milan
> > > _______________________________________________
> > > dm-crypt mailing list
> > > dm-crypt@saout.de
> > > http://www.saout.de/mailman/listinfo/dm-crypt
> >
> > >
> >
> >
> _______________________________________________
> dm-crypt mailing list
> dm-crypt@saout.de
> http://www.saout.de/mailman/listinfo/dm-crypt

>


-- 
_______________________________________________
Surf the Web in a faster, safer and easier way:
Download Opera 9 at http://www.opera.com

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [dm-crypt] "ERROR:apitest failed" after make check cryptsetup 1.1.0
@ 2010-04-30  9:47 Si St
  0 siblings, 0 replies; 10+ messages in thread
From: Si St @ 2010-04-30  9:47 UTC (permalink / raw)
  To: dm-crypt

Doberdan, Milan Broz.

Thank you for your work. I have started to use SLED_10_SP3 on a production machine. That is why I am careful with updates of cryptsetup when the updates are outside the SLED-packages. - I'll look forward for the next release.


Thanks so far.

S.Storset D.C.
____________________________________________________________________
> ----- Original Message -----
> From: Milan Broz <mbroz@redhat.com>
> To: Si St <sigbj-st@operamail.com>
> Cc: dm-crypt@saout.de
> Subject: Re: [dm-crypt] "ERROR:apitest failed" after make check cryptsetup 1.1.0
> Date: Thu, 29 Apr 2010 19:10:44 +0200
> 
> 
> On 04/28/2010 06:09 PM, Si St wrote:
> > I forgot to remove the "benbi" lines. But still it goes like this:
> 
> just fyi - I tried the test on some version of SLED10, and found several
> issues with tests, code is apparently missing some compatibility checks.
> (like whirlpool hash is available in gcrypt >=1.4, there is 1.2 available etc)
> 
> But there should be also check for luksSuspend/Resume availability in kernel,
> so I'll fix this in next release.
> 
> Milan
> _______________________________________________
> dm-crypt mailing list
> dm-crypt@saout.de
> http://www.saout.de/mailman/listinfo/dm-crypt

>


-- 
_______________________________________________
Surf the Web in a faster, safer and easier way:
Download Opera 9 at http://www.opera.com

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [dm-crypt] "ERROR:apitest failed" after make check cryptsetup 1.1.0
  2010-04-28 16:09 Si St
@ 2010-04-29 17:10 ` Milan Broz
  0 siblings, 0 replies; 10+ messages in thread
From: Milan Broz @ 2010-04-29 17:10 UTC (permalink / raw)
  To: Si St; +Cc: dm-crypt

On 04/28/2010 06:09 PM, Si St wrote:
> I forgot to remove the "benbi" lines. But still it goes like this:

just fyi - I tried the test on some version of SLED10, and found several
issues with tests, code is apparently missing some compatibility checks.
(like whirlpool hash is available in gcrypt >=1.4, there is 1.2 available etc)

But there should be also check for luksSuspend/Resume availability in kernel,
so I'll fix this in next release.

Milan

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [dm-crypt] "ERROR:apitest failed" after make check cryptsetup 1.1.0
@ 2010-04-28 16:09 Si St
  2010-04-29 17:10 ` Milan Broz
  0 siblings, 1 reply; 10+ messages in thread
From: Si St @ 2010-04-28 16:09 UTC (permalink / raw)
  To: dm-crypt

I am sorry!
I forgot to remove the "benbi" lines. But still it goes like this:

sled-10sp3:/home/sigbj/cryptsetup-1.1.0 # make check
Making check in luks
make[1]: Entering directory `/home/sigbj/cryptsetup-1.1.0/luks'
make[1]: Für das Ziel »check« ist nichts zu tun.
make[1]: Leaving directory `/home/sigbj/cryptsetup-1.1.0/luks'
Making check in lib
make[1]: Entering directory `/home/sigbj/cryptsetup-1.1.0/lib'
make[1]: Für das Ziel »check« ist nichts zu tun.
make[1]: Leaving directory `/home/sigbj/cryptsetup-1.1.0/lib'
Making check in src
make[1]: Entering directory `/home/sigbj/cryptsetup-1.1.0/src'
make[1]: Für das Ziel »check« ist nichts zu tun.
make[1]: Leaving directory `/home/sigbj/cryptsetup-1.1.0/src'
Making check in man
make[1]: Entering directory `/home/sigbj/cryptsetup-1.1.0/man'
make[1]: Für das Ziel »check« ist nichts zu tun.
make[1]: Leaving directory `/home/sigbj/cryptsetup-1.1.0/man'
Making check in tests
make[1]: Entering directory `/home/sigbj/cryptsetup-1.1.0/tests'
make  apitest
make[2]: Entering directory `/home/sigbj/cryptsetup-1.1.0/tests'
gcc -DHAVE_CONFIG_H -I. -I..    -g -Wall -O0 -I../lib/ -g -O2 -MT apitest-apitest.o -MD -MP -MF .deps/apitest-apitest.Tpo -c -o apitest-apitest.o `test -f 'apitest.c' || echo './'`apitest.c
mv -f .deps/apitest-apitest.Tpo .deps/apitest-apitest.Po
/bin/sh ../libtool --tag=CC   --mode=link gcc -g -Wall -O0 -I../lib/ -g -O2 -static  -o apitest apitest-apitest.o ../lib/libcryptsetup.la
libtool: link: gcc -g -Wall -O0 -I../lib/ -g -O2 -o apitest apitest-apitest.o  ../lib/.libs/libcryptsetup.so -luuid -ldevmapper /usr/lib/libgcrypt.so -lnsl /usr/lib/libgpg-error.so -Wl,-rpath -Wl,/home/sigbj/cryptsetup-1.1.0/lib/.libs
make[2]: Leaving directory `/home/sigbj/cryptsetup-1.1.0/tests'
make  check-TESTS
make[2]: Entering directory `/home/sigbj/cryptsetup-1.1.0/tests'
ioctl: LOOP_CLR_FD: Kein passendes Gerät bzw. keine passende Adresse gefunden
ioctl: LOOP_CLR_FD: Kein passendes Gerät bzw. keine passende Adresse gefunden
compatimage.img: Datei oder Verzeichnis nicht gefunden
4+0 records in
4+0 records out
4194304 bytes (4,2 MB) copied, 0,014488 seconds, 290 MB/s
NonFIPSAlg: Crypto is properly initialised in format
 [(success),NonFIPSAlg:691] crypt_init(&cd, DEVICE_2)
 [(success),NonFIPSAlg:692] crypt_format(cd, CRYPT_LUKS1, cipher, cipher_mode, NULL, key, key_size, &params)
FAIL line 692 [NonFIPSAlg]: code -22, Not compatible PBKDF2 options (using hash algorithm whirlpool).
ioctl: LOOP_CLR_FD: Kein passendes Gerät bzw. keine passende Adresse gefunden
FAIL: apitest
==================
1 of 1 test failed
==================
make[2]: *** [check-TESTS] Fehler 1
make[2]: Leaving directory `/home/sigbj/cryptsetup-1.1.0/tests'
make[1]: *** [check-am] Fehler 2
make[1]: Leaving directory `/home/sigbj/cryptsetup-1.1.0/tests'
make: *** [check-recursive] Fehler 1
sled-10sp3:/home/sigbj/cryptsetup-1.1.0 #                  
___________________________________________________________________________
> ----- Original Message -----
> From: Milan Broz <mbroz@redhat.com>
> To: dm-crypt@saout.de
> Subject: Re: [dm-crypt] "ERROR:apitest failed" after make check cryptsetup 1.1.0
> Date: Wed, 28 Apr 2010 12:17:32 +0200
> 
> 
> On 04/28/2010 11:13 AM, Si St wrote:
> > "can you try svn snapshot first - does it work?"
> > What do you mean by "svn Snapshot"?
> 
> I meant current devel code
> http://code.google.com/p/cryptsetup/source/checkout
> 
> (you have to run autoconf there. Or wait few days for 1.1.1 release)
> 
> 
> > Don't understand the expression, I am probably a too weak newbie 
> > in this game.
> >
> > I have by the way ended all attemps of make install until it is 
> > 100%. I dont dare to mess up my SLED10,
> > but in case I later should or ought to update I will do it on 
> > Your recommendation. So far the cryptsetup 1.0.3 works fine and 
> > smooth for me.
> 
> I have no access to SLED10 currently, but it is possible that only 
> test is broken
> because of unsupported IV option - can you try this change?
> 
> http://code.google.com/p/cryptsetup/source/diff?spec=svn201&r=201&path=/trunk/tests/apitest.c
> 
> The test were written primarily for maintainers, so it is quite 
> possible that it fails on some old system,
> but I'll try to fix them in next release.
> 
> Milan
> _______________________________________________
> dm-crypt mailing list
> dm-crypt@saout.de
> http://www.saout.de/mailman/listinfo/dm-crypt

>


-- 
_______________________________________________
Surf the Web in a faster, safer and easier way:
Download Opera 9 at http://www.opera.com

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [dm-crypt] "ERROR:apitest failed" after make check cryptsetup 1.1.0
  2010-04-28 15:56 Si St
@ 2010-04-28 16:07 ` Felix Blanke
  0 siblings, 0 replies; 10+ messages in thread
From: Felix Blanke @ 2010-04-28 16:07 UTC (permalink / raw)
  To: dm-crypt

Hi,

the program you're looking for is called subversion. Search for that
and you'll definitely find it at YaST.


Regards,
Felix

Am Wed, 28 Apr 2010 16:56:21 +0100
schrieb "Si St" <sigbj-st@operamail.com>:

> Cant find a svn-program on my computer; the YaST install cant find it
> either. But I changed or added the lines according to the revised
> apitest.c you gave me the link to. But still negativ function, Sir!
> 
> Passwort:
> sled-10sp3:/home/sigbj # cd cryptsetup-1.1.0/
> sled-10sp3:/home/sigbj/cryptsetup-1.1.0 # make check
> Making check in luks
> make[1]: Entering directory `/home/sigbj/cryptsetup-1.1.0/luks'
> make[1]: Für das Ziel »check« ist nichts zu tun.
> make[1]: Leaving directory `/home/sigbj/cryptsetup-1.1.0/luks'
> Making check in lib
> make[1]: Entering directory `/home/sigbj/cryptsetup-1.1.0/lib'
> make[1]: Für das Ziel »check« ist nichts zu tun.
> make[1]: Leaving directory `/home/sigbj/cryptsetup-1.1.0/lib'
> Making check in src
> make[1]: Entering directory `/home/sigbj/cryptsetup-1.1.0/src'
> make[1]: Für das Ziel »check« ist nichts zu tun.
> make[1]: Leaving directory `/home/sigbj/cryptsetup-1.1.0/src'
> Making check in man
> make[1]: Entering directory `/home/sigbj/cryptsetup-1.1.0/man'
> make[1]: Für das Ziel »check« ist nichts zu tun.
> make[1]: Leaving directory `/home/sigbj/cryptsetup-1.1.0/man'
> Making check in tests
> make[1]: Entering directory `/home/sigbj/cryptsetup-1.1.0/tests'
> make  apitest
> make[2]: Entering directory `/home/sigbj/cryptsetup-1.1.0/tests'
> make[2]: »apitest« ist bereits aktualisiert.
> make[2]: Leaving directory `/home/sigbj/cryptsetup-1.1.0/tests'
> make  check-TESTS
> make[2]: Entering directory `/home/sigbj/cryptsetup-1.1.0/tests'
> ioctl: LOOP_CLR_FD: Kein passendes Gerät bzw. keine passende Adresse
> gefunden ioctl: LOOP_CLR_FD: Kein passendes Gerät bzw. keine passende
> Adresse gefunden compatimage.img: Datei oder Verzeichnis nicht
> gefunden 4+0 records in
> 4+0 records out
> 4194304 bytes (4,2 MB) copied, 0,022984 seconds, 182 MB/s
> NonFIPSAlg: Crypto is properly initialised in format
>  [(success),NonFIPSAlg:693] crypt_init(&cd, DEVICE_2)
>  [(success),NonFIPSAlg:694] crypt_format(cd, CRYPT_LUKS1, cipher,
> cipher_mode, NULL, key, key_size, &params) FAIL line 694
> [NonFIPSAlg]: code -22, Not compatible PBKDF2 options (using hash
> algorithm whirlpool). ioctl: LOOP_CLR_FD: Kein passendes Gerät bzw.
> keine passende Adresse gefunden FAIL: apitest ==================
> 1 of 1 test failed
> ==================
> make[2]: *** [check-TESTS] Fehler 1
> make[2]: Leaving directory `/home/sigbj/cryptsetup-1.1.0/tests'
> make[1]: *** [check-am] Fehler 2
> make[1]: Leaving directory `/home/sigbj/cryptsetup-1.1.0/tests'
> make: *** [check-recursive] Fehler 1
> sled-10sp3:/home/sigbj/cryptsetup-1.1.0 #    
> 
> 
> 
> 
> > ----- Original Message -----
> > From: Milan Broz <mbroz@redhat.com>
> > To: dm-crypt@saout.de
> > Subject: Re: [dm-crypt] "ERROR:apitest failed" after make check
> > cryptsetup 1.1.0 Date: Wed, 28 Apr 2010 12:17:32 +0200
> > 
> > 
> > On 04/28/2010 11:13 AM, Si St wrote:
> > > "can you try svn snapshot first - does it work?"
> > > What do you mean by "svn Snapshot"?
> > 
> > I meant current devel code
> > http://code.google.com/p/cryptsetup/source/checkout
> > 
> > (you have to run autoconf there. Or wait few days for 1.1.1 release)
> > 
> > 
> > > Don't understand the expression, I am probably a too weak newbie 
> > > in this game.
> > >
> > > I have by the way ended all attemps of make install until it is 
> > > 100%. I dont dare to mess up my SLED10,
> > > but in case I later should or ought to update I will do it on 
> > > Your recommendation. So far the cryptsetup 1.0.3 works fine and 
> > > smooth for me.
> > 
> > I have no access to SLED10 currently, but it is possible that only 
> > test is broken
> > because of unsupported IV option - can you try this change?
> > 
> > http://code.google.com/p/cryptsetup/source/diff?spec=svn201&r=201&path=/trunk/tests/apitest.c
> > 
> > The test were written primarily for maintainers, so it is quite 
> > possible that it fails on some old system,
> > but I'll try to fix them in next release.
> > 
> > Milan
> > _______________________________________________
> > dm-crypt mailing list
> > dm-crypt@saout.de
> > http://www.saout.de/mailman/listinfo/dm-crypt
> 
> >
> 
> 

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [dm-crypt] "ERROR:apitest failed" after make check cryptsetup 1.1.0
@ 2010-04-28 15:56 Si St
  2010-04-28 16:07 ` Felix Blanke
  0 siblings, 1 reply; 10+ messages in thread
From: Si St @ 2010-04-28 15:56 UTC (permalink / raw)
  To: dm-crypt

Cant find a svn-program on my computer; the YaST install cant find it either.
But I changed or added the lines according to the revised apitest.c you gave me the link to. But still negativ function, Sir!

Passwort:
sled-10sp3:/home/sigbj # cd cryptsetup-1.1.0/
sled-10sp3:/home/sigbj/cryptsetup-1.1.0 # make check
Making check in luks
make[1]: Entering directory `/home/sigbj/cryptsetup-1.1.0/luks'
make[1]: Für das Ziel »check« ist nichts zu tun.
make[1]: Leaving directory `/home/sigbj/cryptsetup-1.1.0/luks'
Making check in lib
make[1]: Entering directory `/home/sigbj/cryptsetup-1.1.0/lib'
make[1]: Für das Ziel »check« ist nichts zu tun.
make[1]: Leaving directory `/home/sigbj/cryptsetup-1.1.0/lib'
Making check in src
make[1]: Entering directory `/home/sigbj/cryptsetup-1.1.0/src'
make[1]: Für das Ziel »check« ist nichts zu tun.
make[1]: Leaving directory `/home/sigbj/cryptsetup-1.1.0/src'
Making check in man
make[1]: Entering directory `/home/sigbj/cryptsetup-1.1.0/man'
make[1]: Für das Ziel »check« ist nichts zu tun.
make[1]: Leaving directory `/home/sigbj/cryptsetup-1.1.0/man'
Making check in tests
make[1]: Entering directory `/home/sigbj/cryptsetup-1.1.0/tests'
make  apitest
make[2]: Entering directory `/home/sigbj/cryptsetup-1.1.0/tests'
make[2]: »apitest« ist bereits aktualisiert.
make[2]: Leaving directory `/home/sigbj/cryptsetup-1.1.0/tests'
make  check-TESTS
make[2]: Entering directory `/home/sigbj/cryptsetup-1.1.0/tests'
ioctl: LOOP_CLR_FD: Kein passendes Gerät bzw. keine passende Adresse gefunden
ioctl: LOOP_CLR_FD: Kein passendes Gerät bzw. keine passende Adresse gefunden
compatimage.img: Datei oder Verzeichnis nicht gefunden
4+0 records in
4+0 records out
4194304 bytes (4,2 MB) copied, 0,022984 seconds, 182 MB/s
NonFIPSAlg: Crypto is properly initialised in format
 [(success),NonFIPSAlg:693] crypt_init(&cd, DEVICE_2)
 [(success),NonFIPSAlg:694] crypt_format(cd, CRYPT_LUKS1, cipher, cipher_mode, NULL, key, key_size, &params)
FAIL line 694 [NonFIPSAlg]: code -22, Not compatible PBKDF2 options (using hash algorithm whirlpool).
ioctl: LOOP_CLR_FD: Kein passendes Gerät bzw. keine passende Adresse gefunden
FAIL: apitest
==================
1 of 1 test failed
==================
make[2]: *** [check-TESTS] Fehler 1
make[2]: Leaving directory `/home/sigbj/cryptsetup-1.1.0/tests'
make[1]: *** [check-am] Fehler 2
make[1]: Leaving directory `/home/sigbj/cryptsetup-1.1.0/tests'
make: *** [check-recursive] Fehler 1
sled-10sp3:/home/sigbj/cryptsetup-1.1.0 #    




> ----- Original Message -----
> From: Milan Broz <mbroz@redhat.com>
> To: dm-crypt@saout.de
> Subject: Re: [dm-crypt] "ERROR:apitest failed" after make check cryptsetup 1.1.0
> Date: Wed, 28 Apr 2010 12:17:32 +0200
> 
> 
> On 04/28/2010 11:13 AM, Si St wrote:
> > "can you try svn snapshot first - does it work?"
> > What do you mean by "svn Snapshot"?
> 
> I meant current devel code
> http://code.google.com/p/cryptsetup/source/checkout
> 
> (you have to run autoconf there. Or wait few days for 1.1.1 release)
> 
> 
> > Don't understand the expression, I am probably a too weak newbie 
> > in this game.
> >
> > I have by the way ended all attemps of make install until it is 
> > 100%. I dont dare to mess up my SLED10,
> > but in case I later should or ought to update I will do it on 
> > Your recommendation. So far the cryptsetup 1.0.3 works fine and 
> > smooth for me.
> 
> I have no access to SLED10 currently, but it is possible that only 
> test is broken
> because of unsupported IV option - can you try this change?
> 
> http://code.google.com/p/cryptsetup/source/diff?spec=svn201&r=201&path=/trunk/tests/apitest.c
> 
> The test were written primarily for maintainers, so it is quite 
> possible that it fails on some old system,
> but I'll try to fix them in next release.
> 
> Milan
> _______________________________________________
> dm-crypt mailing list
> dm-crypt@saout.de
> http://www.saout.de/mailman/listinfo/dm-crypt

>


-- 
_______________________________________________
Surf the Web in a faster, safer and easier way:
Download Opera 9 at http://www.opera.com

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [dm-crypt] "ERROR:apitest failed" after make check cryptsetup 1.1.0
  2010-04-28  9:13 Si St
@ 2010-04-28 10:17 ` Milan Broz
  0 siblings, 0 replies; 10+ messages in thread
From: Milan Broz @ 2010-04-28 10:17 UTC (permalink / raw)
  To: dm-crypt

On 04/28/2010 11:13 AM, Si St wrote:
> "can you try svn snapshot first - does it work?"
> What do you mean by "svn Snapshot"?

I meant current devel code
http://code.google.com/p/cryptsetup/source/checkout

(you have to run autoconf there. Or wait few days for 1.1.1 release)


> Don't understand the expression, I am probably a too weak newbie in this game.
> 
> I have by the way ended all attemps of make install until it is 100%. I dont dare to mess up my SLED10,
> but in case I later should or ought to update I will do it on Your recommendation. So far the cryptsetup 1.0.3 works fine and smooth for me.

I have no access to SLED10 currently, but it is possible that only test is broken
because of unsupported IV option - can you try this change?

http://code.google.com/p/cryptsetup/source/diff?spec=svn201&r=201&path=/trunk/tests/apitest.c

The test were written primarily for maintainers, so it is quite possible that it fails on some old system,
but I'll try to fix them in next release.

Milan

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [dm-crypt] "ERROR:apitest failed" after make check cryptsetup 1.1.0
@ 2010-04-28  9:13 Si St
  2010-04-28 10:17 ` Milan Broz
  0 siblings, 1 reply; 10+ messages in thread
From: Si St @ 2010-04-28  9:13 UTC (permalink / raw)
  To: dm-crypt

"can you try svn snapshot first - does it work?"
What do you mean by "svn Snapshot"?
Don't understand the expression, I am probably a too weak newbie in this game.

I have by the way ended all attemps of make install until it is 100%. I dont dare to mess up my SLED10, but in case I later should or ought to update I will do it on Your recommendation. So far the cryptsetup 1.0.3 works fine and smooth for me.


> ----- Original Message -----
> From: Milan Broz <mbroz@redhat.com>
> To: Si St <sigbj-st@operamail.com>
> Cc: dm-crypt@saout.de
> Subject: Re: [dm-crypt] "ERROR:apitest failed" after make check cryptsetup 1.1.0
> Date: Tue, 27 Apr 2010 21:38:11 +0200
> 
> 
> On 04/27/2010 09:13 PM, Si St wrote:
> 
> > NonFIPSAlg: Crypto is properly initialised in format
> >  [(success),NonFIPSAlg:691] crypt_init(&cd, DEVICE_2)
> >  [(success),NonFIPSAlg:692] crypt_format(cd, CRYPT_LUKS1, cipher, 
> > cipher_mode, NULL, key, key_size, &params)
> > FAIL line 692 [NonFIPSAlg]: code -22, Not compatible PBKDF2 
> > options (using hash algorithm whirlpool).
> 
> That's test that gcrypt is properly initialised, strange it fails, 
> seems like it uses wrong libcryptsetup...
> can you try svn snapshot first - does it work?
> 
> But the tests are not properly integrated yet in Makefile/autoconf,
> I wrote them to verify new library API/old calls compatibility but 
> not finished integration in autoconf.
> (There are hardcoded loop names etc., another old tests are 
> directly in makefile run by "cd tests; mate test; ...)
> 
> Milan
> 
> 
> _______________________________________________
> dm-crypt mailing list
> dm-crypt@saout.de
> http://www.saout.de/mailman/listinfo/dm-crypt

>


-- 
_______________________________________________
Surf the Web in a faster, safer and easier way:
Download Opera 9 at http://www.opera.com

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [dm-crypt] "ERROR:apitest failed" after make check cryptsetup 1.1.0
  2010-04-27 19:13 Si St
@ 2010-04-27 19:38 ` Milan Broz
  0 siblings, 0 replies; 10+ messages in thread
From: Milan Broz @ 2010-04-27 19:38 UTC (permalink / raw)
  To: Si St; +Cc: dm-crypt

On 04/27/2010 09:13 PM, Si St wrote:

> NonFIPSAlg: Crypto is properly initialised in format
>  [(success),NonFIPSAlg:691] crypt_init(&cd, DEVICE_2)
>  [(success),NonFIPSAlg:692] crypt_format(cd, CRYPT_LUKS1, cipher, cipher_mode, NULL, key, key_size, &params)
> FAIL line 692 [NonFIPSAlg]: code -22, Not compatible PBKDF2 options (using hash algorithm whirlpool).

That's test that gcrypt is properly initialised, strange it fails, seems like it uses wrong libcryptsetup...
can you try svn snapshot first - does it work?

But the tests are not properly integrated yet in Makefile/autoconf,
I wrote them to verify new library API/old calls compatibility but not finished integration in autoconf.
(There are hardcoded loop names etc., another old tests are directly in makefile run by "cd tests; mate test; ...)

Milan

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [dm-crypt] "ERROR:apitest failed" after make check cryptsetup 1.1.0
@ 2010-04-27 19:13 Si St
  2010-04-27 19:38 ` Milan Broz
  0 siblings, 1 reply; 10+ messages in thread
From: Si St @ 2010-04-27 19:13 UTC (permalink / raw)
  To: dm-crypt

OS = SLED 10 Service Pack 3

./configure and make commands went in the end both failfree as far as I could notice, after I had to install different develope-packages along the course of repeatedly failed ./configure's. But not make check:

make check as root went like this:

sigbj@sled-10sp3:~/cryptsetup-1.1.0> sudo make check
root'''s password:
Making check in luks
make[1]: Entering directory `/home/sigbj/cryptsetup-1.1.0/luks'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/home/sigbj/cryptsetup-1.1.0/luks'
Making check in lib
make[1]: Entering directory `/home/sigbj/cryptsetup-1.1.0/lib'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/home/sigbj/cryptsetup-1.1.0/lib'
Making check in src
make[1]: Entering directory `/home/sigbj/cryptsetup-1.1.0/src'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/home/sigbj/cryptsetup-1.1.0/src'
Making check in man
make[1]: Entering directory `/home/sigbj/cryptsetup-1.1.0/man'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/home/sigbj/cryptsetup-1.1.0/man'
Making check in tests
make[1]: Entering directory `/home/sigbj/cryptsetup-1.1.0/tests'
make  apitest
make[2]: Entering directory `/home/sigbj/cryptsetup-1.1.0/tests'
make[2]: `apitest' is up to date.
make[2]: Leaving directory `/home/sigbj/cryptsetup-1.1.0/tests'
make  check-TESTS
make[2]: Entering directory `/home/sigbj/cryptsetup-1.1.0/tests'
ioctl: LOOP_CLR_FD: No such device or address
ioctl: LOOP_CLR_FD: No such device or address
compatimage.img: No such file or directory
4+0 records in
4+0 records out
4194304 bytes (4.2 MB) copied, 0.011604 seconds, 361 MB/s
NonFIPSAlg: Crypto is properly initialised in format
 [(success),NonFIPSAlg:691] crypt_init(&cd, DEVICE_2)
 [(success),NonFIPSAlg:692] crypt_format(cd, CRYPT_LUKS1, cipher, cipher_mode, NULL, key, key_size, &params)
FAIL line 692 [NonFIPSAlg]: code -22, Not compatible PBKDF2 options (using hash algorithm whirlpool).
ioctl: LOOP_CLR_FD: No such device or address
FAIL: apitest
==================
1 of 1 test failed
==================
make[2]: *** [check-TESTS] Error 1
make[2]: Leaving directory `/home/sigbj/cryptsetup-1.1.0/tests'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/home/sigbj/cryptsetup-1.1.0/tests'
make: *** [check-recursive] Error 1
sigbj@sled-10sp3:~/cryptsetup-1.1.0>    

I know that the README files of dazuko points out different traits like this for SuSE:

./configure --disable-local-dpath --disable-chroot-support --enable-syscalls --mapfile=/boot/System.map-2.6.16.60-0.54.5-default

But I am not sure if this is relevant here.
By the way, there could be insufficient sources following my SLED_10_SP3 because it is impossible to get dazuko installed (./configure runs OK, but not make). Otherwise it could be some specialties with the SuSE ENTERPRISE distro. This info just in case it could mean something to you.

QUESTION: Have anybody anything to say about the make check <cryptsetup>? How do I solve it?

S

-- 
_______________________________________________
Surf the Web in a faster, safer and easier way:
Download Opera 9 at http://www.opera.com

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2010-04-30  9:47 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-28 16:18 [dm-crypt] "ERROR:apitest failed" after make check cryptsetup 1.1.0 Si St
  -- strict thread matches above, loose matches on Subject: below --
2010-04-30  9:47 Si St
2010-04-28 16:09 Si St
2010-04-29 17:10 ` Milan Broz
2010-04-28 15:56 Si St
2010-04-28 16:07 ` Felix Blanke
2010-04-28  9:13 Si St
2010-04-28 10:17 ` Milan Broz
2010-04-27 19:13 Si St
2010-04-27 19:38 ` Milan Broz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.