Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
alsa failing to load snd_***
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
katsukun
n00b
n00b


Joined: 19 Nov 2004
Posts: 24
Location: norcal

PostPosted: Fri Jul 01, 2005 10:27 pm    Post subject: alsa failing to load snd_*** Reply with quote

i followed the alsa guide in the gentoo docs. I used the built in kernel configuration with my intel AC97. recompiled the kernel. when i run alsaconf and select intel AC97 and it prepares to update-modules. It says module snd_*** not found. Any info would be appreciated. i searched the forums and documents and havent found anything that has worked so far.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 55338
Location: 56N 3W

PostPosted: Fri Jul 01, 2005 10:43 pm    Post subject: Reply with quote

katsukun,

If you made ALSA built in, you don't have any module snd_.
You cannot usefully run alsaconf because there in nothing for it to configure.

Look in /dev/snd/ and /dev/sound if those directories exist and are populated, the kernel is OK.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
BlackLodge
Tux's lil' helper
Tux's lil' helper


Joined: 16 May 2004
Posts: 149
Location: TLS

PostPosted: Sat Jul 02, 2005 12:01 am    Post subject: Reply with quote

Same problem here :(
Code:
 # /etc/init.d/alsasound start
 * Loading ALSA modules ...
 *   Loading: snd-card-0 ...
FATAL: Module snd_intel not found.                                        [ !! ]
 *   Loading: snd-seq-oss ...                                             [ ok ]
 *   Loading: snd-pcm-oss ...                                            [ ok ]
 * ERROR: Failed to load necessary drivers                                [ ok ]
 * Restoring Mixer Levels ...                                             [ ok ]


My kernel is not built-in, and has the sound as a module without alsa.

Of course, i've emerged alsa-driver.

/dev/snd/ and /dev/sound exists and are populated.

Any ideas?

P.D.: Sorry for my bad english...
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 55338
Location: 56N 3W

PostPosted: Sat Jul 02, 2005 12:10 am    Post subject: Reply with quote

BlackLodge,

Code:
snd_intel
is not the right name for your sound chip driver.
Its
Code:
snd-intel8x0
Its probably wrong in in /etc/modules.d/alsa here
Code:
alias snd-card-0 snd-intel8x0


Try
Code:
modprobe snd-intel8x0
and see if it works. That should load your missiong module.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
BlackLodge
Tux's lil' helper
Tux's lil' helper


Joined: 16 May 2004
Posts: 149
Location: TLS

PostPosted: Sat Jul 02, 2005 12:20 am    Post subject: Reply with quote

my /etc/modules.d/alsa is:
Code:
# Alsa 0.9.X kernel modules' configuration file.
# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsa-modules.co$
alias char-major-116 snd
alias snd-card-0 snd-intel8x0

# OSS/Free portion - card #
alias char-major-14 soundcore
alias sound-slot-0 snd-intel8x0

alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss


Yeah, modprobe works... But I have to do it, every time I reboot; and have to restore mixer levels too...

There is no another way?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 55338
Location: 56N 3W

PostPosted: Sat Jul 02, 2005 12:26 am    Post subject: Reply with quote

BlackLodge,

That looks good. The modprobe was just a test.

I have
Code:
##  OSS/Free portion
alias sound-slot-0 snd-card-0
in place of your
Code:
alias sound-slot-0 snd-intel8x0

_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
BlackLodge
Tux's lil' helper
Tux's lil' helper


Joined: 16 May 2004
Posts: 149
Location: TLS

PostPosted: Sat Jul 02, 2005 10:01 am    Post subject: Reply with quote

Hi!

I've changed the file, but ALSA still doesn't work...

What libreries uses ALSA? Maybe isn´t a problem of ALSA

Thanks!
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 55338
Location: 56N 3W

PostPosted: Sat Jul 02, 2005 10:47 am    Post subject: Reply with quote

BlackLodge,

Something is telling ALSA to load
Code:
snd_intel
and it can't because it doesn't exist.
Can you look in your /etc/modules.conf file and see if snd_intel appears there?
Do not edit the file. Run modules-update to recreate the file based on the content of
Code:
/etc/modules.d/


What happens if you restart ALSA by hand with
Code:
/etc/init.d/alsasound restart

_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
BlackLodge
Tux's lil' helper
Tux's lil' helper


Joined: 16 May 2004
Posts: 149
Location: TLS

PostPosted: Sat Jul 02, 2005 11:03 am    Post subject: Reply with quote

Code:
# /etc/init.d/alsasound restart
 * WARNING:  you are stopping a boot service.
 * Storing ALSA Mixer Levels ...                                          [ ok ]
 * Unloading ALSA ...                                                         [ ok ]
 * Unloading ALSA modules ...                                            [ ok ]
 * Loading ALSA modules ...
 *   Loading: snd-card-0 ...
FATAL: Module snd_intel not found.                                        [ !! ]
 *   Loading: snd-seq-oss ...                                             [ ok ]
 *   Loading: snd-pcm-oss ...                                            [ ok ]
 * ERROR: Failed to load necessary drivers                       [ ok ]
 * Restoring Mixer Levels ...                                             [ ok ]


Part of /etc/modules.conf related to ALSA:

Code:
### modules-update: start processing /etc/modules.d/alsa
# Alsa 0.9.X kernel modules' configuration file.
# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsa-modules.conf-rc,v 1.4 2004/11/16 01:31:22 eradicator Exp $

#ALSA portion ???
alias char-major-116 snd
alias snd-card-0 snd-intel8x0

# OSS/Free portion - card #
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0

alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss

# Set this to the correct number of cards.


### modules-update: end processing /etc/modules.d/alsa

### modules-update: start processing /etc/modules.d/alsa.save
# Alsa 0.9.X kernel modules' configuration file.
# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsa-modules.conf-rc,v 1.4 2004/11/16 01:31:22 eradicator Exp $

# ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 soundcore

## IMPORTANT:
## You need to customise this section for your specific sound card(s)
## and then run `update-modules' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.

##  ALSA portion
alias snd-card-0 snd-intel

##  OSS/Free portion
alias sound-slot-0 snd-card-0

# OSS/Free portion - 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
##  OSS/Free portion - card #2
## alias sound-service-1-0 snd-mixer-oss
## alias sound-service-1-3 snd-pcm-oss
## alias sound-service-1-12 snd-pcm-oss

alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss

# Set this to the correct number of cards.
options snd cards_limit=1


I see a line
Code:
alias snd-card-0 snd-intel
Is that the wrong line?

Thanks for the always fast reply!!
Back to top
View user's profile Send private message
BlackLodge
Tux's lil' helper
Tux's lil' helper


Joined: 16 May 2004
Posts: 149
Location: TLS

PostPosted: Sat Jul 02, 2005 11:59 am    Post subject: OK, solved. but... Reply with quote

Ok, I read carefully /etc/modules.conf, and there was a file called "alsa.save" where was the error:

Code:
##  ALSA portion
alias snd-card-0 snd-intel


So I made:
Code:
mv /etc/modules.d/alsa.save /root/
modules-update
/etc/init.d/alsasound restart


and all works fine finally!!

But, what is "alsa.save"? What must I do with it? Simply erase?

Thanks a lot NeddySeagoon for the very useful help!

Salu2!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia 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