Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 261709 - sys-fs/loop-aes-3.2e fails with kernel 2.6.29-rc6
Summary: sys-fs/loop-aes-3.2e fails with kernel 2.6.29-rc6
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal with 1 vote (vote)
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords:
Depends on: 268676
Blocks: 264722
  Show dependency tree
 
Reported: 2009-03-08 15:00 UTC by Petteri Räty (RETIRED)
Modified: 2009-07-09 10:29 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch in analogy to similar bugreports (loop-AES-v3.2e-kernel-2.6.29.patch,2.33 KB, patch)
2009-03-25 15:43 UTC, Raimar Sandner
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Petteri Räty (RETIRED) gentoo-dev 2009-03-08 15:00:27 UTC
* Determining the location of the kernel source code                                                                                                                                                                                       
 * Found kernel source directory:                                                                                                                                                                                                           
 *     /usr/src/linux                                                                                                                                                                                                                       
 * Found kernel object directory:                                                                                                                                                                                                           
 *     /lib/modules/2.6.29-rc6/build                                                                                                                                                                                                        
 * Found sources for kernel version:                                                                                                                                                                                                        
 *     2.6.29-rc6                                                                                                                                                                                                                           
>>> Unpacking source...                                                                                                                                                                                                                     
>>> Unpacking loop-AES-v3.2e.tar.bz2 to /var/tmp/portage/sys-fs/loop-aes-3.2e/work                                                                                                                                                          
>>> Source unpacked.                                                                                                                                                                                                                        
>>> Configuring source in /var/tmp/portage/sys-fs/loop-aes-3.2e/work/loop-AES-v3.2e ...                                                                                                                                                     
>>> Source configured.                                                                                                                                                                                                                      
>>> Compiling source in /var/tmp/portage/sys-fs/loop-aes-3.2e/work/loop-AES-v3.2e ...                                                                                                                                                       
ln: creating symbolic link `Module.symvers': File exists                                                                                                                                                                                    
 * Preparing loop module                                                                                                                                                                                                                    
make HOSTCC=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-pc-linux-gnu- LDFLAGS= LINUX_SOURCE=/usr/src/linux KBUILD_OUTPUT= USE_KBUILD=y MODINST=n RUNDM=n all                                                                                   
rm -r -f *.ko tmp-d-kbuild                                                                                                                                                                                                                  
mkdir tmp-d-kbuild                                                                                                                                                                                                                          
echo 'obj-m:=' >>tmp-d-kbuild/Makefile                                                                                                                                                                                                      
cd tmp-d-kbuild && ln -s ../loop.c-2.6.patched patched-loop.c && ln -s ../glue.c ../aes.h ../md5.h .                                                                                                                                        
echo 'obj-m += loop.o' >>tmp-d-kbuild/Makefile                                                                                                                                                                                              
cd tmp-d-kbuild && ln -s ../aes-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:=      -DX86_ASM' >>tmp-d-kbuild/Makefile                                                                                                                                                                                
cd /usr/src/linux && make SUBDIRS=/var/tmp/portage/sys-fs/loop-aes-3.2e/work/loop-AES-v3.2e/tmp-d-kbuild modules                                                                                                                            
make[1]: Entering directory `/usr/src/linux-2.6.29-rc6'                                                                                                                                                                                     
  CC [M]  /var/tmp/portage/sys-fs/loop-aes-3.2e/work/loop-AES-v3.2e/tmp-d-kbuild/patched-loop.o                                                                                                                                             
/var/tmp/portage/sys-fs/loop-aes-3.2e/work/loop-AES-v3.2e/tmp-d-kbuild/patched-loop.c: In function 'loop_set_status':                                                                                                                       
/var/tmp/portage/sys-fs/loop-aes-3.2e/work/loop-AES-v3.2e/tmp-d-kbuild/patched-loop.c:1657: error: 'struct task_struct' has no member named 'uid'                                                                                           
/var/tmp/portage/sys-fs/loop-aes-3.2e/work/loop-AES-v3.2e/tmp-d-kbuild/patched-loop.c:1713: error: 'struct task_struct' has no member named 'uid'                                                                                           
make[2]: *** [/var/tmp/portage/sys-fs/loop-aes-3.2e/work/loop-AES-v3.2e/tmp-d-kbuild/patched-loop.o] Error 1                                                                                                                                
make[1]: *** [_module_/var/tmp/portage/sys-fs/loop-aes-3.2e/work/loop-AES-v3.2e/tmp-d-kbuild] Error 2                                                                                                                                       
make[1]: Leaving directory `/usr/src/linux-2.6.29-rc6'                                                                                                                                                                                      
make: *** [all] Error 2                                                                                                                                                                                                                     
                    

>>> Failed to emerge sys-fs/loop-aes-3.2e, Log file:


Portage 2.2_rc20 (default/linux/x86/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.29-rc6 i686)
=================================================================
System uname: Linux-2.6.29-rc6-i686-Intel-R-_Core-TM-2_CPU_6600_@_2.40GHz-with-glibc2.0
Timestamp of tree: Unknown
distcc 3.1 i686-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p48-r1
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.4.4-r15, 2.5.4-r2, 2.6.1
dev-python/pycrypto: 2.0.1-r7
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r1
sys-apps/sandbox:    1.3.8
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -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/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
DISTDIR="/var/distfiles"
FEATURES="ccache collision-protect distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms sign strict unmerge-orphans userfetch userpriv usersandbox verify-rdepend"
GENTOO_MIRRORS=" http://trumpetti.atm.tut.fi/gentoo"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,--as-needed -Wl,-O1"
LINGUAS="fi en"
PKGDIR="/home/pkg/"
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"
PORTDIR_OVERLAY="/mnt/checkouts/overlays/flameeyes-overlay /mnt/checkouts/overlays/openrc /mnt/checkouts/overlays/sunrise /mnt/checkouts/overlays/wschlich-testing /mnt/checkouts/overlays/jokey /mnt/checkouts/overlays/finnish"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="a52 aac acl acpi alsa audiofile bash-completion bluetooth branding bzip2 cairo caps cdb cddb cdparanoia cdr cli cracklib crypt cups custom-cxxflags dbus dri dts dvd dvdr dvdread emboss evo fam ffmpeg firefox gif glib hal iconv ipv6isdnlog java jpeg kde kdeenablefinal kdehiddenvisibility libnotify logitech-mouse mad mikmod mjpeg mmx mp3 mp4 mpeg mudflap ncurses network nptl nptlonly nsplugin nvidia offensive ogg opengl openmp pam pcre pdf png ppds pppd pulseaudio qt3 qt3support quicktime readline reflection rtc samba session spell spl sse sse2 ssl ssse3 startup-notification subversion svg symlink sysfs theora threads tiff truetype udev unicode usb userlocales vim-syntax vorbis win32codecs x86 xcbxcomposite xinerama xml xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="hda-intel" 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 plugrate 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fi en" USERLAND="GNU" VIDEO_CARDS="none nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Raimar Sandner 2009-03-25 15:20:56 UTC
Same bug with gentoo-sources-2.6.29.
Comment 2 Raimar Sandner 2009-03-25 15:43:09 UTC
Created attachment 186231 [details, diff]
patch in analogy to similar bugreports

This patch works for me.
Comment 3 Alon Bar-Lev 2009-03-25 19:53:26 UTC
loop-aes-3.2f is out, fixes this.
Comment 4 Alon Bar-Lev 2009-03-26 05:56:24 UTC
forgot to write, just rename the current ebuild...
Comment 5 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-04-05 17:54:30 UTC
sys-fs/loop-aes-3.2f is now in the tree.
Comment 6 Michael Weber (RETIRED) gentoo-dev 2009-04-21 23:47:40 UTC
3.2e does not compile, 3.2f works here at amdfam10 and nocona, please stabilize 3.2f or mask 3.2e.
Comment 7 Alon Bar-Lev 2009-04-22 05:56:13 UTC
Michael : 2.6.29 is not stable yet, so nothing should be done.
Comment 8 Michael Weber (RETIRED) gentoo-dev 2009-04-22 07:59:20 UTC
Alon: Please accept my apology, I've not considered that fakt.
Comment 9 George Kargiotakis 2009-06-10 10:02:58 UTC
2.6.29-r5 is now stable. loop-aes-3.2f compiles fine with it on x86.
Comment 10 Christian Faulhammer (RETIRED) gentoo-dev 2009-07-08 20:49:11 UTC
(In reply to comment #9)
> 2.6.29-r5 is now stable. loop-aes-3.2f compiles fine with it on x86.

 Did you also try to run it?  It compiles fine but I cannot load the module, see bug 268676.
Comment 11 Christian Faulhammer (RETIRED) gentoo-dev 2009-07-09 10:29:18 UTC
Closing this meanwhile...it is at least stable on x86 and 2.6.29 is also stable.