Results 1 to 6 of 6

Thread: cloop 0.68 and Red Hat 7.3 problem compilation

  1. #1
    Junior Member
    Join Date
    May 2003
    Posts
    4

    cloop 0.68 and Red Hat 7.3 problem compilation

    Hi all,

    I want to try the cloop module under RedHat 7.3, but when i try to compile the module i have the following error:

    # make KERNEL_DIR=/usr/src/linux-2.4.18-3/

    cc -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -s -I. -fno-strict-aliasing -fno-common -fomit-frame-pointer -mpreferred-stack-boundary=2 -march=i386 -D__KERNEL__ -DMODULE -I/usr/src/linux-2.4.18-3//include -DMODVERSIONS -include /usr/src/linux-2.4.18-3//include/linux/modversions.h compressed_loop.c -c -o compressed_loop.o

    compressed_loop.c: In function `clo_read_from_file':
    compressed_loop.c:279: too few arguments to function `do_generic_file_read_R4e76ab37'
    make: *** [compressed_loop.o] Error 1


    Is there anybody out there with the same problem?

    Thanks in advance.

  2. #2
    Junior Member
    Join Date
    May 2003
    Posts
    4
    i have read the file compressed_loop.c and the Makefile,

    i have rebuilt the module with this option -DREDHAT_KERNEL
    but when i load the module i have this error:

    kernel: cloop: Welcome to cloop v0.68
    kernel: cloop: out of kernel mem for offsets

    What's the problem?

    Thanks in advance and excuse me for my english.

  3. #3
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    872
    it could really mean out of memory. cloop stored a 4 byte offset for each 'uncompressed block' of the original device. So in the case of knoppix which I believe is compressed from some 2G(?) image divided in 64K block, it would be 30000x4(8?) memory allocated for the offsets.

    Another possibility is that you tell it to mount something that is not a clooped image and it will go wild as there isn't any signature in the image.

  4. #4
    Junior Member
    Join Date
    May 2003
    Posts
    4
    hi,

    if i do :
    mkisofs -r /tmp|create_compressed_fs - 1024 > iso.compressed
    insmod cloop file=iso.compressed

    i have this error
    kernel: cloop: Welcome to cloop v0.68
    kernel: cloop: out of kernel mem for offsets

    Instead if i do
    mkisofs -r /tmp|create_compressed_fs - 65536 > iso.compressed
    insmod cloop file=iso.compressed

    kernel: cloop: Welcome to cloop v0.68
    kernel: cloop: iso.compressed: 903 blocks, 65536 bytes/block, largest block is 65562 bytes.
    kernel: cloop: loaded (max 1 devices)

    Why?

    1024 is a multiple of 512.

  5. #5
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    872
    As I said, each block needs 4(or 8 ?) bytes to store the offset(and they got loaded all in-memory when you insmod cloop.o) and if you use a block size of 1024(1K), a 600M file will have 600x1K offsets. Lots of memory used. Stick to 64K block.

  6. #6
    Junior Member
    Join Date
    May 2003
    Posts
    4
    ok

    Thanks........

    Regards.

    Lucky.

Similar Threads

  1. Problem with cloop
    By lrathle in forum Customising & Remastering
    Replies: 2
    Last Post: 09-05-2004, 05:47 PM
  2. Cloop Compilation: 'm_Probability undeclared'
    By BlakeB395 in forum Customising & Remastering
    Replies: 0
    Last Post: 05-27-2004, 10:57 AM
  3. Problem with CDROm after kernel compilation
    By bcalder in forum General Support
    Replies: 5
    Last Post: 03-15-2004, 09:42 PM
  4. problem with cloop
    By sabel in forum Customising & Remastering
    Replies: 2
    Last Post: 12-01-2003, 09:15 PM
  5. Problem with cloop
    By arkaine23 in forum Customising & Remastering
    Replies: 2
    Last Post: 07-08-2003, 05:57 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
  •  


Intel Core Ultra 7 270K Plus 24 cores (8 P-cores + 16 E-cores) picture

Intel Core Ultra 7 270K Plus 24 cores (8 P-cores + 16 E-cores)

$269.99



Intel Core i7-9800X  3.80GHz 8-Core 16.50MB LGA-2066 CPU Processor SREZ9 picture

Intel Core i7-9800X 3.80GHz 8-Core 16.50MB LGA-2066 CPU Processor SREZ9

$60.00



Clear Touch Interactive Module CTI PCMOD PC55 ST i5 6core,8GB DDR4,256GB SSD NEW picture

Clear Touch Interactive Module CTI PCMOD PC55 ST i5 6core,8GB DDR4,256GB SSD NEW

$225.00



Microsoft Surface Laptop 4 – 13.5in 11th Gen Core i5–2.6 GHz–8GB RAM-256GB SSD picture

Microsoft Surface Laptop 4 – 13.5in 11th Gen Core i5–2.6 GHz–8GB RAM-256GB SSD

$195.00



Dell - XPS 13.4

Dell - XPS 13.4" 3K Touchscreen Laptop - Intel Core 5 Series 3 320 2026 - 8GB...

$599.99



AMD Ryzen 7 9800X3D 8-Core 16-Thread AM5 Zen 5 Desktop Processor NEW picture

AMD Ryzen 7 9800X3D 8-Core 16-Thread AM5 Zen 5 Desktop Processor NEW

$395.00



Used & Tested Intel Xeon W-2255 SRGV8 3.70GHz 19.25MB 10-Core CPU Processor picture

Used & Tested Intel Xeon W-2255 SRGV8 3.70GHz 19.25MB 10-Core CPU Processor

$194.99



Intel SR338 Core i7-7700 3.60GHz 8M Socket 1151 Quad-Core CPU Processor LGA1151 picture

Intel SR338 Core i7-7700 3.60GHz 8M Socket 1151 Quad-Core CPU Processor LGA1151

$38.99



Intel Core i7-9700 3.0 GHz 8 Core Processor picture

Intel Core i7-9700 3.0 GHz 8 Core Processor

$85.00



Gaming PC: Ryzen 5 3600XT, 16GB RAM DDR4, 512GB NVME SSD GEN 3, 1660Ti Super picture

Gaming PC: Ryzen 5 3600XT, 16GB RAM DDR4, 512GB NVME SSD GEN 3, 1660Ti Super

$600.00