i386/161721: compiling kernel with KVA_PAGES=512 does not allow system to boot

Eugen Konkov kes-kes at yandex.ru
Sun Oct 16 18:20:07 UTC 2011


>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:


More information about the freebsd-i386 mailing list