-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Package: cloop-utils
Version: 2.04-1+eb.1-5
Severity: normal

*** Please type your report below this line ***

I have this cloop - file.  When I try to mount it, the kernel complains
something about "out of memory".

To see whether the kernel module has a problem or my file, I have tried to
uncompress that cloop file manually. Here is what I did and what came out
of it:

$ extract_compressed_fs KNOPPIX
0 blocks of size 65536. Preamble:
#!/bin/sh
#V2.0 Format
modprobe cloop file=$0 && mount -r -t iso9660 /dev/cloop $1
exit $?

and that is all the output I get. Just a few lines of plain text, not the
many megabyte of binary data expected.

To compare, I tried the same uncompress on a cloop file from
KNOPPIX_V5.0.1CD-2006-06-01-DE as available via Knopper.net - this time
inserting protection from binary data and "head"ing the output:

X$ extract_compressed_fs KNOPPIX | od -c | head -10
31120 blocks of size 65536. Preamble:
#!/bin/sh
#V2.0 Format
modprobe cloop file=$0 && mount -r -t iso9660 /dev/cloop $1
exit $?

Block 0 length 12773 => 65536
Block 1 length 29872 => 65536
0000000  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0
*
0100000 001   C   D   0   0   1 001  \0   L   I   N   U   X
0100020
0100040                                   K   N   O   P   P   I   X   _
0100060   F   S
0100100                                  \0  \0  \0  \0  \0  \0  \0  \0
0100120 370   1 017  \0  \0 017   1 370  \0  \0  \0  \0  \0  \0  \0  \0
0100140  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0
0100160  \0  \0  \0  \0  \0  \0  \0  \0 001  \0  \0 001 001  \0  \0 001

So I conclude my problem isn't in the cloop kernel module, but in the cloop
file itself.

Finally, how did I construct that defect compressed file?

I used mkisofs to construct an ISO-9960 image. This image is a 1.7 G file:

$ ls -l knoppix-raw.iso
- -rw-r--r-- 1 root root 1713979392 2006-08-12 14:31 knoppix-raw.iso

- From that, I used the command:

create_compressed_fs -v -L -1 -B 65536 -f tmpfile \
  knoppix-raw.iso master/KNOPPIX/KNOPPIX

That gave me a file of the expected size:

$ ls -l master/KNOPPIX/KNOPPIX
- -rw-r--r-- 1 root root 677200178 2006-08-12 15:53 master/KNOPPIX/KNOPPIX

In passing, I noticed thet /fotos/tmpfile was created, but not really used.
Both during the run (a two hour affair) and afterwards, its' length
remained 0 byte.

I remember that create_compressed_fs used a little more than 100 MB RAM.


Regards, and thank you for providing fine software

Andreas

- -- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-k7
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages cloop-utils depends on:
ii  libc6                         2.3.6-15   GNU C Library: Shared libraries
ii  libgcc1                       1:4.1.1-5  GCC support library
ii  libstdc++6                    4.1.1-5    The GNU Standard C++ Library v3
ii  zlib1g                        1:1.2.3-13 compression library - runtime

cloop-utils recommends no packages.

- -- no debconf information
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFE3t6TnWrlKaIH40ARAk/PAKCLS4fMeEYPm4PsbQWzUUBQ1OeIRQCfXGu1
YJi1SNcVNft5NjBNuOBEHS4=
=g6VN
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to