Date: Sun, 17 Sep 2006 08:14:55 GMT From: Angelescu Ovidiu <mrhsaacdoh@yahoo.com> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/103321: create_compressed_fs error ( Zlib memory allocation error ? ) Message-ID: <200609170814.k8H8EsM4019509@www.freebsd.org> Resent-Message-ID: <200609170820.k8H8KDRZ092046@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 103321 >Category: kern >Synopsis: create_compressed_fs error ( Zlib memory allocation error ? ) >Confidential: no >Severity: critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Sep 17 08:20:13 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Angelescu Ovidiu >Release: FreeBSD-6.1 Release >Organization: www.rofreesbie.org >Environment: FreeBSD RoFreeSBIE 6.1-STABLE FreeBSD 6.1-STABLE #0: Sat Sep 9 03:44:09 UTC 2006 root@RoFreeSBIE:/usr/src/sys/i386/compile/RoFreeSBIE_Live_CD i386 >Description: I am the RoFreeSBIE developer ( the first Live DVD FreeBSD based )and working at it i have encontered an error. For RoFreeSBIE i need compressed iso9660 images to be decompressed on the fly by geom_uzip.ko. For doing the compressed iso_images i have installed cloop-utils-2.01.2. When i need to compress a large file tree create_compressed_fs give the following error when the create_comppressed_fs used memory is greater than 500MB: Error -4 compressing block blocknumber ! As I have saw in /usr/src/lib/libz that error is a memory alocation error. I mention that the computer have 2GB of ram and in the compression process and the system don't use swap. Also trying to compress a file tree about three time greater in linux with the same cloop-utils-2.01.2 it was working. >How-To-Repeat: Install a FreeBSD System ,mkisofs and cloop-utils-2.01.2 . Try to make a compressed iso image using create_compressed_fs for a large file tree > 2GB . When the used memory by create_compressed_fs is about 500MB the create_compressed_fs crashes with error -4 wich seems to be a zlib or kernel bug. I have tested that only on an i386 architecture. >Fix: Don't know until yet ! >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200609170814.k8H8EsM4019509>