Results 1 to 3 of 3

Thread: How to build aufs for remastered Knoppix 5.1.1's kernel?

  1. #1
    Senior Member registered user
    Join Date
    Apr 2004
    Location
    Finland
    Posts
    272

    How to build aufs for remastered Knoppix 5.1.1's kernel?

    What am I doing wrong because I can boot my remastered Knoppix 5.1.1 CD using Qemu, but booting from CD stops 'Accessing KNOPPIX CD at /dev/hdc...' and giving 'Segmentation fault' message, and then continues booting from my installed system, or giving only minimal root environment and not booting?

    It this a minirt.gz problem because only original minirt.gz works and my own version gives 'Kernel panic...' message? Just copying new modules to minirt from kernel tree makes this - no other changed. Weird?
    EDITED 24.2. I have been using initramfs instead of initfs. Just forgot to copy init to the root But still old problem exists with initramfs: Starting udev hardware hotplug detection failes. Anyhow, this aufs stuff has nothing to do with minirt.gz as far as I can see.

    I have built aufs module against my running kernel both in normal user's home directory and in / directory as a root. No building problems and both boots from Qemu but not from CD.

    This is how I built aufst:
    Code:
    $  cvs -z3 -d:pserver:anonymous@aufs.cvs.sourceforge.net:/cvsroot/aufs co -P aufs
    
    $ cd ~/aufs/
    $ make -f local.mk
    Then I just copid aufs.ko to /modules /where cloop.ko is copied, too (from /lib/modules/kernel_version/extra directory). Now I use 2.6.21-rc1 kernel but no success with it (same with previous kernel versions). Is 2.6.20 kernel or newer ones too new? Or what is wrong?

    Can anyone show me, how to make a .deb package for aufs from CVS tree?

    Is there any apt repository existing for aufs source?

    -tapsa-.

  2. #2
    Member registered user
    Join Date
    Jun 2004
    Posts
    89
    Yes, this is a minirt issue. Open it up and you'll see that the aufs module needs to be loaded, not the unionfs module.

  3. #3
    Member registered user
    Join Date
    Jun 2004
    Posts
    89
    Hi again,

    For ParallelKnoppix, I build aufs.ko within the chroot enviroment, and you need to tell it where your live CD kernel lives. The aufs README explains cross-compiling like this:

    Currently these configurations are written in ./local.mk, ./local.mk will work
    for you in most cases.
    $ make -f local.mk
    The local.mk searches your kernel build path by
    KDIR = /lib/modules/$(shell uname -r)/build
    If you are cross-compiling the aufs module, try
    $ make KDIR=/your/kernel/build/path -f local.mk
    so what I do is (inside the chroot)
    Code:
    make KDIR=/usr/src/linux -f local.mk
    Then you also need to fix the minirt. I don't understand why you got something that works in QEMU but not with CD boot.

Similar Threads

  1. How to build a kernel module for knoppix 5.1.1?
    By rbos in forum Customising & Remastering
    Replies: 4
    Last Post: 02-05-2007, 07:34 PM
  2. Replies: 0
    Last Post: 06-06-2006, 04:32 AM
  3. kernel requirements for a remastered knoppix
    By artturi in forum Customising & Remastering
    Replies: 0
    Last Post: 03-28-2006, 08:17 PM
  4. The kernel... Can I build my own?
    By kevman in forum Hdd Install / Debian / Apt
    Replies: 6
    Last Post: 11-30-2005, 07:40 AM
  5. Kernel Build with kernel-source-2.4.20-xfs:
    By TheCyberDude in forum Tips and Tricks
    Replies: 3
    Last Post: 09-03-2003, 03:10 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


HITACHI HUS724040ALA640 4TB 7200RPM 64MB SATA 6.0Gb/s 3.5

HITACHI HUS724040ALA640 4TB 7200RPM 64MB SATA 6.0Gb/s 3.5" HARD DRIVE ZERO HOURS

$52.00



881507-001 HPE 2.4TB SAS 12G 10K SC 512E DS G8-G10 Hard Drive 881457-B21 F/S  picture

881507-001 HPE 2.4TB SAS 12G 10K SC 512E DS G8-G10 Hard Drive 881457-B21 F/S

$274.95



Western Digital WD4000FYYZ RE 4TB 7200 RPM 64MB Cache SATA 6Gb/s 3.5

Western Digital WD4000FYYZ RE 4TB 7200 RPM 64MB Cache SATA 6Gb/s 3.5" Hard Drive

$24.15



HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5

HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5" Enterprise HDD- HUH721212ALE601

$79.99



HGST Ultrastar HE10 10TB SATA 6.0Gb/s 7200 3.5

HGST Ultrastar HE10 10TB SATA 6.0Gb/s 7200 3.5" Datacenter HDD - HUH721010ALE601

$79.99



Seagate ST12000NM0127 12TB 256MB 7200RPM 3.5

Seagate ST12000NM0127 12TB 256MB 7200RPM 3.5" SATA 6.0Gb/s Enterprise Hard Drive

$87.99



WD Ultrastar DC HC530 14TB SATA 6G 3.5

WD Ultrastar DC HC530 14TB SATA 6G 3.5" 7200RPM Enterprise HDD - WUH721414ALE604

$110.00



HGST HDD HUH721010AL5200 10TB 3.5

HGST HDD HUH721010AL5200 10TB 3.5" SAS 12Gb/s Server Hard Disk Drive *READ

$50.89



Seagate Exos X16 ST14000NM001G 14TB 512E SATA 6Gb/s 3.5

Seagate Exos X16 ST14000NM001G 14TB 512E SATA 6Gb/s 3.5" Enterprise Hard Drive

$169.99



Seagate ST1000VM002 1TB 64MB SATA6Gb/s 3.5

Seagate ST1000VM002 1TB 64MB SATA6Gb/s 3.5" (Low Power) Hard Drive -PC, CCTV DVR

$24.99