Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Apr 2007 11:41:50 +0200
From:      Albert Shih <Albert.Shih@obspm.fr>
To:        "Don O'Neil" <lists@lizardhill.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Memory >3.5GB not used?
Message-ID:  <20070425094150.GB87950@pcjas.obspm.fr>
In-Reply-To: <021201c7869f$ee90fd70$0300020a@mickey>
References:  <01d301c78699$d6a36820$0300020a@mickey> <20070424140528.95287ff4.wmoran@potentialtech.com> <021201c7869f$ee90fd70$0300020a@mickey>

next in thread | previous in thread | raw e-mail | index | archive | help

--Qxx1br4bt0+wmkIi
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit

 Le 24/04/2007 à 11:39:46-0700, Don O'Neil a écrit
> Thanks for all who pointed out the obvious PAE option...
> 
> When I went to rebuild the kernel I got this message:
> 
> +++++++++++++++++++++++++++
> cc -O2 -fno-strict-aliasing -pipe -Werror -D_KERNEL -DKLD_MODULE -nostdinc
> -I-   -DHAVE_KERNEL_OPTION_HEADERS -include
> /usr/src/sys/i386/compile/KERMIT/opt_global.h -I. -I@ -I@/contrib/altq
> -I/usr/include -finline-limit=8000 -fno-common -g
> -I/usr/src/sys/i386/compile/KERMIT -mno-align-long-strings
> -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2
> -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
> -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual
> -fformat-extensions -std=c99 -c /usr/src/sys/modules/aha/../../dev/aha/aha.c
> /usr/src/sys/modules/aha/../../dev/aha/aha.c: In function `ahaaction':
> /usr/src/sys/modules/aha/../../dev/aha/aha.c:848: warning: cast from pointer
> to integer of different size
> *** Error code 1
> 
> Stop in /usr/src/sys/modules/aha.
> *** Error code 1
> 
> Stop in /usr/src/sys/modules.
> *** Error code 1
> 
> Stop in /usr/src/sys/i386/compile/KERMIT.
> +++++++++++++++++++++++++++
> 
> Why would it be complaining about the aha module when I have it commented
> out as a device?

On attachement a config to compile on my AMD64 (on i386 FreeBSD) with 4 Go.

Be carreful, I drop all device I don't need, check your NIC/SCSI card is in
the config (well not in the file I give).

Regards

JAS
--
Albert SHIH
Observatoire de Paris Meudon
SIO batiment 15
Téléphone : 01 45 07 76 26
Heure local/Local time:
Mer 25 avr 2007 11:41:05 CEST

--Qxx1br4bt0+wmkIi
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=ISIS

#
# PAE -- Generic kernel configuration file for FreeBSD/i386 PAE
#
# $FreeBSD: src/sys/i386/conf/PAE,v 1.16.2.3 2006/03/12 16:39:40 scottl Exp $

include GENERIC

ident		PAE

# To make a PAE kernel, the next option is needed
options		PAE			# Physical Address Extensions Kernel

# Compile acpi in statically since the module isn't built properly.  Most
# machines which support large amounts of memory require acpi.
device		acpi

# Don't build modules with this kernel config, since they are not built with
# the correct options headers.
makeoptions	NO_MODULES=yes

# What follows is a list of drivers that are normally in GENERIC, but either
# don't work or are untested with PAE.  Be very careful before enabling any
# of these drivers.  Drivers which use DMA and don't handle 64 bit physical
# address properly may cause data corruption when used in a machine with more
# than 4 gigabytes of memory.

nodevice	ahb
nodevice	amd
nodevice	sym
nodevice	trm

nodevice	adv
nodevice	adw
nodevice	aha
nodevice	aic
nodevice	bt

nodevice	ncv
nodevice	nsp
nodevice	stg

nodevice	asr
nodevice	dpt
nodevice	mly
nodevice	hptmv

nodevice	ida
nodevice	mlx
nodevice	pst

nodevice	agp

nodevice	de
nodevice	txp
nodevice	vx

nodevice	nve
nodevice	pcn
nodevice	sf
nodevice	sis
nodevice	ste
nodevice	tl
nodevice	tx
nodevice	vr
nodevice	wb

nodevice	cs
nodevice	ed
nodevice	ex
nodevice	ep
nodevice	fe
nodevice	ie
nodevice	lnc
nodevice	sn
nodevice	xe

nodevice	wlan
nodevice	an
nodevice	awi
nodevice	ral
nodevice	wi

nodevice	uhci
nodevice	ohci
nodevice	ehci
nodevice	usb
nodevice	ugen
nodevice	uhid
nodevice	ukbd
nodevice	ulpt
nodevice	umass
nodevice	ums
nodevice	ural
nodevice	urio
nodevice	uscanner
nodevice	aue
nodevice	axe
nodevice	cdce
nodevice	cue
nodevice	kue
nodevice	rue
nodevice        wlan            # 802.11 support
nodevice        wlan_wep        # 802.11 WEP support
nodevice        wlan_ccmp       # 802.11 CCMP support
nodevice        wlan_tkip       # 802.11 TKIP support
nodevice        an              # Aironet 4500/4800 802.11 wireless NICs.
nodevice        ath             # Atheros pci/cardbus NIC's
nodevice        ath_hal         # Atheros HAL (Hardware Access Layer)
nodevice        ath_rate_sample # SampleRate tx rate control for ath
nodevice        awi             # BayStack 660 and others
nodevice        ral             # Ralink Technology RT2500 wireless NICs.
nodevice        wi              # WaveLAN/Intersil/Symbol 802.11 wireless NICs.


# Rajout locaux
options         SMP

# Enable Linux ABI emulation
options         COMPAT_LINUX
 
# Enable i386 a.out binary support
options         COMPAT_AOUT
 
# Enable the linux-like proc filesystem support (requires COMPAT_LINUX
# and PSEUDOFS)
options         LINPROCFS


--Qxx1br4bt0+wmkIi--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070425094150.GB87950>