Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jan 2008 13:42:15 -0800
From:      "Peter Wemm" <peter@wemm.org>
To:        "Kip Macy" <kip.macy@gmail.com>
Cc:        Boris Samorodov <bsam@ipt.ru>, freebsd-stable@freebsd.org
Subject:   Re: RELENG_7_0: KVA_PAGES=375, BTX halted
Message-ID:  <e7db6d980801141342h19740313sfbefce1c5d8aa355@mail.gmail.com>
In-Reply-To: <b1fa29170801141327i17bcf17w7fd5852d94014083@mail.gmail.com>
References:  <31089801@bb.ipt.ru> <b1fa29170801141327i17bcf17w7fd5852d94014083@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Kip, do you think a CTASSERT might be in order?

On Jan 14, 2008 1:27 PM, Kip Macy <kip.macy@gmail.com> wrote:
> Read the comment in pmap.h:
>
> /*
>  * Size of Kernel address space.  This is the number of page table pages
>  * (4MB each) to use for the kernel.  256 pages == 1 Gigabyte.
>  * This **MUST** be a multiple of 4 (eg: 252, 256, 260, etc).
>  */
> #ifndef KVA_PAGES
> #ifdef PAE
> #define KVA_PAGES       512
> #else
> #define KVA_PAGES       256
> #endif
> #endif
>
>
>
> On Jan 14, 2008 1:23 PM, Boris Samorodov <bsam@ipt.ru> wrote:
> > Hello,
> >
> >
> > can you tell me which value may be used for KVA_PAGES? If I use
> > KVA_PAGES=360, the system boots. If I use KVA_PAGES=375, the system
> > halts at BTX stage:
> > ftp://ftp.ipt.ru/pub/images/btx_halted/img014.jpg
> >
> > The kernel is GENERIC + SCHED_ULE, some IPFWIREWALL, etc.
> > -----
> > localhost%% uname -a
> > FreeBSD bb.ipt.ru 7.0-RC1 FreeBSD 7.0-RC1 #7: Fri Jan 11 20:53:40 MSK 2008     root@bb.ipt.ru:/usr/obj/usr/src/sys/GG  i386
> > localhost% dmesg | head -22
> > Copyright (c) 1992-2008 The FreeBSD Project.
> > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
> >         The Regents of the University of California. All rights reserved.
> > FreeBSD is a registered trademark of The FreeBSD Foundation.
> > FreeBSD 7.0-RC1 #7: Fri Jan 11 20:53:40 MSK 2008
> >     root@bb.ipt.ru:/usr/obj/usr/src/sys/BB
> > Timecounter "i8254" frequency 1193182 Hz quality 0
> > CPU: Intel(R) Core(TM)2 Quad CPU    Q6600  @ 2.40GHz (2405.47-MHz 686-class CPU)
> >   Origin = "GenuineIntel"  Id = 0x6fb  Stepping = 11
> >   Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
> >   Features2=0xe3bd<SSE3,RSVD2,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM>
> >   AMD Features=0x20100000<NX,LM>
> >   AMD Features2=0x1<LAHF>
> >   Cores per package: 4
> > real memory  = 3489136640 (3327 MB)
> > avail memory = 3408564224 (3250 MB)
> > ACPI APIC Table: <A_M_I_ OEMAPIC >
> > FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
> >  cpu0 (BSP): APIC ID:  0
> >  cpu1 (AP): APIC ID:  1
> >  cpu2 (AP): APIC ID:  2
> >  cpu3 (AP): APIC ID:  3
> > -----
> >
> >
> > WBR
> > --
> > Boris Samorodov (bsam)
> > Research Engineer, http://www.ipt.ru Telephone & Internet SP
> > FreeBSD committer, http://www.FreeBSD.org The Power To Serve
> > _______________________________________________
> > freebsd-stable@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
> >
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
>



-- 
Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com
"All of this is for nothing if we don't go to the stars" - JMS/B5



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