PDA

Visualizza la versione completa : Installare ALSA su gentoo


Alkaid
20-03-2005, 09:49
Scheda audio sound blaster live. HowTo seguito : http://www.gentoo.org/doc/it/alsa-guide.xml

Il mio Kernel:


<M> Sound card support │ │
│ │ Advanced Linux Sound Architecture ---> │ │
│ │ Open Sound System ---> │ │
│ │


< > Advanced Linux Sound Architecture


Poi emerge alsa-driver

quando vado a dare /etc/init.d/alsasound start

i moduli/driver mi danno quasi tutti errore:
bash-2.05b# /etc/init.d/alsasound start
* Loading ALSA modules...
* Loading: snd-card-0...
WARNING: Error inserting snd_hwdep (/lib/modules/2.6.10/alsa-driver/acore/snd-hwdep.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_timer (/lib/modules/2.6.10/alsa-driver/acore/snd-timer.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_pcm (/lib/modules/2.6.10/alsa-driver/acore/snd-pcm.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_ac97_codec (/lib/modules/2.6.10/alsa-driver/pci/ac97/snd-ac97-codec.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_seq_device (/lib/modules/2.6.10/alsa-driver/acore/seq/snd-seq-device.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_rawmidi (/lib/modules/2.6.10/alsa-driver/acore/snd-rawmidi.ko): Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting snd_emu10k1 (/lib/modules/2.6.10/alsa-driver/pci/emu10k1/snd-emu10k1.ko): Unknown symbol in module, or unknown parameter (see [ !! ]

* Loading: snd-seq-oss...
WARNING: Error inserting snd_seq_device (/lib/modules/2.6.10/alsa-driver/acore/seq/snd-seq-device.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_timer (/lib/modules/2.6.10/alsa-driver/acore/snd-timer.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_seq (/lib/modules/2.6.10/alsa-driver/acore/seq/snd-seq.ko): Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting snd_seq_oss (/lib/modules/2.6.10/alsa-driver/acore/seq/oss/snd-seq-oss.ko): Unknown symbol in module, or unknown parameter (see dmesg) [ !! ]

* Loading: snd-pcm-oss...
WARNING: Error inserting snd_mixer_oss (/lib/modules/2.6.10/alsa-driver/acore/oss/snd-mixer-oss.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_timer (/lib/modules/2.6.10/alsa-driver/acore/snd-timer.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_pcm (/lib/modules/2.6.10/alsa-driver/acore/snd-pcm.ko): Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting snd_pcm_oss (/lib/modules/2.6.10/alsa-driver/acore/oss/snd-pcm-oss.ko): Unknown symbol in module, or unknown parameter (see d [ !! ]

* Loading: snd-mixer-oss...
FATAL: Error inserting snd_mixer_oss (/lib/modules/2.6.10/alsa-driver/acore/oss/snd-mixer-oss.ko): Unknown symbol in module, or unknown parameter (see dmesg) [ !! ]

* Loading: snd-seq...
WARNING: Error inserting snd_seq_device (/lib/modules/2.6.10/alsa-driver/acore/seq/snd-seq-device.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_timer (/lib/modules/2.6.10/alsa-driver/acore/snd-timer.ko): Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting snd_seq (/lib/modules/2.6.10/alsa-driver/acore/seq/snd-seq.ko): Unknown symbol in module, or unknown parameter (see dmesg) [ !! ]

* ERROR: Failed to load necessary drivers [ ok ]
* Restoring Mixer Levels... [ ok ]
bash-2.05b#





P.S.: Ho gi provato a mettere


<*> Sound card support
ma con lo stesso risultato.

ho provato anche con

<M> Advanced Linux Sound Architecture

ma in questo caso quando faccio emerge alsa-driver mi danno errore perch dicono che alsa gi configurato nel kernel...

HELP! :bh:

Alkaid
20-03-2005, 09:50
snd_mixer_oss: Unknown symbol snd_unregister_oss_device
snd_mixer_oss: Unknown symbol snd_verbose_printk
snd_mixer_oss: Unknown symbol snd_register_oss_device
snd_mixer_oss: Unknown symbol snd_mixer_oss_notify_callback
snd_mixer_oss: Unknown symbol snd_oss_info_register
snd_timer: Unknown symbol snd_verbose_printk
snd_timer: Unknown symbol snd_oss_info_register
snd_pcm: Unknown symbol snd_verbose_printk
snd_pcm_oss: Unknown symbol snd_pcm_lib_read
snd_pcm_oss: Unknown symbol snd_pcm_hw_constraints_init
snd_pcm_oss: Unknown symbol snd_pcm_hw_param_near
snd_pcm_oss: Unknown symbol _snd_pcm_hw_param_setinteger
snd_pcm_oss: Unknown symbol snd_pcm_kernel_ioctl
snd_pcm_oss: Unknown symbol snd_pcm_stop
snd_pcm_oss: Unknown symbol snd_pcm_format_unsigned
snd_pcm_oss: Unknown symbol _snd_pcm_hw_params_any
snd_pcm_oss: Unknown symbol snd_pcm_format_physical_width
snd_pcm_oss: Unknown symbol snd_unregister_oss_device
snd_pcm_oss: Unknown symbol snd_pcm_hw_param_value_max
snd_pcm_oss: Unknown symbol snd_pcm_hw_param_set
snd_pcm_oss: Unknown symbol snd_pcm_format_silence_64
snd_pcm_oss: Unknown symbol snd_verbose_printk
snd_pcm_oss: Unknown symbol snd_pcm_open_substream
snd_pcm_oss: Unknown symbol snd_register_oss_device
snd_pcm_oss: Unknown symbol snd_pcm_lib_readv
snd_pcm_oss: Unknown symbol _snd_pcm_hw_param_set
snd_pcm_oss: Unknown symbol snd_pcm_kernel_capture_ioctl
snd_pcm_oss: Unknown symbol snd_pcm_lib_writev
snd_pcm_oss: Unknown symbol _snd_pcm_hw_param_min
snd_pcm_oss: Unknown symbol snd_mixer_oss_ioctl_card
snd_pcm_oss: Unknown symbol snd_pcm_format_linear
snd_pcm_oss: Unknown symbol snd_pcm_mmap_data
snd_pcm_oss: Unknown symbol snd_pcm_devices
snd_pcm_oss: Unknown symbol snd_oss_info_register
snd_pcm_oss: Unknown symbol snd_pcm_hw_param_value_min
snd_pcm_oss: Unknown symbol snd_pcm_build_linear_format
snd_pcm_oss: Unknown symbol snd_pcm_hw_param_mask
snd_pcm_oss: Unknown symbol snd_pcm_format_signed
snd_pcm_oss: Unknown symbol snd_pcm_hw_constraints_complete
snd_pcm_oss: Unknown symbol snd_pcm_link_rwlock
snd_pcm_oss: Unknown symbol snd_pcm_hw_refine
snd_pcm_oss: Unknown symbol snd_pcm_kernel_playback_ioctl
snd_pcm_oss: Unknown symbol snd_pcm_format_big_endian
snd_pcm_oss: Unknown symbol snd_pcm_notify
snd_pcm_oss: Unknown symbol snd_pcm_release_substream
snd_pcm_oss: Unknown symbol snd_pcm_lib_write
snd_pcm_oss: Unknown symbol snd_pcm_format_set_silence
snd_pcm_oss: Unknown symbol snd_pcm_format_width
kobject_register failed for snd (-17)
[<c0240487>] kobject_register+0x57/0x60
[<c0134d27>] mod_sysfs_setup+0x77/0xe0
[<c0135f27>] load_module+0x8a7/0xbb0
[<c0136291>] sys_init_module+0x61/0x220
[<c010320f>] syscall_call+0x7/0xb
snd_mixer_oss: Unknown symbol snd_unregister_oss_device
snd_mixer_oss: Unknown symbol snd_verbose_printk
snd_mixer_oss: Unknown symbol snd_register_oss_device
snd_mixer_oss: Unknown symbol snd_mixer_oss_notify_callback
snd_mixer_oss: Unknown symbol snd_oss_info_register
kobject_register failed for snd (-17)
[<c0240487>] kobject_register+0x57/0x60
[<c0134d27>] mod_sysfs_setup+0x77/0xe0
[<c0135f27>] load_module+0x8a7/0xbb0
[<c0136291>] sys_init_module+0x61/0x220
[<c010320f>] syscall_call+0x7/0xb
snd_mixer_oss: Unknown symbol snd_unregister_oss_device
snd_mixer_oss: Unknown symbol snd_verbose_printk
snd_mixer_oss: Unknown symbol snd_register_oss_device
snd_mixer_oss: Unknown symbol snd_mixer_oss_notify_callback
snd_mixer_oss: Unknown symbol snd_oss_info_register
kobject_register failed for snd (-17)
[<c0240487>] kobject_register+0x57/0x60
[<c0134d27>] mod_sysfs_setup+0x77/0xe0
[<c0135f27>] load_module+0x8a7/0xbb0
[<c0136291>] sys_init_module+0x61/0x220
[<c010320f>] syscall_call+0x7/0xb
snd_hwdep: Unknown symbol snd_unregister_oss_device
snd_hwdep: Unknown symbol snd_verbose_printk
snd_hwdep: Unknown symbol snd_register_oss_device
snd_timer: Unknown symbol snd_verbose_printk
snd_timer: Unknown symbol snd_oss_info_register
snd_pcm: Unknown symbol snd_verbose_printk
snd_ac97_codec: Unknown symbol snd_interval_refine
snd_ac97_codec: Unknown symbol snd_verbose_printk
snd_ac97_codec: Unknown symbol snd_pcm_hw_rule_add
snd_seq_device: Unknown symbol snd_verbose_printk
snd_rawmidi: Unknown symbol snd_unregister_oss_device
snd_rawmidi: Unknown symbol snd_verbose_printk
snd_rawmidi: Unknown symbol snd_register_oss_device
snd_rawmidi: Unknown symbol snd_oss_info_register
snd_emu10k1: Unknown symbol snd_rawmidi_receive
snd_emu10k1: Unknown symbol snd_rawmidi_transmit
snd_emu10k1: Unknown symbol snd_pcm_new
snd_emu10k1: Unknown symbol snd_pcm_lib_preallocate_pages_for_all
snd_emu10k1: Unknown symbol snd_pcm_hw_constraint_minmax
snd_emu10k1: Unknown symbol snd_ac97_mixer
snd_emu10k1: Unknown symbol snd_ac97_bus
snd_emu10k1: Unknown symbol snd_verbose_printk
snd_emu10k1: Unknown symbol snd_pcm_lib_malloc_pages
snd_emu10k1: Unknown symbol snd_pcm_lib_ioctl
snd_emu10k1: Unknown symbol snd_pcm_lib_free_pages
snd_emu10k1: Unknown symbol snd_hwdep_new
snd_emu10k1: Unknown symbol snd_pcm_set_ops
snd_emu10k1: Unknown symbol snd_pcm_hw_constraint_list
snd_emu10k1: Unknown symbol snd_pcm_sgbuf_ops_page
snd_emu10k1: Unknown symbol snd_rawmidi_new
snd_emu10k1: Unknown symbol snd_pcm_hw_constraint_integer
snd_emu10k1: Unknown symbol snd_rawmidi_set_ops
snd_emu10k1: Unknown symbol snd_pcm_lib_preallocate_pages
snd_emu10k1: Unknown symbol snd_pcm_lib_preallocate_free_for_all
snd_emu10k1: Unknown symbol snd_pcm_period_elapsed
snd_emu10k1: Unknown symbol snd_ac97_write
snd_emu10k1: Unknown symbol snd_pcm_format_width
kobject_register failed for snd (-17)
[<c0240487>] kobject_register+0x57/0x60
[<c0134d27>] mod_sysfs_setup+0x77/0xe0
[<c0135f27>] load_module+0x8a7/0xbb0
[<c0136291>] sys_init_module+0x61/0x220
[<c010320f>] syscall_call+0x7/0xb
snd_hwdep: Unknown symbol snd_unregister_oss_device
snd_hwdep: Unknown symbol snd_verbose_printk
snd_hwdep: Unknown symbol snd_register_oss_device
snd_timer: Unknown symbol snd_verbose_printk
snd_timer: Unknown symbol snd_oss_info_register
snd_pcm: Unknown symbol snd_verbose_printk
snd_ac97_codec: Unknown symbol snd_interval_refine
snd_ac97_codec: Unknown symbol snd_verbose_printk
snd_ac97_codec: Unknown symbol snd_pcm_hw_rule_add
snd_seq_device: Unknown symbol snd_verbose_printk
snd_rawmidi: Unknown symbol snd_unregister_oss_device
snd_rawmidi: Unknown symbol snd_verbose_printk
snd_rawmidi: Unknown symbol snd_register_oss_device
snd_rawmidi: Unknown symbol snd_oss_info_register
snd_emu10k1: Unknown symbol snd_rawmidi_receive
snd_emu10k1: Unknown symbol snd_rawmidi_transmit
snd_emu10k1: Unknown symbol snd_pcm_new
snd_emu10k1: Unknown symbol snd_pcm_lib_preallocate_pages_for_all
snd_emu10k1: Unknown symbol snd_pcm_hw_constraint_minmax
snd_emu10k1: Unknown symbol snd_ac97_mixer
snd_emu10k1: Unknown symbol snd_ac97_bus
snd_emu10k1: Unknown symbol snd_verbose_printk
snd_emu10k1: Unknown symbol snd_pcm_lib_malloc_pages
snd_emu10k1: Unknown symbol snd_pcm_lib_ioctl
snd_emu10k1: Unknown symbol snd_pcm_lib_free_pages
snd_emu10k1: Unknown symbol snd_hwdep_new
snd_emu10k1: Unknown symbol snd_pcm_set_ops
snd_emu10k1: Unknown symbol snd_pcm_hw_constraint_list
snd_emu10k1: Unknown symbol snd_pcm_sgbuf_ops_page
snd_emu10k1: Unknown symbol snd_rawmidi_new
snd_emu10k1: Unknown symbol snd_pcm_hw_constraint_integer
snd_emu10k1: Unknown symbol snd_rawmidi_set_ops
snd_emu10k1: Unknown symbol snd_pcm_lib_preallocate_pages
snd_emu10k1: Unknown symbol snd_pcm_lib_preallocate_free_for_all
snd_emu10k1: Unknown symbol snd_pcm_period_elapsed
snd_emu10k1: Unknown symbol snd_ac97_write
snd_emu10k1: Unknown symbol snd_pcm_format_width
kobject_register failed for snd (-17)
[<c0240487>] kobject_register+0x57/0x60
[<c0134d27>] mod_sysfs_setup+0x77/0xe0
[<c0135f27>] load_module+0x8a7/0xbb0
[<c0136291>] sys_init_module+0x61/0x220
[<c010320f>] syscall_call+0x7/0xb
snd_seq_device: Unknown symbol snd_verbose_printk
snd_timer: Unknown symbol snd_verbose_printk
snd_timer: Unknown symbol snd_oss_info_register
snd_seq: Unknown symbol snd_verbose_printk
snd_seq_oss: Unknown symbol snd_unregister_oss_device
snd_seq_oss: Unknown symbol snd_verbose_printk
snd_seq_oss: Unknown symbol snd_register_oss_device
snd_seq_oss: Unknown symbol snd_oss_info_register
kobject_register failed for snd (-17)
[<c0240487>] kobject_register+0x57/0x60
[<c0134d27>] mod_sysfs_setup+0x77/0xe0
[<c0135f27>] load_module+0x8a7/0xbb0
[<c0136291>] sys_init_module+0x61/0x220
[<c010320f>] syscall_call+0x7/0xb
snd_mixer_oss: Unknown symbol snd_unregister_oss_device
snd_mixer_oss: Unknown symbol snd_verbose_printk
snd_mixer_oss: Unknown symbol snd_register_oss_device
snd_mixer_oss: Unknown symbol snd_mixer_oss_notify_callback
snd_mixer_oss: Unknown symbol snd_oss_info_register
snd_timer: Unknown symbol snd_verbose_printk
snd_timer: Unknown symbol snd_oss_info_register
snd_pcm: Unknown symbol snd_verbose_printk
snd_pcm_oss: Unknown symbol snd_pcm_lib_read
snd_pcm_oss: Unknown symbol snd_pcm_hw_constraints_init
snd_pcm_oss: Unknown symbol snd_pcm_hw_param_near
snd_pcm_oss: Unknown symbol _snd_pcm_hw_param_setinteger
snd_pcm_oss: Unknown symbol snd_pcm_kernel_ioctl
snd_pcm_oss: Unknown symbol snd_pcm_stop
snd_pcm_oss: Unknown symbol snd_pcm_format_unsigned
snd_pcm_oss: Unknown symbol _snd_pcm_hw_params_any
snd_pcm_oss: Unknown symbol snd_pcm_format_physical_width
snd_pcm_oss: Unknown symbol snd_unregister_oss_device
snd_pcm_oss: Unknown symbol snd_pcm_hw_param_value_max
snd_pcm_oss: Unknown symbol snd_pcm_hw_param_set
snd_pcm_oss: Unknown symbol snd_pcm_format_silence_64
snd_pcm_oss: Unknown symbol snd_verbose_printk
snd_pcm_oss: Unknown symbol snd_pcm_open_substream
snd_pcm_oss: Unknown symbol snd_register_oss_device
snd_pcm_oss: Unknown symbol snd_pcm_lib_readv
snd_pcm_oss: Unknown symbol _snd_pcm_hw_param_set
snd_pcm_oss: Unknown symbol snd_pcm_kernel_capture_ioctl
snd_pcm_oss: Unknown symbol snd_pcm_lib_writev
snd_pcm_oss: Unknown symbol _snd_pcm_hw_param_min
snd_pcm_oss: Unknown symbol snd_mixer_oss_ioctl_card
snd_pcm_oss: Unknown symbol snd_pcm_format_linear
snd_pcm_oss: Unknown symbol snd_pcm_mmap_data
snd_pcm_oss: Unknown symbol snd_pcm_devices
snd_pcm_oss: Unknown symbol snd_oss_info_register
snd_pcm_oss: Unknown symbol snd_pcm_hw_param_value_min
snd_pcm_oss: Unknown symbol snd_pcm_build_linear_format
snd_pcm_oss: Unknown symbol snd_pcm_hw_param_mask
snd_pcm_oss: Unknown symbol snd_pcm_format_signed
snd_pcm_oss: Unknown symbol snd_pcm_hw_constraints_complete
snd_pcm_oss: Unknown symbol snd_pcm_link_rwlock
snd_pcm_oss: Unknown symbol snd_pcm_hw_refine
snd_pcm_oss: Unknown symbol snd_pcm_kernel_playback_ioctl
snd_pcm_oss: Unknown symbol snd_pcm_format_big_endian
snd_pcm_oss: Unknown symbol snd_pcm_notify
snd_pcm_oss: Unknown symbol snd_pcm_release_substream
snd_pcm_oss: Unknown symbol snd_pcm_lib_write
snd_pcm_oss: Unknown symbol snd_pcm_format_set_silence
snd_pcm_oss: Unknown symbol snd_pcm_format_width
kobject_register failed for snd (-17)
[<c0240487>] kobject_register+0x57/0x60
[<c0134d27>] mod_sysfs_setup+0x77/0xe0
[<c0135f27>] load_module+0x8a7/0xbb0
[<c0136291>] sys_init_module+0x61/0x220
[<c010320f>] syscall_call+0x7/0xb
snd_mixer_oss: Unknown symbol snd_unregister_oss_device
snd_mixer_oss: Unknown symbol snd_verbose_printk
snd_mixer_oss: Unknown symbol snd_register_oss_device
snd_mixer_oss: Unknown symbol snd_mixer_oss_notify_callback
snd_mixer_oss: Unknown symbol snd_oss_info_register
kobject_register failed for snd (-17)
[<c0240487>] kobject_register+0x57/0x60
[<c0134d27>] mod_sysfs_setup+0x77/0xe0
[<c0135f27>] load_module+0x8a7/0xbb0
[<c0136291>] sys_init_module+0x61/0x220
[<c010320f>] syscall_call+0x7/0xb
snd_seq_device: Unknown symbol snd_verbose_printk
snd_timer: Unknown symbol snd_verbose_printk
snd_timer: Unknown symbol snd_oss_info_register
snd_seq: Unknown symbol snd_verbose_printk
bash-2.05b#

andy caps
20-03-2005, 10:52
prova ad abilitare le altre opzioni in sound oss compreso e non mettere solamente i moduli alsa della scheda

Alkaid
20-03-2005, 11:05
sull'howto di gentoo c' scritto:


Prima di continuare, assicuratevi
che il vostro kernel ha abilitato il Sound Card Support.
Se avete usato genkernel per compilare il vostro kernel,
allora gi abilitato. Altrimenti riconfigurate il kernel.
Assicuratevi di disabilitare Open Sound System
nella configuraz

:bh:

andy caps
20-03-2005, 11:25
allora metti come modulo tutto nella sezione del soundcore solamente

negli ultimi kernel comunque hanno lavorato molto su alsa
io prima di smanettare con alsa proverei un kernel piu recente il il 2.6.12-rc1 l'ho messo du debian ed ubuntu e va benissimo

[ ] 2.6.11.4 (2.6.11.4)
[M~ ] 2.6.12_rc1 (2.6.12_rc1)

messo come alternativa dlo puoi provare tranquillamente
devi solo emergere i driver ultimi di nvidia masked

KornShell
20-03-2005, 11:47
non compilare ne alsa ne oss nel kernel
metti statico solo il sound support
metti in make.conf:


ALSA_CARDS="emu10k1"

emerge alsa-driver

dovrebbe andare

Alkaid
20-03-2005, 12:19
Originariamente inviato da KornShell
non compilare ne alsa ne oss nel kernel
metti statico solo il sound support
metti in make.conf:


ALSA_CARDS="emu10k1"

emerge alsa-driver

dovrebbe andare

gi provato :incupito:

NonnoBassotto
20-03-2005, 12:45
Sul thread che hai aperto sul forum di Gentoo, ho letto che hai una SB Live.
Prova ad usare il modulo "ca0106", invece dell'emu10k1. Sembra che alcune SB Live (in particolare le pi "recenti", come la 24bit) non vadano con quest'ultimo.

Alkaid
20-03-2005, 19:23
ho installato i driver cambiando kernel come suggerito da andycaps.
Ora per ho un altro PROBLEMA:
kmix, kamix, xmms ecc. crashano ovvero se apro una canzone con xmms, kmix crasha e poco dopo crasha anche xmms

Loading