Slackware This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
![Reply](https://www.linuxquestions.org/questions/images/buttons/reply.gif) |
|
05-01-2006, 07:02 PM
|
#1
|
LQ Newbie
Registered: Apr 2004
Location: Glasgow, Scotland.
Distribution: Slackware
Posts: 8
Rep:
|
Alsa woes, slackware 10.2
Code:
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
|
|
|
05-01-2006, 08:19 PM
|
#2
|
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,815
|
from the error messages, it seems that you are using different GCC. I also experienced this once, so i usually used the latest GCC in -current.
|
|
|
05-01-2006, 10:06 PM
|
#3
|
Senior Member
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191
Rep:
|
Quote:
WARNING: Error inserting soundcore
|
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**
Last edited by drkstr; 05-01-2006 at 10:07 PM.
|
|
|
05-02-2006, 10:27 AM
|
#4
|
LQ Newbie
Registered: Apr 2004
Location: Glasgow, Scotland.
Distribution: Slackware
Posts: 8
Original Poster
Rep:
|
Quote:
Originally Posted by willysr
from the error messages, it seems that you are using different GCC. I also experienced this once, so i usually used the latest GCC in -current.
|
Every other module compiled at the same time works perfectly, I think this is ALSA specific.
|
|
|
05-02-2006, 10:35 AM
|
#5
|
LQ Newbie
Registered: Apr 2004
Location: Glasgow, Scotland.
Distribution: Slackware
Posts: 8
Original Poster
Rep:
|
Quote:
Originally Posted by drkstr
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)
Thanks to everyone who is reading this/replying.
|
|
|
05-02-2006, 11:56 AM
|
#6
|
Senior Member
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191
Rep:
|
Quote:
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)
regards,
...drkstr
|
|
|
05-02-2006, 12:16 PM
|
#7
|
LQ Newbie
Registered: Apr 2004
Location: Glasgow, Scotland.
Distribution: Slackware
Posts: 8
Original Poster
Rep:
|
make modules_install just moves the modules themselves to /lib/modules/$KERNEL_VERSION
depmod makes a modules.dep file (dependancies) and maps where each module is in /lib/modules/$KERNEL_VERSION
modprobe then reads modules.dep and does the actual job of loading them to the kernel.
Anyway, back on-topic.
lspci -v
00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] Sound Controller (rev a0)
Subsystem: Silicon Integrated Systems [SiS] Sound Controller
Flags: bus master, medium devsel, latency 64, IRQ 10
I/O ports at dc00 [size=256]
I/O ports at d800 [size=128]
Capabilities: [48] Power Management version 2
No point posting lsmod as that is where the problem occurs. No sound modules will load.
For example: modprobe snd
FATAL: Error inserting snd (/lib/modules/2.6.16.11/kernel/sound/acore/snd.ko): Invalid module format
It gets weirder every other module type (crypto, network & filesystem) all load and run perfectly.
|
|
|
05-02-2006, 12:26 PM
|
#8
|
Member
Registered: Apr 2005
Location: Havant, Hampshire, UK
Distribution: Slamd64, Slackware, PS2Linux
Posts: 465
Rep:
|
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.
- Piete.
|
|
|
05-02-2006, 12:47 PM
|
#9
|
LQ Newbie
Registered: Apr 2004
Location: Glasgow, Scotland.
Distribution: Slackware
Posts: 8
Original Poster
Rep:
|
Appears my .config is too big to fit in a single post.
I've uploaded it here instead: http://www.freewebs.com/jordanhill/kernel%5Fconfig.txt
Just removed the standard slackware alsa drivers with pkgtool, will post when I see the results of a re-compile :P
|
|
|
05-02-2006, 01:05 PM
|
#10
|
Member
Registered: Apr 2005
Location: Havant, Hampshire, UK
Distribution: Slamd64, Slackware, PS2Linux
Posts: 465
Rep:
|
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 =)
|
|
|
05-02-2006, 01:15 PM
|
#11
|
LQ Newbie
Registered: Apr 2004
Location: Glasgow, Scotland.
Distribution: Slackware
Posts: 8
Original Poster
Rep:
|
Quote:
Originally Posted by piete
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.
|
|
|
05-02-2006, 01:16 PM
|
#12
|
Senior Member
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191
Rep:
|
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.
regards,
...drkstr
|
|
|
05-02-2006, 01:19 PM
|
#13
|
LQ Newbie
Registered: Apr 2004
Location: Glasgow, Scotland.
Distribution: Slackware
Posts: 8
Original Poster
Rep:
|
Quote:
Originally Posted by drkstr
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.
regards,
...drkstr
|
Well at least I don't have to recompile again.
|
|
|
05-02-2006, 02:49 PM
|
#14
|
Senior Member
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191
Rep:
|
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
This will allow for OSS compatablity in ALSA.
regards,
...drkstr
|
|
|
05-03-2006, 12:59 AM
|
#15
|
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,815
|
i usually left OSS and use ALSA instead, as Shilo's guidance
have you upgraded your alsa-* packages? (alsa-lib, alsa-utils, alsa-oss)?
|
|
|
All times are GMT -5. The time now is 05:33 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|