Hi, I'm not usind Truecrypt's ebuild, but I've this problem only with Gentoo (on other machines with Debian, Slackware it works ok). When I try to mount a truecrypt volume, I got this error in /var/log/messages: Mar 27 20:30:19 pablo [ 5128.510279] device-mapper: table: 254:0: crypt: Error allocating crypto tfm Mar 27 20:30:19 pablo [ 5128.510537] device-mapper: ioctl: error adding target to table Reproducible: Always Steps to Reproduce: 1. download truecrypt 6.1a sources form www.truecrypt.org 2. download PKCS from here ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/ 3. export PKCS11_INC=/path/to/pkcs && make 4. run truecrypt 5. try to mount a volume
# emerge --info Portage 2.1.6.7 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.8_p20080602-r1, 2.6.27-gentoo-r8 i686) ================================================================= System uname: Linux-2.6.27-gentoo-r8-i686-AMD_Sempron-tm-_2400+-with-glibc2.0 Timestamp of tree: Sun, 22 Mar 2009 20:30:01 +0000 app-shells/bash: 3.2_p39 dev-lang/python: 2.4.4-r13, 2.5.2-r7 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.63 sys-devel/automake: 1.7.9-r1, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo/ " LDFLAGS="-Wl,-O1" LINGUAS="it en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acl acpi alsa berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam firefox fortran gdbm gif gpm gstreamer gtk hal iconv isdnlog jpeg kde ldap libnotify mad midi mikmod mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vorbis win32codecs x86 xml xorg xulrunner xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it en" USERLAND="GNU" VIDEO_CARDS="NVIDIA" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
siugh ~ # uname -a Linux siugh 2.6.27-gentoo-r8 #3 Thu Mar 26 14:06:47 CET 2009 i686 AMD Sempron(tm) 2400+ AuthenticAMD GNU/Linux siugh ~ # lsmod Module Size Used by dm_crypt 11268 0 snd_seq_midi 5760 0 snd_emu10k1_synth 5504 0 snd_emux_synth 27008 1 snd_emu10k1_synth snd_seq_virmidi 4608 1 snd_emux_synth snd_seq_midi_emul 4992 1 snd_emux_synth dm_mod 40388 1 dm_crypt fuse 43036 0 snd_emu10k1 114464 1 snd_emu10k1_synth snd_util_mem 3328 2 snd_emux_synth,snd_emu10k1 nvidia 7079656 24 snd_hwdep 6020 2 snd_emux_synth,snd_emu10k1 snd_via82xx 19476 0 floppy 45828 0 snd_ac97_codec 87712 2 snd_emu10k1,snd_via82xx ac97_bus 1536 1 snd_ac97_codec snd_mpu401_uart 5632 1 snd_via82xx button 6160 0 thermal 15516 0 snd_rawmidi 16640 4 snd_seq_midi,snd_seq_virmidi,snd_emu10k1,snd_mpu401_uart parport_pc 22436 0 via_rhine 17800 0 processor 22560 1 thermal parport 28872 1 parport_pc
Sorry but we cannot help fixing problems with software that we do not provide in portage. The latest truecrypt version in portage is 6.0a and even that version is masked. Quote from /usr/portage/profiles/package.mask: # Daniel Black <dragonheart@gentoo.org> (4 Nov 2008) # Legal problems #241650 causing distribution problems #245322 and build problems #237493 app-crypt/truecrypt