Re: Memory >3.5GB not used?



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
#
# 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

_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"

Relevant Pages

  • Re: Fedora 13 - How to blacklist certain updates?
    ... That's because they are Free drivers, while the nVidia drivers are not. ... 2Ghz machine, do just fine with the standard kernel, and the nvidia ... PAE is actually a good thing, and especially if you have more than 3 GB ...
    (alt.os.linux)
  • Re: building module regression
    ... With latest kernel it is no more possible ... to do something like this (with net drivers): ... *** Error code 1 ... It is introduced once ifdef VIMAGE are removed from net/vnet.h in ...
    (freebsd-current)
  • RE: Memory >3.5GB not used?
    ... If it's a hack maybe I should just not worry about the extra .5GB then... ... kernel sources for 6.1? ... Not all modules work with PAE. ... *** Error code 1 ...
    (freebsd-questions)
  • Re: building module regression
    ... On Sun, 30 Nov 2008, Paul B. Mahol wrote: ... With latest kernel it is no more possible ... to do something like this (with net drivers): ... *** Error code 1 ...
    (freebsd-current)
  • compiling kernel with PAE
    ... *** Error code 1 ... This is a custom kernel build with the QUOTA option, I take out the PAE ... CPU: IntelXeonCPU 3.00GHz ...
    (freebsd-questions)