View previous topic :: View next topic |
Author |
Message |
elboricua Apprentice
Joined: 17 May 2002 Posts: 226 Location: Bronx, NY
|
Posted: Sat Aug 24, 2002 3:51 pm Post subject: Loading Sound Driver Is Halting My Boot Process |
|
|
I do not understand what is wrong. I configured ALSA as per the Desktop instructions. Everything was working fine. I had sound, and everything was happily working as it should. Now this morning the system will not boot past
Initialising ALSA.....
Loading sound driver: snd-ens1371
It gets stuck here. Booting will not go past this. The screen eventually blanks out and I can do nothing. I got my Gentoo Install CD, chroot over into my sytem and looked over my files everything looked good. I try to reboot. Same error. I chroot in again and I remove alsa [emerge unmerge alsa-driver] and boot. My system boots with no problems. I just have no sound. I emerged alsa-driver again and configure it per the desktop instructions. My System Boots again no issues, and I have sound. Due to some issues with my X server I rebooted and the problem is happening again...
Anything I can do to fix the problem? _________________ Boricua Hasta La Muerte |
|
Back to top |
|
|
elboricua Apprentice
Joined: 17 May 2002 Posts: 226 Location: Bronx, NY
|
Posted: Sat Aug 24, 2002 4:12 pm Post subject: |
|
|
Just a few things that I have tried that haven't worked:
I removed from /etc/modules.d/alsa
alias snd-card-0 snd-ens1371
alias snd-card-1 snd-ens1371
alias snd-card-2 snd-ens1371
alias snd-card-3 snd-ens1371
alias snd-card-4 snd-ens1371
alias snd-card-5 snd-ens1371
alias snd-card-6 snd-ens1371
alias snd-card-7 snd-ens1371
And I uncommented the defaults in the config file.
Rebooted and no go.
I then tried commenting that as well so that no sound card was loading. It gave the same error.
I really do not want to have to remove alsa and re-emerge it. Anyway I can get a permanent fix? _________________ Boricua Hasta La Muerte |
|
Back to top |
|
|
elboricua Apprentice
Joined: 17 May 2002 Posts: 226 Location: Bronx, NY
|
Posted: Sat Aug 24, 2002 6:54 pm Post subject: |
|
|
I reported this to Bugzilla. Anyone interested in tracking the bug can find it HERE _________________ Boricua Hasta La Muerte |
|
Back to top |
|
|
rommel Veteran
Joined: 19 Apr 2002 Posts: 1145 Location: Williamsburg Virginia
|
Posted: Sat Aug 24, 2002 7:14 pm Post subject: |
|
|
alsa is strange i had wierd occurances then after doing the same steps for like the 5th time it works fine now...but in any case i am running the cvs version from august 20th and i am also running a santa-cruz snd card but here is my config and you might want to try the cvs just for the hell of it.
Code: | # ALSA
alias char-major-116 snd
alias snd-card-0 snd-cs46xx
# module options
options snd-cs46xx snd_index=0 snd_mmap_valid=1 snd-pcm-oss
# OSS/Free
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
# Card #1
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
alias snd-card-0 snd-cs46xx
alias snd-card-1 snd-cs46xx
alias snd-card-2 snd-cs46xx
alias snd-card-3 snd-cs46xx
alias snd-card-4 snd-cs46xx
alias snd-card-5 snd-cs46xx
alias snd-card-6 snd-cs46xx
alias snd-card-7 snd-cs46xx
|
here |
|
Back to top |
|
|
elboricua Apprentice
Joined: 17 May 2002 Posts: 226 Location: Bronx, NY
|
Posted: Sat Aug 24, 2002 8:56 pm Post subject: |
|
|
Thank you for the reply Rommel. As a short work around I have removed alsasound from the boot runlevel.
rc-update del alsasoud boot
I start it when I am going to use X. I start in runlevel 3, no gui login manager for me. I have found that lets my system boot. I can then start alsa by /etc/init.d/alsasound start. I then do
modprobe snd-mixer-oss
modprobe snd-pcm-oss
modprobe snd-seq-oss
That gets sound working for me now. I would l;ove to get this to work the way it is supposed to though. We'll see if this gets fixed on Bugzilla. I see a few other people are having the same issue. _________________ Boricua Hasta La Muerte |
|
Back to top |
|
|
rommel Veteran
Joined: 19 Apr 2002 Posts: 1145 Location: Williamsburg Virginia
|
Posted: Sat Aug 24, 2002 9:27 pm Post subject: |
|
|
yeah i think alsa is pretty much here to stay so hopefully it will get better as time goes on.....i ahve been able to get sound from multiple programs with it so its definately going in the right direction even if it is buggy.....try the cvd if you dont mind cheating "emerge" , might be that a more recent snapshot will give you better results.
hey just a thought...before you go to sleep tonight run #emerge -eu world , and let the system build itself all over again in the order in which it would if all the packages had been selected from the very first install...so leave the ebuild alsa installed and add it to the boot run level again....worth a shot....i have been changing my CFLAGS all week and have rebuilt using emerge -eu world like 4 nights in a row....lol |
|
Back to top |
|
|
elboricua Apprentice
Joined: 17 May 2002 Posts: 226 Location: Bronx, NY
|
Posted: Sat Aug 24, 2002 9:36 pm Post subject: |
|
|
Cool tip!! I will try that tonight. will post the results tomorrow _________________ Boricua Hasta La Muerte |
|
Back to top |
|
|
FINITE Guru
Joined: 10 May 2002 Posts: 449
|
Posted: Sat Aug 24, 2002 11:40 pm Post subject: |
|
|
If you have done this "rc-update add alsasound boot" then that is your problem. There is a problem with that script. If you do a search you will find the answer. I'd tell you but I forget what line in the script was causing the problem. It was the line that reloads the mixer settings though, I do remember that. |
|
Back to top |
|
|
elboricua Apprentice
Joined: 17 May 2002 Posts: 226 Location: Bronx, NY
|
Posted: Sun Aug 25, 2002 12:23 am Post subject: |
|
|
Thank you Finite I updated my bug report with the findings in your thread. After looking all over the place for an answer My searches never pulled that up I searched your posts and found it!! And after all that I saw that alsa-driver-0.9.0rc3 was released yesterday. Hopefully with my bug report we will not see the same issue with the rc3 ebuild. _________________ Boricua Hasta La Muerte |
|
Back to top |
|
|
elboricua Apprentice
Joined: 17 May 2002 Posts: 226 Location: Bronx, NY
|
Posted: Sun Aug 25, 2002 3:48 pm Post subject: |
|
|
Just to add one final update. I have removed alsasound from boot. The alsa driver still loads. The only thing alsasound seems to do is reload your sound settings so you don't start with muted sound. I have no problems unmuting my card myself....
I am eagerly awaiting the rc3 ebuild _________________ Boricua Hasta La Muerte |
|
Back to top |
|
|
elboricua Apprentice
Joined: 17 May 2002 Posts: 226 Location: Bronx, NY
|
Posted: Tue Aug 27, 2002 3:13 am Post subject: |
|
|
Well I took rommels advice and I ran emerge -eu world. of course before doing that I did emerge rsync. Unfortunately it did not clear up the alsa problem. It recreated the erroneous line in /etc/modules.d/alsa...
For now my solution is to remove alsasound from boot. I do not have a problem unmuting sound myself. I am looking forward to the rc3 ebuild
Well the emerge -eu world seem to make things snappier (could just be my imagination but Mozilla seems to load faster... I will have to check the version... _________________ Boricua Hasta La Muerte |
|
Back to top |
|
|
lars_msh n00b
Joined: 25 Aug 2002 Posts: 50 Location: Airstrip One
|
Posted: Mon Sep 09, 2002 8:03 pm Post subject: |
|
|
Thanks for all the advice and info everyone.
I have onboard Intel sound using lines like this in my alsa file:
alias snd-card-0 snd-intel8x0
etc.
After initially setting it up and rebooting according to the desktop guide, it all seemed to work. However eventually after a reboot I had the dreaded freeze during startup at the alsa part, and it was difficult to see what was causing it to stop working.
So I've taken the alsasound out of my boot runlevel too, and it seems I can adjust the sound with alsamixer. Now it's just a minor annoyance that I can live with until it (hopefully) gets fixed. |
|
Back to top |
|
|
simcop2387 Apprentice
Joined: 14 Aug 2002 Posts: 200 Location: Galactic Sector ZZ9 Plural Z Alpha
|
Posted: Mon Sep 09, 2002 11:45 pm Post subject: |
|
|
try doing it in the default runlevel, not in the boot one, i've got alsa loading on my machine in the default, works fine, cant hurt i think |
|
Back to top |
|
|
|