misc/169857: kernel compile fails for PAE with device sound and
device snd_emu10k1
Geoffrey Lassner
freebsd83-pae-emu10k1 at zyni.com
Sat Jul 14 16:00:25 UTC 2012
>Number: 169857
>Category: misc
>Synopsis: kernel compile fails for PAE with device sound and device snd_emu10k1
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Jul 14 16:00:10 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Geoffrey Lassner
>Release: 8.3-RELEASE-p3
>Organization:
self
>Environment:
FreeBSD northwest.zyni.com 8.3-RELEASE-p3 FreeBSD 8.3-RELEASE-p3 #2: Wed Jul 11 22:23:27 MDT 2012 root at northwest.zyni.com:/usr/src/sys/i386/compile/NORTHWEST-PAE i386
>Description:
I had some existing hardware (1U intel sr1300 servers) that I was trying to add
sound cards to. Unfortunately, I am limited to sound cards that have the 3.3V pci notch in them otherwise I would just use different soundcards. I have verified the cards work fine if they are loaded as modules with a non-PAE kernel.
PAE kernels with "device sound" and "device snd_emu10k1" will
>How-To-Repeat:
Take the stock PAE config file and add the "sound" and "snd_emu10k1" devices:
# diff PAE PAE_emu10k1
23a24,26
> device sound
> device snd_emu10k1
>
#
config PAE_emu10k1
cd /sys/i386/compile/PAE_emu10k1
make cleandepend && make depend && make
<output omitted>
cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I../../.. -I../../../contrib/altq -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 -mno-sse3 -ffreestanding -fstack-protector -Werror ../../../dev/sound/pci/emu10k1.c
cc1: warnings being treated as errors
./../../dev/sound/pci/emu10k1.c: In function 'emu_memalloc':
./../../dev/sound/pci/emu10k1.c:1381: warning: cast to pointer from integer of different size
*** Error code 1
Stop in /usr/src/sys/i386/compile/PAE_emu10k1.
#
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list