-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Monday 2007-04-16 at 09:27 +0200, Ludwig Nussel wrote:
In this case modify the script to use the directoy where your kernel sources are. Alternatively patch your kernel sources directly. Or just try a 10.3 Alpha version, the dm-crypt patch is included there already.
10.3 I can't even try because I have 20 partitions in hda, and 16 in hdd: I understand that the maximum is 15 for the moment. I have modified 'compile.sh' as follows: #!/bin/sh set -e cp /usr/src/linux/drivers/md/dm{.h,-crypt.c} . patch -p3 < dm-crypt-nulliv.diff #make -C /usr/src/linux-obj/i386/default M=$(pwd) modules make -C /usr/src/linux M=$(pwd) modules rm -rf .tmp_versions Module.symvers .*.cmd *.o *.mod.* echo "ok, now run insmod ./dm-crypt.ko" but insmod fails: nimrodel:~/bin/cryptsetup-legacy # insmod ./dm-crypt.ko insmod: error inserting './dm-crypt.ko': -1 File exists I guess that is because the normal crypto partition is active, but I don't know; 'lsmod' says: Module Size Used by dm_crypt 12552 0 dm_mod 62264 1 dm_crypt cryptoloop 3968 2 loop 18184 5 cryptoloop So the alternative is to compile all modules and reboot. [...] Done that, but now it fails somewhere else: nimrodel:~/bin/cryptsetup-legacy # ./cryptsetup-twofishSL92 foo /dev/hdc Enter passphrase: nimrodel:~/bin/cryptsetup-legacy # l /dev/mapper/ total 0 drwxr-xr-x 2 root root 80 Apr 16 23:41 ./ drwxr-xr-x 11 root root 8200 Apr 16 23:41 ../ lrwxrwxrwx 1 root root 16 Apr 16 23:32 control -> ../device-mapper brw------- 1 root root 253, 0 Apr 16 23:41 foo nimrodel:~/bin/cryptsetup-legacy # mount /dev/mapper/foo a/ mount: Function not implemented I have no idea what function it is talking about... but as far as I know,, I'm following your instructions. I forgot to 'insmod dm-crypt', but it is there already: nimrodel:~/bin/cryptsetup-legacy # lsmod | grep dm_crypt dm_crypt 12808 1 dm_mod 62264 2 dm_crypt I noticed that the compile.sh aplies dm-crypt-nulliv.diff, but there is another file, 'cryptsetup-luks-1.0.4-loop_fish2_compat.diff' that is not applied anywhere. Should I? If so, what to and how? Also, I have that 'foo' mapped, but I don't know how to unmap it. Can I simply eject the dvd in /dev/hdc? This is new to me. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFGI/cvtTMYHG2NR9URAu0NAJwKJqOP6P7IrQkkcjayeAqP+aA+AACeJ49o 7kr2VgYjJQu4dp+xelomXLw= =D0iw -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-security+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-security+help@opensuse.org