Since I have a crappy OEM Dell SBLive! soundcard I can't use the emu10k1 module. I need the emu10k1x module which is now supported in alsa but not in any kernel. I followed the instructions from http://gentoo-wiki.com/HOWTO_ALSA_sound_mixer_aka_dmix . But no matter what it won't compile. I changed the ALSA_CARDS variable to other cards, and just one card, and it won't work. Reproducible: Always Steps to Reproduce: 1. emerge alsa-driver 2. 3. Actual Results: /var/tmp/portage/alsa-driver-1.0.7-r1/work/alsa-driver-1.0.7/kbuild/../acore/pcm_native.c: In function `snd_pcm_lib_mmap_iomem': /var/tmp/portage/alsa-driver-1.0.7-r1/work/alsa-driver-1.0.7/kbuild/../acore/pcm_native.c:3202: warning: passing arg 1 of `remap_page_range' makes pointer from integer without a cast /var/tmp/portage/alsa-driver-1.0.7-r1/work/alsa-driver-1.0.7/kbuild/../acore/pcm_native.c:3202: error: incompatible type for argument 4 of `remap_page_range' /var/tmp/portage/alsa-driver-1.0.7-r1/work/alsa-driver-1.0.7/kbuild/../acore/pcm_native.c:3202: error: too few arguments to function `remap_page_range' make[3]: *** [/var/tmp/portage/alsa-driver-1.0.7-r1/work/alsa-driver-1.0.7/kbuild/../acore/pcm_native.o] Error 1 make[2]: *** [/var/tmp/portage/alsa-driver-1.0.7-r1/work/alsa-driver-1.0.7/kbuild/../acore] Error 2 make[1]: *** [_module_/var/tmp/portage/alsa-driver-1.0.7-r1/work/alsa-driver-1.0.7/kbuild] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.9-gentoo-r6' make: *** [compile] Error 2 Expected Results: successful emerge Gentoo Base System version 1.6.6 Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9-gentoo-r6 i686) ================================================================= System uname: 2.6.9-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.92.0.2-r1 Headers: sys-kernel/linux26-headers-2.6.8.1-r1 Libtools: sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="x86 ~x86" ACCEPT_LICENSE="" ALSA_CARDS="emu10k1x ens1371 intel8x0" ARCH="x86" AUTOCLEAN="yes" BASH_ENV="/etc/spork/is/not/valid/profile.env" CFLAGS="-fomit-frame-pointer -pipe -march=pentium4 -mfpmath=sse -msse2 -mmmx -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -O3" CHOST="i686-pc-linux-gnu" CLASSPATH="." CLEAN_DELAY="5" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CVS_RSH="ssh" CXXFLAGS="-fomit-frame-pointer -pipe -march=pentium4 -mfpmath=sse -msse2 -mmmx -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -O3" DISPLAY=":0.0" DISTDIR="/usr/portage/distfiles" EDITOR="/bin/nano" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" FETCHCOMMAND="/usr/bin/wget -t 5 --passive-ftp -P ${DISTDIR} ${URI}" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo" GLIBC_SSP_CHECKED="1" GRP_STAGE23_USE="ipv6 pam tcpd readline nls ssl gpm perl python berkdb ncurses" HOME="/root" HOSTNAME="home" INFOPATH="/usr/share/info:/usr/share/gcc-data/i686-pc-linux-gnu/3.4/info" JAVAC="/opt/blackdown-jdk-1.4.2.01/bin/javac" JAVA_HOME="/opt/blackdown-jdk-1.4.2.01" JDK_HOME="/opt/blackdown-jdk-1.4.2.01" LESS="-R" LESSOPEN="|lesspipe.sh %s" LOGNAME="root" MAIL="/var/mail/root" MAKEOPTS="-j3" MANPATH="/usr/local/share/man:/usr/share/man:/usr/share/gcc-data/i686-pc-linux-gnu/3.4/man:/usr/share/man::/opt/blackdown-jdk-1.4.2.01/man:/usr/qt/3/doc/man" NOCOLOR="false" OLDPWD="/usr/src/linux" PAGER="/usr/bin/less" PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.4.3:/usr/X11R6/bin:/opt/blackdown-jdk-1.4.2.01/bin:/opt/blackdown-jdk-1.4.2.01/jre/bin:/usr/qt/3/bin" PKGDIR="/usr/portage/packages" PORTAGE_ARCHLIST="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 ppc-macos ppc-od s390 sh sparc x86 x86-obsd x86-fbsd x86-od" PORTAGE_BINHOST_CHUNKSIZE="3000" PORTAGE_CALLER="emerge" PORTAGE_GID="250" PORTAGE_MASTER_PID="29331" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PRELINK_PATH="" PRELINK_PATH_MASK="" PWD="/usr/src/linux" PYTHONDOCS="/usr/share/doc/python-docs-2.3.4/html" QMAKESPEC="linux-g++" QTDIR="/usr/qt/3" RESUMECOMMAND="/usr/bin/wget -c -t 5 --passive-ftp -P ${DISTDIR} ${URI}" RPMDIR="/usr/portage/rpm" RSYNC_RETRIES="3" RSYNC_TIMEOUT="180" SHELL="/bin/bash" SHLVL="1" SYNC="rsync://rsync.gentoo.org/gentoo-portage" TERM="linux" USE="X alsa apm arts avi berkdb bitmap-fonts cdr crypt cups divx4linux doc dvd dvdr encode f77 foomaticdb fortran ftp gdbm gif gpm gtk2 ibg++ imlib ipv6 java joystick jpeg kde libg++ libwww mad mikmod mmx motif mpeg ncurses nls nptl nptlonly offensive oggvorbis opengl oss pam pdflib perl png python qt quicktime readline scanner sdl slang spell sse ssl svga tcpd tiff truetype x86 xml2 xmms xv xvid zlib" USER="root" USERLAND="GNU" USE_EXPAND="VIDEO_CARDS INPUT_DEVICES LINGUAS" XARGS="xargs -r" XINITRC="/etc/X11/xinit/xinitrc" _="/usr/bin/emerge"
Created attachment 44816 [details] ebuild log
Created attachment 44818 [details] strace output
Created attachment 44819 [details] Possibly similar to this bug from alsa-devel site
One time I used "genkernel all" and it compiled but that sucks.
Please provide links rather than attachments of html to upstream bug reports.
The bug report says it's fixed in cvs as of July which means it should be fixed in 1.0.7... plus that was a problem with 2.4 kernels in particular... I'm working on a ton of issues, and I can't really give this one much attention, so could you open a bug upstream with this and let me know the bug number so I can track it and eventually include the patch? Thanks.
Same thing on: Portage 2.0.51-r3 (gcc34-x86-2004.2, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9-cko3 i686) ================================================================= System uname: 2.6.9-cko3 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz Gentoo Base System version 1.6.6 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.92.0.2-r1 Headers: sys-kernel/linux26-headers-2.6.8.1-r1 Libtools: sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe -funroll-loops -fprefetch-loop-arrays -fforce-addr" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe -funroll-loops -fprefetch-loop-arrays -fforce-addr" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs distlocks nodoc noinfo noman sandbox" GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.inode.at/ http://ftp.du.se/pub/os/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/etc/portage/overlay" SYNC="rsync://rsync9.us.gentoo.org/gentoo-portage" USE="X alsa apm avi berkdb bitmap-fonts cdr crypt cups divx4linux dvd encode esd f77 fbcon flash foomaticdb fortran gdbm gif gpm gtk gtk2 imlib java jpeg libg++ libwww mad mikmod mmx motif mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl slang spell sse ssl svga tcltk tcpd truetype usb x86 xml2 xmms xv xvid zlib"
Bug submitted to http://sourceforge.net/tracker/index.php?func=detail&aid=1074439&group_id=27464&atid=390601 Bug# 1074439
You need to report it at https://bugtrack.alsa-project.org/ They don't use the sf.net bug system
Bad Address... Takes me to some Slavic site called Perex @ InterNet.
Try: https://bugtrack.alsa-project.org/alsa-bug/main_page.php
BUG# 0000703 on the alsa site.