Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 78566 - livecd-tools 1.0.10 autoconfig fails with alsa
Summary: livecd-tools 1.0.10 autoconfig fails with alsa
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo LiveCD Package Maintainers
Depends on:
Reported: 2005-01-18 12:53 UTC by Jonas MG
Modified: 2005-01-30 01:28 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Jonas MG 2005-01-18 12:53:58 UTC
The autoconfig script in the livecd-tools 1.0.10 fails with alsa. It detects the sound card and the driver. Underneath the line of driver it shows:

amixer: Mixer attach default error: No such file or directory

Reproducible: Always
Steps to Reproduce:

In the kernel I have alsa and the sound cards as modules
With respect to alsa I have installed: alsa-headers-1.0.8_rc1, alsa-lib-1.0.7,
I use udev-045

I have in my rc scripts:

           alsasound |                               
          autoconfig |      default                  
            bootmisc | boot                          
             checkfs | boot                          
           checkroot | boot                          
               clock | boot                          
            coldplug |                               
         consolefont | boot                          
         crypto-loop |                               
          domainname |                               
                 gpm |                               
              hdparm |                               
            hostname | boot                          
             hotplug |                               
             keymaps | boot                
               local |      default nonetwork        
          localmount | boot                          
             modules | boot                          
            net.eth0 |                               
              net.lo | boot                          
            netmount |                               
                nscd |                               
             numlock |                               
           rmnologin | boot                          
              rsyncd |                               
              serial |                               
               spind |                               
              splash |                               
                sshd |                               
           syslog-ng |      default                  
             urandom |                               
                 xdm |                               
                 xfs |                               
              xprint |              

Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.4.3, glibc-,
2.6.10-gentoo-r5 i686)
System uname: 2.6.10-gentoo-r5 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.4.16
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-
Headers:  sys-kernel/linux26-headers-
Libtools: sys-devel/libtool-1.5.2-r7
CFLAGS="-march=pentium -Os -pipe -fomit-frame-pointer"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium -Os -pipe -fomit-frame-pointer
-fvisibility-inlines-hidden -frepo"
FEATURES="autoaddcvs autoconfig ccache distlocks noinfo sandbox sfperms"
USE="X alsa fbcon gpm gtk ipv6 jpeg livecd ncurses nls nptl png ssl truetype x86
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2005-01-27 09:55:06 UTC
I'm not sure I understand what the problem is with this.  I see no such errors when booting a machine with a sound card, or one without.

What do you think is causing this problem?
Comment 2 Jonas MG 2005-01-29 15:32:15 UTC
But, do you have the script of alsasound deactivated? I have it deactivated.

Thus the script of autoconfig is the one who activates a sound card, if it detects it.
Comment 3 Chris Gianelloni (RETIRED) gentoo-dev 2005-01-29 16:45:03 UTC
Yes, I am using the alsasound init script.

The autoconfig script does *not* configure alsa, it merely sets defaults for the different mixer levels.  You should still be using the alsasound init script.
Comment 4 Jonas MG 2005-01-29 17:00:04 UTC
The alsasound init script already is in charge also to set the levels of the mixer.

Therefore I believe that the sound in the autoconfig script is not necessary
Comment 5 Chris Gianelloni (RETIRED) gentoo-dev 2005-01-29 18:20:13 UTC
It is when you don't hav esounds defaults because you did not know what sound card was to be used before-hand, as would be the case on a LiveCD where the devices are detected.  Now, we can argue this all day, but I'm not changing it.  It is there for a purpose, and whether you understand or not, it needs to stay.
Comment 6 Jonas MG 2005-01-30 01:28:27 UTC
It's true. You have the reason in this.