From owner-freebsd-current@FreeBSD.ORG Mon Aug 20 18:23:04 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 4CD0016A417 for ; Mon, 20 Aug 2007 18:23:04 +0000 (UTC) (envelope-from kjelderg@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.187]) by mx1.freebsd.org (Postfix) with ESMTP id C252013C480 for ; Mon, 20 Aug 2007 18:23:03 +0000 (UTC) (envelope-from kjelderg@gmail.com) Received: by nf-out-0910.google.com with SMTP id b2so732942nfb for ; Mon, 20 Aug 2007 11:23:02 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=RuHN0+Lj2z+sRYJ/5YkUEssyq0P70fpyKbU69+GbqXp/FeDKsjb/BTK+ZP983bCRgsj7p8rTJF2FyAwFT+GBGblgsJ+7r7OVyHW1CAJGcucl4uC0wl4NN+wsZG96QxFKKF6eflQ8NmA4eO0zddQfqVMZzt0ExGs2Ivqjz2Nh7IA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=MI65SsJzngWhL6wSFcaMBgfjzPPjfiQKnL2TZ78zSk79YXOVnRt26eKy8b51breJS1DY7pNcW0lp5QJDYP1fvTY74IALnRbA4y2ooz+mRNfWoK1J5HxqFRQX5jrJG7R3cdtYDT4utgYBYit5sratPXcESdJqAj0XPZ9RZ1jPrCg= Received: by 10.86.23.17 with SMTP id 17mr4705729fgw.1187632725785; Mon, 20 Aug 2007 10:58:45 -0700 (PDT) Received: by 10.86.31.6 with HTTP; Mon, 20 Aug 2007 10:58:45 -0700 (PDT) Message-ID: Date: Mon, 20 Aug 2007 12:58:45 -0500 From: "Eric Kjeldergaard" To: "Stefan Lambrev" In-Reply-To: <46C9B99C.1060403@moneybookers.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <46C9B99C.1060403@moneybookers.com> Cc: freebsd-current@freebsd.org Subject: Re: kernel panic with memory disks 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: Mon, 20 Aug 2007 18:23:04 -0000 On 20/08/07, Stefan Lambrev wrote: > Hello, > > I do not know if this is know behavior, and I know that 6.2 panic if the > memory disk got full, > but on 7-current the panic is before the disk got full. > > Here is what I do: > > mdconfig -a -t malloc -s 800m > newfs /dev/md0 > mount /dev/md0 /mnt > cp 600mb.file /mnt -t type Select the type of the memory disk. malloc Storage for this type of memory disk is allocated with malloc(9). This limits the size to the malloc bucket limit in the kernel. If the -o reserve option is not set, creating and filling a large malloc-backed memory disk is a very easy way to panic a system. -- mdconfig(8) -- If I write a sig emails are personalised people are happy