On Tue, Jul 19, 2011 at 4:27 AM, Colin Guthrie <gmane at colin.guthr.ie> wrote: > 'Twas brillig, and Fred Frigerio at 19/07/11 02:03 did gyre and gimble: >> On Mon, Jul 18, 2011 at 8:38 AM, Colin Guthrie <gmane at colin.guthr.ie> wrote: >>> 'Twas brillig, and Fred Frigerio at 18/07/11 12:38 did gyre and gimble: >>>> On Mon, Jul 18, 2011 at 4:53 AM, Colin Guthrie <gmane at colin.guthr.ie> wrote: >>>>> 'Twas brillig, and Fred Frigerio at 17/07/11 22:46 did gyre and gimble: >>>>>> I have a strange problem. I have been running pa for a long time under >>>>>> gentoo x86. However from a couple of days back it is not working >>>>>> anymore (it was after a round of updates but I can't pinpoint what >>>>>> might have done it) >>>>>> >>>>>> I can start pulseaudio -v without a problem. However I cannot connect >>>>>> to it afterwards and I get the following error in syslog. >>>>>> >>>>>> pulseaudio[18226]: pid.c: Daemon already running. >>>>>> >>>>>> >>>>>> Any help would be appreciated. >>>>>> >>>>>> This is what I get when starting pulseaudio -v >>>>> >>>>>> I: alsa-util.c: Error opening PCM device hw:0: Device or resource busy >>>>> >>>>> This implies some other application already has PA open. >>>>> >>>>> Some debug is needed I think. >>>>> >>>>> Can you attach (as .txt files) the output from: >>>>> >>>>> ck-list-sessions >>>>> getfacl /dev/snd/* >>>>> sudo fuser -v /dev/snd/pcm* >>>>> ps aux | grep pulse >>>>> xprop -root | grep PULSE >>>>> >>>> >>>> Here it goes. The output from the fuser command is empty (I did run it >>>> as root). Also I am running gnome (2.32). >>> >>> That's cool. fuser output being empty is semi-expected (when it's not >>> empty, it can cause problems. >>> >>> >>> OK, so all this looks to be good so far. PA is running, but what is >>> interesting is that the PULSE_SERVER string is not present in your xprop >>> output.... >>> >>> Can you try this: >>> >>> PULSE_LOG=99 pactl stat >>> >> >> See attached. The interesting bit is that it is looking for a native >> file|pipe? that just isn't there. There is a pid file in that >> directory but that's it. > > I think you forgot the attachment? > > > But the fact that it's trying to access the native socket and that > doesn't exist is telling.... > > It also explains why PA is running but you were allowed to start another PA. > > So I'd suggest that *something* is going on with your filesystem that is > "interesting". I suspect that PA is starting, writing it's various > sockets and metadata files, and then having them removed from it by some > other process... > > Can you do "ls -l ~/.pulse"? > > > Can you think of anything that would cause this. I suspect that it's > probably related to $TMPDIR getting cleaned out over vigorously. > > I can't think of what might be going on. The only item with /tmp that I can think of is that I switched it from an old hard drive to a new one in a mirror configuration. Could it be some 'bad' choice during the kernel config? Attached is the ouput of ls. Thank you, Fred F. -------------- next part -------------- total 76 -rw-r--r-- 1 ffrigerio ffrigerio 3072 Jul 2 19:57 13ebbd0fbb5939a721218b49000001ef-card-database.i686-pc-linux-gnu.gdbm -rw-r--r-- 1 ffrigerio ffrigerio 43 Jul 2 22:22 13ebbd0fbb5939a721218b49000001ef-default-sink -rw-r--r-- 1 ffrigerio ffrigerio 42 Jul 2 22:22 13ebbd0fbb5939a721218b49000001ef-default-source -rw-r--r-- 1 ffrigerio ffrigerio 8060 Jul 2 20:12 13ebbd0fbb5939a721218b49000001ef-device-volumes.i686-pc-linux-gnu.gdbm lrwxrwxrwx 1 ffrigerio ffrigerio 23 Jul 2 20:22 13ebbd0fbb5939a721218b49000001ef-runtime -> /tmp/pulse-2UrjqD1fhuBO -rw-r--r-- 1 ffrigerio ffrigerio 3625 Jul 2 19:57 13ebbd0fbb5939a721218b49000001ef-stream-volumes.i686-pc-linux-gnu.gdbm -rw-r--r-- 1 ffrigerio ffrigerio 3072 Jul 5 18:52 b3211f26c53652cb6a33912f0000004d-card-database.i686-pc-linux-gnu.gdbm -rw-r--r-- 1 ffrigerio ffrigerio 9 Jul 18 20:55 b3211f26c53652cb6a33912f0000004d-default-sink -rw-r--r-- 1 ffrigerio ffrigerio 99 Jul 18 20:55 b3211f26c53652cb6a33912f0000004d-default-source -rw-r--r-- 1 ffrigerio ffrigerio 10079 Jul 5 19:03 b3211f26c53652cb6a33912f0000004d-device-volumes.i686-pc-linux-gnu.gdbm lrwxrwxrwx 1 ffrigerio ffrigerio 23 Jul 17 14:17 b3211f26c53652cb6a33912f0000004d-runtime -> /tmp/pulse-42GylJI0UpHW -rw-r--r-- 1 ffrigerio ffrigerio 3625 Jul 5 18:52 b3211f26c53652cb6a33912f0000004d-stream-volumes.i686-pc-linux-gnu.gdbm -rw-r--r-- 1 ffrigerio ffrigerio 3072 Jul 3 08:44 belvedere-card-database.i686-pc-linux-gnu.gdbm -rw-r--r-- 1 ffrigerio ffrigerio 43 Jul 3 15:03 belvedere-default-sink -rw-r--r-- 1 ffrigerio ffrigerio 42 Jul 3 15:03 belvedere-default-source -rw-r--r-- 1 ffrigerio ffrigerio 8026 Jul 3 08:58 belvedere-device-volumes.i686-pc-linux-gnu.gdbm lrwxrwxrwx 1 ffrigerio ffrigerio 23 Jul 3 08:44 belvedere-runtime -> /tmp/pulse-c6n9gJRsfnaB -rw-r--r-- 1 ffrigerio ffrigerio 3625 Jul 3 08:44 belvedere-stream-volumes.i686-pc-linux-gnu.gdbm