From owner-freebsd-bugs@FreeBSD.ORG Sun Sep 17 08:20:16 2006 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C845916A416 for ; Sun, 17 Sep 2006 08:20:16 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0690443D68 for ; Sun, 17 Sep 2006 08:20:14 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k8H8KDWV092047 for ; Sun, 17 Sep 2006 08:20:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k8H8KDRZ092046; Sun, 17 Sep 2006 08:20:13 GMT (envelope-from gnats) Resent-Date: Sun, 17 Sep 2006 08:20:13 GMT Resent-Message-Id: <200609170820.k8H8KDRZ092046@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Angelescu Ovidiu Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D3DFB16A415 for ; Sun, 17 Sep 2006 08:14:59 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7A26243D5E for ; Sun, 17 Sep 2006 08:14:59 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k8H8Et71019510 for ; Sun, 17 Sep 2006 08:14:55 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k8H8EsM4019509; Sun, 17 Sep 2006 08:14:55 GMT (envelope-from nobody) Message-Id: <200609170814.k8H8EsM4019509@www.freebsd.org> Date: Sun, 17 Sep 2006 08:14:55 GMT From: Angelescu Ovidiu To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: kern/103321: create_compressed_fs error ( Zlib memory allocation error ? ) X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Sep 2006 08:20:17 -0000 >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: