Date: Sat, 17 Jan 2004 19:02:58 +0000 From: Colin Percival <colin.percival@wadham.ox.ac.uk> To: Peter Wood <peter@alastria.net> Cc: freebsd-current@freebsd.org Subject: Re: FreeBSD 5.2R+C: panic: kmem_malloc(4096): kmem_map too small Message-ID: <6.0.1.1.1.20040117185104.02bd9f88@imap.sfu.ca> In-Reply-To: <l1ri00tvjp8nn15pcsg4nurm8hmmr8m26q@4ax.com> References: <l1ri00tvjp8nn15pcsg4nurm8hmmr8m26q@4ax.com>
next in thread | previous in thread | raw e-mail | index | archive | help
At 17:25 17/01/2004, Peter Wood wrote: >I have come accross a reproducable panic in bother 5.2-Release and 5.2-Current >(as it was an hour ago). To perform this, I create two 750Mb memory disks, >format them and mount them. Quote from the mdconfig(8) man page: > 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. It doesn't look like this is going to be fixed any time soon -- see the discussion under pr kern/53350 -- so for now the answer is simply "don't do that". Colin Percival
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.0.1.1.1.20040117185104.02bd9f88>