Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 34929 - alsa-* and 2.6 kernel incompatibilities
Summary: alsa-* and 2.6 kernel incompatibilities
Status: RESOLVED DUPLICATE of bug 42087
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
: 35914 36318 38185 38697 40759 (view as bug list)
Depends on: 37715
Blocks:
  Show dependency tree
 
Reported: 2003-12-02 14:55 UTC by Sergi
Modified: 2005-07-17 13:06 UTC (History)
16 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergi 2003-12-02 14:55:02 UTC
I try to merge alsa-tools-1.0.0_rc1 but it not compile, I have this error: 
 
Making all in src 
make[1]: Entering directory 
`/var/tmp/portage/alsa-tools-1.0.0_rc1/work/alsa-tools-1.0.0rc1/hdspmixer/src' 
if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" 
-DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" 
-DPACKAGE_BUGREPORT=\"\" 
-DPACKAGE=\"hdspmixer\" -DVERSION=\"1.6\" -DSTDC_HEADERS=1 
-DHAVE_LIBASOUND=1  -I. -I.   -I/usr/include/fltk-1.1  -march 
=athlon-xp -O3 -pipe -fomit-frame-pointer 
-I/lib/modules/2.6.0-test11-gentoo-r1/build/include  -I/lib/modules/2.6.0-test 
11-gentoo-r1/build/include -I/usr/include/fltk-1.1 -I/usr/include/freetype2 
-march=athlon-xp -mcpu=athlon-xp -O3 -pipe - 
I/usr/X11R6/include -fno-exceptions -MT hdspmixer.o -MD -MP -MF 
".deps/hdspmixer.Tpo" \ 
  -c -o hdspmixer.o `test -f 'hdspmixer.cxx' || echo './'`hdspmixer.cxx; \ 
then mv -f ".deps/hdspmixer.Tpo" ".deps/hdspmixer.Po"; \ 
else rm -f ".deps/hdspmixer.Tpo"; exit 1; \ 
fi 
In file included from hdspmixer.cxx:31: 
HDSPMixerCard.h:57: error: 'hdsp_9632_aeb_t' is used as a type, but is not 
   defined as a type. 
hdspmixer.cxx: In function `int main(int, char**)': 
hdspmixer.cxx:68: error: `H9632' undeclared (first use this function) 
hdspmixer.cxx:68: error: (Each undeclared identifier is reported only once for 
   each function it appears in.) 
make[1]: *** [hdspmixer.o] Error 1 
make[1]: Leaving directory 
`/var/tmp/portage/alsa-tools-1.0.0_rc1/work/alsa-tools-1.0.0rc1/hdspmixer/src' 
make: *** [all-recursive] Error 1 
 
!!! ERROR: media-sound/alsa-tools-1.0.0_rc1 failed. 
!!! Function src_compile, Line 50, Exitcode 2 
!!! make failed 
 

Reproducible: Always
Steps to Reproduce:
1.start to compile it 
2.compilation crashs 
3. 


Expected Results:  
 

I have kernel 2.6.0-test11-gentoo-r1 and gcc version 3.3.2 20031022 (Gentoo Linux 
3.3.2-r3, propolice)
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-12-02 15:31:12 UTC
seems that this is too a 2.6.0 test 11 bug
Comment 2 Boohbah 2003-12-03 15:12:55 UTC
I'm having this problem too.

emerge --info:
Portage 2.0.49-r18 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.0-test11-gen too-r1)
=================================================================
System uname: 2.6.0-test11-gentoo-r1 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.4.3.12
ccache version 2.3 [enabled]
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1 /share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm /config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /us r/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow X aalib alsa apache2 apm avi berkdb bonobo cdr cjk crypt cups curl di rectfb dvd encode esd fbcon foomaticdb gb gdbm gif gnome gpm gtk gtk2 gtkhtml gu ile imap imlib java jpeg libg++ libwww mad maildir mikmod mmx motif mozilla mozn ocompose moznoirc moznomail mpeg ncurses nls oggvorbis opengl oss pam pdflib per l png python quicktime readline sdl slang spell sse ssl svga tcltk tetex tiff tr uetype x86 xml xml2 xmms xv zlib"
Comment 3 Donnie Berkholz (RETIRED) gentoo-dev 2003-12-03 19:35:05 UTC
If you emerge alsa-driver-1.0.0_rc1 before alsa-tools-1.0.0_rc1, it works. Seems like a missing DEPEND.

Running 2.4.22-gentoo
Comment 4 Andy Dustman 2003-12-04 07:33:37 UTC
I've had this happen with development-sources-2.6.0_beta11 and gs-sources-2.4.23* (don't remember exact version, it's my home machine).
Comment 5 Stephen Boulet 2003-12-04 18:03:42 UTC
I seem to be having a different problem, although x11-libs/fltk-1.1.4 is present:

g++  -mcpu=athlon-xp -O3 -pipe -I/usr/include  -I/usr/include -I/usr/include/fltk-1.1 -I/usr/include/freetype2 -mcpu=athlon-xp -O3 -pipe -I/usr/X11R6/include -fno-exceptions  -L/usr/lib/fltk-1.1  -lasound -lm -ldl -lpthread -L/usr/lib/fltk-1.1 -Wl,-rpath,/usr/lib/fltk-1.1 -L/usr/X11R6/lib -lfltk -lXft -lpthread -lXext -lX11 -lsupc++ -o hdspmixer  hdspmixer.o HDSPMixerWindow.o HDSPMixerInputs.o HDSPMixerOutputs.o HDSPMixerPlaybacks.o HDSPMixerButtons.o HDSPMixerEmpty.o HDSPMixerOutput.o HDSPMixerIOMixer.o HDSPMixerSelector.o HDSPMixerPan.o HDSPMixerFader.o HDSPMixerGain.o HDSPMixerPeak.o HDSPMixerCard.o HDSPMixerCardSelector.o HDSPMixerMaster.o HDSPMixerView.o HDSPMixerPresets.o HDSPMixerMuteSolo.o HDSPMixerStripData.o HDSPMixerOutputData.o HDSPMixerPresetData.o HDSPMixerSetup.o HDSPMixerAbout.o HDSPMixerAboutText.o HDSPMixerMeter.o pixmaps.o  -lasound -lm -ldl -lpthread
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lfltk
collect2: ld returned 1 exit status
make[1]: *** [hdspmixer] Error 1
make[1]: Leaving directory `/var/tmp/portage/alsa-tools-1.0.0_rc1/work/alsa-tools-1.0.0rc1/hdspmixer/src'
make: *** [all-recursive] Error 1

!!! ERROR: media-sound/alsa-tools-1.0.0_rc1 failed.
!!! Function src_compile, Line 50, Exitcode 2
!!! make failed


# emerge info
Portage 2.0.49-r18 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.23-rc3)
=================================================================
System uname: 2.4.23-rc3 i686 AMD Athlon(tm) XP 2700+
Gentoo Base System version 1.4.3.12
ccache version 2.3 [enabled]
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-mcpu=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow X alsa apache2 apm arts atlas avi cdr crypt cups dga emacs encode foomaticdb gd gdbm ggi gif gphoto2 gpm guile imap imlab imlib innodb java jpeg kde libg++ libwww mad maildir mikmod mmx motif mozilla mpeg mysql ncurses nls odbc oggvorbis opengl oss pam pda pdflib perl plotutils png pnp ppds python qt quicktime readline samba sdl slang spell sse ssl svga tcltk tcpd tetex tif truetype usb wmf wxWindows x86 xml xml2 xmms xv zeo zlib"
Comment 6 Greg Watson (linuxkrn) 2003-12-04 23:11:48 UTC
Got the same error here too,

Have alsa setup as modules in 2.6.0-test11

Portage 2.0.49-r18 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.0-test11)
=================================================================
System uname: 2.6.0-test11 i686 Intel(R) Xeon(TM) CPU 2.80GHz
Gentoo Base System version 1.4.3.12
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O2 -pipe -funroll-loops -fomit-frame-pointer -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium4 -O2 -pipe -funroll-loops -fomit-frame-pointer -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache fixpackages sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu/ ftp://mirror.iawnet.sandia.gov/pub/gentoo ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://www.ibiblio.org/pub/Linux/distributions/gentoo "
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X aalib alsa apm arts avi berkdb bonobo cdr crypt cups dga dvb dvd encode foomaticdb gdbm ggi gif gphoto2 gpm gtk gtk2 gtkhtml guile imlib java jpeg kde ldap libg++ libwww mad mbox mikmod mmx motif mozilla mpeg nas ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang snmp spell sse sse2 ssl svga tcltk tcpd tetex tiff truetype v4l x86 xinerama xml xml2 xmms xv zlib zvbi"
Comment 7 Andy Dustman 2003-12-05 11:05:59 UTC
Re: Comment #3:

I did find that on my gs-sources-2.4.23* system, emerging alsa-driver first did
correct the problem. However, the 2.6 sources already have ALSA, and the ebuild
specifically says:

 * This does not work with kernel 2.6 !!!
 * Please use the kernel modules instead of this the package

Inspecting /proc/asound/version, it seems the 2.6 kernel still has alsa-0.9.7:

Advanced Linux Sound Architecture Driver Version 0.9.7 (Thu Sep 25 19:16:36 2003 UTC).
Compiled on Dec  3 2003 for kernel 2.6.0-test11.

I wonder if this will be fixed before 2.6.1, since it may be a more extensive
patch than Linus has said he wanted.

I guess those of us with 2.6 kernels should mask alsa stuff >0.9.7, although
the 0.9.8 userspace stuff has not given me any trouble.
Comment 8 Clemens Oertel 2003-12-07 23:19:20 UTC
"hdspmixer" seems to be the only app that's causing problems. When removing its entry from $ALSA_TOOLS, alsa-tools (1.0.0RC2) compiled smoothly. Better than nothing. Don't even know what specifically a "RME Hammerfall DSP Soundcard" is ...
Comment 9 Simon Cooper 2003-12-08 08:31:53 UTC
same problem with _rc2...
Comment 10 Quequero 2003-12-11 13:46:02 UTC
Yep, the same here with 2.6.0-test11.

Que
Comment 11 Andy Dustman 2003-12-13 14:11:39 UTC
After manually merging alsa-driver-1.0.0_rc2, the other packages merged successfully.

However...

I found that alsa-driver-1.0.0_rc2 with gs-sources-2.4.23_pre8 broke games-fps/enemy-territory. That is, I got no sound, and the console output said "Can't mmap /dev/dsp". The OSS compatibility modules were loaded, and /dev/dsp was a symlink to sound/dsp, which was owned and writable by me. XMMS with the ALSA output worked, and so did the OSS output. Downgrading to 0.9.8 fixed things again.
Comment 12 Martin Holzer (RETIRED) gentoo-dev 2003-12-23 14:11:26 UTC
*** Bug 36318 has been marked as a duplicate of this bug. ***
Comment 13 Martin Holzer (RETIRED) gentoo-dev 2004-01-03 06:46:16 UTC
*** Bug 35914 has been marked as a duplicate of this bug. ***
Comment 14 Simon Cooper 2004-01-05 07:30:04 UTC
alsa-tools-1.0.0_rc2-r1 compiles fine with love-sources-2.6.1-r2 (could just be because of the patch to rc2 in that kernel, but worth checking with other 2.6 kernels)

If it doesnt compile, it's probably worth adding the 1.0.0_rc2 patch to gentoo-dev-sources so it does compile properly...
Comment 15 merwan kashouty 2004-01-06 08:22:27 UTC
well using 2.4.23-ck1 the tools fail alsoo to compile fails on ppc using 2.6.1_rc1-benh1 as well... again its hdspmixer for both
Comment 16 Ian Tindale 2004-01-10 03:23:39 UTC
I've been getting this for over a month now, too, on various 2.6.0 tests (this machine has never had a 2.4 kernel), now the real 2.6.0 and the development and mm sources 2.6.1 revisions. Every single time I do an emerge world, it stops at :

fi
hdspconf.cxx: In function `void refresh_cb(void*)':
hdspconf.cxx:77: error: `H9632' undeclared (first use this function)
hdspconf.cxx:77: error: (Each undeclared identifier is reported only once for
   each function it appears in.)
hdspconf.cxx:97: error: 'struct hdsp_config_info_t' has no member named '
   ad_gain'
hdspconf.cxx:98: error: 'struct hdsp_config_info_t' has no member named '
   da_gain'
hdspconf.cxx:99: error: 'struct hdsp_config_info_t' has no member named '
   phone_gain'
hdspconf.cxx:100: error: 'struct hdsp_config_info_t' has no member named '
   xlr_breakout_cable'
hdspconf.cxx:103: error: 'struct hdsp_config_info_t' has no member named '
   analog_extension_board'
make[1]: *** [hdspconf.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/alsa-tools-1.0.0_rc2-r1/work/alsa-tools-1.0.0rc2/hdspconf/src'
make: *** [all-recursive] Error 1

!!! ERROR: media-sound/alsa-tools-1.0.0_rc2-r1 failed.
!!! Function src_compile, Line 51, Exitcode 2
!!! make failed

and that's as far as any of it gets by itself. 
Comment 17 Veszi Gabor 2004-01-10 03:34:38 UTC
I had the bug too, but now with kernel 2.6.1-mm1 and the new alsa-tools (rc2-r1) it's gone... evrything works ok.
Comment 18 Martin Ehmsen (RETIRED) gentoo-dev 2004-01-10 05:04:32 UTC
It is because 2.6.1-mm1 contains large ALSA updates to ALSA-1.0.1
Comment 19 Andy Dustman 2004-01-10 19:35:16 UTC
alsa-driver-1.0.1 still has the issue reported earlier: Sound stops working in games-fps/enemy-territory (also quake3) and reports "Can't mmap /dev/dsp". However xmms with ALSA output still works.
Comment 20 Martin Holzer (RETIRED) gentoo-dev 2004-01-19 05:05:46 UTC
*** Bug 38697 has been marked as a duplicate of this bug. ***
Comment 21 Tamran Lengyel 2004-01-31 13:28:41 UTC
This didn't work on AMD64 either
Comment 22 Fredrik Normann 2004-02-03 13:19:33 UTC
alsa-tools-1.0.2 on kernel 2.6.2-rc3 got the same fault in hdspmizer/src
Comment 23 Donnie Berkholz (RETIRED) gentoo-dev 2004-02-07 14:15:24 UTC
*** Bug 40759 has been marked as a duplicate of this bug. ***
Comment 24 Jeremy Huddleston (RETIRED) gentoo-dev 2004-02-09 04:14:53 UTC
*** Bug 38185 has been marked as a duplicate of this bug. ***
Comment 25 Jeremy Huddleston (RETIRED) gentoo-dev 2004-02-09 04:18:46 UTC
The main problem is upstream.  According to alsa, alsa-drivers-1.0.2c should fix most of the "compilation against 2.6" problems and thus people can go back to disabling it in the kernel and just using the alsa-drivers package to keep up to date alsa drivers... but I haven't tested this out yet personally...  Could you please try emerging 1.0.2c against your 2.6 kernels and give feedback...
Comment 26 Radek Podgorny 2004-02-11 15:45:54 UTC
I would try it with the "c" version, but where is it? :-)
Comment 27 Jeremy Huddleston (RETIRED) gentoo-dev 2004-02-11 15:58:24 UTC
/usr/portage/media-sound/alsa-driver/alsa-driver-1.0.2c.ebuild
Comment 28 Radek Podgorny 2004-02-11 16:01:39 UTC
...aaahhh, you meant the driver...

...then, I'm gonna wait till it's in the kernel. That's one of the main reasons why I choosed 2.6, sorry...
Comment 29 Jeremy Huddleston (RETIRED) gentoo-dev 2004-02-11 17:34:40 UTC
Radek, I'm confused by your last message...

Alsa is saying that alsa-driver-1.0.2c should fix all problems so it will work with the 2.6 kernel versions, so I am hoping you will all test this out ang give me feedback.  This version is much newer than what's in the kernel.
Comment 30 John Russell 2004-02-12 07:32:03 UTC
It looks like alsa 1.0.2c is in 2.6.3_r2. This should fix a loto f these problems.
Comment 31 Jeremy Huddleston (RETIRED) gentoo-dev 2004-02-15 00:15:25 UTC
Ok... this bug seems to be fixed with 1.0.2c according to the developers upstream and the lack of reports back here, so closing...
Comment 32 Radek Podgorny 2004-02-15 14:55:09 UTC
Is the version on alsa-tools 1.0.2c or just 1.0.2? Anyway, it fails to compile with 2.6.3-rc3 (ends with syntax errors)...

Will post more info later. I think this bug should be reopened and closed only after we make it work under the vanilla kernels...

Thanks...
Radek
Comment 33 Erik Swanson (RETIRED) gentoo-dev 2004-02-17 13:31:20 UTC
I too am unable to build alsa-tools-1.0.2 against development-sources-2.6.3_rc4 due to syntax errors:
---
if gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"sbiload\" -DVERSION=\"0.3.0\" -DSTDC_HEADERS=1 -DHAVE_LIBASOUND=1  -I. -I.   -I/usr/include/fltk-1.1  -O0 -g -pipe -I/lib/modules/2.6.3-rc4/build/include  -I/lib/modules/2.6.3-rc4/build/include -MT sbiload.o -MD -MP -MF ".deps/sbiload.Tpo" \
  -c -o sbiload.o `test -f 'sbiload.c' || echo './'`sbiload.c; \
then mv -f ".deps/sbiload.Tpo" ".deps/sbiload.Po"; \
else rm -f ".deps/sbiload.Tpo"; exit 1; \
fi
In file included from /lib/modules/2.6.3-rc4/build/include/sound/ainstr_fm.h:29,
                 from sbiload.c:23:
/lib/modules/2.6.3-rc4/build/include/asm/byteorder.h:14: error: syntax error before "__u32"
/lib/modules/2.6.3-rc4/build/include/asm/byteorder.h:28: error: syntax error before "__u64"
In file included from /lib/modules/2.6.3-rc4/build/include/linux/byteorder/little_endian.h:11,
                 from /lib/modules/2.6.3-rc4/build/include/asm/byteorder.h:57,
                 from /lib/modules/2.6.3-rc4/build/include/sound/ainstr_fm.h:29,
                 from sbiload.c:23:
/lib/modules/2.6.3-rc4/build/include/linux/byteorder/swab.h:133: error: syntax error before "__u16"
/lib/modules/2.6.3-rc4/build/include/linux/byteorder/swab.h:146: error: syntax error before "__u32"
/lib/modules/2.6.3-rc4/build/include/linux/byteorder/swab.h:160: error: syntax error before "__u64"
make: *** [sbiload.o] Error 1

!!! ERROR: media-sound/alsa-tools-1.0.2 failed.
!!! Function src_compile, Line 51, Exitcode 2
!!! make failed
---
Comment 34 Radek Podgorny 2004-02-17 16:21:47 UTC
...heh, I was just about to post the same log... :-)
Comment 35 Jeremy Huddleston (RETIRED) gentoo-dev 2004-02-17 23:37:47 UTC
Ok, but I'm more concerned with the drivers right now.  does alsa-driver-1.0.2c compile against your 2.6 kernels?  After that, are -lib-1.0.2 and -utils-1.0.2 working against -driver-1.0.2c on a 2.6.x kernel?

I know the -tools aren't compiling, and hopefully they'll fix that soon upstream.

I really need to get hardware that I can try 2.6 on... sorry guys...
Comment 36 Martin Ehmsen (RETIRED) gentoo-dev 2004-02-17 23:49:25 UTC
>Ok, but I'm more concerned with the drivers right now.  does alsa-driver-1.0.2c
>compile against your 2.6 kernels?  After that, are -lib-1.0.2 and -utils-1.0.2
>working against -driver-1.0.2c on a 2.6.x kernel?

I think someone messed up this whole discussion. If your are running a 2.6.x kernel you have two options concerning alsa. You can use the alsa-drivers that ships with the kernel or you can use the alsa-drivers from alsa-project.org.
Most of us use the drivers that ships with the kernel (I don't have the alsa-driver ebuild installed anymore), but Linus is not as fast to use the latest alsa-tree as one could hope. It's is first in the 2.6.3-rcX series that there has been an update to alsa in a long time.
So asking if alsa-driver compiles against a 2.6 kernel is asking the wrong question.
Asking wheter alsa-{something_other_than_driver} compiles against either alsa-driver or the 2.6.x kernel is the right question.
Comment 37 Jeremy Huddleston (RETIRED) gentoo-dev 2004-02-19 01:19:03 UTC
Actually, I am asking the correct question that I want answered.  alsa-driver versions prior to 1.0.2c had TONS of problems compiling against the 2.6 kernels.  If people are using 1.0.x lib,tool,utils, I want to make sure they're using the 1.0.2c alsa-drivers (either in media-sound/alsa-driver or kernel-2.6.3).  If people are using 2.6 kernels prior to 2.6.3, it contains code from around alsa-driver 0.9.8.  I don't want to worry about version mismatching there...

So my question still holds...

As for the -tools not emerging, a temporary fix would be to set ALSA_TOOLS to not contain that tool.  I just committed the modifications mentioned in bug #37784, so you'll have to either do it manually or wait for rsync servers to catch up...
Comment 38 Radek Podgorny 2004-02-19 07:33:09 UTC
How do I find what version of ALSA is in my current (2.6.3) kernel?
Comment 39 Martin Ehmsen (RETIRED) gentoo-dev 2004-02-19 07:50:27 UTC
cat /proc/asound/version
Comment 40 Jeremy Huddleston (RETIRED) gentoo-dev 2004-02-19 10:59:02 UTC
# This will show you the version of ALSA included in the kernel located in /usr/src/linux:
cat /usr/src/linux/include/sound/version.h

# This will show you the version of alsa currently in use
cat /proc/asound/version
Comment 41 Radek Podgorny 2004-02-19 11:07:14 UTC
Thanks...

Both show 1.0.2c which is strange since this version is supposed to compile correctly, right? This means that even 2.6.3 is still no-go... :-(
Comment 42 ronmon 2004-03-01 21:39:57 UTC
Okay, I'm getting the same error as in comment #33 while trying to emerge alsa-tools-1.0.3. I've tried it on 2.6.3-mm2 and 2.6.4-rc1-mm1.

cat /proc/asound/version 
Advanced Linux Sound Architecture Driver Version 1.0.2c (Thu Feb 05 15:41:49 2004  UTC). Compiled on Mar  1 2004 for kernel 2.6.4-rc1-mm1 (SMP).

Any news on this?
Comment 43 Jeremy Huddleston (RETIRED) gentoo-dev 2004-03-01 23:16:56 UTC
Only the alsa-tools with kernel >=2.6.3 issue remains, and that has its own bug, so I'm just going to mark this a dup of that bug.  Any further 2.6.x alsa issues should be opened in a new bug report.

*** This bug has been marked as a duplicate of 42087 ***