Results 1 to 1 of 1

Thread: 8.10, sound stopped working after radio stream crash or vlc package install

  1. #1
    Join Date
    Nov 2008
    Beans
    1

    Angry 8.10, sound stopped working after radio stream crash or vlc package install

    Installed Kubuntu 8.10 about a week ago. Had no problems, except for a little quirk with the sound, if booting with earphones plugged in(unplug replug and everything worked fine). I Have no sw installed that does not come from the package list.

    Yesterday I installed the vlc package, watched a movie with sound, then I listened to music radio streaming via firefox. The sound got stuck in a 1 second loop, I rebooted, and now I have no sound. After reboot I could still start aumix, but the sound did not respond to the controls. When trying to run vlc I get the following messages about alsa:

    ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
    ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_card_driver returned error: Filen eller katalogen finns inte
    ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
    ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_concat returned error: Filen eller katalogen finns inte
    ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
    ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_refer returned error: Filen eller katalogen finns inte
    ALSA lib conf.c:3985:(snd_config_expand) Evaluate error: Filen eller katalogen finns inte
    ALSA lib pcm.c:2196:(snd_pcm_open_noupdate) Unknown PCM default
    [00000462] oss audio output error: cannot open audio device (/dev/dsp)
    [00000462] main audio output error: couldn't find a filter for the conversion
    [00000462] main audio output error: couldn't create audio output pipeline

    If I tried to open alsamixer I get this message:
    alsamixer: function snd_ctl_open failed for default: No such file or directory

    lsmod showed no sign of snd modules at all.

    "strace -eopen alsamixer" gives the following output:
    open("/etc/ld.so.cache", O_RDONLY) = 3
    open("/lib/libncurses.so.5", O_RDONLY) = 3
    open("/usr/lib/libasound.so.2", O_RDONLY) = 3
    open("/lib/tls/i686/cmov/libm.so.6", O_RDONLY) = 3
    open("/lib/tls/i686/cmov/libdl.so.2", O_RDONLY) = 3
    open("/lib/tls/i686/cmov/libpthread.so.0", O_RDONLY) = 3
    open("/lib/tls/i686/cmov/libc.so.6", O_RDONLY) = 3
    open("/lib/tls/i686/cmov/librt.so.1", O_RDONLY) = 3
    open("/usr/share/alsa/alsa.conf", O_RDONLY) = 3
    open("/usr/share/alsa/bluetooth.conf", O_RDONLY) = 3
    open("/dev/snd/controlC0", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/dev/aloadC0", O_RDONLY) = -1 ENOENT (No such file or directory)
    alsamixer: function snd_ctl_open failed for default: No such file or directory

    I have noted the following folders are missing:
    /dev/snd
    /proc/asound
    /usr/include/alsa

    Looked in /etc/modprobe.d/alsa-base. And found this row "options snd-intel8x0m index=-2"

    dmesg | grep -i alsa gives no output

    This is what I have looked at and tried:
    -------------------------------------------------------------------------

    $ sudo apt-get install linux-backports-modules
    $ sudo echo "options snd-hda-intel model=toshiba" | sudo tee -a $ /etc/modprobe.d/alsa-base
    $ sudo reboot

    $ aplay -l
    aplay: device_list:215: no soundcard found...

    $ lspci -v
    00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
    Subsystem: Inventec Corporation Device 0040
    Flags: bus master, fast devsel, latency 0, IRQ 10
    Memory at f4300000 (64-bit, non-prefetchable) [size=16K]
    Capabilities: <access denied>

    $ cat /dev/sndstat
    cat: /dev/sndstat: Filen eller katalogen finns inte

    $ sudo modprobe snd-<tab> only gives me snd-bt-sco (which seems to be some kindof bluetooth headset support... (?)

    $ sudo apt-get --purge remove linux-sound-base alsa-base alsa-utils
    $ sudo apt-get install linux-sound-base alsa-base alsa-utils
    $ sudo reboot

    $ aplay -l
    $ aplay: device_list:215: no soundcard found...

    $ lspci | grep -i audio
    00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)

    Then I tried to reinstall alsa drivers.

    #!/bin/bash
    sudo apt-get install build-essential ncurses-dev gettext libncurses5-dev linux-headers-`uname -r`
    sudo mkdir -p /usr/src/alsa
    cd /usr/src/alsa
    sudo wget ftp://ftp.alsa-project.org/pub/drive...1.0.15.tar.bz2
    sudo wget ftp://ftp.alsa-project.org/pub/lib/a...1.0.15.tar.bz2
    sudo wget ftp://ftp.alsa-project.org/pub/utils...1.0.15.tar.bz2
    sudo tar xjf alsa-driver-1.0.15.tar.bz2
    sudo tar xjf alsa-lib-1.0.15.tar.bz2
    sudo tar xjf alsa-utils-1.0.15.tar.bz2
    sudo rm alsa-driver-1.0.15.tar.bz2
    sudo rm alsa-lib-1.0.15.tar.bz2
    sudo rm alsa-utils-1.0.15.tar.bz2
    cd alsa-driver-1.0.15
    sudo ./configure --with-cards=hda-intel
    sudo make
    sudo make install
    cd ../alsa-lib-1.0.15
    sudo ./configure
    sudo make
    sudo make install
    cd ../alsa-utils-1.0.15
    sudo ./configure
    sudo make
    sudo make install
    sudo echo "options snd-hda-intel model=toshiba position_fix=0 enable=yes
    alias snd-card-0 snd-hda-intel
    alias sound-slot-0 snd-hda-intel
    alias sound-slot-0 snd-card-0
    alias sound-service-0-0 snd-mixer-oss
    alias sound-service-0-1 snd-seq-oss
    alias sound-service-0-3 snd-pcm-oss
    alias sound-service-0-8 snd-seq-oss
    alias sound-service-0-12 snd-pcm-oss" | sudo tee -a /etc/modprobe.d/alsa-base
    sudo mv /lib/modules/2.6.22-14-generic/ubuntu/media/snd-hda-intel/snd-hda-intel.ko /tmp
    sudo depmod -a
    sudo reboot

    After reboot, still no start-up sound. I tried www.last.fm again, still no sound. Got a pop-up saying there was a kmix problem. Tried to start kmix and got:

    kmix(6000) Mixer::setGlobalMaster: Mixer::setGlobalMaster() card= "ALSA::HDA_Intel:1" control= "Master:0"
    kmix(6000) Mixer::getGlobalMasterMD: Mixer::masterCardDevice() returns 0 (no globalMaster)

    aplay -l still says "no sound card found"

    tried opening alsamixer, but it says:
    alsamixer: function snd_ctl_open failed for default: No such device

    Now not even aumix works.


    UPDATE: 2008-11-07 an hour later:

    aptitude search alsa

    started removing the packages installed.

    Got to package libsdl1.2debian-alsa and tried:
    sudo apt-get remove libsdl1.2debian-alsa and got this output(got it in swedish so I'm translating):

    Since you asked for a single action is is likely the package cannot be installed/removed and a bugreport should be submitted. The following information may help resolve the problem:

    The following package has the non-satisfied dependencies:

    kdebase-runtime: dependent on: phonon-backend-xine (>= 4:4.1.2-0ubuntu6) but it will not be installed/removed or
    phonon-backend
    phonon: dependent on: phonon-backend-gstreamer but it will not be installed/removed or
    phonon-backend
    E: Broken package
    Last edited by hannascott; November 7th, 2008 at 01:34 PM. Reason: new information, broken package found, phonon-backend

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •