Re: loop-aes-ciphers make problem with kernel version

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> you used an EXTRAVERSION different from that of the
> Debian kernel-image? 

Thanks very much - this explains a lot. I've been
rebuilding kernels from 
http://newbiedoc.sourceforge.net/system/kernel-pkg.html
which doesn't bother mentioning things like
EXTRAVERSION, so I didn't set that at all. I just took
the .config file which came with the 2.4.27-2-386
running kernel, turned off loops under block devices,
and used that to rebuild from the 2.4.27 debian
source, then made an initrd and amended grub
accordingly.

I set --append-to-version to '.noloop' to
differentiate the new loopless kernel from the running
kernel.

> In case you are using make-kpkg, you could try
> setting
> --append-to-version -2-386.
> In case you are using make-kpkg, you could try
> setting
> --append-to-version -2-386.

Yep I'm using make-kpkg.  Err .. at the risk of being
a pain, how do I then differentiate the new kernel
from the running kernel if I set --append-to-version
-2-386 ?

> Does it work 
> after running depmod -a ?

Yes. Encrypted swap (aes128) appears to be working, as
does a device-backed loop encrypted with serpent.

> When building for "official" Debian kernels, I
> recommend to use
> module-assistant to prepare a source tree that
> closely resembles
> the original - including EXTRAVERSION etc. 
> 
> Just do "m-a fakesource" and build using the source
> tree in
> /usr/src/kernel-source-$kvers-$debabi-$subarch

I'll try this.

> ... if you suspect Debian specific problems.

It's newbie-specific problems I think ...

Thanks again for your help.




__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-
Linux-crypto:  cryptography in and on the Linux system
Archive:       http://mail.nl.linux.org/linux-crypto/


[Index of Archives]     [Kernel]     [Linux Crypto]     [Gnu Crypto]     [Gnu Classpath]     [Netfilter]     [Bugtraq]
  Powered by Linux