Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Nov 2002 21:10:35 +0200
From:      Petri Helenius <pete@he.iki.fi>
To:        David Schultz <dschultz@uclink.Berkeley.EDU>
Cc:        freebsd-questions@FreeBSD.ORG, freebsd-net@FreeBSD.ORG
Subject:   Re: panic: kmem_map too small
Message-ID:  <3DDBDE2B.6050407@he.iki.fi>
References:  <0e3b01c28fc4$ff9a4ee0$862a40c1@PHE> <20021119152114.GA2228@HAL9000.homeunix.com>

next in thread | previous in thread | raw e-mail | index | archive | help
David Schultz wrote:

>Thus spake Petri Helenius <pete@he.iki.fi>:
>  
>
>>I seem to get kmem_map too small panics when using large buffers with
>>bpf. Is there a tunable I should be increasing?
>>    
>>
>
>Yes, increase KVA_PAGES in your kernel config.
>  
>
I put in KVA_PAGES=1024
with following results on next boot:

Fatal trap 12: page fault while in kernel mode
cpuid = 1; lapic.id = 06000000
fault virtual address   = 0x1
fault code              = supervisor write, page not present
instruction pointer     = 0x8:0xc01efc88
stack pointer           = 0x10:0xdf0ccbcc
frame pointer           = 0x10:0xdf0ccbf0
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 15 (swi1: net)
trap number     lastlog: Permission denied

Removing the option and recompiling kernel from the same sources makes 
it work fine.

Pete



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DDBDE2B.6050407>