Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Oct 2011 18:19:03 GMT
From:      Eugen Konkov <kes-kes@yandex.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   i386/161721: compiling kernel with KVA_PAGES=512 does not allow system to boot
Message-ID:  <201110161819.p9GIJ3xh010442@red.freebsd.org>
Resent-Message-ID: <201110161820.p9GIK7Y6013393@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         161721
>Category:       i386
>Synopsis:       compiling kernel with KVA_PAGES=512 does not allow system to boot
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-i386
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 16 18:20:07 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Eugen Konkov
>Release:        
>Organization:
ISP FreeLine
>Environment:
FreeBSD flux 9.0-CURRENT FreeBSD 9.0-CURRENT #4: Fri Jun 10 01:30:12 UTC 2011     @:/usr/obj/usr/src/sys/KES_KERN_v9  i386
>Description:
adding option to KERNCONF

options KVA_PAGES=512

does not allow system to boot.


FreeBSD must tune sysctl variables itself. at least to that values that allow system to boot and WARN user for that tuning!

in other words: changing KVA_PAGES must affect vm.kmem_size and vm.kmem_size_max
>How-To-Repeat:

>Fix:
You must made addition tuning in /boot/loader.conf:

vm.kmem_size="330M"
vm.kmem_size_max="330M"
vfs.zfs.arc_max="40M"
vfs.zfs.vdev.cache.size="5M"

>Release-Note:
>Audit-Trail:
>Unformatted:



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