LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 12-07-2006, 11:06 PM   #1
linx win
Member
 
Registered: Jan 2004
Posts: 390

Rep: Reputation: 31
unionfs for kernel 2.6.19


Does any body know Where I can find unionfs for kernel 2.6.19? The package currently available in Debian repositories does not compile in kernel 2.6.19.
 
Old 12-17-2006, 08:14 AM   #2
solnul
Member
 
Registered: Jan 2003
Distribution: Slackware
Posts: 82

Rep: Reputation: 15
You need one of the 1.5pre CVS snapshots from ftp://ftp.fsl.cs.sunysb.edu/pub/unionfs/snapshots/. I'm not sure, but I don't think these have been packaged for Debian yet.
 
Old 12-18-2006, 11:29 AM   #3
linx win
Member
 
Registered: Jan 2004
Posts: 390

Original Poster
Rep: Reputation: 31
Thank you. I have tried both packages and did not compile.
 
Old 12-18-2006, 06:32 PM   #4
solnul
Member
 
Registered: Jan 2003
Distribution: Slackware
Posts: 82

Rep: Reputation: 15
What went wrong?

FWIW, I'm using 1.5pre from 2006-11-08 with 2.6.19.
 
Old 12-19-2006, 04:39 AM   #5
linx win
Member
 
Registered: Jan 2004
Posts: 390

Original Poster
Rep: Reputation: 31
Here is what I am getting:

Code:
root@mybox:/home/knoppix/unionfs-1.5pre-cvs200611041858# fakeroot debian/rules binary-modules
/usr/bin/fakeroot: line 150: debian/rules: Permission denied
root@mybox:/home/knoppix/unionfs-1.5pre-cvs200611041858# chmod -R 0755 /home/knoppix/all/unionfs-1.5pre-cvs200611080310/debian
root@mybox:/home/knoppix/unionfs-1.5pre-cvs200611041858# fakeroot debian/rules binary-modules
/usr/bin/fakeroot: line 150: debian/rules: Permission denied
root@mybox:/home/knoppix/unionfs-1.5pre-cvs200611041858# chmod -R 0755 /home/knoppix/unionfs-1.5pre-cvs200611041858/debian
root@mybox:/home/knoppix/unionfs-1.5pre-cvs200611041858# fakeroot debian/rules binary-modules
/usr/share/modass/include/generic.make:179: warning: overriding commands for target `echo-vars'
/usr/share/modass/include/generic.make:179: warning: ignoring old commands for target `echo-vars'
/usr/share/modass/include/generic.make:249: warning: overriding commands for target `echo-changes'
/usr/share/modass/include/generic.make:249: warning: ignoring old commands for target `echo-changes'
/usr/share/modass/include/generic.make:252: warning: overriding commands for target `echo-deb'
/usr/share/modass/include/generic.make:252: warning: ignoring old commands for target `echo-deb'
/usr/share/modass/include/generic.make:255: warning: overriding commands for target `echo-debfile'
/usr/share/modass/include/generic.make:255: warning: ignoring old commands for target `echo-debfile'
/usr/share/modass/include/generic.make:305: warning: overriding commands for target `genchanges'
/usr/share/modass/include/generic.make:305: warning: ignoring old commands for target `genchanges'
/usr/share/modass/include/generic.make:324: warning: overriding commands for target `prep-deb-files'
/usr/share/modass/include/generic.make:324: warning: ignoring old commands for target `prep-deb-files'
/usr/share/modass/include/common-rules.make:43: warning: overriding commands for target `kdist'
/usr/share/modass/include/common-rules.make:43: warning: ignoring old commands for target `kdist'
/usr/share/modass/include/common-rules.make:51: warning: overriding commands for target `kdist_image'
/usr/share/modass/include/common-rules.make:51: warning: ignoring old commands for target `kdist_image'
/usr/share/modass/include/common-rules.make:56: warning: overriding commands for target `kdist_build'
/usr/share/modass/include/common-rules.make:56: warning: ignoring old commands for target `kdist_build'
debian/rules:122: warning: overriding commands for target `kdist_clean'
debian/rules:88: warning: ignoring old commands for target `kdist_clean'
debian/rules:128: warning: overriding commands for target `binary-modules'
debian/rules:93: warning: ignoring old commands for target `binary-modules'
for templ in ; do \
    cp $templ `echo $templ | sed -e 's/_KVERS_/2.6.19-slh-smp-1/g'` ; \
  done
for templ in `ls debian/*.modules.in` ; do \
    test -e ${templ%.modules.in}.backup || cp ${templ%.modules.in} ${templ%.modules.in}.backup 2>/dev/null || true; \
    sed -e 's/##KVERS##/2.6.19-slh-smp-1/g ;s/#KVERS#/2.6.19-slh-smp-1/g ; s/_KVERS_/2.6.19-slh-smp-1/g ; s/##KDREV##//g ; s/#KDREV#//g ; s/_KDREV_//g  ' < $templ > ${templ%.modules.in}; \
  done
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs lib/modules/2.6.19-slh-smp-1/misc
/usr/bin/make KPKG_EXTRAV_ARG= KSRC=/usr/src/linux \
        KVER=2.6.19-slh-smp-1 \
        INST_DIR=debian/unionfs-modules-2.6.19-slh-smp-1/lib/modules/2.6.19-slh-smp-1/misc/ install
make[1]: Entering directory `/home/knoppix/unionfs-1.5pre-cvs200611041858'
make -C utils all CC=gcc UCFLAGS='-I.. -I. -g -O2 -Wall -Werror   -DUNIONFS_VERSION=\"1.5pre-cvs200611041858\" -DSUP_MAJOR=2 -DSUP_MINOR=6 -DSUP_PATCH=19'
make[2]: Entering directory `/home/knoppix/unionfs-1.5pre-cvs200611041858/utils'
gcc -o unionctl unionctl.c usercommon.c -I.. -I. -g -O2 -Wall -Werror   -DUNIONFS_VERSION=\"1.5pre-cvs200611041858\" -DSUP_MAJOR=2 -DSUP_MINOR=6 -DSUP_PATCH=19
gcc -o uniondbg uniondbg.c -I.. -I. -g -O2 -Wall -Werror   -DUNIONFS_VERSION=\"1.5pre-cvs200611041858\" -DSUP_MAJOR=2 -DSUP_MINOR=6 -DSUP_PATCH=19
gcc -o unionimap unionimap.c usercommon.c -luuid -I.. -I. -g -O2 -Wall -Werror   -DUNIONFS_VERSION=\"1.5pre-cvs200611041858\" -DSUP_MAJOR=2 -DSUP_MINOR=6 -DSUP_PATCH=19
make[2]: Leaving directory `/home/knoppix/unionfs-1.5pre-cvs200611041858/utils'
make -C utils install PREFIX=/usr/local
make[2]: Entering directory `/home/knoppix/unionfs-1.5pre-cvs200611041858/utils'
mkdir -p /usr/local/sbin
cp unionctl /usr/local/sbin
cp uniondbg /usr/local/sbin
cp unionimap /usr/local/sbin
make[2]: Leaving directory `/home/knoppix/unionfs-1.5pre-cvs200611041858/utils'
mkdir -p /usr/local/man/man4
mkdir -p /usr/local/man/man8
cp man/unionfs.4 /usr/local/man/man4
cp man/unionctl.8 /usr/local/man/man8
cp man/uniondbg.8 /usr/local/man/man8
cp man/unionimap.8 /usr/local/man/man8
make -C /lib/modules/2.6.19-slh-smp-1/build SUBDIRS=/home/knoppix/unionfs-1.5pre-cvs200611041858 FISTDEVMK=/home/knoppix/unionfs-1.5pre-cvs200611041858/fistdev.mk modules
make[2]: Entering directory `/usr/src/linux-2.6.19-slh-smp-1'
  CC [M]  /home/knoppix/unionfs-1.5pre-cvs200611041858/subr.o
In file included from /home/knoppix/unionfs-1.5pre-cvs200611041858/subr.c:23:
/home/knoppix/unionfs-1.5pre-cvs200611041858/unionfs.h: In function ‘fist_copy_attr_all’:
/home/knoppix/unionfs-1.5pre-cvs200611041858/unionfs.h:520: error: ‘struct inode’ has no member named ‘i_blksize’
/home/knoppix/unionfs-1.5pre-cvs200611041858/unionfs.h:520: error: ‘const struct inode’ has no member named ‘i_blksize’
make[3]: *** [/home/knoppix/unionfs-1.5pre-cvs200611041858/subr.o] Error 1
make[2]: *** [_module_/home/knoppix/unionfs-1.5pre-cvs200611041858] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.19-slh-smp-1'
make[1]: *** [unionfs.ko] Error 2
make[1]: Leaving directory `/home/knoppix/unionfs-1.5pre-cvs200611041858'
make: *** [binary-modules] Error 2
root@mybox:/home/knoppix/unionfs-1.5pre-cvs200611041858#
and:

Code:
root@mybox:/home/knoppix/unionfs-1.5pre-cvs200611080310# fakeroot debian/rules binary-modules
/usr/bin/fakeroot: line 150: debian/rules: Permission denied
root@mybox:/home/knoppix/unionfs-1.5pre-cvs200611080310# chmod -R 0755 /home/knoppix/unionfs-1.5pre-cvs200611080310/debian
root@mybox:/home/knoppix/unionfs-1.5pre-cvs200611080310# fakeroot debian/rules binary-modules
/usr/share/modass/include/generic.make:179: warning: overriding commands for target `echo-vars'
/usr/share/modass/include/generic.make:179: warning: ignoring old commands for target `echo-vars'
/usr/share/modass/include/generic.make:249: warning: overriding commands for target `echo-changes'
/usr/share/modass/include/generic.make:249: warning: ignoring old commands for target `echo-changes'
/usr/share/modass/include/generic.make:252: warning: overriding commands for target `echo-deb'
/usr/share/modass/include/generic.make:252: warning: ignoring old commands for target `echo-deb'
/usr/share/modass/include/generic.make:255: warning: overriding commands for target `echo-debfile'
/usr/share/modass/include/generic.make:255: warning: ignoring old commands for target `echo-debfile'
/usr/share/modass/include/generic.make:305: warning: overriding commands for target `genchanges'
/usr/share/modass/include/generic.make:305: warning: ignoring old commands for target `genchanges'
/usr/share/modass/include/generic.make:324: warning: overriding commands for target `prep-deb-files'
/usr/share/modass/include/generic.make:324: warning: ignoring old commands for target `prep-deb-files'
/usr/share/modass/include/common-rules.make:43: warning: overriding commands for target `kdist'
/usr/share/modass/include/common-rules.make:43: warning: ignoring old commands for target `kdist'
/usr/share/modass/include/common-rules.make:51: warning: overriding commands for target `kdist_image'
/usr/share/modass/include/common-rules.make:51: warning: ignoring old commands for target `kdist_image'
/usr/share/modass/include/common-rules.make:56: warning: overriding commands for target `kdist_build'
/usr/share/modass/include/common-rules.make:56: warning: ignoring old commands for target `kdist_build'
debian/rules:122: warning: overriding commands for target `kdist_clean'
debian/rules:88: warning: ignoring old commands for target `kdist_clean'
debian/rules:128: warning: overriding commands for target `binary-modules'
debian/rules:93: warning: ignoring old commands for target `binary-modules'
for templ in ; do \
    cp $templ `echo $templ | sed -e 's/_KVERS_/2.6.19-slh-smp-1/g'` ; \
  done
for templ in `ls debian/*.modules.in` ; do \
    test -e ${templ%.modules.in}.backup || cp ${templ%.modules.in} ${templ%.modules.in}.backup 2>/dev/null || true; \
    sed -e 's/##KVERS##/2.6.19-slh-smp-1/g ;s/#KVERS#/2.6.19-slh-smp-1/g ; s/_KVERS_/2.6.19-slh-smp-1/g ; s/##KDREV##//g ; s/#KDREV#//g ; s/_KDREV_//g  ' < $templ > ${templ%.modules.in}; \
  done
dh_testdir
dh_testdir: debian/control has a duplicate entry for unionfs-modules-2.6.19-slh-smp-1
make: *** [binary-modules] Error 1
root@mybox:/home/knoppix/unionfs-1.5pre-cvs200611080310#
 
Old 12-19-2006, 04:47 PM   #6
solnul
Member
 
Registered: Jan 2003
Distribution: Slackware
Posts: 82

Rep: Reputation: 15
The 200611080310 snapshot (the second one you posted) is what I'm using. The error you ran into there is in the debian package part, not unionfs itself. Unfortunately, I patch my kernel with unionfs, so I can't help you there. Sorry.
 
Old 12-19-2006, 09:08 PM   #7
linx win
Member
 
Registered: Jan 2004
Posts: 390

Original Poster
Rep: Reputation: 31
Where I can find that patch. I do not mind to recompile my kernel again.
 
  


Reply

Tags
unionfs



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
unionfs Sayoji Linux - General 3 11-19-2006 04:34 PM
linux-live cd unionfs fails to mount android6011 Linux - Software 1 10-23-2006 02:12 AM
unionfs not in kernel LQ496873 Linux - Newbie 1 07-15-2006 10:30 AM
use unionfs to build packages? uselpa Slackware 1 07-14-2006 02:27 PM
unionfs stability lukebeales Linux - Software 1 11-26-2005 08:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 07:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration