Page 6 of 6 FirstFirst ... 456
Results 51 to 57 of 57

Thread: HOWTO: Customising/Upgrading the Kernel - An Evolving HowTo

  1. #51
    Member registered user
    Join Date
    Mar 2005
    Posts
    87

    Re: Error on unionfs

    Quote 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:

    Code:
    # make unionfs.ko

  2. #52
    Junior Member registered user
    Join Date
    Aug 2006
    Location
    Germany
    Posts
    13
    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

  3. #53
    Junior Member registered user
    Join Date
    Aug 2006
    Location
    Germany
    Posts
    13
    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

  4. #54
    Junior Member
    Join Date
    Aug 2009
    Posts
    2
    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.

  5. #55
    Junior Member
    Join Date
    Aug 2009
    Posts
    2
    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/

  6. #56
    Junior Member registered user
    Join Date
    Oct 2007
    Posts
    29
    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

  7. #57
    Junior Member registered user
    Join Date
    Oct 2007
    Posts
    29
    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

Page 6 of 6 FirstFirst ... 456

Similar Threads

  1. Howto repair a kernel panic?
    By sublime005la in forum Other Live CDs
    Replies: 1
    Last Post: 09-13-2006, 01:43 PM
  2. howto upgrade the kernel
    By waellinux in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 06-27-2005, 06:34 AM
  3. Howto update to kernel 2.6.0-test4
    By Henk Poley in forum Tips and Tricks
    Replies: 10
    Last Post: 01-29-2004, 08:04 AM
  4. Upgrading to a full Debian System. Howto??
    By soapee01 in forum Hdd Install / Debian / Apt
    Replies: 4
    Last Post: 05-15-2003, 10:08 PM
  5. New howto : Custom Knoppix Kernel
    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
  •  


Cisco ASA 5520 Adaptive Security Appliance picture

Cisco ASA 5520 Adaptive Security Appliance

$56.75



Check Point L-71 6 Port Gigabit Enterprise Firewall picture

Check Point L-71 6 Port Gigabit Enterprise Firewall

$34.99



Fortinet FortiGate-40C Network Security Firewall picture

Fortinet FortiGate-40C Network Security Firewall

$42.50



Fortinet Fortigate FG-61E | Firewall Network Security Appliance picture

Fortinet Fortigate FG-61E | Firewall Network Security Appliance

$49.99



Fortinet FortiGate FG-40F Network Security Firewall picture

Fortinet FortiGate FG-40F Network Security Firewall

$100.00



Dell SonicWall TZ300 5-Port Network Security Firewall Appliance APL28-0B4 picture

Dell SonicWall TZ300 5-Port Network Security Firewall Appliance APL28-0B4

$24.95



OPNsense six-port Gigabit router/firewall on Lanner FW-7535 hardware picture

OPNsense six-port Gigabit router/firewall on Lanner FW-7535 hardware

$69.00



Palo Alto PA-220 Next-Gen Firewall 520-000309-00J w/ Power adapter picture

Palo Alto PA-220 Next-Gen Firewall 520-000309-00J w/ Power adapter

$69.98



Fortinet Fortiwifi 60D FG-60D Security Appliance Firewall / VPN w/ AC Adapter picture

Fortinet Fortiwifi 60D FG-60D Security Appliance Firewall / VPN w/ AC Adapter

$999.97



Dell SonicWALL TZ300 | Firewall Security Appliance picture

Dell SonicWALL TZ300 | Firewall Security Appliance

$24.99