Memory >3.5GB not used?

Albert Shih Albert.Shih at
Wed Apr 25 09:56:39 UTC 2007

 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
> /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).


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
-------------- next part --------------
# PAE -- Generic kernel configuration file for FreeBSD/i386 PAE
# $FreeBSD: src/sys/i386/conf/PAE,v 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
options         LINPROCFS

More information about the freebsd-questions mailing list