Goran Gajic wrote:
>
>
> Hi,
>
> I don't know if this is known, but when I have tried compiling PAE
kernel
> with SMP enabled on 6.0-RELEASE I've got this mistake:
>
> 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../../.. -I../../../contrib/dev/acpica -I../../../contrib/altq
> -I../../../contrib/ipfilter -I../../../contrib/pf
> -I../../../contrib/dev/ath -I../../../contrib/dev/ath/freebsd
> -I../../../contrib/ngatm -I../../../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 ../../../dev/hptmv/entry.c
> ../../../dev/hptmv/entry.c: In function `fOsBuildSgl':
> ../../../dev/hptmv/entry.c:2476: warning: cast to pointer from integer
> of different size
> ../../../dev/hptmv/entry.c: In function `hpt_io_dmamap_callback':
> ../../../dev/hptmv/entry.c:2606: warning: cast to pointer from integer
> of different size
> ../../../dev/hptmv/entry.c: In function `OsSendCommand':
> ../../../dev/hptmv/entry.c:2758: warning: cast to pointer from integer
> of different size
> *** Error code 1
>
> Stop in /usr/src/sys/i386/compile/PAE-SMP.
>
> I have added nodev hptmv in PAE config in /usr/src/sys/i386/conf/PAE
> together with option SMP (only two changes I have made to PAE config file).
>
>
> Regards,
> Goran Gajic
Yes, this was discovered shortly after the release and corrected. I
don't think that it'll be possible to make the hptmv driver work on
PAE, unfortunately.
Scott