Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
View Bug Activity | Format For Printing | XML | Clone This Bug
Hi, I just upgraded my kernel to the last stable sys-kernel/gentoo-sources-2.6.22-r2. After that, I tried to remerge some additionnal modules, including loop-aes. The rebuild of loop-aes failed with the following error message (copied and pasted from build.log) : * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 2.6.22-gentoo-r2 >>> Unpacking source... >>> Unpacking loop-AES-v3.1e.tar.bz2 to /var/tmp/portage/sys-fs/loop-aes-3.1e/work >>> Source unpacked. >>> Compiling source in /var/tmp/portage/sys-fs/loop-aes-3.1e/work/loop-AES-v3.1e ... * Preparing loop module rm -r -f tmp-d-kbuild mkdir tmp-d-kbuild cd tmp-d-kbuild && ln -s ../loop.c-2.6.patched patched-loop.c && ln -s ../glue.c glue.c && ln -s ../aes.h aes.h && ln -s ../md5.h md5.h cd tmp-d-kbuild && ln -s ../aes-x86.S aes-x86.S && ln -s ../md5-x86.S md5-x86.S echo 'loop-y:=patched-loop.o glue.o aes-x86.o md5-x86.o' >>tmp-d-kbuild/Makefile echo 'EXTRA_CFLAGS:= -DCONFIG_BLK_DEV_LOOP_KEYSCRUB=1 -DX86_ASM' >>tmp-d-kbuild/Makefile echo 'obj-m:=loop.o' >>tmp-d-kbuild/Makefile cd /usr/src/linux && make M=/var/tmp/portage/sys-fs/loop-aes-3.1e/work/loop-AES-v3.1e/tmp-d-kbuild modules make[1]: entrant dans le répertoire « /usr/src/linux-2.6.22-gentoo-r2 » make[1]: AVERTISSEMENT: serveur de tâches n'est pas disponible: utilisation de -j1. Ajouter « + » à la règle parent du make. CC [M] /var/tmp/portage/sys-fs/loop-aes-3.1e/work/loop-AES-v3.1e/tmp-d-kbuild/patched-loop.o /var/tmp/portage/sys-fs/loop-aes-3.1e/work/loop-AES-v3.1e/tmp-d-kbuild/patched-loop.c: In function ‘loop_clr_fd’: /var/tmp/portage/sys-fs/loop-aes-3.1e/work/loop-AES-v3.1e/tmp-d-kbuild/patched-loop.c:1536: erreur: too many arguments to function ‘invalidate_bdev’ make[2]: *** [/var/tmp/portage/sys-fs/loop-aes-3.1e/work/loop-AES-v3.1e/tmp-d-kbuild/patched-loop.o] Erreur 1 make[1]: *** [_module_/var/tmp/portage/sys-fs/loop-aes-3.1e/work/loop-AES-v3.1e/tmp-d-kbuild] Erreur 2 make[1]: quittant le répertoire « /usr/src/linux-2.6.22-gentoo-r2 » make: *** [all] Erreur 2 !!! ERROR: sys-fs/loop-aes-3.1e failed. Call stack: ebuild.sh, line 1632: Called dyn_compile ebuild.sh, line 983: Called qa_call 'src_compile' ebuild.sh, line 44: Called src_compile ebuild.sh, line 1322: Called linux-mod_src_compile linux-mod.eclass, line 516: Called die !!! Unable to make LINUX_SOURCE=/usr/src/linux KBUILD_OUTPUT= USE_KBUILD=y MODINST=n RUNDM=n KEYSCRUB=y all. !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/var/tmp/portage/sys-fs/loop-aes-3.1e/temp/build.log'. After some googling, it seems to me that the 2.6.22 kernel introduces some changes that make it incompatible with loop-aes (or at least the last stable version of loop-aes available in portage ?). Reproducible: Always Steps to Reproduce: 1. intall sys-kernel/gentoo-sources-2.6.22-r2 2. emerge loop-aes Here is my 'emerge --info' : Portage 2.1.2.11 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.5-r4, 2.6.22-gentoo-r2 i686) ================================================================= System uname: 2.6.22-gentoo-r2 i686 mobile AMD Athlon(tm) XP-M 2000+ Gentoo Base System release 1.12.9 Timestamp of tree: Wed, 15 Aug 2007 09:00:01 +0000 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.4-r4 dev-python/pycrypto: 2.0.1-r6 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.23b virtual/os-headers: 2.6.21 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -msse -mfpmath=sse -ftracer" 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/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -msse -mfpmath=sse -ftracer" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="fr_FR.UTF-8" LC_ALL="fr_FR.UTF-8" LINGUAS="fr fr_FR" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/sunrise" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X a52 aac acl acpi alsa arts asf audiofile berkdb bidi binfilter bitmap-fonts bzip2 cairo cdparanoia cdr cjk cli cracklib crypt css cups curl dbus disk-partition dri dts dvd dvdread edl encode exif fbcon ffmpeg fftw firefox fontconfig gdbm ggi gif gimp gimpprint gnutls gtk hal hdri iconv idn imagemagick immqt-bc isdnlog jce jpeg kde lame lcms libsamplerate live logrotate lzo mad mailwrapper midi mmx mmxext mozsvg mp3 mpeg mplayer mudflap ncurses nls nptl nptlonly nsplugin ogg openmp pam pcre pdf perl png postscript pppd python qt3 quicktime rar readline real reflection rtc samba scanner session spell spl srt sse ssl subtitles subversion svg symlink syslog tcpd theora threads tiff toolbar truetype truetype-fonts type1-fonts unicode urandom usb userlocales vorbis win32codecs wmf x264 x86 xcb xine xml xorg xpm xv xvid zip 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="calcomp evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr fr_FR" USERLAND="GNU" VIDEO_CARDS="fbdev sis vesa" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Try w/ loop-aes-3.2a please, and report back.
(In reply to comment #1) > Try w/ loop-aes-3.2a please, and report back. I installed loop-aes-3.2a and I could mount an encrypted partition without problems.
(In reply to comment #2) > I installed loop-aes-3.2a and I could mount an encrypted partition without > problems. Reopen, needs to be stabilized.
...
x86, please stabilize.
Stable on Xencrypted86 Closing since we're only arch