From owner-freebsd-questions@FreeBSD.ORG Tue Oct 21 15:50:07 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 480841065679 for ; Tue, 21 Oct 2008 15:50:07 +0000 (UTC) (envelope-from sonic2000gr@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.158]) by mx1.freebsd.org (Postfix) with ESMTP id C92C38FC14 for ; Tue, 21 Oct 2008 15:50:06 +0000 (UTC) (envelope-from sonic2000gr@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so1737727fgb.35 for ; Tue, 21 Oct 2008 08:50:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=RbROSmHlUYWSVCwazoxV1VSZOjtag+L9S/r/5dCw+T0=; b=RKI/HBBKvLCiUS31clHyBBsB478xrQk9qEE4LazkuKCzbt/voHHGTvykbtDDR0CSbC lKshSQlNGOeSX6mLaZblRHJxW73/jfRvHo733mglm/FWFYG3vf4NIgUaKfV7chXbWR99 3kd4hGdYnbSZeA/Ky97nK5UQofnEUF6iFIMEM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=wG7t+jP0pn8ArVhnblTx0ksPX7L3lAfe6peMA66BnmzyKo/8F8zF4BhkGXZzQQ76Ne StuSJzXs7OxncP03fKx+P5YRKDpZbObPo6KkLYmCAxhSN0B6gPRV6lDf7e8os2sjRWtn Qt9sEKFjCLC4QTqNdU6UNJzMwBUVDtZ8J1VA0= Received: by 10.181.224.3 with SMTP id b3mr1198366bkr.183.1224603795900; Tue, 21 Oct 2008 08:43:15 -0700 (PDT) Received: from atlantis.dyndns.org (athedsl-288578.home.otenet.gr [85.73.174.224]) by mx.google.com with ESMTPS id 13sm16969239fks.6.2008.10.21.08.43.14 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 21 Oct 2008 08:43:14 -0700 (PDT) Message-ID: <48FDF890.6080600@gmail.com> Date: Tue, 21 Oct 2008 18:43:12 +0300 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.17 (X11/20081011) MIME-Version: 1.0 To: robert@webtent.com References: <1224603212.8122.14.camel@columbus.webtent.org> In-Reply-To: <1224603212.8122.14.camel@columbus.webtent.org> Content-Type: text/plain; charset=ISO-8859-7; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Subject: Re: Error with kernel PAE option 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, 21 Oct 2008 15:50:07 -0000 Robert Fitzpatrick wrote: > Trying to build my own kernel with PAE option and getting the following > error... > > /usr/src/sys/dev/advansys/advansys.c: In function 'adv_action': > /usr/src/sys/dev/advansys/advansys.c:259: warning: cast from pointer to > integer of different size > *** Error code 1 > > I removed the PAE option keeping my SMP option in the kernel > configuration for this dual proc server and it builds fine. Any idea > what I can do for this error? > > Have a look at: /usr/src/sys/i386/conf/PAE Is the device that is causing the problem listed with a "nodevice" entry? I guess in your case, it is the "adv" device, and it is listed. This means it does not work with a PAE kernel. How about going with the 64bit version of FreeBSD?