At 02:53, giovedì 24 agosto 2006, Arnie Stender wrote: > Hello, > I have slipped back to my more normal state of being confused. I've > been trying to get my sound working. I installed the bootscripts alsa in > init.d and linked it to rc5.d. I couldn't get the sound working so I > rebooted the system to see if that would help. I started getting a block > of red text on the screen and before I could read it the gnome login > would pop up. It finally downed on me to do the CTL-ALT-1 to get back to > the message on the screen and it told me I wasn't supposed to be reading > this and pointed me to an error in the alsa script. When I read the > script all it had was a stop stanza, no start. Shouldn't there be a > start stanza? Even if the answer is no it starts by itself, shouldn't > there be a stub that exits with 0 so I don't get that message and a hit > return to continue that I haven't been seeing? I was going to post a > message about an error I was seeing in the boot messages about the > superblock of each partition having a last write time in the future. I > think that may get fixed if I get the init.d/alsa fixed because my ntpd > started after alsa and it wasn't continuing to start it because I wasn't > seeing the message. So, is the script wrong or does alsa start by magic?
Hi, you said that you have manually linked the script in rc5d, so I guess that you have linked it as S35alsa (or similar) where you should have only a K35alsa in rc0d and rc6d. However, if you have the blfs-bootscript tarball you usually only need to go in blfs-bootscript directory and issue: make install-alsa (Don't forget to remove the Sxxalsa script you have installed manually) The previous command is going to install the alsa bootscript and all the needed symlinks automatically. Make sure that you have installed Alsa utilities and read again the instructions in that section, where you are requested also to install /etc/udev/rules.d/15-alsa.rules that is the script that has the magic to start alsa :-) (Running "/usr/sbin/alsactl restore", so you don't need a start stanza in alsa bootscript and no Sxxalsa symlinks) After that you usually need to run alsamixer once, see if your soundcard is correctly recognized, unmute the channels you need (pressing 'm', they are usually muted on the beginning) and adjust the volume. Also remember that suppor for various soundcards must be compiled in the kernel in: Device Drivers -> Sound -> Advanced Linux Sound Architecture -> PCI devices and to add your user in the audio group. HTH, Alessandro Alocci -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
