From owner-freebsd-questions@FreeBSD.ORG Tue Jan 22 02:10:06 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1172316A46B for ; Tue, 22 Jan 2008 02:10:06 +0000 (UTC) (envelope-from pieter@degoeje.nl) Received: from smtp.utwente.nl (unknown [IPv6:2001:610:1908:1000:204:23ff:feb5:7e66]) by mx1.freebsd.org (Postfix) with ESMTP id 7747A13C461 for ; Tue, 22 Jan 2008 02:10:05 +0000 (UTC) (envelope-from pieter@degoeje.nl) Received: from lux.student.utwente.nl (lux.student.utwente.nl [130.89.170.81]) by smtp.utwente.nl (8.12.10/SuSE Linux 0.7) with ESMTP id m0M29vtS021292; Tue, 22 Jan 2008 03:09:57 +0100 From: Pieter de Goeje To: freebsd-questions@freebsd.org Date: Tue, 22 Jan 2008 03:09:56 +0100 User-Agent: KMail/1.9.7 References: <226ae0c60801211148j315a62f4wfa8e53ba491963bd@mail.gmail.com> In-Reply-To: <226ae0c60801211148j315a62f4wfa8e53ba491963bd@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200801220309.56966.pieter@degoeje.nl> X-UTwente-MailScanner-Information: Scanned by MailScanner. Contact servicedesk@icts.utwente.nl for more information. X-UTwente-MailScanner: Found to be clean X-UTwente-MailScanner-From: pieter@degoeje.nl X-Spam-Status: No Cc: David Robillard , Robert Fitzpatrick Subject: Re: compiling kernel with PAE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jan 2008 02:10:06 -0000 On Monday 21 January 2008, David Robillard 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 >MCA,C MOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> > > Features2=0x641d> > > AMD Features=0x20100000 Note the LM feature here: ^^ This means the CPU supports "Long Mode", which basically means the cpu supports the 64bit extensions needed for FreeBSD/amd64. > > Logical CPUs per core: 2 > > According to http://www.freebsd.org/platforms/amd64.html the Intel > Xeon (3000-sequence, 5000-sequence, and 7000-sequence) processors use > the Intel(R)64 architecture. > Therefore if your Intel Xeon is in the 3000-sequence, 5000-sequence or > 7000-sequence, then you can use FreeBSD/amd64 and use the memory above > 4Gb. IMHO it should be more simple and efficient than compiling a > kernel with PAE support. > > HTH, > > David - Pieter de Goeje