Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have installed a Suse 8.1 profesional (kernel 2.4.19) and I have migrated to kernel 2.6.11.7. After that the sound card doesn't work (is an Creative SBLive and I use emu10k1 driver). I have installed ALSA 1.0.8 and when I do
modprobe emu10k1
it said that have error and see dmsg. dmsg result is:
snd: Unknown parameter `snd_cards_limit'
snd_hwdep: Unknown symbol snd_info_register
snd_hwdep: Unknown symbol snd_info_create_module_entry
snd_hwdep: Unknown symbol snd_info_free_entry
snd_hwdep: Unknown symbol snd_unregister_oss_device
snd_hwdep: Unknown symbol snd_verbose_printk
snd_hwdep: Unknown symbol snd_register_oss_device
snd_hwdep: Unknown symbol snd_ctl_register_ioctl
snd_hwdep: Unknown symbol snd_card_file_add
snd_hwdep: Unknown symbol snd_iprintf
snd_hwdep: Unknown symbol snd_unregister_device
snd_hwdep: Unknown symbol snd_device_new
snd_hwdep: Unknown symbol snd_ctl_unregister_ioctl
snd_hwdep: Unknown symbol snd_card_file_remove
snd_hwdep: Unknown symbol snd_info_unregister
snd_hwdep: Unknown symbol snd_register_device
snd_timer: Unknown symbol snd_info_register
snd_timer: Unknown symbol snd_info_create_module_entry
snd_timer: Unknown symbol snd_info_free_entry
snd_timer: Unknown symbol snd_verbose_printk
snd_timer: Unknown symbol snd_iprintf
snd_timer: Unknown symbol snd_ecards_limit
snd_timer: Unknown symbol snd_oss_info_register
snd_timer: Unknown symbol snd_unregister_device
snd_timer: Unknown symbol snd_device_new
snd_timer: Unknown symbol snd_kmalloc_strdup
snd_timer: Unknown symbol snd_info_unregister
snd_timer: Unknown symbol snd_register_device
snd_pcm: Unknown symbol snd_info_register
snd_pcm: Unknown symbol snd_info_create_module_entry
snd_pcm: Unknown symbol snd_timer_notify
snd_pcm: Unknown symbol snd_timer_interrupt
snd_pcm: Unknown symbol snd_info_free_entry
snd_pcm: Unknown symbol snd_info_get_str
snd_pcm: Unknown symbol snd_verbose_printk
snd_pcm: Unknown symbol snd_ctl_register_ioctl
snd_pcm: Unknown symbol snd_card_file_add
snd_pcm: Unknown symbol snd_iprintf
snd_pcm: Unknown symbol snd_major
snd_pcm: Unknown symbol snd_unregister_device
snd_pcm: Unknown symbol snd_timer_new
snd_pcm: Unknown symbol snd_device_new
snd_pcm: Unknown symbol snd_ctl_unregister_ioctl
snd_pcm: Unknown symbol snd_info_create_card_entry
snd_pcm: Unknown symbol snd_power_wait
snd_pcm: Unknown symbol snd_device_free
snd_pcm: Unknown symbol snd_card_file_remove
snd_pcm: Unknown symbol snd_info_unregister
snd_pcm: Unknown symbol snd_device_register
snd_pcm: Unknown symbol snd_register_device
snd_pcm: Unknown symbol snd_info_get_line
snd_ac97_codec: Unknown symbol snd_info_register
snd_ac97_codec: Unknown symbol snd_ctl_add
snd_ac97_codec: Unknown symbol snd_info_free_entry
snd_ac97_codec: Unknown symbol snd_interval_refine
snd_ac97_codec: Unknown symbol snd_ctl_find_id
snd_ac97_codec: Unknown symbol snd_verbose_printk
snd_ac97_codec: Unknown symbol snd_ctl_new1
snd_ac97_codec: Unknown symbol snd_ctl_remove_id
snd_ac97_codec: Unknown symbol snd_component_add
snd_ac97_codec: Unknown symbol snd_pcm_hw_rule_add
snd_ac97_codec: Unknown symbol snd_iprintf
snd_ac97_codec: Unknown symbol snd_device_new
snd_ac97_codec: Unknown symbol snd_info_create_card_entry
snd_ac97_codec: Unknown symbol snd_info_unregister
snd_seq_device: Unknown symbol snd_info_register
snd_seq_device: Unknown symbol snd_info_create_module_entry
snd_seq_device: Unknown symbol snd_info_free_entry
snd_seq_device: Unknown symbol snd_seq_root
snd_seq_device: Unknown symbol snd_verbose_printk
snd_seq_device: Unknown symbol snd_iprintf
snd_seq_device: Unknown symbol snd_device_new
snd_seq_device: Unknown symbol snd_info_unregister
snd_rawmidi: Unknown symbol snd_info_register
snd_rawmidi: Unknown symbol snd_seq_device_new
snd_rawmidi: Unknown symbol snd_info_free_entry
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_ctl_register_ioctl
snd_rawmidi: Unknown symbol snd_card_file_add
snd_rawmidi: Unknown symbol snd_iprintf
snd_rawmidi: Unknown symbol snd_oss_info_register
snd_rawmidi: Unknown symbol snd_unregister_device
snd_rawmidi: Unknown symbol snd_device_new
snd_rawmidi: Unknown symbol snd_ctl_unregister_ioctl
snd_rawmidi: Unknown symbol snd_info_create_card_entry
snd_rawmidi: Unknown symbol snd_device_free
snd_rawmidi: Unknown symbol snd_card_file_remove
snd_rawmidi: Unknown symbol snd_info_unregister
snd_rawmidi: Unknown symbol snd_device_register
snd_rawmidi: Unknown symbol snd_register_device
snd_emu10k1: Unknown symbol snd_rawmidi_receive
snd_emu10k1: Unknown symbol snd_rawmidi_transmit
snd_emu10k1: Unknown symbol snd_ctl_add
snd_emu10k1: Unknown symbol snd_pcm_new
snd_emu10k1: Unknown symbol snd_seq_device_new
snd_emu10k1: Unknown symbol snd_card_register
snd_emu10k1: Unknown symbol snd_card_free
snd_emu10k1: Unknown symbol snd_pcm_lib_preallocate_pages_for_all
snd_emu10k1: Unknown symbol snd_card_proc_new
snd_emu10k1: Unknown symbol snd_pcm_hw_constraint_minmax
snd_emu10k1: Unknown symbol snd_timer_interrupt
snd_emu10k1: Unknown symbol snd_ac97_mixer
snd_emu10k1: Unknown symbol snd_ctl_remove
snd_emu10k1: Unknown symbol snd_ac97_bus
snd_emu10k1: Unknown symbol snd_ctl_find_id
snd_emu10k1: Unknown symbol snd_verbose_printk
snd_emu10k1: Unknown symbol snd_ctl_new1
snd_emu10k1: Unknown symbol snd_ctl_remove_id
snd_emu10k1: Unknown symbol snd_card_new
snd_emu10k1: Unknown symbol snd_iprintf
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_ctl_notify
snd_emu10k1: Unknown symbol snd_pcm_set_ops
snd_emu10k1: Unknown symbol snd_timer_new
snd_emu10k1: Unknown symbol snd_pcm_hw_constraint_list
snd_emu10k1: Unknown symbol snd_device_new
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
snd: Unknown parameter `snd_cards_limit'
snd_hwdep: Unknown symbol snd_info_register
snd_hwdep: Unknown symbol snd_info_create_module_entry
snd_hwdep: Unknown symbol snd_info_free_entry
snd_hwdep: Unknown symbol snd_unregister_oss_device
snd_hwdep: Unknown symbol snd_verbose_printk
snd_hwdep: Unknown symbol snd_register_oss_device
snd_hwdep: Unknown symbol snd_ctl_register_ioctl
snd_hwdep: Unknown symbol snd_card_file_add
snd_hwdep: Unknown symbol snd_iprintf
snd_hwdep: Unknown symbol snd_unregister_device
snd_hwdep: Unknown symbol snd_device_new
snd_hwdep: Unknown symbol snd_ctl_unregister_ioctl
snd_hwdep: Unknown symbol snd_card_file_remove
snd_hwdep: Unknown symbol snd_info_unregister
snd_hwdep: Unknown symbol snd_register_device
snd_timer: Unknown symbol snd_info_register
snd_timer: Unknown symbol snd_info_create_module_entry
snd_timer: Unknown symbol snd_info_free_entry
snd_timer: Unknown symbol snd_verbose_printk
snd_timer: Unknown symbol snd_iprintf
snd_timer: Unknown symbol snd_ecards_limit
snd_timer: Unknown symbol snd_oss_info_register
snd_timer: Unknown symbol snd_unregister_device
snd_timer: Unknown symbol snd_device_new
snd_timer: Unknown symbol snd_kmalloc_strdup
snd_timer: Unknown symbol snd_info_unregister
snd_timer: Unknown symbol snd_register_device
snd_pcm: Unknown symbol snd_info_register
snd_pcm: Unknown symbol snd_info_create_module_entry
snd_pcm: Unknown symbol snd_timer_notify
snd_pcm: Unknown symbol snd_timer_interrupt
snd_pcm: Unknown symbol snd_info_free_entry
snd_pcm: Unknown symbol snd_info_get_str
snd_pcm: Unknown symbol snd_verbose_printk
snd_pcm: Unknown symbol snd_ctl_register_ioctl
snd_pcm: Unknown symbol snd_card_file_add
snd_pcm: Unknown symbol snd_iprintf
snd_pcm: Unknown symbol snd_major
snd_pcm: Unknown symbol snd_unregister_device
snd_pcm: Unknown symbol snd_timer_new
snd_pcm: Unknown symbol snd_device_new
snd_pcm: Unknown symbol snd_ctl_unregister_ioctl
snd_pcm: Unknown symbol snd_info_create_card_entry
snd_pcm: Unknown symbol snd_power_wait
snd_pcm: Unknown symbol snd_device_free
snd_pcm: Unknown symbol snd_card_file_remove
snd_pcm: Unknown symbol snd_info_unregister
snd_pcm: Unknown symbol snd_device_register
snd_pcm: Unknown symbol snd_register_device
snd_pcm: Unknown symbol snd_info_get_line
snd_ac97_codec: Unknown symbol snd_info_register
snd_ac97_codec: Unknown symbol snd_ctl_add
snd_ac97_codec: Unknown symbol snd_info_free_entry
snd_ac97_codec: Unknown symbol snd_interval_refine
snd_ac97_codec: Unknown symbol snd_ctl_find_id
snd_ac97_codec: Unknown symbol snd_verbose_printk
snd_ac97_codec: Unknown symbol snd_ctl_new1
snd_ac97_codec: Unknown symbol snd_ctl_remove_id
snd_ac97_codec: Unknown symbol snd_component_add
snd_ac97_codec: Unknown symbol snd_pcm_hw_rule_add
snd_ac97_codec: Unknown symbol snd_iprintf
snd_ac97_codec: Unknown symbol snd_device_new
snd_ac97_codec: Unknown symbol snd_info_create_card_entry
snd_ac97_codec: Unknown symbol snd_info_unregister
snd_seq_device: Unknown symbol snd_info_register
snd_seq_device: Unknown symbol snd_info_create_module_entry
snd_seq_device: Unknown symbol snd_info_free_entry
snd_seq_device: Unknown symbol snd_seq_root
snd_seq_device: Unknown symbol snd_verbose_printk
snd_seq_device: Unknown symbol snd_iprintf
snd_seq_device: Unknown symbol snd_device_new
snd_seq_device: Unknown symbol snd_info_unregister
snd_rawmidi: Unknown symbol snd_info_register
snd_rawmidi: Unknown symbol snd_seq_device_new
snd_rawmidi: Unknown symbol snd_info_free_entry
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_ctl_register_ioctl
snd_rawmidi: Unknown symbol snd_card_file_add
snd_rawmidi: Unknown symbol snd_iprintf
snd_rawmidi: Unknown symbol snd_oss_info_register
snd_rawmidi: Unknown symbol snd_unregister_device
snd_rawmidi: Unknown symbol snd_device_new
snd_rawmidi: Unknown symbol snd_ctl_unregister_ioctl
snd_rawmidi: Unknown symbol snd_info_create_card_entry
snd_rawmidi: Unknown symbol snd_device_free
snd_rawmidi: Unknown symbol snd_card_file_remove
snd_rawmidi: Unknown symbol snd_info_unregister
snd_rawmidi: Unknown symbol snd_device_register
snd_rawmidi: Unknown symbol snd_register_device
snd_emu10k1: Unknown symbol snd_rawmidi_receive
snd_emu10k1: Unknown symbol snd_rawmidi_transmit
snd_emu10k1: Unknown symbol snd_ctl_add
snd_emu10k1: Unknown symbol snd_pcm_new
snd_emu10k1: Unknown symbol snd_seq_device_new
snd_emu10k1: Unknown symbol snd_card_register
snd_emu10k1: Unknown symbol snd_card_free
snd_emu10k1: Unknown symbol snd_pcm_lib_preallocate_pages_for_all
snd_emu10k1: Unknown symbol snd_card_proc_new
snd_emu10k1: Unknown symbol snd_pcm_hw_constraint_minmax
snd_emu10k1: Unknown symbol snd_timer_interrupt
snd_emu10k1: Unknown symbol snd_ac97_mixer
snd_emu10k1: Unknown symbol snd_ctl_remove
snd_emu10k1: Unknown symbol snd_ac97_bus
snd_emu10k1: Unknown symbol snd_ctl_find_id
snd_emu10k1: Unknown symbol snd_verbose_printk
snd_emu10k1: Unknown symbol snd_ctl_new1
snd_emu10k1: Unknown symbol snd_ctl_remove_id
snd_emu10k1: Unknown symbol snd_card_new
snd_emu10k1: Unknown symbol snd_iprintf
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_ctl_notify
snd_emu10k1: Unknown symbol snd_pcm_set_ops
snd_emu10k1: Unknown symbol snd_timer_new
snd_emu10k1: Unknown symbol snd_pcm_hw_constraint_list
snd_emu10k1: Unknown symbol snd_device_new
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
Have you put the new kernel includes in /usr/include before compiling ALSA?
like this:
$ su
# cd /usr/include
and if asm and linux are symlinks:
# rm asm
# rm linux
else:
# rm -rf asm
# rm -rf linux
below, replace /usr/src/linux with the path to the kernel source and asm-i386 with what the symlink called asm is pointing to.
# ln -s /usr/src/linux/include/asm-i386 asm
# ln -s /usr/src/linux/include/linux linux
I didn't done that. But the files on /usr/include/sound have as date the date I compiled ALSA. I think that when you compile ALSA it use his own headers files and then install them in /usr/include/sound.
No, these headers are mainly from the alsa-lib package, which is a module of the alsa project, this package contains an userspace library. The programs that wish to use alsa must use theses headers and be linket to this library.
Your problem is not from the alsa-lib package, your problem is with the alsa-driver packeage, the module of the alsa project wich contains the kernel modules (including the soundcard drivers): in order to work on a specific kernel, these modules must be compiled with the headers of that kernel. And believe me, even if alsa-driver uses headers from /usr/include/sound, it wont compile without the kernel headers.
I do that. Erase asm and soud from /usr/include. And then compile again ALSA driver. It was ok. But then I tried to compile alsa-lib and get errors:
In file included from /usr/include/linux/errno.h:4,
from /usr/include/bits/errno.h:25,
from /usr/include/errno.h:36,
from ../../include/local.h:34,
from control_local.h:22,
from cards.c:35:
/usr/include/asm/errno.h:4:31: asm-generic/errno.h: No such file or directory
cards.c: In function `snd_card_next':
cards.c:81: `EINVAL' undeclared (first use in this function)
cards.c:81: (Each undeclared identifier is reported only once
cards.c:81: for each function it appears in.)
cards.c: In function `snd_card_get_index':
cards.c:109: `EINVAL' undeclared (first use in this function)
cards.c:132: `ENODEV' undeclared (first use in this function)
cards.c: In function `snd_card_get_name':
cards.c:148: `EINVAL' undeclared (first use in this function)
cards.c:158: `ENOMEM' undeclared (first use in this function)
cards.c: In function `snd_card_get_longname':
cards.c:175: `EINVAL' undeclared (first use in this function)
cards.c:185: `ENOMEM' undeclared (first use in this function)
make[2]: *** [cards.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
I have solved the compile error. I have to make symbolic links to others folders like /usr/src/linux/include/asm-generic and /usr/src/linux/include/linux.
Now alsa-lib compile and alsa-utils, but where i do modprobe snd_emu10k1 i get the same error. Like the first post.
After compile again the driver the erros were the same.
Then i saw that when i done make install it produce a warning. I have to change options in /etc/modprobe.conf. I have done that an now I'm writing and listening music
Excellent - congrats pike on solving the problem and thanks for posting back with the solution that worked for you. That will be very helpful to future readers who may have the same question. Naturally thanks to everyone who offered advice/guidance -- J.W.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.