compiling kernel with PAE

Josh Paetzel josh at tcbug.org
Sun Jan 20 09:04:29 PST 2008


On Saturday 19 January 2008 06:15:15 pm Robert Fitzpatrick wrote:
> Getting an error when trying to compile a kernel on 5.4 and 6.2 with the
> PAE option. I've tried NO_MODULES in make.conf as well...
>
> se2 -ffreestanding -Werror  /usr/src/sys/dev/advansys/advansys.c
> /usr/src/sys/dev/advansys/advansys.c: In function `adv_action':
> /usr/src/sys/dev/advansys/advansys.c:260: warning: cast from pointer to
> integer of different size *** Error code 1
>
> Stop in /usr/obj/usr/src/sys/WEBTENT.
> *** Error code 1
>
> Stop in /usr/src.
> *** Error code 1
>
> Stop in /usr/src.
>
> This is a custom kernel build with the QUOTA option, I take out the PAE
> option and all makes fine. I did a src-all update with RELENG_VER tag
> prior to building. I assume this is a driver issue compatible with PAE?
>
> Also, can I run amd64 release on this Intel Xeon dual proc with 6GB RAM?
> Thinking about loading 6.3 amd64 if possible. Excuse my ignorance, I am
> not a hardware guy, I am a programmer.
>
> CPU: Intel(R) Xeon(TM) CPU 3.00GHz (3000.12-MHz 686-class CPU)
>   Origin = "GenuineIntel"  Id = 0xf41  Stepping = 1
>  
> Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MC
>A,C MOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
>   Features2=0x641d<SSE3,RSVD2,MON,DS_CPL,CNTX-ID,CX16,<b14>>
>   AMD Features=0x20100000<NX,LM>
>   Logical CPUs per core: 2

PAE is a horrible hack, and even if you figured out why it won't compile 
(probably an incompatable driver in your kernel) it's slow.  That particular 
CPU will run FreeBSD/amd64 just fine.  (I happen to have one)  The drawbacks 
to FreeBSD/amd64 are mainly in the desktop arena.  If this is a server I'd go 
for it.

-- 
Thanks,

Josh Paetzel

PGP: 8A48 EF36 5E9F 4EDA 5A8C 11B4 26F9 01F1 27AF AECB
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080120/f77b3740/attachment.pgp


More information about the freebsd-questions mailing list