-
Re: Error on unionfs
Originally Posted by
Linuxgamer
Hi
I get an error on unionfs make:
root@kein Ausgabegerät[unionfs-1.3]# make
************************************************** ****************************
If you have questions about or problems building Unionfs, please read INSTALL.
************************************************** ****************************
make -C /usr/src/linux-2.6.17.8 SUBDIRS=/usr/src/modules/unionfs-1.3 FISTDEVMK=/usr/src/modules/unionfs-1.3/fistdev.mk modules
make[1]: Entering directory `/usr/src/linux-2.6.17.8'
Building modules, stage 2.
MODPOST
make[1]: Leaving directory `/usr/src/linux-2.6.17.8'
make -C utils all CC=gcc UCFLAGS='-I.. -I. -O2 -Wall -Werror -DUNIONFS_VERSION=\"1.3\" -DSUP_MAJOR=2 -DSUP_MINOR=6 -DSUP_PATCH=17'
make[1]: Entering directory `/usr/src/modules/unionfs-1.3/utils'
gcc -o unionimap unionimap.c usercommon.c -luuid -I.. -I. -O2 -Wall -Werror -DUNIONFS_VERSION=\"1.3\" -DSUP_MAJOR=2 -DSUP_MINOR=6 -DSUP_PATCH=17
In file included from unionimap.c:22:
unionimap.h:29:23: error: uuid/uuid.h: Datei oder Verzeichnis nicht gefunden
unionimap.c: In function 'create_forwardmap':
unionimap.c:57: error: 'uuid_t' undeclared (first use in this function)
unionimap.c:57: error: (Each undeclared identifier is reported only once
unionimap.c:57: error: for each function it appears in.)
unionimap.c:57: error: syntax error before 'uuid'
cc1: warnings being treated as errors
unionimap.c:68: warning: implicit declaration of function 'uuid_generate'
unionimap.c:68: error: 'uuid' undeclared (first use in this function)
unionimap.c: In function 'create_reversemap':
unionimap.c:182: error: 'uuid_t' undeclared (first use in this function)
unionimap.c:182: error: syntax error before 'uuid'
unionimap.c:212: error: 'uuid' undeclared (first use in this function)
unionimap.c: In function 'print_forwardmap':
unionimap.c:305: warning: implicit declaration of function 'uuid_unparse'
make[1]: *** [unionimap] Fehler 1
make[1]: Leaving directory `/usr/src/modules/unionfs-1.3/utils'
make: *** [utils] Fehler 2
root@kein Ausgabegerät[unionfs-1.3]#
Im using Knoppix5.01 Kernel 2.6.17.8
With other unionfs versions there are other errors, too
Thx for HELP
Linuxgamer
You don't need to do the full make to upgrade the Knoppix kernel, you only require the unionfs.ko file. This can be compiled using:
-
Junior Member
registered user
Thx it works.
In Knoppix 5.01 the modules cloop.ko an unionfs.ko are not in minirt.gz but in knxmaster/KNOPPIX/modules
And modify linuxrc is not necesarry.
btw: Why is in Knoppix Kernelconfig the "Video mode selection support" not available i think i need it for bootsplash. Or not?
I try to follow this howto for bootsplash: http://knoppix.net/forum/viewtopic.p...d57f258d5cf392
I try to copy the pics into miniroot but i get the error:
cp: Schreiben von ,,./silent-1024x768.jpg": Auf dem Gerät ist kein Speicherplatz mehr verfügbar
This means no space is avaliable on minirt.
What can i now do?
THX
Linuxgamer
-
Junior Member
registered user
Hi
I have recompiled the Kernel 2.6.17 and get the errors on boot:
Code:
ACPI: Unable to locate RSDP
PCI: PIIX3 Enabling Passive Release on 0000:00:01.0
Starting udev hot-plug hardware detection ... Failed.
How can i fix this?
THX
Linuxgamer
-
Is all this information current for Knoppix 6.0.1? I'm trying to update the knoppix 2.6.28 kernel
and wondering if all of this is still accurate after being a few years since the last post.
-
Probably not going to get any replies so putting my notes here (for knoppix 6.0.1)
This produced a bootable 6.0.1 knoppix cd with re-compiled 2.6.28.4 source
from kernel.org
The below uses knoppix remastering howto at:
http://www.knoppix.net/wiki/Knoppix_Remastering_Howto
If you want to modify kernel, then in addition to remastering howto...
* grab regular kernel source from kernel.org and unzip in /usr/src
also symlink /usr/src/kernel-xxxx to /usr/src/linux
* cloop and aufs modules are still needed for cdrom booting as well
as knoppix functionality. These need to be compiled against new
kernel source and copied into correct /lib/modules/kernel... and
/mnt/hda1/knx/master/KNOPPIX/modules/ directories.
* it appears the only think /mnt/hda1/knx/master/boot/isolinux/minirt.gz
does now is provide important slash directories as well as the initial
boot script "init".
** There are no modules in minirt.gz anymore **
* after compiling new kernel, copy /usr/src/linux/arch/x86/boot/bzImage
to /mnt/hda1/knx/master/boot/isolinux/linux. This is the kernel the
cdrom uses to boot. Forget about grub and the /boot directory.
* be sure you compile cloop.ko and aufs.ko modules and put them under
/lib/modules/kernel-version/ somewhwere. They also need to be
added to /lib/modules/kernel-version/modules.dep somehow. If you
are compiling under a different kernel and chrooted in your knoppix
tree, this could be difficult. (Maybe export KDIR?). In a pinch,
I just edited modules.dep and added the lines by hand (depmod complained
otherwise)
* I never did anything with unionfs.ko - so it must be deprecated??
aufs.ko and cloop.ko are all that seem to be needed for booting.
This is what I did on my debian workstation
after following knoppix remaster howto
----------------------------------------------
# aptitude install zlib-devel
# cd /usr/src/
# wget http://debian-knoppix.alioth.debian....2.628-2.tar.gz
# tar xvfz cloop_2.628-2.tar.gz
# cd cloop-2.628
# make KERNEL_DIR=/usr/src/linux/
make hurled here...
google found this:
http://www.errorhelp.com/search/deta...-in-this-scope
edit advfs.cc accordingly
# include <limits.h>
(i don't think this misc directory is correct in the docs)
mkdir -p /lib/modules/misc && cp cloop.o /lib/modules/misc/
echo /lib/modules/misc/cloop.ko >> /lib/modules/2.6.28.4/modules.dep
mknod /dev/cloop b 240 0
mknod /dev/cloop1 b 240 1
# mkdir /lib/modules/2.6.28.4/misc
# cp cloop.ko /lib/modules/2.6.28.4/misc/
# echo '/lib/modules/2.6.28.4/misc/cloop.ko:' >> /lib/modules/2.6.28.4/modules.dep
minirt
----------------------------------------------
# mkdir init
# cd init
# cpio -imvd --no-absolute-filenames -I minirt
...make edits
# find . | cpio --quiet -o -H newc | gzip -9 > ../minirt.gz
aufs
----------------------------------------------
[1]# cvs -z3 -d:pserver:anonymous@aufs.cvs.sourceforge.net:/cvsroot/aufs co -P aufs
[1]# cd aufs
[1]# make KDIR=/usr/src/linux -f local.mk
[1]# cp fs/aufs25/aufs.ko /lib/modules/2.6.28.4/misc/
[3]# echo '/lib/modules/2.6.28.4/misc/aufs.ko:' >> /lib/modules/2.6.28.4/modules.dep
installation of modules for cd boot
----------------------------------------------
(exit from chroot)
# cp /mnt/hda1/knx/master/KNOPPIX/modules/aufs.ko /mnt/hda1/knx/master/KNOPPIX/modules/aufs.ko.orig
# cp /mnt/hda1/knx/master/KNOPPIX/modules/cloop.ko /mnt/hda1/knx/master/KNOPPIX/modules/cloop.ko.orig
# cp /mnt/hda1/knx/source/KNOPPIX/lib/modules/2.6.28.4/misc/{cl,au}*.ko /mnt/hda1/knx/master/KNOPPIX/modules/
-
Junior Member
registered user
Hello all,
Attempting to update kernel on my knoppix 5.3.1 re-master project to 2.6.30.5 and found this thread.
I realise this is mainly a thread from 2005/2006 but with recent additional input. Hoping that people are still interested...
I have a problem concerning unionfs. Due to updates the structure of the unionfs snapshot differs from the tutor and I am hoping for help on how to proceed.
ftp://ftp.fsl.cs.sunysb.edu/pub/unionfs/snapshots/ exists ok and two files are listed:
Code:
05/24/08 12:00AM 19,000,994 unionfs-cvssnap.tar.gz
10/22/07 12:00AM 112,696 unionfs-utils-0.3pre-cvs200710212004.tar.gz
I have download and expanded both. unionfs-cvssnap.tar.gz expands to three directories
Code:
CVSROOT
unionfs
unionfs-utils
Under unionfs, there is a Makefile.v file and under unionfs/Attic, there is a fistdev.mk,v
I have also been looking here:
ftp://ftp.filesystems.or/pub/unionfs
It has the same + additional info but still stuck.
How can I compile a unionfs from these files?
Lastly, could anyone explain how to tie up the version of both unionfs and cloop with the kernel version?
For example, if exists a 1 to 1 match may this part of the process be simplified? I am thinking of updating my kernel to 2.6.28.4, thus matching knoppix v6 and merely taking the unionfs and cloop files from there. (I do have reasons for not just re-mastering v6 instead!)
Regards Steve
-
Junior Member
registered user
Hello
Proceeded as discribed in my first mail, ie compiled new kernel & cloop without any (apparent problems).
Although I installed the debian CSV client was unable to get a conection to:
Code:
cvs -z3 -d:pserver:anonymous@aufs.cvs.sourceforge.net:/cvsroot/aufs co -P aufs
Just got a "connection timed out error"
So I used the aufs.ko from knoppix V6 and made an iso build anyway.
I get this error
Code:
Welcome to the KNOPPIX live GNU/Linux on CD!
Running knoppix Kernel 2.6.30.5
Total Memory avaiable: 253560kb Memory free: 246676kb
Scanning for USB/Firewire devices... Done
Enabling DMA acceleration for: hdc [QEMU CD-ROM]
Accessing KNOPPIX at /dev/hdc...
Reading cloop blocks....(Backgrouding)
[ 13.815499] cloop: Unknown paramter `chkclks`
insmod: cannot insert '/cdrom/KNOPPIX/modules/cloop.ko': Unknown symbol in module (-1): No such file or directory
I compiled cloop as described by bl8n8r:
Code:
# tar xvfz cloop_2.628-2.tar.gz
# cd cloop-2.628
# make KERNEL_DIR=/usr/src/linux/
It completed without error
Although I am still expecting aufs problems, can anyone help with this cloop error?
Regards,
Steve
Similar Threads
-
By sublime005la in forum Other Live CDs
Replies: 1
Last Post: 09-13-2006, 01:43 PM
-
By waellinux in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 06-27-2005, 06:34 AM
-
By Henk Poley in forum Tips and Tricks
Replies: 10
Last Post: 01-29-2004, 08:04 AM
-
By soapee01 in forum Hdd Install / Debian / Apt
Replies: 4
Last Post: 05-15-2003, 10:08 PM
-
By eadz in forum Customising & Remastering
Replies: 1
Last Post: 01-17-2003, 01:37 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
DELL PowerEdge R730XD Server 2x E5-2680v3 2.5GHz =24 Cores 32GB H730 4xRJ45
$267.00
DELL PowerEdge R430 8SFF 2x E5-2680v4 2.4GHz =28 Cores 32GB H730 4xRJ45
$226.00
Dell PowerEdge R630 Server 2x E5-2680 V4 = 28 Cores S130 32GB RAM NEW 480GB SSD
$197.99
DELL PowerEdge R730 Server 2x E5-2680v3 2.5GHz =24 Cores 128GB H730 4xRJ45
$345.00
Dell PowerEdge R630 Server 2x E5-2640v3 2.60Ghz 16-Core 64GB H330
$182.65
Dell Poweredge R630 Server 2x E5-2620 V4 =16 Cores | S130 | 32GB RAM | 2x trays
$159.99
Dell PowerEdge R720xd 26HDD 300gb 2.5-inch E5-2697 X 2CPU 384RAM 7.2 Tb HDD 
$180.00
Dell Poweredge R730xd 12 Bay LFF 2x SFF 2x E5-2680v3 2.5ghz H730p No Ram No HDD
$219.99
Dell Poweredge R730xd LFF 14-Bay 2U Server | Choose Your CPU & RAM Config
$489.99
Gigabyte 2U Server 2x E5-2698 v3 128gb 12x 3.5 12G 9362-8i 14x Trays Rails
$394.99