[SOLVED] ALSA не строится
DsMD 9 марта, 2009 - 00:58
Здравствуйте. Подскажите, пожалуйста, где взять кучу недостающих symbol`ов для ALSA:)
Ядро--2.6.27-gentoo-r8. установлены alsa-libs, alsa-headers, alsa-utils.
Цитата:
DsMD dsmd # lspci|grep -i audio
03:01.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)
В ядре модулем собран драйвер cmipci. CM8738 поддерживается.
/etc/init.d/alsasound start пытается грузить драйвер, но не может и отсылает в dmesg
в dmesg:
Цитата:
dmesg
create_module_entry
[ 1130.215299] snd_seq_device: Unknown symbol snd_info_free_entry
[ 1130.215486] snd_seq_device: Unknown symbol snd_seq_root
[ 1130.215680] snd_seq_device: Unknown symbol snd_verbose_printk
[ 1130.215875] snd_seq_device: Unknown symbol snd_iprintf
[ 1130.216149] snd_seq_device: Unknown symbol snd_device_new
[ 1130.217205] snd_rawmidi: Unknown symbol snd_info_register
[ 1130.217431] snd_rawmidi: Unknown symbol snd_seq_device_new
[ 1130.217629] snd_rawmidi: Unknown symbol snd_info_free_entry
[ 1130.217830] snd_rawmidi: Unknown symbol snd_unregister_oss_device
[ 1130.218041] snd_rawmidi: Unknown symbol snd_verbose_printk
[ 1130.218212] snd_rawmidi: Unknown symbol snd_register_oss_device
[ 1130.218402] snd_rawmidi: Unknown symbol snd_ctl_register_ioctl
[ 1130.218569] snd_rawmidi: Unknown symbol snd_card_file_add
[ 1130.218782] snd_rawmidi: Unknown symbol snd_iprintf
[ 1130.218966] snd_rawmidi: Unknown symbol snd_major
[ 1130.219258] snd_rawmidi: Unknown symbol snd_oss_info_register
[ 1130.219428] snd_rawmidi: Unknown symbol snd_unregister_device
[ 1130.219610] snd_rawmidi: Unknown symbol snd_device_new
[ 1130.219783] snd_rawmidi: Unknown symbol snd_ctl_unregister_ioctl
[ 1130.220023] snd_rawmidi: Unknown symbol snd_lookup_oss_minor_data
[ 1130.220223] snd_rawmidi: Unknown symbol snd_lookup_minor_data
[ 1130.220404] snd_rawmidi: Unknown symbol snd_info_create_card_entry
[ 1130.220592] snd_rawmidi: Unknown symbol snd_card_file_remove
[ 1130.220771] snd_rawmidi: Unknown symbol snd_register_device_for_dev
[ 1130.220952] snd_rawmidi: Unknown symbol snd_device_register
[ 1130.221724] snd_mpu401_uart: Unknown symbol snd_rawmidi_receive
[ 1130.221976] snd_mpu401_uart: Unknown symbol snd_verbose_printk
[ 1130.222203] snd_mpu401_uart: Unknown symbol snd_rawmidi_transmit_ack
[ 1130.222405] snd_mpu401_uart: Unknown symbol release_and_free_resource
[ 1130.222577] snd_mpu401_uart: Unknown symbol snd_rawmidi_transmit_peek
[ 1130.222758] snd_mpu401_uart: Unknown symbol snd_rawmidi_new
[ 1130.222983] snd_mpu401_uart: Unknown symbol snd_rawmidi_set_ops
[ 1130.223228] snd_mpu401_uart: Unknown symbol snd_device_free
[ 1130.224918] snd_timer: Unknown symbol snd_info_register
[ 1130.225179] snd_timer: Unknown symbol snd_info_create_module_entry
[ 1130.225373] snd_timer: Unknown symbol snd_info_free_entry
[ 1130.225719] snd_timer: Unknown symbol snd_verbose_printk
[ 1130.225927] snd_timer: Unknown symbol snd_iprintf
[ 1130.226192] snd_timer: Unknown symbol snd_ecards_limit
[ 1130.226430] snd_timer: Unknown symbol snd_oss_info_register
[ 1130.226596] snd_timer: Unknown symbol snd_unregister_device
[ 1130.226776] snd_timer: Unknown symbol snd_device_new
[ 1130.227150] snd_timer: Unknown symbol snd_register_device_for_dev
[ 1130.228913] snd_pcm: Unknown symbol snd_info_register
[ 1130.229182] snd_pcm: Unknown symbol snd_info_create_module_entry
[ 1130.229522] snd_pcm: Unknown symbol snd_timer_notify
[ 1130.229915] snd_pcm: Unknown symbol snd_timer_interrupt
[ 1130.230132] snd_pcm: Unknown symbol snd_info_free_entry
[ 1130.230314] snd_pcm: Unknown symbol snd_add_device_sysfs_file
[ 1130.230533] snd_pcm: Unknown symbol snd_info_get_str
[ 1130.231083] snd_pcm: Unknown symbol snd_verbose_printk
[ 1130.231458] snd_pcm: Unknown symbol snd_ctl_register_ioctl
[ 1130.231629] snd_pcm: Unknown symbol snd_card_file_add
[ 1130.231892] snd_pcm: Unknown symbol snd_iprintf
[ 1130.232129] snd_pcm: Unknown symbol snd_major
[ 1130.232640] snd_pcm: Unknown symbol snd_unregister_device
[ 1130.232829] snd_pcm: Unknown symbol snd_timer_new
[ 1130.232996] snd_pcm: Unknown symbol snd_device_new
[ 1130.233439] snd_pcm: Unknown symbol snd_ctl_unregister_ioctl
[ 1130.233809] snd_pcm: Unknown symbol snd_lookup_minor_data
[ 1130.234036] snd_pcm: Unknown symbol snd_info_create_card_entry
[ 1130.234205] snd_pcm: Unknown symbol snd_power_wait
[ 1130.234399] snd_pcm: Unknown symbol snd_device_free
[ 1130.234729] snd_pcm: Unknown symbol snd_card_file_remove
[ 1130.234896] snd_pcm: Unknown symbol snd_register_device_for_dev
[ 1130.235504] snd_pcm: Unknown symbol snd_device_register
[ 1130.235691] snd_pcm: Unknown symbol snd_info_get_line
[ 1130.263501] snd: Unknown symbol unregister_sound_special
[ 1130.263956] snd: Unknown symbol register_sound_special_device
[ 1130.265456] snd: Unknown symbol sound_class
[ 1130.269806] snd_seq_device: Unknown symbol snd_info_register
[ 1130.269994] snd_seq_device: Unknown symbol snd_info_create_module_entry
[ 1130.270207] snd_seq_device: Unknown symbol snd_info_free_entry
[ 1130.270396] snd_seq_device: Unknown symbol snd_seq_root
[ 1130.270589] snd_seq_device: Unknown symbol snd_verbose_printk
[ 1130.270783] snd_seq_device: Unknown symbol snd_iprintf
[ 1130.271048] snd_seq_device: Unknown symbol snd_device_new
[ 1130.272145] snd_rawmidi: Unknown symbol snd_info_register
[ 1130.272379] snd_rawmidi: Unknown symbol snd_seq_device_new
[ 1130.272581] snd_rawmidi: Unknown symbol snd_info_free_entry
[ 1130.272789] snd_rawmidi: Unknown symbol snd_unregister_oss_device
[ 1130.272983] snd_rawmidi: Unknown symbol snd_verbose_printk
[ 1130.273177] snd_rawmidi: Unknown symbol snd_register_oss_device
[ 1130.273372] snd_rawmidi: Unknown symbol snd_ctl_register_ioctl
[ 1130.273544] snd_rawmidi: Unknown symbol snd_card_file_add
[ 1130.273762] snd_rawmidi: Unknown symbol snd_iprintf
[ 1130.273949] snd_rawmidi: Unknown symbol snd_major
[ 1130.274242] snd_rawmidi: Unknown symbol snd_oss_info_register
[ 1130.274416] snd_rawmidi: Unknown symbol snd_unregister_device
[ 1130.274603] snd_rawmidi: Unknown symbol snd_device_new
[ 1130.274781] snd_rawmidi: Unknown symbol snd_ctl_unregister_ioctl
[ 1130.275026] snd_rawmidi: Unknown symbol snd_lookup_oss_minor_data
[ 1130.275233] snd_rawmidi: Unknown symbol snd_lookup_minor_data
[ 1130.275418] snd_rawmidi: Unknown symbol snd_info_create_card_entry
[ 1130.275611] snd_rawmidi: Unknown symbol snd_card_file_remove
[ 1130.275795] snd_rawmidi: Unknown symbol snd_register_device_for_dev
[ 1130.275981] snd_rawmidi: Unknown symbol snd_device_register
[ 1130.276752] snd_mpu401_uart: Unknown symbol snd_rawmidi_receive
[ 1130.277035] snd_mpu401_uart: Unknown symbol snd_verbose_printk
[ 1130.277235] snd_mpu401_uart: Unknown symbol snd_rawmidi_transmit_ack
[ 1130.277433] snd_mpu401_uart: Unknown symbol release_and_free_resource
[ 1130.277605] snd_mpu401_uart: Unknown symbol snd_rawmidi_transmit_peek
[ 1130.277787] snd_mpu401_uart: Unknown symbol snd_rawmidi_new
[ 1130.278029] snd_mpu401_uart: Unknown symbol snd_rawmidi_set_ops
[ 1130.278254] snd_mpu401_uart: Unknown symbol snd_device_free
и такого типа до конца.
ядро при компиляции(make && make modules_install):
Цитата:
WARNING: /lib/modules/2.6.27-gentoo-r8/alsa-driver/pci/ac97/snd-ac97-codec.ko needs unknown symbol snd_ctl_add_slave
WARNING: /lib/modules/2.6.27-gentoo-r8/alsa-driver/pci/ac97/snd-ac97-codec.ko needs unknown symbol snd_ctl_make_virtual_master
WARNING: /lib/modules/2.6.27-gentoo-r8/alsa-driver/pci/hda/snd-hda-intel.ko needs unknown symbol snd_ctl_add_slave
WARNING: /lib/modules/2.6.27-gentoo-r8/alsa-driver/pci/hda/snd-hda-intel.ko needs unknown symbol snd_jack_report
WARNING: /lib/modules/2.6.27-gentoo-r8/alsa-driver/pci/hda/snd-hda-intel.ko needs unknown symbol snd_ctl_make_virtual_master
WARNING: /lib/modules/2.6.27-gentoo-r8/alsa-driver/pci/hda/snd-hda-intel.ko needs unknown symbol snd_jack_new
WARNING: /lib/modules/2.6.27-gentoo-r8/alsa-driver/pci/ca0106/snd-ca0106.ko needs unknown symbol snd_ctl_add_slave
WARNING: /lib/modules/2.6.27-gentoo-r8/alsa-driver/pci/ca0106/snd-ca0106.ko needs unknown symbol snd_ctl_make_virtual_master
»
- Для комментирования войдите или зарегистрируйтесь
странно...
странно... я вообще никогда в ядре не собирал альсу, но, тянет не много ли он за собой? ac97, хда-интел.... Убери все галки из раздела альсы в ядре, собери без нее, а потом поставь из пакета.... проще будет ошибку найти
если конечно драйвер твой конечно, уточни на сайте алсы, если будут проблемы, размаскируй последние пакеты альсы, я всегда из нестабильной ветви исопльзую
Не надо ставить alsa-driver.
Не надо ставить alsa-driver. Вероятно, в конфиге ядра были забыты некоторые опции.
ALSA собрана
ALSA собрана модулем:
и все. alsa-driver ставил, та же проблема. Скорее в библиотеках чего-то не хватает.Не могу понять чего именно, давно установил бы и забыл((
^_________^ <-----котэ
На всякий случай сделай cd
На всякий случай сделай
сделал, то же самое.
сделал, то же самое.
^_________^ <-----котэ
у тебя уже есть...
у тебя уже есть удачный опыт сборки ядра??? если нет, то возьми готовый конфиг и собери по нему, например конфиг с дебиана... попробуй, может действительно что - то забыл в ядре?
Разрешилось шаманством. Снес
Разрешилось шаманством. Снес все lib/.../alsa-drivers и завелось. Всем спасибо:)
^_________^ <-----котэ