After updating gentoo-sources to 2.6.20 and rebuilding kernel modules, I get the following error with unionfs 1.5_pre200701042308: * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 2.6.20-gentoo * * you need the proper kernel version! * * kernel: 2.4.x (x>19) Version: 1.0.14 * kernel: 2.6.x (x<9) Version: Not Supported * kernel: 2.6.9 - 2.6.15 Version: 1.1.5 * kernel: 2.6.16 Version: 1.2 * kernel: 2.6.17 Version: 1.3 * kernel: 2.6.18 Version: 1.4 * kernel: 2.6.19 Version: 1.5 !!! ERROR: sys-fs/unionfs-1.5_pre200701042308 failed. As with 2.6.19 there's no 1.5 release available yet. A compatible version would have to be either a 1.6 snapshot or 2.0 which does seem to be available, at least for -mm.
This might be helpful ;-) Portage 2.1.2-r8 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r4 x86_64) ================================================================= System uname: 2.6.19-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.13.0_alpha12 Timestamp of tree: Mon, 05 Feb 2007 23:50:01 +0000 ccache version 2.4 [enabled] dev-java/java-config: 1.3.7, 2.0.31-r3 dev-lang/python: 2.4.4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r6 sys-apps/sandbox: 1.2.18.1 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.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.20 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -pipe -ggdb" CHOST="x86_64-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/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-march=k8 -O2 -pipe -ggdb -ffriend-injection" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="" FEATURES="autoconfig ccache distlocks fixpackages parallel-fetch sandbox sfperms splitdebug strict" GENTOO_MIRRORS="http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://gentoo.osuosl.org/ " LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LINGUAS="en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_EXTRA_OPTS="--timeout=120" 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" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/portage/local/layman/wrobel /usr/portage/local/layman/gnome-experimental /usr/portage/local/layman/break-my-gentoo-main /usr/local/overlays/myoverlay /usr/local/overlays/bmg-main" SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage" USE="X a52 aac alsa amd64 amr bash-completion berkdb bitmap-fonts bzip2 cairo cdda cdr cli cracklib crypt css cups dbus debug dlloader dri dts dvd dvdr eds emboss encode esd fam ffmpeg firefox flac fortran gdbm gif glitz gnome gpm gstreamer gtk gtk2 hal iconv ipv6 isdnlog java jpeg kde kdehiddenvisibility ldap libg++ libnotify mad midi mikmod mono mp3 mpeg ncurses nls nptl nptlonly ogg opengl pam pcre perl pic png ppds pppd python qt3 qt4 quicktime readline reflection ruby samba sdl session spell spl sqlite ssl tcpd theora tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales vcd vorbis x264 xcb xml xorg xv xvid zlib" ALSA_CARDS="emu10k1" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="vesa nvidia" Unset: CTARGET, INSTALL_MASK, LDFLAGS
There is some upstream info here: http://www.am-utils.org/project-unionfs.html
Created attachment 111364 [details] ebuild gzipped - untar to /usr/local/portage/sys-kernel/gentoo-sources contains a slightly modified ebuild based on gentoo-sources-2.6.20
Created attachment 111365 [details] patch - put to /usr/portage/distfiles Contains the unionfs diff from http://www.filesystems.org/project-unionfs.html
The attachments from comments #3 and #4 add the unionfs 2.0 diff as a patchset to gentoo-sources-2.6.20. For me it works. I use it for the squashed portage tree discribed on http://gentoo-wiki.com/HOWTO_VERY_small_Portage_Tree_with_SquashFS_and_UnionFS
Created attachment 111395 [details] genpatches-2.6.20-1.unionfs.tar.bz2 Put this to /usr/portage/distfiles This is the same as attachment 2 [details] but hopefully the mime-type and the file name will be visible in bugzilla now.
Created attachment 113162 [details] genpatches-2.6.20-3.unionfs.tar.bz2 The same file as attachment 111395 [details]
Created attachment 113163 [details] gentoo-sources-2.6.20-r2-unionfs-overlay.tgz Based on gentoo-sources-2.6.20-r2
Comment on attachment 111364 [details] ebuild gzipped - untar to /usr/local/portage/sys-kernel/gentoo-sources Take new version
Comment on attachment 113163 [details] gentoo-sources-2.6.20-r2-unionfs-overlay.tgz Take new version
Created attachment 113608 [details] gentoo-sources-2.6.20-r3-unionfs-overlay.tgz - Overlay-collection overlay collection
Created attachment 113609 [details] genpatches-2.6.20-4.unionfs.tar.bz2 - unionfs original patch Same as attachment 113162 [details] - put it to you distfiles folder
Created attachment 114469 [details] gentoo-sources-2.6.20-r4-unionfs-overlay.tgz - Overlay-collection Extract to /usr/local/portage/sys-kernel/gentoo-sources. Contains also the older ebuild versions.
Created attachment 114471 [details] genpatches-2.6.20-5.unionfs.tar.bz2 - unionfs original patch Same file as attachment 113609 [details] - put it to your distfiles folder. Needed by gentoo-sources-2.6.20-r4.ebuild (contained in overlay file).
Created attachment 114477 [details] genpatches-2.6.20-5.unionfs.tar.bz2 - unionfs original patch Same file as attachment 113609 [details] - put it to your distfiles folder. Needed by gentoo-sources-2.6.20-r4.ebuild (contained in overlay file).
This is a general problem, and shouldn't be tied specifically to the hp-cluster group.
We're in kind of a tough spot on this because they've started releasing unionfs as a 2.x series, which is a kernel patch rather than a standalone package. I'm requesting to the kernel team that they include the patch in gentoo-sources for 2.6.21 and newer.
Sorry, we aren't taking feature patches at the moment. If it were useful to a large number of people, or it were useful to release engineering, then we may consider it after it's merged into Linus' tree. Unless the newer versions of unionfs are hooking deeper into the kernel, it should be possible for you to separate the source files out and build it externally (like the older versions).
Is someone looking into building a unionfs-utils package? Now that its tied to the kernel very tightly (the patch modifies non-unionfs kernel headers) and the utils are in a separate package, it would require that we have a utils package.
Created attachment 119953 [details] gentoo-sources-2.6.21-r1-unionfs-overlay.tgz - Overlay-collection The 2.6.21-r1 overlay ebuild patches the gentoo-sources within the 2.6.21-u2 unionfs 2.0 (stable) patch. Needs genpatches-2.6.21-2.unionfs.tar.bz2 in the distfiles directory.
Created attachment 119955 [details] genpatches-2.6.21-2.unionfs.tar.bz2 - unionfs 2.0 patch Version 2.6.21-u2 from http://www.fsl.cs.sunysb.edu/project-unionfs.html
Created attachment 119957 [details] genpatches-2.6.21-2.unionfs.tar.bz2 - unionfs 2.0 patch Version 2.6.21-u2 from http://www.fsl.cs.sunysb.edu/project-unionfs.html
Removed from main tree.