Results 1 to 4 of 4

Thread: Building cloop for kernel 2.6.x

  1. #1
    Junior Member
    Join Date
    Aug 2004
    Posts
    2

    Building cloop for kernel 2.6.x

    Hi all;...

    ...just saw that Knoppix 3.6 also features kenel 2.6.7, so cloop seems to be working with 2.6, after all. Anyhow, I am constantly failing to get cloop 2.01 to work with any of the 2.6 kernels by now. Basically, it fails in a reproducible way:


    cloop: Initializing cloop v2.01
    Unable to handle kernel NULL pointer dereference at virtual address 0000003e
    printing eip:
    c022bde0
    *pde = 00000000
    Oops: 0000 [#1]
    Modules linked in: cloop snd_mixer_oss msr cpuid sd_mod ds parport_pc lp parport thermal fan button battery ac snd_via82xx snd_ac97_codec snd_pcm snd_timer snd_ page_alloc snd_mpu401_uart snd_rawmidi snd_seq_device snd soundcore usbhid eth13 94 ehci_hcd uhci_hcd usbcore ohci1394 ieee1394 yenta_socket pcmcia_core via_agp agpgart evdev dm_mod via_rhine powernow_k7 freq_table processor
    CPU: 0
    EIP: 0060:[<c022bde0>] Not tainted
    EFLAGS: 00010246 (2.6.7)
    EIP is at strlcpy+0x20/0x80
    eax: 00000000 ebx: 00000010 ecx: ffffffff edx: 0000003e
    esi: c13ae2a8 edi: 0000003e ebp: c13ae2b0 esp: ca12bf0c
    ds: 007b es: 007b ss: 0068
    Process insmod (pid: 2418, threadinfo=ca12a000 task=caf2e2d0)
    Stack: 00000000 cec601dc c13ae2a8 00000000 ca12bfa0 c0274809 00000000 c042c1e0
    00000246 0000003e 000007c0 00000000 00000001 ca12bfa0 cec3108f 000000f0
    cec601dc cec601dc 00000000 00000000 00000000 00000008 cec61c88 0000000e
    Call Trace:
    [<c0274809>] register_blkdev+0x79/0x150
    [<cec3108f>] cloop_init+0x8f/0x333 [cloop]
    [<c0128e23>] sys_init_module+0xf3/0x1c0
    [<c0145bcf>] filp_close+0x4f/0x80
    [<c0103cfb>] syscall_call+0x7/0xb

    Code: f2 ae f7 d1 49 85 db 89 0c 24 74 2e 39 d9 8d 43 ff 89 cb 0f


    Any ideas?


    Thanks and bye,
    Kris

  2. #2
    Senior Member
    Join Date
    Nov 2003
    Posts
    171
    kawazu,

    Apply these two patches (in same order) to your kernel source before compilation:-

    http://users.tpg.com.au/sigm/2.6.8-filemap.patch
    http://users.tpg.com.au/sigm/2.6.8-cloop.patch

    Cloop is now in your kernel, so no need to compile it externally. Just enable it as a module in your config.

    I use squashfs instead of cloop now. It has much better compression, but involves some miniroot modifications.

    The patches will be there for a couple of days only.

  3. #3
    Junior Member
    Join Date
    Aug 2004
    Posts
    2
    Quote Originally Posted by kelmo
    ...
    Cloop is now in your kernel, so no need to compile it externally. Just enable it as a module in your config.
    ...
    I use squashfs instead of cloop now. It has much better compression, but involves some miniroot modifications.
    ...
    Okay, thanks for your hint. Actually, I am also into getting Knoppix sort of "remastered" based on squashedfs because I prefer its way of handling file systems, but I needed to access a cloop-compressed image, first.

    Thanks and bye,
    Kris

  4. #4
    Junior Member
    Join Date
    Sep 2004
    Posts
    1
    Quote Originally Posted by kawazu
    Quote Originally Posted by kelmo
    ...
    Cloop is now in your kernel, so no need to compile it externally. Just enable it as a module in your config.
    ...
    I use squashfs instead of cloop now. It has much better compression, but involves some miniroot modifications.
    ...
    Okay, thanks for your hint. Actually, I am also into getting Knoppix sort of "remastered" based on squashedfs because I prefer its way of handling file systems, but I needed to access a cloop-compressed image, first.

    Thanks and bye,
    Kris
    I'm trying to update the kernel of my knoppix based router and pbx PC to 2.6.8 in order to get my webcam connected - but I experienced the same troubles with cloop...

    In short: I'd like to get those patches as well, but I can't find them anywhere on the net. Would you please give me an url where I can get the patch?

    Bye,
    Daniel

Similar Threads

  1. Building new kernel + modules + drivers
    By jrp in forum Customising & Remastering
    Replies: 0
    Last Post: 09-12-2004, 12:13 PM
  2. Building custom kernel under KNOPPIX and package it ?
    By garyng in forum General Support
    Replies: 2
    Last Post: 04-21-2003, 09:54 PM
  3. building custom kernel 2.4.20
    By garyng in forum Customising & Remastering
    Replies: 1
    Last Post: 04-11-2003, 03:27 PM
  4. Error building cloop under RedHat part 2
    By sergiornunes in forum Customising & Remastering
    Replies: 1
    Last Post: 04-09-2003, 03:01 PM
  5. Error building cloop under RedHat
    By zamoose in forum Customising & Remastering
    Replies: 5
    Last Post: 01-24-2003, 04:32 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
  •  


Dell Poweredge R640 Server | 2x Xeon Gold 6132 | 128GB | H730P | 8x HDD Trays picture

Dell Poweredge R640 Server | 2x Xeon Gold 6132 | 128GB | H730P | 8x HDD Trays

$1849.00



H261-Z61 2U 24SFF AMD Server 8x EPYC 7551 256-Cores 256GB RAM 8x25G NIC 2x2200W picture

H261-Z61 2U 24SFF AMD Server 8x EPYC 7551 256-Cores 256GB RAM 8x25G NIC 2x2200W

$2612.18



HP ProLiant DL360 G9 Server | 2 x E5-2660V3 2.6Ghz | 64GB | 2 x 900GB SAS HDD picture

HP ProLiant DL360 G9 Server | 2 x E5-2660V3 2.6Ghz | 64GB | 2 x 900GB SAS HDD

$339.00



Dell Poweredge R640 Server | 2x Silver 4114 20 Cores | 96GB | 8x 1.8TB Dell SAS picture

Dell Poweredge R640 Server | 2x Silver 4114 20 Cores | 96GB | 8x 1.8TB Dell SAS

$2749.99



Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD picture

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD

$389.99



SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB RAM SYS-5018A-FTN4 1U Rackmount picture

SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB RAM SYS-5018A-FTN4 1U Rackmount

$202.49



Dell PowerEdge R620 Server 2x E5-2660 v1 2.2GHz 16 Cores 256GB RAM 1x 300GB HDD picture

Dell PowerEdge R620 Server 2x E5-2660 v1 2.2GHz 16 Cores 256GB RAM 1x 300GB HDD

$89.99



HP Proliant DL360 Gen9 28 Core SFF Server 2X E5-2680 V4 16GB RAM P440ar No HDD picture

HP Proliant DL360 Gen9 28 Core SFF Server 2X E5-2680 V4 16GB RAM P440ar No HDD

$196.95



Dell Poweredge R730xd 2.5in 2x E5-2690 v3 2.6ghz 24-Cores  64gb  H730  2x 750w picture

Dell Poweredge R730xd 2.5in 2x E5-2690 v3 2.6ghz 24-Cores 64gb H730 2x 750w

$189.99



DELL PowerEdge R630 8SFF Server 2x E5-2680v3 2.5GHz =24 Cores 32GB H730 4xRJ45 picture

DELL PowerEdge R630 8SFF Server 2x E5-2680v3 2.5GHz =24 Cores 32GB H730 4xRJ45

$240.00