From owner-freebsd-questions@FreeBSD.ORG Tue Oct 21 17:30:35 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 ADB6E106569B for ; Tue, 21 Oct 2008 17:30:35 +0000 (UTC) (envelope-from sonic2000gr@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.190]) by mx1.freebsd.org (Postfix) with ESMTP id 34E918FC0C for ; Tue, 21 Oct 2008 17:30:34 +0000 (UTC) (envelope-from sonic2000gr@gmail.com) Received: by nf-out-0910.google.com with SMTP id h3so1116257nfh.33 for ; Tue, 21 Oct 2008 10:30:33 -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=5S9IV/z7BNTyUigmVgdM7XXYdkVQK2O1sGXEfzjk0Qs=; b=ke39hX8rzJxYYxs98pZcVkZcEvCuJrggsoFmT2RMoDAEJw4VyKgn30LJZQ5QFmXr5b AMRPPGFq5r1Z7VYmFmd05QiUs8XY3CYyAAQLVnrPoF23ADPB3GaJ9uvlqo2Vui9Z29VG 5tC4B6kB3HKVn2IieItiIW1QhC6oT4Oz8uWnE= 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=nPQ+JULkj9RmU6opUpvpfgU3QtlKFrsZODIQs90cNlxhFIwWdzKUfjlwlNvnKtUQOH Pp/B+RVe1Pqz2UClpfmNETi0/yQjw+6skxlfAzze2BoZLzlCmqZlwmzOPgum5K5RUScR UpYakSczUDekKBGH5OusDAsbP+zGrvyILspQM= Received: by 10.210.21.13 with SMTP id 13mr10594734ebu.162.1224610233504; Tue, 21 Oct 2008 10:30:33 -0700 (PDT) Received: from atlantis.dyndns.org (athedsl-288578.home.otenet.gr [85.73.174.224]) by mx.google.com with ESMTPS id 31sm52792749nfu.9.2008.10.21.10.30.32 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 21 Oct 2008 10:30:32 -0700 (PDT) Message-ID: <48FE11B6.6090001@gmail.com> Date: Tue, 21 Oct 2008 20:30:30 +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> <48FDF890.6080600@gmail.com> <1224607442.8122.29.camel@columbus.webtent.org> In-Reply-To: <1224607442.8122.29.camel@columbus.webtent.org> Content-Type: text/plain; charset=ISO-8859-7; format=flowed Content-Transfer-Encoding: 7bit Cc: "freebsd-questions@freebsd.org" 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 17:30:35 -0000 Robert Fitzpatrick wrote: > On Tue, 2008-10-21 at 18:43 +0300, Manolis Kiagias wrote: > >> 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. >> > > Thanks, yes, I have nodevice in the PAE file for adv. What does this > mean and/or how can I address this problem? Should I just remove the > entry from the PAE file? > No. The idea behind the "PAE" file is that whatever you see with nodevice is not supported by PAE kernels. Even if you manage to compile a kernel with the device, you will just get into trouble. The idea behind this file is that you change the line: include GENERIC on the top, to your own custom kernel configuration file. Then you compile with make buildkernel KERNCONF=PAE which gets all your settings from your own file *minus* the ones that are incompatible with PAE (the ones identified with nodevice) > > >> How about going with the 64bit version of FreeBSD? >> > > That was my first try, but the CPU appears not to support amd64 as there > are no AMD Features listed in dmesg. > > Is it a 64bit CPU? The AMD64 version of FreeBSD supports the Intel 64bit (Core2 / Quad / Xeon / Pentium 4 / Pentium D) processors as well, regardless of the "AMD" in its name.