FreeBSD 5.2R+C: panic: kmem_malloc(4096): kmem_map too small

Thierry Herbelot thierry at
Sat Jan 17 09:50:40 PST 2004

Le Saturday 17 January 2004 18:25, Peter Wood a écrit :
> Good Evening,
> 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. The machine has 2Gb of RAM, of
> which no more then 90mb is active.


from what I've gathered, the md disks are allocated from the kernel address 
space, which is limited (see the line with "options     KVA_PAGES=260" in the 
NOTES kernel config file).

Anyway, on ia32, the 4GB address space has to be sahred between kernel and 
processes : let's go to the AMD64 !

I could recently make a RAM disk for "making buildworld", with a KVA_PAGES of 
512, an installed RAM of 2G and disks of 500MB for src and 700MB for objs.


More information about the freebsd-current mailing list