PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : loop-aes kernel 2.6.3



krischan2000
23.03.04, 18:15
Hi,

ich wollt heute mal loop-aes auf meiner kiste installieren. Hab alles nach dem howto auf pro-linux (http://www.pl-berichte.de/t_system/loop-aes.html) gemacht nur leider krieg ich beim patchen der linux-utils folgenden Fehler:



krischan:/home/krischan/Downloadz/loop-eas/util-linux-2.12pre# cat ./loop-AES-v2.0g/util-linux-2.12a.diff | patch -p1
patching file mount/Makefile
Hunk #3 FAILED at 80.
1 out of 3 hunks FAILED -- saving rejects to file mount/Makefile.rej
patching file mount/aes.c
patching file mount/aes.h
patching file mount/lomount.c
Hunk #1 FAILED at 7.
Hunk #2 FAILED at 24.
Hunk #3 FAILED at 98.
Hunk #4 FAILED at 158.
Hunk #5 FAILED at 166.
Hunk #6 FAILED at 182.
Hunk #7 FAILED at 589.
Hunk #8 FAILED at 611.
Hunk #9 FAILED at 766.
Hunk #10 FAILED at 804.
10 out of 10 hunks FAILED -- saving rejects to file mount/lomount.c.rej
patching file mount/lomount.h
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file mount/lomount.h.rej
patching file mount/loop.c
can't find file to patch at input line 1921
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN util-linux-2.12a/mount/loop.h util-linux-2.12a-AES/mount/loop.h
|--- util-linux-2.12a/mount/loop.h Wed Jul 16 23:06:02 2003
|+++ util-linux-2.12a-AES/mount/loop.h Fri Mar 5 18:48:49 2004
--------------------------
File to patch:



hab beim patchen mal -p0, -p1, -p2 probiert bringt alles nix ausser unterschiedliche dateien bei denen der patch meckert, z.b. lomount.c. Laut der patch ausgabe sucht der ja im verzeichniss util-linux-2.12a, ich hab allerdings nur die util-linux-2.12pre bei kernel.org gefunden und gezogen. Ein umbennen bringt auch nichts..

Bin irgendwie zum blöd zum patchen aber vielleicht kann ja wer helfen..

thc schonmal..

hp_tux
23.03.04, 22:03
Hallo,

tja, scheint so, daß der Patch nicht zu Deinen Dateien paßt (util-linux-2.12a != util-linux-2.12pre)!

Gruß

hp_tux

DarkSorcerer
24.03.04, 07:21
warum nimmst du nicht das aes modul von 2.6?

MiGo
24.03.04, 08:37
Das Problem hatte ich auch. util-linux-2.12a war zumindest vor ein paar Tagen noch nciht auf Kernel.org zu finden. Einfach nach dem Dateinamen Googeln, dann findest du auch das .tar.gz, das zu deinem Loopaes passt.
MiGo

P.S.: @DarkSorcerer
Ich meine gelesen zu haben, dass sich in den Kernelmodules so viel getan hat, dass du mit dem 2.6er AES keine Archive mehr entschlüssenl kannst, die mit dem 2.4er verschlüsselt worden sind; mit loop-aes funktioniert das ohne Probleme.

krischan2000
24.03.04, 15:49
dickes thx, funktioniert jetzt einwandfrei :)

nur blöd das wenn ich das falsche pw beim booten angeben nen fehler kommt und der rechner trotzdem bootet.. geht das irgendwie zu realisieren das man das pw nochmal eingeben kann wenns falsch war und der rechner nur dann bootet wenn das pw richtig ist?

MiGo
26.03.04, 10:17
Dazu wirst du wohl an dem entspechenden Startscript rumbasteln müssen, und im entsprechenden Script in irgendeiner Form eine while-Schleife einbauen müssen.