Comment 13 for bug 315824

Revision history for this message
brianbowers (brian-j-bowers) wrote : Re: [Bug 315824] Re: Sound works for a while, then randomly stops working in 8.10

Hey dude:

Try this series of commands to stop/restart sound:

  killall pulseaudio
  sudo alsa force-reload
  pulseaudio -D

I put them in a handy little script called "fixalsa.sh".

Doesn't exactly *fix* the problem, but at least I don't have to reboot every
time.

Good luck!

Brian

On Tue, Jan 12, 2010 at 7:30 PM, primo6711 <email address hidden> wrote:

> i have the same problem
>
> --
> Sound works for a while, then randomly stops working in 8.10
> https://bugs.launchpad.net/bugs/315824
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “linux” package in Ubuntu: Incomplete
>
> Bug description:
>
> This has happened twice in a week, and appears to happen randomly.
> This is on a new computer, ASUS P5KPL-CM mobo with intel core 2 quad.
> Only strange thing about the system is I installed the 8.10 server kernel
> and run that so it will actually see all 4 GB of ram - I installed it
> normally through apt-get though so I don't believe that should be a problem
> and everything else works okay.
>
> Totem player would just hang, and mplayer gave me the error seen in the
> attached screenshot.
>
> After the latest time, I tried the following:
>
> #>alsa force-reload
> /sbin/alsa: 219: cannot create /var/run/alsa/modules-removed: Permission
> denied
>
> #>sudo alsa force-unload
> lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system
> /home/reece/.gvfs
> Output information may be incomplete.
> lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system
> /home/reece/.gvfs
> Output information may be incomplete.
> Unloading ALSA sound driver modules: (none loaded).
>
> #> sudo alsa force-reload
> lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system
> /home/reece/.gvfs
> Output information may be incomplete.
> lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system
> /home/reece/.gvfs
> Output information may be incomplete.
>
> After that, gnome says I have no sound device.. aplay -l gives this:
> aplay: device_list:215: no soundcards found...
>
> I tried most of the applicable things to try on other bug reports, but most
> of them appear to be issues with pulseaudio that keeps sound from working on
> boot. With my situation, sound works find after boot for a few days and
> then stops, and a reboot fixes the problem temporarily.
>
> My sound card info using alsa-info.sh is here (taken after gnome says no
> sound devices):
> http://www.alsa-project.org/db/?f=187765d528c594e3050308d0ab075360a159126c
>
> Please let me know what other information you might need and I'll supply
> it.
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/315824/+subscribe
>