Re: Invalid module format

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

 



> Rudolf Deilmann <rudolf.deilmann@xxxxxxxxx>:

> Why can't loopAES be installed parallel to mainline loop?
> I've once tried it myself ( Of course I don't understand, what I
> did, because I don't have any deeper knowledge about the linux
> kernel ;) ): I've simply changed some names and assigned different
> values to constants to avoid conflicts (other ioctl numbers, another
> block major number,...) After that, it seemed to be possible to use
> both in parallel: /dev/loopX together with mainline loop (loop.ko),
> and /dev/xloopX with loop-aes (xloop.ko).

Normally using loop-aes along with other modules shouldn´t be a problem. Modules are not a part of the kernel image and thus can be patched/compiled/loaded separately as needed.

> Are there any deeper conflicts between mainline loop and loopAES , so
> it's not possible to use them both at the same time?

The point with kernel 2.6.28-11-generic as compiled by ubuntu 9.04 is the integration of the loop module into the standard kernel image. Compiling the latest loop-aes sources works quite fine and results in a loop.ko module. When trying to load this module an error occurs and dmesg says:

loop: exports duplicate symbol loop_unregister_transfer (owned by kernel)

Since this type of error isn´t new, got it on SuSE plenty of times, I remember there is some condition for use of loop-aes unsatisfied. Current standard kernel is configured with CONFIG_BLK_DEV_LOOP=y whereas loop-aes needs it to be a module or left out (m/n). 

> Installing an additional module is easy ( especially, if dkms is part
> of the distribution); compiling an own kernel is time consuming and too
> difficult for many users. 

In case you made loop-aes work on ubuntu 9.04 I´d like to see your changes. So far I got the kernel sources, reconfigured the loop to be off the kernel and up to now the compile process runs for 90 minutes.
 
> Perhaps, the current procedure of installation discourages many from
> using loopAES ...

The current development of ubuntu discourages me from going on using it.

Kind regards,
Peter

-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger01

-
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