Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Loading Sound Driver Is Halting My Boot Process
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
elboricua
Apprentice
Apprentice


Joined: 17 May 2002
Posts: 226
Location: Bronx, NY

PostPosted: Sat Aug 24, 2002 3:51 pm    Post subject: Loading Sound Driver Is Halting My Boot Process Reply with quote

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
View user's profile Send private message
elboricua
Apprentice
Apprentice


Joined: 17 May 2002
Posts: 226
Location: Bronx, NY

PostPosted: Sat Aug 24, 2002 4:12 pm    Post subject: Reply with quote

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
View user's profile Send private message
elboricua
Apprentice
Apprentice


Joined: 17 May 2002
Posts: 226
Location: Bronx, NY

PostPosted: Sat Aug 24, 2002 6:54 pm    Post subject: Reply with quote

I reported this to Bugzilla. Anyone interested in tracking the bug can find it HERE
_________________
Boricua Hasta La Muerte
Back to top
View user's profile Send private message
rommel
Veteran
Veteran


Joined: 19 Apr 2002
Posts: 1145
Location: Williamsburg Virginia

PostPosted: Sat Aug 24, 2002 7:14 pm    Post subject: Reply with quote

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
View user's profile Send private message
elboricua
Apprentice
Apprentice


Joined: 17 May 2002
Posts: 226
Location: Bronx, NY

PostPosted: Sat Aug 24, 2002 8:56 pm    Post subject: Reply with quote

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
View user's profile Send private message
rommel
Veteran
Veteran


Joined: 19 Apr 2002
Posts: 1145
Location: Williamsburg Virginia

PostPosted: Sat Aug 24, 2002 9:27 pm    Post subject: Reply with quote

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
View user's profile Send private message
elboricua
Apprentice
Apprentice


Joined: 17 May 2002
Posts: 226
Location: Bronx, NY

PostPosted: Sat Aug 24, 2002 9:36 pm    Post subject: Reply with quote

Cool tip!! I will try that tonight. will post the results tomorrow :)
_________________
Boricua Hasta La Muerte
Back to top
View user's profile Send private message
FINITE
Guru
Guru


Joined: 10 May 2002
Posts: 449

PostPosted: Sat Aug 24, 2002 11:40 pm    Post subject: Reply with quote

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
View user's profile Send private message
elboricua
Apprentice
Apprentice


Joined: 17 May 2002
Posts: 226
Location: Bronx, NY

PostPosted: Sun Aug 25, 2002 12:23 am    Post subject: Reply with quote

Thank you Finite :D 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 :oops: 8O 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. :wink:
_________________
Boricua Hasta La Muerte
Back to top
View user's profile Send private message
elboricua
Apprentice
Apprentice


Joined: 17 May 2002
Posts: 226
Location: Bronx, NY

PostPosted: Sun Aug 25, 2002 3:48 pm    Post subject: Reply with quote

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 :lol:
_________________
Boricua Hasta La Muerte
Back to top
View user's profile Send private message
elboricua
Apprentice
Apprentice


Joined: 17 May 2002
Posts: 226
Location: Bronx, NY

PostPosted: Tue Aug 27, 2002 3:13 am    Post subject: Reply with quote

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 :D

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... :lol:
_________________
Boricua Hasta La Muerte
Back to top
View user's profile Send private message
lars_msh
n00b
n00b


Joined: 25 Aug 2002
Posts: 50
Location: Airstrip One

PostPosted: Mon Sep 09, 2002 8:03 pm    Post subject: Reply with quote

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
View user's profile Send private message
simcop2387
Apprentice
Apprentice


Joined: 14 Aug 2002
Posts: 200
Location: Galactic Sector ZZ9 Plural Z Alpha

PostPosted: Mon Sep 09, 2002 11:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum