RELENG_7_0: KVA_PAGES=375, BTX halted

Peter Wemm peter at wemm.org
Mon Jan 14 13:57:23 PST 2008


Kip, do you think a CTASSERT might be in order?

On Jan 14, 2008 1:27 PM, Kip Macy <kip.macy at 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 at 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 at 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 at 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 at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> > To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"
> >
> _______________________________________________
> freebsd-stable at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"
>



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


More information about the freebsd-stable mailing list