PAE kernel build error

nick nick at konservator.ru
Wed Dec 14 00:17:04 PST 2005


Iso images was uploaded from
ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/6.0/

FreeBSD was installed with Developer option as usual.
After that RAID-1 was created according Dru Lavigne's tips from
http://www.onlamp.com/pub/a/bsd/2005/11/10/FreeBSD_Basics.html
(two MAXTOR ATLAS 15K2 73G SCSI HDD drives on integrated Adatec AIC-7902
Ultra320SCSI adapter)
 



-----Original Message-----
From: lowell at be-well.ilk.org [mailto:lowell at be-well.ilk.org] On Behalf Of
Lowell Gilbert
Sent: Tuesday, December 13, 2005 11:13 PM
To: nick
Subject: Re: PAE kernel build error

Don't top-post, please.

"nick" <nick at konservator.ru> writes:

> OS version FreeBSD 6.0 RELEASE
> Platform - dual Intel Xeon 3.4 on Supermicro SUPER X6DH8-G2 (Lindenherst
> Chipset) motherboard with 8G RAM 
> There are no any problem with i386 GENERIC or SMP kernels.
> 
> make buildkernel KERNCONF=PAE
> generate error above.
> Original PAE conf file:
> 
> include GENERIC
> device acpi
> makeoptions NO_MODULES=yes
> and lot of nodevice options.........

The default PAE kernel builds for me on 6-STABLE, and the release
records look like the kernel built then.  Have you changed anything
from the stock kernel configurations?  What sources do you have
installed, and how did you install them?

> 
> 
> -----Original Message-----
> From: lowell at be-well.ilk.org [mailto:lowell at be-well.ilk.org] On Behalf Of
> Lowell Gilbert
> Sent: Monday, December 12, 2005 5:49 PM
> To: nick
> Subject: Re: PAE kernel build error
> 
> "nick" <nick at tdkon.ru> writes:
> 
> > Can't build PAE kernel.
> > make buildkernel KERNCONF=PAE
> > generate error:
> > 
> > I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm
> -I/usr/src/sys/dev/twa -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include
> opt_global.h -fno-common -finline-limit=8000 --param
inline-unit-growth=100
> --param large-function-growth=1000  -mno-align-long-strings
> -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2
> -ffreestanding -Werror  /usr/src/sys/dev/fdc/fdc_pccard.c
> > cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs
> -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline
> -Wcast-qual  -fformat-extensions -std=c99 -g -nostdinc -I-  -I.
> -I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica
-I/usr/src/sys/contrib/altq
> -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf
> -I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd
> -I/usr/src/sys/contrib/ngatm -I/usr/src/sys/dev/twa -D_KERNEL
> -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common
> -finline-limit=8000 --param inline-unit-growth=100 --param
> large-function-growth=1000  -mno-align-long-strings
> -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2
> -ffreestanding -Werror  /usr/src/sys/dev/hptmv/entry.c
> > /usr/src/sys/dev/hptmv/entry.c: In function `fOsBuildSgl':
> > /usr/src/sys/dev/hptmv/entry.c:2476: warning: cast to pointer from
integer
> of different size
> > /usr/src/sys/dev/hptmv/entry.c: In function `hpt_io_dmamap_callback':
> > /usr/src/sys/dev/hptmv/entry.c:2606: warning: cast to pointer from
integer
> of different size
> > /usr/src/sys/dev/hptmv/entry.c: In function `OsSendCommand':
> > /usr/src/sys/dev/hptmv/entry.c:2758: warning: cast to pointer from
integer
> of different size
> > *** Error code 1
> > 
> > Stop in /usr/obj/usr/src/sys/PAE.
> > *** Error code 1
> > 
> > Stop in /usr/src.
> > *** Error code 1
> > 
> > Stop in /usr/src.
> 
> That isn't really enough information to work with.
> Try reading the following:
>
http://www.ru.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-questions/ind
> ex.html
> 
> 
> 

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
		http://be-well.ilk.org/~lowell/





More information about the freebsd-questions mailing list