Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problemi con alsa
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
spillo
Tux's lil' helper
Tux's lil' helper


Joined: 29 Feb 2008
Posts: 126
Location: S.Angelo Lodigiano

PostPosted: Mon Apr 28, 2008 12:29 pm    Post subject: problemi con alsa Reply with quote

ciao a tutti, ho un grosso problema ovvero non mi funziona piu l'audio:

oggo stavo ricompilando il mio enorme kernel (2 mega), non ho toccato le impostazioni audio, tutt'altro, ho inoltre salvato il nuovo kernel in un altro file per sicurezza, in modo da poter usare il vecchio... al riavvio ho incontrato problemi relativi al mount della partizione di root quindi son tornato al vecchio kernel per poter ricontrollare, ma l'audio è sparito, già durante il boot si vede l'errore, carica infatti alcuni moduli perfettamente, poi fallisce.
vi dò le informazioni che ritengo utili:
Code:
lspci | grep -i audio
00:14.5 Multimedia audio controller: ATI Technologies Inc IXP150 AC'97 Audio Controller (rev 01)


Code:
dmesg
[...]
AC'97 space ioremap problem
ATI IXP AC97 controller: probe of 0000:00:14.5 failed with error -5
[...]


kernel:
Code:
Device Drivers  --->
Sound  --->
<M> Sound card support
    Advanced Linux Sound Architecture  --->
<M> Advanced Linux Sound Architecture
<M>   Sequencer support
<M>   OSS Mixer API
<M>   OSS PCM (digital audio) API
[*]   Support old ALSA API
[*]   Verbose procfs contents
    PCI devices  --->
<M> ATI IXP AC97 Controller
    Open Sound System  --->
< > Open Sound System (DEPRECATED)

se provo ad avviare alsamixer mi dà il seguente output
Code:
alsamixer: function snd_ctl_open failed for default: No such device

quale può essere la causa del problema? sono abbastanza preoccupato...
_________________
spillo

GnuLinuxExperience

Il mio blog! :)
Back to top
View user's profile Send private message
Peach
Advocate
Advocate


Joined: 08 Mar 2003
Posts: 3686
Location: London, UK

PostPosted: Mon Apr 28, 2008 2:17 pm    Post subject: Reply with quote

domanda banale: hai controllato che i moduli fossero caricati? hai provato a riavviare alsasound? in dmsg/messages c'è qualche errore specifico di alsa?
_________________
Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom
Back to top
View user's profile Send private message
viralex
Apprentice
Apprentice


Joined: 24 Apr 2008
Posts: 237
Location: Viareggio (Lu,Italy)

PostPosted: Mon Apr 28, 2008 3:08 pm    Post subject: Reply with quote

a me non andava (seguendo la guida) poi ho messo il kernel 2.6.25 r1 ed ha funzionato ^^
Back to top
View user's profile Send private message
spillo
Tux's lil' helper
Tux's lil' helper


Joined: 29 Feb 2008
Posts: 126
Location: S.Angelo Lodigiano

PostPosted: Mon Apr 28, 2008 6:10 pm    Post subject: Reply with quote

@Peach: hai ragione , non ho postato l'output...
Code:
* WARNING:  you are stopping a boot service.
 * Storing ALSA Mixer Levels ...
alsactl: save_state:1253: No soundcards found...
 * Error saving levels.                                                   [ !! ]
 * Killing processes using ALSA ...                                       [ ok ]
 * Unloading ALSA modules ...                                             [ ok ]
 * Loading ALSA modules ...
 *   Loading: snd-card-0 ...                                              [ ok ]
 *   Loading: snd-mixer-oss ...                                           [ ok ]
 *   Loading: snd-pcm-oss ...                                             [ ok ]
 *   Loading: snd-seq ...                                                 [ ok ]
 *   ERROR: Failed to load necessary drivers                              [ ok ]
 * Restoring Mixer Levels ...
alsactl: unrecognized option `---'
Usage: alsactl <options> command

Available options:
  -h,--help        this help
  -f,--file #      configuration file (default /etc/asound.state or /etc/asound.names)
  -F,--force       try to restore the matching controls as much as possible
  -d,--debug       debug mode
  -v,--version     print version of this program

Available commands:
  store   <card #> save current driver setup for one or each soundcards
                   to configuration file
  restore <card #> load current driver setup for one or each soundcards
                   from configuration file
  names   <card #> dump information about all the known present (sub-)devices
                   into configuration file (DEPRECATED)
 * Errors while restoring defaults, ignoring     

farei quello che dice, ma non so usare alsactl, nonostante mi dia tutte le opzioni possibili...
in dmesg nulla di specifico per alsa, mi escono però piu volte errori relativi alla scheda audio:
Code:
ATIIXP: IDE controller at PCI slot 0000:00:14.1
ACPI: PCI Interrupt 0000:00:14.1[A] -> GSI 16 (level, low) -> IRQ 16
ATIIXP: chipset revision 0
ATIIXP: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0x8070-0x8077, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0x8078-0x807f, BIOS settings: hdc:DMA, hdd:pio

AC'97 space ioremap problem
ATI IXP AC97 controller: probe of 0000:00:14.5 failed with error -5

AC'97 space ioremap problem
ATI IXP AC97 controller: probe of 0000:00:14.5 failed with error -5
non capisco...

@viralex: il problema non è incompatibilità del kernel, uso gentoo su questo pc da oltre un mese e mezzo ed ha sempre funzionato...




idee?
_________________
spillo

GnuLinuxExperience

Il mio blog! :)
Back to top
View user's profile Send private message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4831
Location: somewhere in L.O.S.

PostPosted: Mon Apr 28, 2008 6:59 pm    Post subject: Reply with quote

Prova a rimettere a posto i moduli o meglio sposta da qualche parte /lib/modules/vattelappesca e ripopolala. Non è che nel riconfigurare il kernel hai pasticciato con le impostazioni del firmware o del bus pci/pci-express?
_________________
scita et risus abundant in ore stultorum sed etiam semper severi insani sunt:wink:
mala tempora currunt...mater stultorum semper pregna est :evil:
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist :wink:
Back to top
View user's profile Send private message
spillo
Tux's lil' helper
Tux's lil' helper


Joined: 29 Feb 2008
Posts: 126
Location: S.Angelo Lodigiano

PostPosted: Mon Apr 28, 2008 9:03 pm    Post subject: Reply with quote

nada, ancora non va...
domani in serata mi sbatto un po' con una riconfigurazione del kernel che parta (oggi non me ne va uno, non mi carica la partizione di root qualunque kernel io prepari) davvero... da lì vedrò di risolvere...
sono davvero giu, era andato tutto bene sino ad ora, solo un kernel pesantino e mi ero riproposto di lavorarci su...


nel frattempo, se qualcuno avesse qualche idea per migliorare la situazione si faccia avanti... :)
_________________
spillo

GnuLinuxExperience

Il mio blog! :)
Back to top
View user's profile Send private message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4831
Location: somewhere in L.O.S.

PostPosted: Tue Apr 29, 2008 8:15 am    Post subject: Reply with quote

ma
Code:
genkernel --menuconfig kernel/all ; module-rebuild rebuild
è così antipatico rispetto alla sequenza della compilazione manuale (perché in realtà non fa niente altro oltre ad impostare una configurazione di partenza che dovrebbe essere affidabile a detta dei devel) che spesso porta errori di distrazione?
Tanto tempo fa si considerava un errore fare più operazioni manuali del dovuto (meccanizzazione semplice) e si preferiva evitare ogni possibile fonte di rogne (automazione completa), possibile che la legge di murphy non la voglia più ascoltare nessuno?!
Se invece usi genkernel ricordati di cancellare (o di spostare per cancellare solo quando sei sicuro, che è meglio... :twisted: odio i puffi ma quando ci vuole, ci vuole) i file in /etc/kernels o ti ritrovi sempre gli stessi problemi.
_________________
scita et risus abundant in ore stultorum sed etiam semper severi insani sunt:wink:
mala tempora currunt...mater stultorum semper pregna est :evil:
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist :wink:
Back to top
View user's profile Send private message
spillo
Tux's lil' helper
Tux's lil' helper


Joined: 29 Feb 2008
Posts: 126
Location: S.Angelo Lodigiano

PostPosted: Wed Apr 30, 2008 2:30 pm    Post subject: Reply with quote

allora, sono ancora ad un punto morto...

ho rivisto completamente il kernel, facendomi anche aiutare perchè due teste son meglio di una, dopodichè ho riavviato e il nuovo kernel ovviamente mi dà problemi, ovvero va in kernel panic quando si tratta di montare la partizione di root, non ne capisco il motivo visto che è tutto sistemato a dovere...

per ora sono sul mio primo kernel con il quale funziona tutto meno che lo stramaledetto audio... il risultato di /etc/init.d/alsasound start è sempre lo stesso:
Code:
 * Loading ALSA modules ...
 *   Loading: snd-card-0 ...                                              [ ok ]
 *   Loading: snd-mixer-oss ...                                           [ ok ]
 *   Loading: snd-pcm-oss ...                                             [ ok ]
 *   Loading: snd-seq ...                                                 [ ok ]
 *   ERROR: Failed to load necessary drivers                              [ ok ]
 * Restoring Mixer Levels ...
alsactl: unrecognized option `---'
Usage: alsactl <options> command

Available options:
  -h,--help        this help
  -f,--file #      configuration file (default /etc/asound.state or /etc/asound.names)
  -F,--force       try to restore the matching controls as much as possible
  -d,--debug       debug mode
  -v,--version     print version of this program

Available commands:
  store   <card #> save current driver setup for one or each soundcards
                   to configuration file
  restore <card #> load current driver setup for one or each soundcards
                   from configuration file
  names   <card #> dump information about all the known present (sub-)devices
                   into configuration file (DEPRECATED)
 * Errors while restoring defaults, ignoring                              [ ok ]

mi era addirittura venuto il dubbio che fosse partita la scheda audio, ma mi sono tranquillizzato provando con una live...

ora, dovrei trovare il modo di rimediare al fallimento del caricamento dei driver che invece sino a qualche giorno fa ha funzionato...
dò un'altra revisione all'installazione di alsa, intanto attendo consigli...
_________________
spillo

GnuLinuxExperience

Il mio blog! :)
Back to top
View user's profile Send private message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4831
Location: somewhere in L.O.S.

PostPosted: Wed Apr 30, 2008 2:35 pm    Post subject: Reply with quote

stai usando genkernel o procedi manualmente? hai mai pensato di guardare/postare i log? Non è che stai usando una versione del kernel inferiore agli headers? Se hai aggiornato gli headers hai ricompilato la libc? Il kernel che versione è?
Hai ripulito /lib/modules? Non è che hai ARCH="~x86" in make.conf? Non è che hai sbagliato a suo tempo con il chost? etc.
Per il resto ti sono già stati dati tutti i suggerimenti possibili.
_________________
scita et risus abundant in ore stultorum sed etiam semper severi insani sunt:wink:
mala tempora currunt...mater stultorum semper pregna est :evil:
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist :wink:
Back to top
View user's profile Send private message
mlg82
n00b
n00b


Joined: 18 Oct 2006
Posts: 29

PostPosted: Wed Apr 30, 2008 3:40 pm    Post subject: Reply with quote

hai mai provato a dare:
Code:
# alsaconf

?
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