Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ALSA errore nel caricare i moduli
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
dorian-gray84
Tux's lil' helper
Tux's lil' helper


Joined: 23 Apr 2005
Posts: 107
Location: Ravenna

PostPosted: Mon Aug 21, 2006 10:19 am    Post subject: ALSA errore nel caricare i moduli Reply with quote

Ho cambiato la configurazione di alsa nel kernel (non l'avessi mai fatto...) passando dall'avere compilato tutti i supporti staticamente a dinamicamente.

Ho seguito la guida su gentoo.org ma mi viene restituito questo errore in fase di boot quando si avvia il demone alsasound
Code:
* Loading ALSA modules ...
*   Loading: snd-card-0 ...                                             [ ok ]
*   Loading: snd-seq-oss ...                                            [ ok ]
*   Loading: snd-pcm-oss ...                                            [ ok ]
ERROR: Failed to load necessary drivers


La cosa strana e' che se una volta loggatomi faccio ripartire alsasound il demone parte tranquillamente senza errori ed il suono funziona perfettamente.

Code:
ironic ~ # /etc/init.d/alsasound restart
 * WARNING:  you are stopping a boot service.
 * Storing ALSA Mixer Levels ...
/usr/sbin/alsactl: save_state:1163: No soundcards found...                [ !! ]
 * Unloading ALSA ...                                                     [ ok ]
 * Unloading ALSA modules ...                                             [ ok ]
 * Loading ALSA modules ...
 *   Loading: snd-card-0 ...                                              [ ok ]
 *   Loading: snd-seq-oss ...                                             [ ok ]
 *   Loading: snd-pcm-oss ...                                             [ ok ]
 * Restoring Mixer Levels ...                                             [ ok ]


Posto alcuni file di configurazione

Code:
ironic ~ # cat /etc/modules.d/alsa

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

alias snd-card-0 snd-atiixp
alias sound-slot-0 snd-atiixp


Il config del kernel per quando riguarda il suono:
Code:
#
# Sound
#
CONFIG_SOUND=m

#
# Advanced Linux Sound Architecture
#
CONFIG_SND=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_SEQUENCER=m
# CONFIG_SND_SEQ_DUMMY is not set
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_SEQUENCER_OSS=y
# CONFIG_SND_DYNAMIC_MINORS is not set
# CONFIG_SND_SUPPORT_OLD_API is not set
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set

#
# Generic devices
#
CONFIG_SND_AC97_CODEC=m
CONFIG_SND_AC97_BUS=m
# CONFIG_SND_DUMMY is not set
# CONFIG_SND_VIRMIDI is not set
# CONFIG_SND_MTPAV is not set
# CONFIG_SND_SERIAL_U16550 is not set
# CONFIG_SND_MPU401 is not set

#
# ISA devices
#
# CONFIG_SND_AD1816A is not set
# CONFIG_SND_AD1848 is not set
# CONFIG_SND_ALS100 is not set
# CONFIG_SND_AZT2320 is not set
# CONFIG_SND_CMI8330 is not set
# CONFIG_SND_CS4231 is not set
# CONFIG_SND_CS4232 is not set
# CONFIG_SND_CS4236 is not set
# CONFIG_SND_DT019X is not set
# CONFIG_SND_ES968 is not set
# CONFIG_SND_ES1688 is not set
# CONFIG_SND_ES18XX is not set
# CONFIG_SND_GUSCLASSIC is not set
# CONFIG_SND_GUSEXTREME is not set
# CONFIG_SND_GUSMAX is not set
# CONFIG_SND_INTERWAVE is not set
# CONFIG_SND_INTERWAVE_STB is not set
# CONFIG_SND_OPL3SA2 is not set
# CONFIG_SND_OPTI92X_AD1848 is not set
# CONFIG_SND_OPTI92X_CS4231 is not set
# CONFIG_SND_OPTI93X is not set
# CONFIG_SND_SB8 is not set
# CONFIG_SND_SB16 is not set
# CONFIG_SND_SBAWE is not set
# CONFIG_SND_SGALAXY is not set
# CONFIG_SND_SSCAPE is not set
# CONFIG_SND_WAVEFRONT is not set

#
# PCI devices
#
# CONFIG_SND_AD1889 is not set
# CONFIG_SND_ALS4000 is not set
# CONFIG_SND_ALI5451 is not set
CONFIG_SND_ATIIXP=m
# CONFIG_SND_ATIIXP_MODEM is not set
# CONFIG_SND_AU8810 is not set
# CONFIG_SND_AU8820 is not set
# CONFIG_SND_AU8830 is not set
# CONFIG_SND_AZT3328 is not set
# CONFIG_SND_BT87X is not set
# CONFIG_SND_CA0106 is not set
# CONFIG_SND_CMIPCI is not set
# CONFIG_SND_CS4281 is not set
# CONFIG_SND_CS46XX is not set
# CONFIG_SND_CS5535AUDIO is not set
# CONFIG_SND_EMU10K1 is not set
# CONFIG_SND_EMU10K1X is not set
# CONFIG_SND_ENS1370 is not set
# CONFIG_SND_ENS1371 is not set
# CONFIG_SND_ES1938 is not set
# CONFIG_SND_ES1968 is not set
# CONFIG_SND_FM801 is not set
# CONFIG_SND_HDA_INTEL is not set
# CONFIG_SND_HDSP is not set
# CONFIG_SND_HDSPM is not set
# CONFIG_SND_ICE1712 is not set
# CONFIG_SND_ICE1724 is not set
# CONFIG_SND_INTEL8X0 is not set
# CONFIG_SND_INTEL8X0M is not set
# CONFIG_SND_KORG1212 is not set
# CONFIG_SND_MAESTRO3 is not set
# CONFIG_SND_MIXART is not set
# CONFIG_SND_NM256 is not set
# CONFIG_SND_PCXHR is not set
# CONFIG_SND_RME32 is not set
# CONFIG_SND_RME96 is not set
# CONFIG_SND_RME9652 is not set
# CONFIG_SND_SONICVIBES is not set
# CONFIG_SND_TRIDENT is not set
# CONFIG_SND_VIA82XX is not set
# CONFIG_SND_VIA82XX_MODEM is not set
# CONFIG_SND_VX222 is not set
# CONFIG_SND_YMFPCI is not set

#
# USB devices
#
# CONFIG_SND_USB_AUDIO is not set
# CONFIG_SND_USB_USX2Y is not set

#
# Open Sound System
#
# CONFIG_SOUND_PRIME is not set


Spulciando nel kernel ho letto di provare a reinstallare alsa-utils/kernel. Gia' provato ma non e' cambiato nulla.
Inoltre ho anche provato ad eliminare manualmente moduli in /lib/modules ed anche /etc/modules.d/alsa ma non cambia nulla.

Ah, la mia versione del kernel e' questa:

Code:
ironic ~ # uname -a
Linux ironic 2.6.16-suspend2-r8 #1 PREEMPT Mon Aug 21 10:52:38 CEST 2006 i686 Intel(R) Celeron(R) CPU 2.80GHz GNU/Linux
Back to top
View user's profile Send private message
dorian-gray84
Tux's lil' helper
Tux's lil' helper


Joined: 23 Apr 2005
Posts: 107
Location: Ravenna

PostPosted: Tue Aug 22, 2006 1:11 pm    Post subject: Reply with quote

up
Back to top
View user's profile Send private message
dorian-gray84
Tux's lil' helper
Tux's lil' helper


Joined: 23 Apr 2005
Posts: 107
Location: Ravenna

PostPosted: Fri Aug 25, 2006 8:52 am    Post subject: Reply with quote

Mmmhh...devo rinunciare all'audio???
Back to top
View user's profile Send private message
nikko96
Apprentice
Apprentice


Joined: 22 Jul 2005
Posts: 229
Location: Pulcinella's Country

PostPosted: Fri Aug 25, 2006 6:22 pm    Post subject: Reply with quote

dorian-gray84 wrote:
Mmmhh...devo rinunciare all'audio???

Hai controllato se è ok il file /etc/conf.d/alsasound?
Al limite puoi riprovare a riconfigurare la sheda audio con alsaconf

Ciao.
_________________
My system: cpu Intel core 2 duo e6750,mb asus p5n-e sli,scheda grafica nvidia GeForce 9600 GT,kernel 2.6.31-gentoo-r6
Back to top
View user's profile Send private message
dorian-gray84
Tux's lil' helper
Tux's lil' helper


Joined: 23 Apr 2005
Posts: 107
Location: Ravenna

PostPosted: Fri Sep 01, 2006 9:31 pm    Post subject: Reply with quote

Sono passato ai driver forniti da alsa-driver perche' e' stato l'unico modo che ho trovato per far funzionare l'audio.

Devo mettere il tag risolto anche se non ho "davvero" risolto il mio problema iniziale?

Grazie 1000 a tutti cmq.
Back to top
View user's profile Send private message
Gremo
Guru
Guru


Joined: 27 Feb 2006
Posts: 450

PostPosted: Fri Sep 01, 2006 11:11 pm    Post subject: Reply with quote

ciao, passare ai driver forniti con portage ti obbliga a reinstallarli ogni volta che cambi kernel (o anche quando ricompili? :?: )

ti consiglio ti settare il suono nel kernel tutto built-in (no moduli) e poi semplicemente
Code:

# alsamixer (umute dei canali che ti interessano)
# /usr/sbin/alsactl store
# rc-update add alsasound boot


la mia configurazione
Code:

CONFIG_SND=y
CONFIG_SND_TIMER=y
CONFIG_SND_PCM=y
CONFIG_SND_SEQUENCER=y
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=y
CONFIG_SND_PCM_OSS=y
CONFIG_SND_PCM_OSS_PLUGINS=y
CONFIG_SND_SEQUENCER_OSS=y
CONFIG_SND_RTCTIMER=y
CONFIG_SND_SEQ_RTCTIMER_DEFAULT=y
CONFIG_SND_HDA_INTEL=y
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) 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