1 |
Walter Dnes <waltdnes@××××××××.org> wrote: |
2 |
|
3 |
> With the latest Flash vulnerability, I ran an update, which pulled in |
4 |
> Flash and a few other items. I also upgraded from linux-3.16.5-gentoo to |
5 |
> linux-3.17.7-gentoo, with the usual "make oldconfig" routine, and set |
6 |
> CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 ssse3" as indicated by |
7 |
> cpuinfo2cpuflags-x86. |
8 |
> |
9 |
> After rebooting, regular user (both waltdnes and user2) could no |
10 |
> longer play audio, but root could. I have a lilo menu that has 2 |
11 |
> entries "Production", and "Experimental". A new kernel is always |
12 |
> "Experimental" until I run it for a while without problems. I reverted |
13 |
> to "Production" (3.16.5) but that didn't help. Before everybody jumps |
14 |
> in with the standard response, yes I am a member of group "audio". |
15 |
> |
16 |
> [d531][root][~] grep audio /etc/group* |
17 |
> /etc/group:audio:x:18:waltdnes,user2 |
18 |
> /etc/group-:audio:x:18:waltdnes,user2 |
19 |
> |
20 |
> Audio has worked for years on this system before the problem. I took |
21 |
> a better look at the error messages, and had a "WTF" moment. mpg123 |
22 |
> (and mplayer and FLASH) appears to be looking for some libraries in |
23 |
> /var/tmp/portage/ as regular user, but root works fine. Why would a |
24 |
> regular user app look there, when root appears to work fine? Here are |
25 |
> the error messages for mpg123 |
26 |
> |
27 |
> 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' |
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_card_driver 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:392:(snd_func_concat) error evaluating strings |
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_concat 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/confmisc.c:1251:(snd_func_refer) error evaluating name |
32 |
> 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 |
33 |
> 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 |
34 |
> 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 |
35 |
> |
36 |
> [/var/tmp/portage/media-sound/mpg123-1.18.1/work/mpg123-1.18.1/src/output/alsa.c:170] error: cannot open device default |
37 |
> |
38 |
> [/var/tmp/portage/media-sound/mpg123-1.18.1/work/mpg123-1.18.1/src/audio.c:630] error: failed to open audio device |
39 |
> |
40 |
> [/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 |
41 |
> |
42 |
> [/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 |
43 |
> |
44 |
> [/var/tmp/portage/media-sound/mpg123-1.18.1/work/mpg123-1.18.1/src/mpg123.c:913] error: Failed to initialize output, goodbye. |
45 |
|
46 |
I would check the permissions of /dev/dsp and /dev/snd maybe they should |
47 |
be world rw or something. The /var/tmp is just what the source directory |
48 |
is, don't worry about that. |
49 |
|
50 |
-- |
51 |
Your life is like a penny. You're going to lose it. The question is: |
52 |
How do |
53 |
you spend it? |
54 |
|
55 |
John Covici |
56 |
covici@××××××××××.com |