I emerged all the alsa stuff, and then I tried to play a track: splay Track11.mp3 Nothing happened, so I pressed CTRL-C then I played around a bit and then this happened: splay Track11.mp3 & splay Track11.mp3 -> now I can hear the Sound! I can stop the 2nd Process and start it again - it works. The 1st Process will never stop, it just keeps on running. I can start xmms and play tracks etc. But if i kill the first Process, it does not work anymore. Ok, then I thought it might be an error with a lock-file or something and did an strace on both processes (http://www.osnanet.de/craig/gentoo) log1 is for the 1st process (which i start in the background and that does not play the sound) log2 is the process that plays the sound I do not have any idea what is wrong... Does anyone have a solution? I think the error is not gentoo-specific and depends on the alsa drivers... Sorry for my bad english :) Craig
What version of alsa are you using? Is this happening in all versions of alsa? If you haven't already, can you try different versions of alsa? What is the output of 'emerge info'
emerge info: Portage 2.0.50 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040207-r0, 2.4.22-gentoo-r5) ================================================================= System uname: 2.4.22-gentoo-r5 i586 AMD-K6(tm) 3D processor Gentoo Base System version 1.4.3.13 Autoconf: sys-devel/autoconf-2.59 Automake: sys-devel/automake-1.8.2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=k6 -O3 -pipe -fomit-frame-pointer" CHOST="i586-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 /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=k6 -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp6.uni-muenster.de/pub/linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa apm arts avi berkdb crypt cups curl encode esd ethereal firebird foomaticdb gdbm gdm gif gnome gpm gps gtk gtk2 imlib ipv6 java jikes jpeg kde libg++ libwww mad mbox mikmod motif mpeg ncurses nls oggvorbis opengl oss pam pcmcia pdflib perl png python qt quicktime readline sdl slang snmp socks5 spell ssl svga tcltk tcpd tiff truetype usb x86 xml2 xmms xv zlib" I used alsa-2.0 Today I also tried alsa-2.0.c with the same results...
Can you please try older versions to help figure out if this bug is present in all alsa versions or was introduced by an update...
Uhm sure...but it will take ages...cause the PC I am using needs about 2hrs to compile it... Shall I download and try older versions by hand and try or is it possible to emerge them?!
Are you doing: export ALSA_CARDS='es18xx' first? If you don't, it'll compile tons of unneeded drivers for you. Also, just update the alsa-drivers, you shouldn't need to update the -lib and -utils packages since this seems to be driver-specific. But yes, I'd like it if you could test the older versions. You don't need to go back sequencially... just emerge 1.0.0_rc2 first. If it works, try 1.0.1. If it doesn't, try 0.9.8 Thanks, Jeremy
>Are you doing: > >export ALSA_CARDS='es18xx' > >first? If you don't, it'll compile tons of unneeded drivers for you. No I didnt do that. Damn... >But yes, I'd like it if you could test the older versions. You don't need to >go back sequencially... just emerge 1.0.0_rc2 first. If it works, try 1.0.1. >If it doesn't, try 0.9.8 Maybe I am just dumb - but how do I emerge older versions?!? I have no idea...
No need to answer, [root@lato ~]# emerge media-sound/alsa-driver-1.0.0_rc2 :)
Uhm I meant: [root@lato ~]# export ALSA_CARDS='es18xx' [root@lato ~]# emerge =media-sound/alsa-driver-1.0.0_rc2 This is what I did: /etc/init.d/alsasound stop emerge -C alsa-driver emerge =media-sound/alsa-driver-1.0.0_rc2 /etc/init.d/alsasound start splay Track-11.mp3 (no sound) -> [strg-c] splay Track11.mp3 & splay Track11.mp3 (I hear sound) So i try 0.9.8: /etc/init.d/alsasound stop emerge -C alsa-driver emerge =media-sound/alsa-driver-0.9.8 /etc/init.d/alsasound start splay Track-11.mp3 (no sound) -> [strg-c] splay Track11.mp3 & splay Track11.mp3 (I hear sound) Hmm...ok now I try the oldest version in the portage, 0.9.2: /etc/init.d/alsasound stop emerge -C alsa-driver emerge =media-sound/alsa-driver-0.9.2 /etc/init.d/alsasound start * Loading ALSA drivers... * Using ALSA OSS emulation * Loading: snd-seq-oss * Loading: snd-pcm-oss * Loading: snd-mixer-oss * Loading: snd-es18xx /lib/modules/2.4.22-gentoo-r5/kernel/sound/isa/snd-es18xx.o: init_module: No such device Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters. You may find more information in syslog or the output from dmesg /lib/modules/2.4.22-gentoo-r5/kernel/sound/isa/snd-es18xx.o: insmod /lib/modules/2.4.22-gentoo-r5/kernel/sound/isa/snd-es18xx.o failed /lib/modules/2.4.22-gentoo-r5/kernel/sound/isa/snd-es18xx.o: insmod snd-es18xx failed * Loading: snd-seq-oss * Running card-dependent scripts * Restoring Mixer Levels [ ok ] Well, 0.9.2 doesnt even load...tail /var/log/messages: Feb 10 21:54:19 lato ESS AudioDrive ES18xx soundcard not found or device busy Feb 10 21:54:19 lato insmod: /lib/modules/2.4.22-gentoo-r5/kernel/sound/isa/snd-es18xx.o: init_module: No such device Feb 10 21:54:19 lato insmod: Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters. You may find more information in syslog or the output from dmesg Feb 10 21:54:19 lato insmod: /lib/modules/2.4.22-gentoo-r5/kernel/sound/isa/snd-es18xx.o: insmod snd-card-0 failed Feb 10 21:54:19 lato ESS AudioDrive ES18xx soundcard not found or device busy Strange. I have no idea what to do now...
I have got an ESS1868. Someone from #gentoo @ euirc said that I maybe used the wrong driver and that he had experienced the same problems I did, when he used a wrong driver. In short: I did "make menuconfig", went to "Sound" and pressed "?" on "100% compatible Soundblaster card" it says I shall use that instead of es18xx. Hm! I unloaded all the alsa stuff, compiled the module and did "insmod sb" Then it works. I am very sorry for wasting your [ and my ;) ] time with this!! Sorry! Thank you very much.