From owner-freebsd-questions@FreeBSD.ORG Sun Jan 20 17:04:29 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 BD58016A418 for ; Sun, 20 Jan 2008 17:04:29 +0000 (UTC) (envelope-from josh@tcbug.org) Received: from cenn-smtp.mc.mpls.visi.com (cenn.mc.mpls.visi.com [208.42.156.9]) by mx1.freebsd.org (Postfix) with ESMTP id 9A77C13C46A for ; Sun, 20 Jan 2008 17:04:29 +0000 (UTC) (envelope-from josh@tcbug.org) Received: from mail.tcbug.org (mail.tcbug.org [208.42.70.163]) by cenn-smtp.mc.mpls.visi.com (Postfix) with ESMTP id 2EE868135; Sun, 20 Jan 2008 10:45:14 -0600 (CST) Received: from build64.tcbug.org (unknown [208.42.70.167]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.tcbug.org (Postfix) with ESMTP id E7E432149809; Sun, 20 Jan 2008 10:45:13 -0600 (CST) From: Josh Paetzel To: freebsd-questions@freebsd.org, robert@webtent.com Date: Sun, 20 Jan 2008 10:44:54 -0600 User-Agent: KMail/1.9.7 References: <1200788115.9650.13.camel@columbus.webtent.org> In-Reply-To: <1200788115.9650.13.camel@columbus.webtent.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart6190899.czbdFnf5IS"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200801201045.12904.josh@tcbug.org> Cc: 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: Sun, 20 Jan 2008 17:04:29 -0000 --nextPart6190899.czbdFnf5IS Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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 =3D "GenuineIntel" Id =3D 0xf41 Stepping =3D 1 > =20 > Features=3D0xbfebfbffA,C MOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> > Features2=3D0x641d> > AMD Features=3D0x20100000 > Logical CPUs per core: 2 PAE is a horrible hack, and even if you figured out why it won't compile=20 (probably an incompatable driver in your kernel) it's slow. That particula= r=20 CPU will run FreeBSD/amd64 just fine. (I happen to have one) The drawback= s=20 to FreeBSD/amd64 are mainly in the desktop arena. If this is a server I'd = go=20 for it. =2D-=20 Thanks, Josh Paetzel PGP: 8A48 EF36 5E9F 4EDA 5A8C 11B4 26F9 01F1 27AF AECB --nextPart6190899.czbdFnf5IS Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQBHk3qYJvkB8SevrssRAp0JAJ0bKQ6AqpS0USvObtOC/4wFWNy9TwCgigSt 2hHbQaZKWdhwsNpeUw41XUU= =J5vC -----END PGP SIGNATURE----- --nextPart6190899.czbdFnf5IS--