[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Cryptoapi problems with kernel 2.4.18
David,
Thanks for the information. I should have made it clearer that I
did obtain the util-linux sources (as util-linux-2.11r.tar.gz)
and patched them (using util-linux-2.11o.patch.gz).
Maybe I am not picking up consistent header and library files.
If I get any success in the next few days, I'll post the details.
Otherwise I'll give up and wait for the revised HOWTO.
John Green util-linux-2.11o.patch util-linux-2.11o.patch
>From: David Bryson <dbryson@du.edu>
>To: John Green <greenjh@hotmail.com>
>CC: linux-crypto@nl.linux.org
>Subject: Re: Cryptoapi problems with kernel 2.4.18
>Date: 29 May 2002 13:56:33 -0600
>
>Yes, the HOW-TO is *very* out of date. Unfortunatly the lack of
>development in cryptoapi(until the last 6 months) is a direct result of
>that. I almost have a new updated HOW-TO finished, I am just not sure
>how I am going to release it yet(whether with the cryptoapi source or
>send it to linuxdoc). It will be ready for the cryptoapi 0.1 release...
>whenever that happens.
>
>I'm pretty sure your LOOP_SET_STATUS problem has to do with you not
>patching your util-linux driver correctly. You may need to go and get
>the util-linux sources manually and patch them, as i do not know if
>there is a mandrake rpm available.
>
>Dave
>
>
>On Wed, 2002-05-29 at 11:32, John Green wrote:
> >
> > I cannot get the international cryptoapi patches
> > to work with kernel 2.4.18.
> >
> > There are too many variables for me to solve the
> > problems.
> >
> > I am running Mandrake 7.2, with kernel 2.4.18 and
> > glibc 2.1.3 on a Dell laptop.
> >
> > I built the kernel without using any modules.
> > During start-up, the kernel reports that the
> > blowfish and MD5 have been loaded.
> >
> > All operations were done as the superuser.
> >
> > 1. The HOWTO (http://cryptoapi.sourceforge.net/)
> > seems to be out of date. It makes no reference
> > to kernel 2.4. It was therefore unclear which
> > kernel configuration options apply. The HOWTO
> > mentions CONFIG_BLK_DEV_LOOP_USE_REL_BLOCK and
> > CONFIG_BLK_DEV_LOOP_GEN, but I could not find
> > them in my linux kernel sources. Which options
> > should I use?
> >
> > 2. There were issues making the patched versions
> > of losetup, mount and umount.
> >
> > 2a Do I still need to run the script posted
> > to the mailing list on 19 Jan 2002 by
> > Pavel Minev Penev? It generates a loop.h file
> > which losetup.c seems to need. Depending on
> > paths, the generated file may further include
> >
> > util-linux/mount/h/loop.h
> >
> > or
> >
> > linux/include/linux/include/loop.h
> >
> > They are not the same. Which is correct? On my
> > system, only linux/include/linux/include/loop.h
> > compiles correctly.
> >
> > 2b The make command failed to find env.o and
> > xstrncpy.o. The solution was to add
> >
> > make -C lib xstrncpy.o
> > make -C lib env.o
> >
> > after
> >
> > make -C lib setproctitle.o.
> >
> > (The HOWTO mentions setproctitle, but not
> > the others.) Is this solution correct?
> >
> > 3. I used the following losetup command:
> >
> > setup -e blowfish /dev/loop0 .crypto
> >
> > It gives the following error.
> >
> > The cipher does not exist, or a cipher module needs to be loaded into
>the
> > kernel
> > ioctl: LOOP_SET_STATUS: Invalid argument
> >
> >
> >
> > _________________________________________________________________
> > Get your FREE download of MSN Explorer at
>http://explorer.msn.com/intl.asp.
> >
> > -
> > Linux-crypto: cryptography in and on the Linux system
> > Archive: http://mail.nl.linux.org/linux-crypto/
> >
>
><< signature.asc >>
_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com
-
Linux-crypto: cryptography in and on the Linux system
Archive: http://mail.nl.linux.org/linux-crypto/