From owner-freebsd-questions@FreeBSD.ORG Mon Jan 21 19:48:47 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 EFD4116A469 for ; Mon, 21 Jan 2008 19:48:47 +0000 (UTC) (envelope-from david.robillard@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.186]) by mx1.freebsd.org (Postfix) with ESMTP id 95F2113C448 for ; Mon, 21 Jan 2008 19:48:47 +0000 (UTC) (envelope-from david.robillard@gmail.com) Received: by rv-out-0910.google.com with SMTP id l15so2088770rvb.43 for ; Mon, 21 Jan 2008 11:48:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:mime-version:content-type:content-transfer-encoding:content-disposition; bh=QZTkZOpu7JGO6tQsfkxGGEYoJcmUzktSQyRzr94JrRA=; b=r6SXYspNX1Y/AjEagKpH6zRGd/WNj3dvopQS9eaTfWxBjEbe5hstOd6O7yYsvDBlNpoMf/J3ORjNFtDHK6y7uRIdPz118cRACzJYIi6ukV47ThNxtVQucuY/hpQh41DIHLY8fYZfU8MUs2CrFOy/E8pc0v/tRQdzGy+KN6fL3yA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:mime-version:content-type:content-transfer-encoding:content-disposition; b=LOWC3vo79xU+MHYtQr10OTofo51vAFkdu+eJkkixnoaKZzy2ucmXAepzfQhD3d8ziKBxb66V6irYTdY1xrz25Pa+aweUcjf350Y6XU4OxNsJbtUYR9wf/JbLsxC64QXcEVQEu31IdSY0zN4q6w+ay4WZzIfBTRsE48Dy88FxVWY= Received: by 10.141.178.5 with SMTP id f5mr4699994rvp.286.1200944926991; Mon, 21 Jan 2008 11:48:46 -0800 (PST) Received: by 10.141.186.16 with HTTP; Mon, 21 Jan 2008 11:48:46 -0800 (PST) Message-ID: <226ae0c60801211148j315a62f4wfa8e53ba491963bd@mail.gmail.com> Date: Mon, 21 Jan 2008 14:48:46 -0500 From: "David Robillard" To: "Robert Fitzpatrick" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: FreeBSD Questions 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: Mon, 21 Jan 2008 19:48:48 -0000 > 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 MOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> > Features2=0x641d> > AMD Features=0x20100000 > 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 -- David Robillard UNIX systems administrator & Oracle DBA CISSP, RHCE & Sun Certified Security Administrator Montreal: +1 514 966 0122