Gentoo Archives: gentoo-user

From: Walter Dnes <waltdnes@××××××××.org>
To: Gentoo Users List <gentoo-user@l.g.o>
Subject: [gentoo-user] Regular user unable to use sound/alsa after upgrade
Date: Thu, 29 Jan 2015 17:28:17
1 With the latest Flash vulnerability, I ran an update, which pulled in
2 Flash and a few other items. I also upgraded from linux-3.16.5-gentoo to
3 linux-3.17.7-gentoo, with the usual "make oldconfig" routine, and set
4 CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 ssse3" as indicated by
5 cpuinfo2cpuflags-x86.
7 After rebooting, regular user (both waltdnes and user2) could no
8 longer play audio, but root could. I have a lilo menu that has 2
9 entries "Production", and "Experimental". A new kernel is always
10 "Experimental" until I run it for a while without problems. I reverted
11 to "Production" (3.16.5) but that didn't help. Before everybody jumps
12 in with the standard response, yes I am a member of group "audio".
14 [d531][root][~] grep audio /etc/group*
15 /etc/group:audio:x:18:waltdnes,user2
16 /etc/group-:audio:x:18:waltdnes,user2
18 Audio has worked for years on this system before the problem. I took
19 a better look at the error messages, and had a "WTF" moment. mpg123
20 (and mplayer and FLASH) appears to be looking for some libraries in
21 /var/tmp/portage/ as regular user, but root works fine. Why would a
22 regular user app look there, when root appears to work fine? Here are
23 the error messages for mpg123
25 ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.28/work/alsa-lib-1.0.28/src/confmisc.c:768:(parse_card) cannot find card '0'
26 ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.28/work/alsa-lib-1.0.28/src/conf.c:4259:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
27 ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.28/work/alsa-lib-1.0.28/src/confmisc.c:392:(snd_func_concat) error evaluating strings
28 ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.28/work/alsa-lib-1.0.28/src/conf.c:4259:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
29 ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.28/work/alsa-lib-1.0.28/src/confmisc.c:1251:(snd_func_refer) error evaluating name
30 ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.28/work/alsa-lib-1.0.28/src/conf.c:4259:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
31 ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.28/work/alsa-lib-1.0.28/src/conf.c:4738:(snd_config_expand) Evaluate error: No such file or directory
32 ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.28/work/alsa-lib-1.0.28/src/pcm/pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM default
34 [/var/tmp/portage/media-sound/mpg123-1.18.1/work/mpg123-1.18.1/src/output/alsa.c:170] error: cannot open device default
36 [/var/tmp/portage/media-sound/mpg123-1.18.1/work/mpg123-1.18.1/src/audio.c:630] error: failed to open audio device
38 [/var/tmp/portage/media-sound/mpg123-1.18.1/work/mpg123-1.18.1/src/audio.c:180] error: Unable to find a working output module in this list: alsa
40 [/var/tmp/portage/media-sound/mpg123-1.18.1/work/mpg123-1.18.1/src/audio.c:532] error: Failed to open audio output module
42 [/var/tmp/portage/media-sound/mpg123-1.18.1/work/mpg123-1.18.1/src/mpg123.c:913] error: Failed to initialize output, goodbye.
44 --
45 Walter Dnes <waltdnes@××××××××.org>
46 I don't run "desktop environments"; I run useful applications


Subject Author
Re: [gentoo-user] Regular user unable to use sound/alsa after upgrade covici@××××××××××.com