SlackwareThis Forum is for the discussion of Slackware Linux.
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.
uname -r
2.6.16.11
cat /proc/asound/cards
0 [SI7012 ]: ICH - SiS SI7012
SiS SI7012 with ALC101 at 0xdc00, irq 10
I'll run you through what I did first..
I'm using my own compiled kernel so I set ALSA to be compiled as a module, as well as the specific option for my card (SND_INTEL8X0), everything goes well.
Then I run alsaconf which detects my card correctly and also produces no error messages. After I reboot no modules have been loaded so I try manually by doing: modprobe snd which gives the error:
Code:
WARNING: Error inserting soundcore (/lib/modules/2.6.16.11/kernel/sound/soundcore.ko): Invalid module format
FATAL: Error inserting snd (/lib/modules/2.6.16.11/kernel/sound/core/snd.ko): Invalid module format
The I try running rc.alsa ..
Code:
Loading ALSA mixer settings: /usr/sbin/alsactl restore
Loading OSS compatibility modules for ALSA.
WARNING: Error inserting soundcore (/lib/modules/2.6.16.11/kernel/sound/soundcore.ko): Invalid module format
WARNING: Error inserting snd (/lib/modules/2.6.16.11/kernel/sound/core/snd.ko): Invalid module format
WARNING: Error inserting snd_mixer_oss (/lib/modules/2.6.16.11/kernel/sound/core/oss/snd-mixer-oss.ko): Invalid module format
WARNING: Error inserting snd_page_alloc (/lib/modules/2.6.16.11/kernel/sound/core/snd-page-alloc.ko): Invalid module format
WARNING: Error inserting snd_timer (/lib/modules/2.6.16.11/kernel/sound/core/snd-timer.ko): Invalid module format
WARNING: Error inserting snd_pcm (/lib/modules/2.6.16.11/kernel/sound/core/snd-pcm.ko): Invalid module format
WARNING: Error inserting soundcore (/lib/modules/2.6.16.11/kernel/sound/soundcore.ko): Invalid module format
WARNING: Error inserting snd (/lib/modules/2.6.16.11/kernel/sound/core/snd.ko): Invalid module format
FATAL: Error inserting snd_mixer_oss (/lib/modules/2.6.16.11/kernel/sound/core/oss/snd-mixer-oss.ko): Invalid module format
Native sound support must be compiled as a module in order to use alsaconf. Recompile your kernel and during the configuration, turn anything you need that is related to sound into a module, then run alsaconf and alsamixer again. This should solve the problem.
regards,
...drkstr
**edit**
also, make sure you install the slackware alsa package from the testing/linux-2.6* section in slackware current. The Alsa drivers that come with Slackware as default are for the 2.4 kernel.
**edit**
Native sound support must be compiled as a module in order to use alsaconf. Recompile your kernel and during the configuration, turn anything you need that is related to sound into a module, then run alsaconf and alsamixer again. This should solve the problem.
It was turned on, though I can understand why you might think it wasn't from my post (My excuse is it was late at night :P).
Quote:
Originally Posted by drkstr
**edit**
also, make sure you install the slackware alsa package from the testing/linux-2.6* section in slackware current. The Alsa drivers that come with Slackware as default are for the 2.4 kernel.
**edit**
I won't need these as I am compiling them myself from the kernel source?
=------------
I'll post the error messages from dmesg - which I should have done at the start. Warning *LONG*.
Code:
snd_page_alloc: exports duplicate symbol snd_dma_alloc_pages (owned by kernel)
soundcore: exports duplicate symbol sound_class (owned by kernel)
snd: exports duplicate symbol snd_major (owned by kernel)
snd_timer: exports duplicate symbol snd_timer_open (owned by kernel)
snd_pcm: exports duplicate symbol snd_pcm_new (owned by kernel)
snd_ac97_bus: exports duplicate symbol ac97_bus_type (owned by kernel)
snd_ac97_codec: exports duplicate symbol snd_ac97_write (owned by kernel)
kobject_register failed for snd_intel8x0 (-17)
[<c01e92ed>] kobject_register+0x49/0x69
[<c01301b7>] mod_sysfs_setup+0x54/0x9a
[<c01312eb>] load_module+0x79a/0xa65
[<c013162e>] sys_init_module+0x55/0x170
[<c0102f1d>] syscall_call+0x7/0xb
snd_page_alloc: exports duplicate symbol snd_dma_alloc_pages (owned by kernel)
soundcore: exports duplicate symbol sound_class (owned by kernel)
snd: exports duplicate symbol snd_major (owned by kernel)
snd_timer: exports duplicate symbol snd_timer_open (owned by kernel)
snd_pcm: exports duplicate symbol snd_pcm_new (owned by kernel)
snd_ac97_bus: exports duplicate symbol ac97_bus_type (owned by kernel)
snd_ac97_codec: exports duplicate symbol snd_ac97_write (owned by kernel)
kobject_register failed for snd_intel8x0 (-17)
[<c01e92ed>] kobject_register+0x49/0x69
[<c01301b7>] mod_sysfs_setup+0x54/0x9a
[<c01312eb>] load_module+0x79a/0xa65
[<c013162e>] sys_init_module+0x55/0x170
[<c0102f1d>] syscall_call+0x7/0xb
snd_page_alloc: exports duplicate symbol snd_dma_alloc_pages (owned by kernel)
soundcore: exports duplicate symbol sound_class (owned by kernel)
snd: exports duplicate symbol snd_major (owned by kernel)
snd_timer: exports duplicate symbol snd_timer_open (owned by kernel)
snd_pcm: exports duplicate symbol snd_pcm_new (owned by kernel)
snd_ac97_bus: exports duplicate symbol ac97_bus_type (owned by kernel)
snd_ac97_codec: exports duplicate symbol snd_ac97_write (owned by kernel)
kobject_register failed for snd_intel8x0 (-17)
[<c01e92ed>] kobject_register+0x49/0x69
[<c01301b7>] mod_sysfs_setup+0x54/0x9a
[<c01312eb>] load_module+0x79a/0xa65
[<c013162e>] sys_init_module+0x55/0x170
[<c0102f1d>] syscall_call+0x7/0xb
snd_page_alloc: exports duplicate symbol snd_dma_alloc_pages (owned by kernel)
soundcore: exports duplicate symbol sound_class (owned by kernel)
snd: exports duplicate symbol snd_major (owned by kernel)
snd_timer: exports duplicate symbol snd_timer_open (owned by kernel)
snd_pcm: exports duplicate symbol snd_pcm_new (owned by kernel)
snd_ac97_bus: exports duplicate symbol ac97_bus_type (owned by kernel)
snd_ac97_codec: exports duplicate symbol snd_ac97_write (owned by kernel)
kobject_register failed for snd_intel8x0 (-17)
[<c01e92ed>] kobject_register+0x49/0x69
[<c01301b7>] mod_sysfs_setup+0x54/0x9a
[<c01312eb>] load_module+0x79a/0xa65
[<c013162e>] sys_init_module+0x55/0x170
[<c0102f1d>] syscall_call+0x7/0xb
snd_page_alloc: exports duplicate symbol snd_dma_alloc_pages (owned by kernel)
soundcore: exports duplicate symbol sound_class (owned by kernel)
snd: exports duplicate symbol snd_major (owned by kernel)
snd_timer: exports duplicate symbol snd_timer_open (owned by kernel)
snd_pcm: exports duplicate symbol snd_pcm_new (owned by kernel)
snd_ac97_bus: exports duplicate symbol ac97_bus_type (owned by kernel)
snd_ac97_codec: exports duplicate symbol snd_ac97_write (owned by kernel)
kobject_register failed for snd_intel8x0 (-17)
[<c01e92ed>] kobject_register+0x49/0x69
[<c01301b7>] mod_sysfs_setup+0x54/0x9a
[<c01312eb>] load_module+0x79a/0xa65
[<c013162e>] sys_init_module+0x55/0x170
[<c0102f1d>] syscall_call+0x7/0xb
snd_page_alloc: exports duplicate symbol snd_dma_alloc_pages (owned by kernel)
soundcore: exports duplicate symbol sound_class (owned by kernel)
snd: exports duplicate symbol snd_major (owned by kernel)
snd_timer: exports duplicate symbol snd_timer_open (owned by kernel)
snd_pcm: exports duplicate symbol snd_pcm_new (owned by kernel)
snd_ac97_bus: exports duplicate symbol ac97_bus_type (owned by kernel)
snd_ac97_codec: exports duplicate symbol snd_ac97_write (owned by kernel)
kobject_register failed for snd_intel8x0 (-17)
[<c01e92ed>] kobject_register+0x49/0x69
[<c01301b7>] mod_sysfs_setup+0x54/0x9a
[<c01312eb>] load_module+0x79a/0xa65
[<c013162e>] sys_init_module+0x55/0x170
[<c0102f1d>] syscall_call+0x7/0xb
snd_page_alloc: exports duplicate symbol snd_dma_alloc_pages (owned by kernel)
soundcore: exports duplicate symbol sound_class (owned by kernel)
snd: exports duplicate symbol snd_major (owned by kernel)
snd_timer: exports duplicate symbol snd_timer_open (owned by kernel)
snd_pcm: exports duplicate symbol snd_pcm_new (owned by kernel)
snd_ac97_bus: exports duplicate symbol ac97_bus_type (owned by kernel)
snd_ac97_codec: exports duplicate symbol snd_ac97_write (owned by kernel)
kobject_register failed for snd_intel8x0 (-17)
[<c01e92ed>] kobject_register+0x49/0x69
[<c01301b7>] mod_sysfs_setup+0x54/0x9a
[<c01312eb>] load_module+0x79a/0xa65
[<c013162e>] sys_init_module+0x55/0x170
[<c0102f1d>] syscall_call+0x7/0xb
snd_page_alloc: exports duplicate symbol snd_dma_alloc_pages (owned by kernel)
soundcore: exports duplicate symbol sound_class (owned by kernel)
snd: exports duplicate symbol snd_major (owned by kernel)
snd_timer: exports duplicate symbol snd_timer_open (owned by kernel)
snd_pcm: exports duplicate symbol snd_pcm_new (owned by kernel)
snd_ac97_bus: exports duplicate symbol ac97_bus_type (owned by kernel)
snd_ac97_codec: exports duplicate symbol snd_ac97_write (owned by kernel)
kobject_register failed for snd_intel8x0 (-17)
[<c01e92ed>] kobject_register+0x49/0x69
[<c01301b7>] mod_sysfs_setup+0x54/0x9a
[<c01312eb>] load_module+0x79a/0xa65
[<c013162e>] sys_init_module+0x55/0x170
[<c0102f1d>] syscall_call+0x7/0xb
snd_page_alloc: exports duplicate symbol snd_dma_alloc_pages (owned by kernel)
soundcore: exports duplicate symbol sound_class (owned by kernel)
snd: exports duplicate symbol snd_major (owned by kernel)
snd_timer: exports duplicate symbol snd_timer_open (owned by kernel)
snd_pcm: exports duplicate symbol snd_pcm_new (owned by kernel)
snd_ac97_bus: exports duplicate symbol ac97_bus_type (owned by kernel)
snd_ac97_codec: exports duplicate symbol snd_ac97_write (owned by kernel)
kobject_register failed for snd_intel8x0 (-17)
[<c01e92ed>] kobject_register+0x49/0x69
[<c01301b7>] mod_sysfs_setup+0x54/0x9a
[<c01312eb>] load_module+0x79a/0xa65
[<c013162e>] sys_init_module+0x55/0x170
[<c0102f1d>] syscall_call+0x7/0xb
snd_page_alloc: exports duplicate symbol snd_dma_alloc_pages (owned by kernel)
soundcore: exports duplicate symbol sound_class (owned by kernel)
snd: exports duplicate symbol snd_major (owned by kernel)
snd_timer: exports duplicate symbol snd_timer_open (owned by kernel)
snd_pcm: exports duplicate symbol snd_pcm_new (owned by kernel)
snd_ac97_bus: exports duplicate symbol ac97_bus_type (owned by kernel)
snd_ac97_codec: exports duplicate symbol snd_ac97_write (owned by kernel)
kobject_register failed for snd_intel8x0 (-17)
[<c01e92ed>] kobject_register+0x49/0x69
[<c01301b7>] mod_sysfs_setup+0x54/0x9a
[<c01312eb>] load_module+0x79a/0xa65
[<c013162e>] sys_init_module+0x55/0x170
[<c0102f1d>] syscall_call+0x7/0xb
snd_page_alloc: exports duplicate symbol snd_dma_alloc_pages (owned by kernel)
soundcore: exports duplicate symbol sound_class (owned by kernel)
snd: exports duplicate symbol snd_major (owned by kernel)
snd_timer: exports duplicate symbol snd_timer_open (owned by kernel)
snd_pcm: exports duplicate symbol snd_pcm_new (owned by kernel)
snd_ac97_bus: exports duplicate symbol ac97_bus_type (owned by kernel)
snd_ac97_codec: exports duplicate symbol snd_ac97_write (owned by kernel)
kobject_register failed for snd_intel8x0 (-17)
[<c01e92ed>] kobject_register+0x49/0x69
[<c01301b7>] mod_sysfs_setup+0x54/0x9a
[<c01312eb>] load_module+0x79a/0xa65
[<c013162e>] sys_init_module+0x55/0x170
[<c0102f1d>] syscall_call+0x7/0xb
snd_page_alloc: exports duplicate symbol snd_dma_alloc_pages (owned by kernel)
soundcore: exports duplicate symbol sound_class (owned by kernel)
snd: exports duplicate symbol snd_major (owned by kernel)
snd_timer: exports duplicate symbol snd_timer_open (owned by kernel)
snd_pcm: exports duplicate symbol snd_pcm_new (owned by kernel)
snd_ac97_bus: exports duplicate symbol ac97_bus_type (owned by kernel)
snd_ac97_codec: exports duplicate symbol snd_ac97_write (owned by kernel)
kobject_register failed for snd_intel8x0 (-17)
[<c01e92ed>] kobject_register+0x49/0x69
[<c01301b7>] mod_sysfs_setup+0x54/0x9a
[<c01312eb>] load_module+0x79a/0xa65
[<c013162e>] sys_init_module+0x55/0x170
[<c0102f1d>] syscall_call+0x7/0xb
soundcore: exports duplicate symbol sound_class (owned by kernel)
snd: exports duplicate symbol snd_major (owned by kernel)
snd_mixer_oss: exports duplicate symbol snd_mixer_oss_ioctl_card (owned by kernel)
snd_page_alloc: exports duplicate symbol snd_dma_alloc_pages (owned by kernel)
snd_timer: exports duplicate symbol snd_timer_open (owned by kernel)
snd_pcm: exports duplicate symbol snd_pcm_new (owned by kernel)
kobject_register failed for snd_pcm_oss (-17)
[<c01e92ed>] kobject_register+0x49/0x69
[<c01301b7>] mod_sysfs_setup+0x54/0x9a
[<c01312eb>] load_module+0x79a/0xa65
[<c013162e>] sys_init_module+0x55/0x170
[<c0102f1d>] syscall_call+0x7/0xb
soundcore: exports duplicate symbol sound_class (owned by kernel)
snd: exports duplicate symbol snd_major (owned by kernel)
snd_mixer_oss: exports duplicate symbol snd_mixer_oss_ioctl_card (owned by kernel)
soundcore: exports duplicate symbol sound_class (owned by kernel)
snd: exports duplicate symbol snd_major (owned by kernel)
snd_mixer_oss: exports duplicate symbol snd_mixer_oss_ioctl_card (owned by kernel)
soundcore: exports duplicate symbol sound_class (owned by kernel)
snd: exports duplicate symbol snd_major (owned by kernel)
snd_mixer_oss: exports duplicate symbol snd_mixer_oss_ioctl_card (owned by kernel)
I won't need these as I am compiling them myself from the kernel source?
You could be right, however I belive the kernel allows support for alsa while the alsa package is the actual core program/driver whatever you want to call it. I had to install this to get alsa working on my SLackware box with 2.6 kernel. Also, you are getting a lot of errors like:
snd_page_alloc: exports duplicate symbol snd_dma_alloc_pages (owned by kernel)
Are you trying to load these modules manually with modprob or some other method. I'm not an expert on the kernel but I belive when you do 'make modules_install' during your kernel compile, it will see all your kernel modules to load automatically and they do not need to be called any other way.
Can you also post the output of 'lsmod' and 'lspci' (just the sound card part)
Bit of a long shot, but would you be so kind as you post your kernel config? Maybe, just maybe, you've skipped something accidentally?
Also - do you still have the alsa modules installed from the disks? You might want to try removing the Slackware alsa-modules package and rerunning make modules_install.
The most obvious thing I can see is that you have OSS Emulation enabled, but haven't provided any OSS drivers. I don't know what effect this will have on a kernel, I can claim no expertise beyond Poke&ProdIt(tm) =)
The most obvious thing I can see is that you have OSS Emulation enabled, but haven't provided any OSS drivers. I don't know what effect this will have on a kernel, I can claim no expertise beyond Poke&ProdIt(tm) =)
I look forward to seeing the results =)
Removing the stock ALSA drivers had no effect, will disable OSS emulation and recompile the whole thing.
I believe OSS is backward compatible with ALSA. You shouldn't need the core OSS support in the kernel, but make sure you have OSS compatability enabled in the ALSA configuration menu.
I believe OSS is backward compatible with ALSA. You shouldn't need the core OSS support in the kernel, but make sure you have OSS compatability enabled in the ALSA configuration menu.
I ment the ALSA configuration menu in the kernel config, sorry for the confusion. This is usually enabled by default so you probably still don't have to recompile, but you should at least check to make sure. I belive the options are:
<M> Sequencer support
<M> OSS Mixer API
<M> OSS PCM (digital audio) API
<M> OSS Sequencer API
<M> Support old ALSA API
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.