loop-aes module not usable cause standard lucid kernel has CONFIG_BLK_DEV_LOOP=y

Asked by Thorsten Peter

I am running Lucid AMD64 Server and am trying to get loop-aes to work.
I installed loop-aes-source and compiled it via module-assistant. Worked fine but I cannot load the module.
I get the following errors:

$ modprobe loop
FATAL: Error inserting loop (/lib/modules/2.6.32-23-generic/updates/loop.ko): Invalid module format

loop: exports duplicate symbol loop_unregister_transfer (owned by kernel)

From what I read and know about loop-aes this is caused if you have the loop driver compiled into the kernel which is the case with Lucid.
Does that mean that the only way to use loop-aes is compiling a custom kernel?
This would raise the question if it makes sense to include loop-aes packages with lucid at all?
If I gotta recompile the kernel to use loop-aes, I can for sure compile loop-aes from source manually as well ....

Thx

Thorsten

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu loop-aes Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Adam Buchbinder (adam-buchbinder) said :
#1

This is apparently a decision of the kernel team. You can follow the linked bug report to see if they manage to find a workaround, but if you want loop-aes right now, you'll have to compile your own custom kernel. (You can apparently also use dm-crypt for now, if that's helpful.)

Revision history for this message
Jirka (hladky-jiri) said :
#2

Hi Thorsten,

I'm running Lucid with 2.6.32-24-generic kernel.

I have run into the same issue. I can create loop.ko but it does not work:

# modprobe loop
FATAL: Error inserting loop (/lib/modules/2.6.32-24-generic/updates/loop.ko): Invalid module format

Is there some other solution other than recompile the kernel?

So far I have used aespipe to remove the encryption:
aespipe -d -e aes256 -K keyfile.gpg <data.img >data.plain
.

I have used aes-loop for 8 years and I was very happy with it. Now it seems I need to use another solution. What are the alternatives?

Thanks
Jirka

Can you help with this problem?

Provide an answer of your own, or ask Thorsten Peter for more information if necessary.

To post a message you must log in.