-
cloop: out of memory for compressed buffer
Hello,
Is it possible to mount the compressed filesystem present in the downloadable ISO image of Knoppix, but under another distirb, such as Mandrake ?
It fails with this :
cd /mnt/hdb10/
mkdir iso
mount KNOPPIX_V3.3-2003-11-19-EN.iso iso -t iso9660 -o loop
mkdir KNOPPIX
insmod cloop file=/mnt/hdb10/mnt/KNOPPIX/KNOPPIX
mount -r -t iso9660 /dev/cloop KNOPPIX
After the insmod, I get this error message :
---
/lib/modules/2.4.22-10mdk/kernel/drivers/block/cloop.o.gz: init_module: Cannot allocate memory
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
---
And the syslog contains this :
---
Dec 26 21:10:29 localhost kernel: cloop: Initializing cloop v1.00
Dec 26 21:10:29 localhost kernel: cloop: mnt/KNOPPIX/KNOPPIX: 29973 blocks, 65536 bytes/block, largest block is 0 bytes.
Dec 26 21:10:29 localhost kernel: cloop: out of memory for compressed buffer 0
---
I tried different things, such as copying the content of the mounted iso to a directory. For various reasons, I am using Mandrake 9.2, and I would like to be able to customize Knoppix without having to reboot the PC.
I checked the old messages in this forum, I could see that other people have the same problem, but with no solution at this time.
Thanks for your help !
Yann
-
Senior Member
registered user
I think recent releases have been using cloop v2.0, which is available here.
-

Originally Posted by
baldyeti
I think recent releases have been using cloop v2.0, which is available
here.
Hello & thanks for the information.
I downloaded the last version of cloop.
In the README file, I can see this for the installation :
===
make KERNEL_DIR=/path/to/linux-kernel/sources
(as root) mkdir -p /lib/modules/misc && cp cloop.o /lib/modules/misc/
(as root) depmod -a
(as root) mknod /dev/cloop b 240 0
(as root) mknod /dev/cloop1 b 240 1
===
Is it safe to do this on a system other than debian-based, i.e. Mandrake ? (9.2)
Thanks
Yann
-
Senior Member
registered user
Well I've never attempted this myself, but the above list of commands doesn't look that dangerous. Maybe you should check if the device nodes it creates already exist under your distro (and would then represent something else), but that is very unlikely. Also, why are you more suspiscious about v2 than you were with previous versions? Dose mandrake come with a precompiled V1 cloop?
-
Hello,
Yes, Mandrake comes with a pre-compiled version of cloop. And it seems to be version 1. The error messages given in my previous message were displayed when attempting to insmod the "mandrake" cloop module with a "Knoppix" compressed FS in the "file" argument.
If I do "head -4" on the knoppix compressed FS, the 700Mb KNOPPIX file, I get :
---
#!/bin/sh
#V2.0 Format
insmod cloop.o file=$0 && mount -r -t iso9660 /dev/cloop $1
exit $?
---
If I do this on the same file but generated with Mandrake 9.2, I get :
---
#!/bin/sh
#V1.0 Format
insmod cloop.o file=$0 && mount -r -t iso9660 /dev/cloop $1
exit $?
---
So I am generating V1.0 instead of V2.0.
I can not mount the V2.0 compressed FS, but I can mount the V1.0 I generated :
---
# insmod cloop file=/mnt/hdb10/master/KNOPPIX/KNOPPIX
Using /lib/modules/2.4.22-10mdk/kernel/drivers/block/cloop.o.gz
---
Once I did the insmod, I do have /dev/cloop :
---
# ll /dev/cloop/
total 0
brw-r----- 1 root root 240, 0 jan 1 1970 0
brw-r----- 1 root root 240, 1 jan 1 1970 1
brw-r----- 1 root root 240, 2 jan 1 1970 2
brw-r----- 1 root root 240, 3 jan 1 1970 3
brw-r----- 1 root root 240, 4 jan 1 1970 4
brw-r----- 1 root root 240, 5 jan 1 1970 5
brw-r----- 1 root root 240, 6 jan 1 1970 6
brw-r----- 1 root root 240, 7 jan 1 1970 7
---
But that's quite different than the info provided by the cloop v2 README file.
To summarize :
1. I can not mount the V2.0 compressed FS, I get a "out of memory" error. Version 1 of cloop seems to be the one installed on Mandrake 9.2.
2. I generate V1 instead of V2 compressed FS (well this is consistent with point 1).
Installing V2 of cloop may solve everything, except if it breaks my /dev/cloop, as they seem to be different.
I will do more tests, but any advice will be most welcome !

Thanks
Yann.
-
Anyone know what the outcome is with using cloop 2.0 under Mandrake 9.2? I would like to try out some changes to files in the compressed image, but I would like to do it under my Mandrake installation.
Thanks, Nate
Similar Threads
-
By sunburnt in forum Ideas
Replies: 1
Last Post: 04-12-2005, 12:12 AM
-
By mshanmuga in forum General Support
Replies: 5
Last Post: 12-19-2004, 06:06 AM
-
By Nikolay in forum Customising & Remastering
Replies: 4
Last Post: 12-08-2004, 09:11 PM
-
By rrolsbe in forum General Support
Replies: 1
Last Post: 09-12-2003, 09:42 PM
-
Replies: 0
Last Post: 01-29-2003, 01:05 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
-
Forum Rules

Adobe InDesign 1.5 Macintosh Upgrade Vintage Mac Software Big Box Complete
$79.99

Vintage Epson Apex Plus AP3001A Dual 360K Disk Drives PC w/ Epson Apex Keyboard
$249.95

Dell Inspiron E1505 Vintage Laptop – Windows XP – Working
$50.00

VINTAGE COLLECTIBLE Comp USA Maxtor 20 GB 3.5 Inch EIDE Hard Drive NEW SEALED
$500.00

Vintage Apple Newton MessagePad 120 w/ Stylus Flash Card & Software *WORKS*
$99.99

Original Vintage Old Style STANDARD Black CD Jewel Case (Heavy Duty) 90g Lot
$316.95

Sylvania Smartbook SYNET07526 7" Netbook WIN CE Notebook Computer Boxed Vintage
$33.77

Microsoft Small Business Server 2002 X08-61876 Vintage Software on CD with Key
$149.99

Vintage Retro Cyrix 6x86 133mhz 32mb RAM Floppy Combo
$299.00

Sanyo DM 5012CM Solid State Data Display Monitor Working Vintage 1980s 80s
$169.99