LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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


Reply
  Search this Thread
Old 04-20-2005, 02:28 PM   #1
pike
LQ Newbie
 
Registered: Apr 2005
Posts: 19

Rep: Reputation: 0
Thumbs up problem with sound kernel 2.6.11.7


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


What is happening?

Thanks.

Last edited by pike; 04-21-2005 at 05:23 PM.
 
Old 04-20-2005, 05:05 PM   #2
lvella
LQ Newbie
 
Registered: Nov 2004
Posts: 17

Rep: Reputation: 0
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

Last edited by lvella; 04-21-2005 at 03:59 PM.
 
Old 04-21-2005, 01:10 PM   #3
pike
LQ Newbie
 
Registered: Apr 2005
Posts: 19

Original Poster
Rep: Reputation: 0
asm and sound

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.

Any idea more?
 
Old 04-21-2005, 02:04 PM   #4
lvella
LQ Newbie
 
Registered: Nov 2004
Posts: 17

Rep: Reputation: 0
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.
 
Old 04-21-2005, 03:32 PM   #5
pike
LQ Newbie
 
Registered: Apr 2005
Posts: 19

Original Poster
Rep: Reputation: 0
things are worse

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
 
Old 04-21-2005, 04:05 PM   #6
pike
LQ Newbie
 
Registered: Apr 2005
Posts: 19

Original Poster
Rep: Reputation: 0
compile error solved

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.
 
Old 04-21-2005, 04:08 PM   #7
lvella
LQ Newbie
 
Registered: Nov 2004
Posts: 17

Rep: Reputation: 0
Try this in alsa-driver dir:
# make uninstall
# make clean
# ./configure --with-your-options
# make
# make install

This will rebuild the drivers with the new headers. If you already did this, I can not help.

Last edited by lvella; 04-21-2005 at 04:23 PM.
 
Old 04-21-2005, 05:21 PM   #8
pike
LQ Newbie
 
Registered: Apr 2005
Posts: 19

Original Poster
Rep: Reputation: 0
Thumbs up solved

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

Thanks a lot.
 
Old 04-21-2005, 07:05 PM   #9
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sound problem after kernel upgrade mmarkvillanueva Slackware 16 11-06-2005 04:29 PM
Sound problem with kernel 2.6.11.9 pyromilkman Slackware 12 06-07-2005 03:25 AM
Sound problem after kernel upgrade from 2.4+ 2.6+ PinRojas Linux - Newbie 1 06-03-2005 02:40 PM
2.6 Kernel sound problem Blazarov Linux - Hardware 1 01-17-2005 08:01 AM
Sound problem since kernel compile theonebeyond Linux - General 12 09-22-2004 07:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration