URN Logo
UNIX Resources » Linux » Linux Forum » Linux Sound Problems » Page.11 » Sound Doesn't Work In 2.6 After Booting Into 2.4
announcement The content of this page is collected from Linux Forum, All copyrights and other associated rights are reserved by the original authors of the articles.
Resources
China Linux Forum(finished)
Linux Forum(finished)
FreeBSD China(finished)
linuxforum.com
  LinuxForum General Chat
  Linux Advocacy
  LinuxForum Polls
  Introductions
  Linux Kernel Support
  Patch Management
  Development Release
  Linux Programming
  Linux Security
  Linux Software
  Linux Hardware Problems
    Linux Video Problems
    Linux Sound Problems
  Linux Networking Support
  Linux Printing Support
  Linux Human Interface Devices Support
  Linux Data Storage Support
  Linux Applications Support
  Linux Installation Support
  Linux Laptops Support
  Linux Motherboard, Chipsets, CPU, Memory
  Miscellaneous
  Debian Linux Support
  Ubuntu Linux Support
  LiveCD Discussions
  Gentoo Linux Support
  Mandrake Linux Support
  Redhat / Fedora Linux Support
  Slackware Linux Support
  SuSE Linux Support
  CentOS Linux Support
  Linux Web Servers
  Linux DNS Servers
  Linux Database Servers
  Linux Email Servers
  Linux FTP Servers
  Linux Squid Proxy Server
  Linux Samba Help
  Linux cPanel Help
  Linux Ensim Help
  Linux Plesk Help
  Linux Webmin / Usermin Help
  Qmail Toaster Help
  Linux Games
  Windows Game Emulation
  Linux Discussions
  General Linux Discussions
  Red Hat Linux Discussions
  More Red Hat Linux Discussions
  Mandrake Linux Discussions
  Slackware Linux Discussions
  SuSE Linux Discussions
  Debian Discussions
  Samba Help
  Linux Security
  Linux Networking
  Gentoo Help
  Operating System Rant Forum
  Hardware Rants
   
Sound Doesn't Work In 2.6 After Booting Into 2.4
Subject: Sound Doesn't Work In 2.6 After Booting Into 2.4
Author: jpkotta    Posted: 2004-10-13 01:00:33    Length: 23,959 byte(s)
[Original] [Print] [Top]
My sound used to work in kernel 2.6.  I booted into 2.4 for some reason, and now when I boot into 2.6, there's no sound.  2.4 really messes up my configuration; it goes far beyond the sound.  This is the only thing I can't figure out.  Sound works fine in 2.4.  My mixer settings are not zero or muted.  I tried running alsaconf.

I'm using Mandrake 10 with alsa 1.0.2c.  I've attached the requested info for both 2.4 and for 2.6.  I also have a bit of the boot log from 2.4; there are no errors/warnings when booting with 2.6.

Thanks,

jpkotta



excerpt from boot.log for 2.4 kernel:
    Oct 10 18:09:11 Euler alsa:  succeeded
    Oct 10 18:09:12 Euler alsa:  succeeded
    Oct 10 18:09:12 Euler alsactl: /usr/sbin/alsactl: set_control:805: warning: name mismatch (Master Surround Playback Switch/Master Playback Switch) for control #1
    Oct 10 18:09:12 Euler alsactl: /usr/sbin/alsactl: set_control:805: warning: name mismatch (Master Surround Playback Volume/Master Playback Volume) for control #2
    Oct 10 18:09:12 Euler alsactl: /usr/sbin/alsactl: set_control:805: warning: name mismatch (Master Playback Switch/Headphone Playback Switch) for control #9
    Oct 10 18:09:12 Euler alsactl: /usr/sbin/alsactl: set_control:805: warning: name mismatch (Master Playback Volume/Headphone Playback Volume) for control #10
    Oct 10 18:09:12 Euler alsactl: /usr/sbin/alsactl: set_control:805: warning: name mismatch (Exchange Front/Surround/External Amplifier Power Down) for control #30
    Oct 10 18:09:12 Euler alsactl: /usr/sbin/alsactl: set_control:784: failed to obtain info for control #31 (No such file or directory)
    Oct 10 18:09:12 Euler sound: Loading mixer settings failed

cat /proc/version
    Linux version 2.4.22-10mdk (nplanel@no.mandrakesoft.com) (gcc version 3.3.1 (Mandrake Linux 9.2 3.3.1-2mdk)) #1 Thu Sep 18 12:30:58 CEST 2003

cat /proc/pci
    PCI devices found:
      Bus  0, device   0, function  0:
        Host bridge: Intel Corp. 82865G/PE/P Processor to I/O Controller (rev 2).
          Prefetchable 32 bit memory at 0xe8000000 [0xefffffff].
      Bus  0, device   1, function  0:
        PCI bridge: Intel Corp. 82865G/PE/P Processor to AGP Controller (rev 2).
          Master Capable.  Latency=64.  Min Gnt=8.
      Bus  0, device  29, function  0:
        USB Controller: Intel Corp. 82801EB USB (rev 2).
          IRQ 16.
          I/O at 0xff80 [0xff9f].
      Bus  0, device  29, function  1:
        USB Controller: Intel Corp. 82801EB USB (rev 2).
          IRQ 19.
          I/O at 0xff60 [0xff7f].
      Bus  0, device  29, function  2:
        USB Controller: Intel Corp. 82801EB USB (rev 2).
          IRQ 18.
          I/O at 0xff40 [0xff5f].
      Bus  0, device  29, function  3:
        USB Controller: Intel Corp. 82801EB USB (rev 2).
          IRQ 16.
          I/O at 0xff20 [0xff3f].
      Bus  0, device  29, function  7:
        USB Controller: Intel Corp. 82801EB USB2 (rev 2).
          IRQ 23.
          Non-prefetchable 32 bit memory at 0xffa80800 [0xffa80bff].
      Bus  0, device  30, function  0:
        PCI bridge: Intel Corp. 82801BA/CA/DB/EB PCI Bridge (rev 194).
          Master Capable.  No bursts.  Min Gnt=2.
      Bus  0, device  31, function  0:
        ISA bridge: Intel Corp. 82801EB LPC Interface Controller (rev 2).
      Bus  0, device  31, function  1:
        IDE interface: Intel Corp. 82801EB Ultra ATA Storage Controller (rev 2).
          IRQ 18.
          I/O at 0xffa0 [0xffaf].
          Non-prefetchable 32 bit memory at 0xfebffc00 [0xfebfffff].
      Bus  0, device  31, function  2:
        IDE interface: Intel Corp. 82801EB Ultra ATA Storage Controller (rev 2).
          IRQ 18.
          I/O at 0xfe00 [0xfe07].
          I/O at 0xfe10 [0xfe13].
          I/O at 0xfe20 [0xfe27].
          I/O at 0xfe30 [0xfe33].
          I/O at 0xfea0 [0xfeaf].
      Bus  0, device  31, function  3:
        SMBus: Intel Corp. 82801EB SMBus Controller (rev 2).
          IRQ 17.
          I/O at 0xeda0 [0xedbf].
      Bus  0, device  31, function  5:
        Multimedia audio controller: Intel Corp. 82801EB AC'97 Audio Controller (rev 2).
          IRQ 17.
          I/O at 0xee00 [0xeeff].
          I/O at 0xedc0 [0xedff].
          Non-prefetchable 32 bit memory at 0xfebffa00 [0xfebffbff].
          Non-prefetchable 32 bit memory at 0xfebff900 [0xfebff9ff].
      Bus  1, device   0, function  0:
        VGA compatible controller: nVidia Corporation NV34 [GeForce FX 5200] (rev 161).
          IRQ 16.
          Master Capable.  Latency=64.  Min Gnt=5.Max Lat=1.
          Non-prefetchable 32 bit memory at 0xfd000000 [0xfdffffff].
          Prefetchable 32 bit memory at 0xf0000000 [0xf7ffffff].
      Bus  2, device   1, function  0:
        Modem: Broadcom Corporation BCM4212 v.90 56k modem (rev 2).
          IRQ 22.
          Master Capable.  Latency=64.  
          Non-prefetchable 32 bit memory at 0xfcffe000 [0xfcffefff].
          I/O at 0xdf30 [0xdf3f].
      Bus  2, device   8, function  0:
        Ethernet controller: PCI device 8086:1050 (Intel Corp.) (rev 2).
          IRQ 20.
          Master Capable.  Latency=64.  Min Gnt=8.Max Lat=56.
          Non-prefetchable 32 bit memory at 0xfcfff000 [0xfcffffff].
          I/O at 0xdf40 [0xdf7f].

cat /etc/modules.conf
    probeall usb-interface usb-uhci ehci-hcd
    probeall scsi_hostadapter imm ppa
    alias sound-slot-0 snd-intel8x0
    above snd-intel8x0 snd-pcm-oss
    alias eth0 e100

cat /proc/modules
    udf                    88736   0 (autoclean)
    sg                     35068   0 (autoclean) (unused)
    st                     30680   0 (autoclean) (unused)
    sr_mod                 19384   0 (autoclean) (unused)
    sd_mod                 13804   0 (autoclean) (unused)
    scsi_mod              106176   4 (autoclean) [sg st sr_mod sd_mod]
    snd-seq-oss            32000   0 (unused)
    snd-seq-midi-event      6080   0 [snd-seq-oss]
    snd-seq                42544   2 [snd-seq-oss snd-seq-midi-event]
    snd-pcm-oss            43652   0
    snd-mixer-oss          14200   0 [snd-pcm-oss]
    snd-intel8x0           22020   0
    snd-pcm                79588   0 [snd-pcm-oss snd-intel8x0]
    snd-timer              18436   0 [snd-seq snd-pcm]
    snd-ac97-codec         45720   0 [snd-intel8x0]
    snd-mpu401-uart         4704   0 [snd-intel8x0]
    snd-rawmidi            17760   0 [snd-mpu401-uart]
    snd-seq-device          5832   0 [snd-seq-oss snd-seq snd-rawmidi]
    snd-page-alloc          9044   0 [snd-intel8x0 snd-pcm]
    snd                    41380   0 [snd-seq-oss snd-seq-midi-event snd-seq snd-pcm-oss snd-mixer-oss snd-intel8x0 snd-pcm snd-timer snd-ac97-codec snd-mpu401-uart snd-rawmidi snd-seq-device]
    soundcore               6340   0 [snd]
    af_packet              14856   1 (autoclean)
    ide-floppy             16128   0 (autoclean)
    ide-tape               48816   0 (autoclean)
    ide-cd                 33956   0 (autoclean)
    cdrom                  32608   0 (autoclean) [sr_mod ide-cd]
    floppy                 55932   0
    usbmouse                2936   0 (unused)
    keybdev                 2756   0 (unused)
    mousedev                5428   1
    hid                    24164   0 (unused)
    input                   5696   0 [usbmouse keybdev mousedev hid]
    e100                   52776   1 (autoclean)
    nls_cp437               5116   1 (autoclean)
    vfat                   11820   1 (autoclean)
    fat                    38040   0 (autoclean) [vfat]
    nls_iso8859-1           3484   2 (autoclean)
    ntfs                   77292   1 (autoclean)
    supermount             84032   2 (autoclean)
    parport_pc             25544   0 (autoclean)
    parport                34472   0 [parport_pc]
    printer                 8576   0 (unused)
    ehci-hcd               19212   0 (unused)
    usb-uhci               25136   0 (unused)
    usbcore                74988   1 [usbmouse hid printer ehci-hcd usb-uhci]
    rtc                     9004   0 (autoclean)
    ext3                   60048   2
    jbd                    39264   2 [ext3]

ls -L -l /dev/dsp*
    crw-------  1 jpkotta audio 14, 3 Dec 31  1969 /dev/dsp
   
------------------------------------------- ^ 2.4 ^ --- v 2.6 v ----------------------------------------------------------

cat /proc/version
    Linux version 2.6.3-4mdk (nplanel@n3.mandrakesoft.com) (gcc version 3.3.2 (Mandrake Linux 10.0 3.3.2-6mdk)) #1 Tue Mar 2 07:26:13 CET 2004

cat /proc/pci
    PCI devices found:
      Bus  0, device   0, function  0:
        Host bridge: Intel Corp. 82865G/PE/P Processor to I/O Controller (rev 2).
          Prefetchable 32 bit memory at 0xe8000000 [0xefffffff].
      Bus  0, device   1, function  0:
        PCI bridge: Intel Corp. 82865G/PE/P Processor to AGP Controller (rev 2).
          Master Capable.  Latency=64.  Min Gnt=8.
      Bus  0, device  29, function  0:
        USB Controller: Intel Corp. 82801EB USB (rev 2).
          IRQ 16.
          I/O at 0xff80 [0xff9f].
      Bus  0, device  29, function  1:
        USB Controller: Intel Corp. 82801EB USB (rev 2).
          IRQ 19.
          I/O at 0xff60 [0xff7f].
      Bus  0, device  29, function  2:
        USB Controller: Intel Corp. 82801EB USB (rev 2).
          IRQ 18.
          I/O at 0xff40 [0xff5f].
      Bus  0, device  29, function  3:
        USB Controller: Intel Corp. 82801EB USB (rev 2).
          IRQ 16.
          I/O at 0xff20 [0xff3f].
      Bus  0, device  29, function  7:
        USB Controller: Intel Corp. 82801EB USB2 (rev 2).
          IRQ 23.
          Non-prefetchable 32 bit memory at 0xffa80800 [0xffa80bff].
      Bus  0, device  30, function  0:
        PCI bridge: Intel Corp. 82801BA/CA/DB/EB PCI Bridge (rev 194).
          Master Capable.  No bursts.  Min Gnt=2.
      Bus  0, device  31, function  0:
        ISA bridge: Intel Corp. 82801EB LPC Interface Controller (rev 2).
      Bus  0, device  31, function  1:
        IDE interface: Intel Corp. 82801EB Ultra ATA Storage Controller (rev 2).
          IRQ 18.
          I/O at 0xffa0 [0xffaf].
          Non-prefetchable 32 bit memory at 0xfebffc00 [0xfebfffff].
      Bus  0, device  31, function  2:
        IDE interface: Intel Corp. 82801EB Ultra ATA Storage Controller (rev 2).
          IRQ 18.
          I/O at 0xfe00 [0xfe07].
          I/O at 0xfe10 [0xfe13].
          I/O at 0xfe20 [0xfe27].
          I/O at 0xfe30 [0xfe33].
          I/O at 0xfea0 [0xfeaf].
      Bus  0, device  31, function  3:
        SMBus: Intel Corp. 82801EB SMBus Controller (rev 2).
          IRQ 17.
          I/O at 0xeda0 [0xedbf].
      Bus  0, device  31, function  5:
        Multimedia audio controller: Intel Corp. 82801EB AC'97 Audio Controller (rev 2).
          IRQ 17.
          I/O at 0xee00 [0xeeff].
          I/O at 0xedc0 [0xedff].
          Non-prefetchable 32 bit memory at 0xfebffa00 [0xfebffbff].
          Non-prefetchable 32 bit memory at 0xfebff900 [0xfebff9ff].
      Bus  1, device   0, function  0:
        VGA compatible controller: nVidia Corporation NV34 [GeForce FX 5200] (rev 161).
          IRQ 16.
          Master Capable.  Latency=248.  Min Gnt=5.Max Lat=1.
          Non-prefetchable 32 bit memory at 0xfd000000 [0xfdffffff].
          Prefetchable 32 bit memory at 0xf0000000 [0xf7ffffff].
      Bus  2, device   1, function  0:
        Modem: Broadcom Corporation BCM4212 v.90 56k modem (rev 2).
          IRQ 22.
          Master Capable.  Latency=64.  
          Non-prefetchable 32 bit memory at 0xfcffe000 [0xfcffefff].
          I/O at 0xdf30 [0xdf3f].
      Bus  2, device   8, function  0:
        Ethernet controller: PCI device 8086:1050 (Intel Corp.) (rev 2).
          IRQ 20.
          Master Capable.  Latency=64.  Min Gnt=8.Max Lat=56.
          Non-prefetchable 32 bit memory at 0xfcfff000 [0xfcffffff].
          I/O at 0xdf40 [0xdf7f].

cat /etc/modprobe.conf
    alias sound-slot-0 snd-intel8x0
    alias eth0 e100
    install scsi_hostadapter /sbin/modprobe imm; /sbin/modprobe ppa; /bin/true
    install snd-intel8x0 /sbin/modprobe --first-time --ignore-install snd-intel8x0 && { /sbin/modprobe snd-pcm-oss; /bin/true; }
    install usb-interface /sbin/modprobe usb-uhci; /sbin/modprobe ehci-hcd; /bin/true
    remove snd-intel8x0 { /sbin/modprobe -r snd-pcm-oss; } ; /sbin/modprobe -r --first-time --ignore-remove snd-intel8x0
    alias /dev/nvidia*   nvidia

cat /proc/modules
    nvidia 2072392 12 - Live 0xe0d63000
    isofs 33912 1 - Live 0xe0a9f000
    zlib_inflate 22656 1 isofs, Live 0xe0a88000
    udf 94660 0 - Live 0xe0b05000
    sg 38044 0 - Live 0xe0a94000
    sr_mod 17060 0 - Live 0xe0a53000
    md5 3872 1 - Live 0xe09ef000
    ipv6 232352 8 - Live 0xe0acb000
    snd-seq-oss 31232 0 - Live 0xe0a7f000
    snd-seq-midi-event 7552 1 snd-seq-oss, Live 0xe0a03000
    snd-seq 51024 4 snd-seq-oss,snd-seq-midi-event, Live 0xe0a71000
    snd-pcm-oss 51812 0 - Live 0xe0a63000
    snd-mixer-oss 17952 1 snd-pcm-oss, Live 0xe0a0f000
    snd-intel8x0 32776 0 - Live 0xe0a1a000
    snd-ac97-codec 58148 1 snd-intel8x0, Live 0xe0a43000
    snd-pcm 93156 2 snd-pcm-oss,snd-intel8x0, Live 0xe0a2b000
    snd-timer 24484 2 snd-seq,snd-pcm, Live 0xe0a08000
    gameport 4480 1 snd-intel8x0, Live 0xe09e3000
    snd-page-alloc 11972 2 snd-intel8x0,snd-pcm, Live 0xe093f000
    snd-mpu401-uart 7072 1 snd-intel8x0, Live 0xe09a2000
    snd-rawmidi 23616 1 snd-mpu401-uart, Live 0xe09e8000
    snd-seq-device 8008 3 snd-seq-oss,snd-seq,snd-rawmidi, Live 0xe0943000
    snd 52484 12 snd-seq-oss,snd-seq-midi-event,snd-seq,snd-pcm-oss,snd-mixer-oss,snd-intel8x0,snd-ac97-codec,snd-pcm,snd-timer,snd-mpu401-uart,snd-rawmidi,snd-seq-device, Live 0xe09f1000
    soundcore 9248 1 snd, Live 0xe09dc000
    af_packet 20520 2 - Live 0xe09d5000
    ide-floppy 18752 0 - Live 0xe0946000
    ide-tape 34864 0 - Live 0xe09cb000
    ide-cd 40548 1 - Live 0xe09c0000
    cdrom 37184 2 sr_mod,ide-cd, Live 0xe09b5000
    floppy 59444 0 - Live 0xe0992000
    e100 60136 0 - Live 0xe09a5000
    nls_cp437 5568 1 - Live 0xe0937000
    vfat 13760 1 - Live 0xe093a000
    fat 45120 1 vfat, Live 0xe0985000
    tsdev 7168 0 - Live 0xe0828000
    joydev 10240 0 - Live 0xe08ae000
    nls_iso8859-1 3904 3 - Live 0xe08ac000
    evdev 9504 0 - Live 0xe08c5000
    ntfs 85932 1 - Live 0xe094e000
    usbmouse 5216 0 - Live 0xe0840000
    supermount 37876 2 - Live 0xe0929000
    hid 53312 0 - Live 0xe091a000
    intel-agp 17372 1 - Live 0xe08a6000
    agpgart 31016 2 intel-agp, Live 0xe08bc000
    ppa 12296 0 - Live 0xe083b000
    parport_pc 32832 0 - Live 0xe08b2000
    imm 12360 0 - Live 0xe0836000
    scsi_mod 114744 4 sg,sr_mod,ppa,imm, Live 0xe08ca000
    parport 38952 3 ppa,parport_pc,imm, Live 0xe089b000
    usblp 12256 0 - Live 0xe0832000
    ehci-hcd 24196 0 - Live 0xe082b000
    uhci-hcd 29104 0 - Live 0xe080b000
    usbcore 99132 7 usbmouse,hid,usblp,ehci-hcd,uhci-hcd, Live 0xe0860000
    rtc 11576 0 - Live 0xe0807000
    ext3 110376 2 - Live 0xe0844000
    jbd 54328 1 ext3, Live 0xe0814000

ls -L -l /dev/dsp*
    crw-------  1 jpkotta audio 14, 3 Dec 31  1969 /dev/dsp

 
[Original] [Print] [Top]
Subject: Sound Doesn't Work In 2.6 After Booting Into 2.4
Author: aoikle    Posted: 2004-11-05 16:12:33    Length: 865 byte(s)
[Original] [Print] [Top]
As of the 2.6.x kernels, ALSA is NOW included in the kernel.  I had the same problem.  I had to shutdown audio, /etc/init.d/alsa (and alsasound if exists), then modprobe for snd-intel8x0.  Then you might have to start the init.d scripts again for the mixer to work.  

There seems to be no clean transition from 2.4 to 2.6 with ALSA and even just a fresh 2.6 install doesn't work if you compile kernel from source (a must knowhow and worth knowing).  

Contrary to what we've experienced, with 2.4 kernel, when you install ALSA from the alsa-source package, get it working, THEN install kernel 2.6 "FROM SOURCE" it seems to work fine.  BTW: There's no need to, and don't, recompile alsa drivers after 2.6 installation.  But keep driver source in case you're keeping 2.4 with 2.6.
[Original] [Print] [Top]
« Previous thread
Sound With Crackles
Linux Sound Problems
Page. 11
Next thread »
Sound Card
     

Copyright © 2007 UNIX Resources Network, All Rights Reserved.      About URN | Privacy & Legal | Help | Contact us
Powered by FreeBSD    webmaster: webmaster@unixresources.net
This page created on 2007-08-01 11:49:32, cost 0.031898021697998 ms.