LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Slackware current: couldn't find the kernel version the module was compiled for (https://www.linuxquestions.org/questions/slackware-14/slackware-current-couldnt-find-the-kernel-version-the-module-was-compiled-for-433288/)

scribble 04-09-2006 05:52 AM

Slackware current: couldn't find the kernel version the module was compiled for
 
Hi,

Currently running slackware current with kernel 2.4.26. Gigabyte GA-7VRXP with VIA KT333 chipset and on-board sound card Ensoniq 5880 AudioPCI (rev 04). I follow the installation directions found on the ALSA project site to the T.

When i get to the point of inserting the modules with the following command:

modprobe snd-ens1371;modprobe snd-pcm-oss;modprobe snd-mixer-oss;modprobe snd-seq-oss

It returns the error message of:

root@Slack:/usr/src/alsa/alsa-utils-1.0.10# modprobe snd-ens1371
/lib/modules/2.4.26/kernel/sound/acore/snd-page-alloc.o: couldn't find the kernel version the module was compiled for
/lib/modules/2.4.26/kernel/sound/acore/snd-page-alloc.o: insmod /lib/modules/2.4.26/kernel/sound/acore/snd-page-alloc.o failed
/lib/modules/2.4.26/kernel/sound/acore/snd-page-alloc.o: insmod snd-ens1371 failed

For all the modules.

Can anyone help me out here? because i really like slackware but need the sound working, would be a shame to have to change distro's again :cry:




Thanks for your time,
Scribble

cathectic 04-09-2006 06:19 AM

-current does not use 2.4.26 though, IIRC that's 10.2?

If you want Alsa, you will need to either install the 10.2 ALSA packages, or roll your own copy (if you're getting a version mismatch, from what you're saying this means you probably haven't built and installed your own Alsa correctly - the easiest way to build Alsa on Slackware is to use Pat's SlackBuild script for the job).

Also, which instructions were you following? Without a link to them, we can't see what you've actually done so far.

scribble 04-09-2006 06:25 AM

http://www.alsa-project.org/alsa-doc...module=ens1371

Are the instructions i used.

I just use swaret to update my distro using the "current" file lists. I will try to find this Pat's script and give that a shot. Cheers!!

Alien_Hominid 04-09-2006 06:58 AM

Download stable kernel from 10.2 (if I remember correctly 2.4.31), and alsa from 10.2. This would work without recompiling anything because alsa modules were compiled specifically for this kernel. Otherwise recompile alsa which you have for your specific 2.4.26 kernel.

And, BTW, you shouldn't upgrade alsa from current anyway. It's not recommended due to to the necessary recompile after upgrade. It's not very good to have some packages from current while leaving others very old.

scribble 04-09-2006 07:12 AM

Ok im downloading the 10.2 ISO's now. Bit of a n00b question but is there an option to "upgrade"? so i can install without loseing all my data?

Alien_Hominid 04-09-2006 07:23 AM

There is command upgradepkg which will upgrade package if you only have it installed.

scribble 04-09-2006 07:36 AM

Will that also upgrade my kernal? so it's kinda like a fresh 10.2 install?


Thanks for your time

Alien_Hominid 04-09-2006 07:40 AM

With this you could select which package to upgrade and which leave untouched.


All times are GMT -5. The time now is 03:13 PM.