From owner-freebsd-current@FreeBSD.ORG Tue Nov 6 10:00:35 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A285216A46D; Tue, 6 Nov 2007 10:00:35 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.freebsd.org (Postfix) with ESMTP id 34A8813C480; Tue, 6 Nov 2007 10:00:34 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 9CAF545EA7; Tue, 6 Nov 2007 11:00:27 +0100 (CET) Received: from localhost (pjd.wheel.pl [10.0.1.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 141C9456AB; Tue, 6 Nov 2007 11:00:22 +0100 (CET) Date: Tue, 6 Nov 2007 11:00:15 +0100 From: Pawel Jakub Dawidek To: Borja Marcos Message-ID: <20071106100015.GB5268@garage.freebsd.pl> References: <20071005000046.GC92272@garage.freebsd.pl> <20071008121523.GM2327@garage.freebsd.pl> <20071105215035.GC26730@heff.fud.org.nz> <2e77fc10711051531k41e7224dq6aaedb35cad8d9f2@mail.gmail.com> <6214AB9C-9F9B-4B9D-8B05-0B3DF5F6C16D@SARENET.ES> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DKU6Jbt7q3WqK7+M" Content-Disposition: inline In-Reply-To: <6214AB9C-9F9B-4B9D-8B05-0B3DF5F6C16D@SARENET.ES> User-Agent: Mutt/1.4.2.3i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-5.9 required=3.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 Cc: freebsd-fs@freebsd.org, Niki Denev , freebsd-current@freebsd.org Subject: Re: ZFS kmem_map too small. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Nov 2007 10:00:35 -0000 --DKU6Jbt7q3WqK7+M Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Nov 06, 2007 at 10:04:43AM +0100, Borja Marcos wrote: >=20 > On Nov 6, 2007, at 12:31 AM, Niki Denev wrote: > >I have fairly easy reproductable (bonnie++) kmem_map too small panics > >on AMD64 even with kmem_size and kmem_size_max to 1G on 8Gig machine. > >I've tried setting them to 2G but the kernel panics on boot. > >I have compiled in debugger support and can provide backtraces and > >testing if needed (the machine is still not in production). >=20 > Same here. I can provoke an instant panic running (for example) a make = =20 > buildworld and > bonnie++. I have all the filesystems on ZFS, booting from a USB =20 > pendrive. I tried to set > the kernel memory limits to 1.5 GB but it still crashes with the =20 > kmem_too_small panic. I also > tried the patch supplied by Pawel. >=20 > The machine has 6 hard disks configured as a raidz2 pool. >=20 > Please let me know of any test anyone might need. If you use vm_kern.c.2.patch, can you show loader.conf and exact command that can provke the panic? --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --DKU6Jbt7q3WqK7+M Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHMDsvForvXbEpPzQRApMqAJ0cen6EItnSGqa4TvbiKjrfxnD72gCcDeOb YxjrQgs7kLvzQs6FwWLueOw= =YFR9 -----END PGP SIGNATURE----- --DKU6Jbt7q3WqK7+M--