LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-09-2006, 05:52 AM   #1
scribble
LQ Newbie
 
Registered: Jul 2004
Location: Perth, W.A
Distribution: Slackware Current
Posts: 17

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




Thanks for your time,
Scribble
 
Old 04-09-2006, 06:19 AM   #2
cathectic
Member
 
Registered: Sep 2004
Location: UK, Europe
Distribution: Slackware64
Posts: 761

Rep: Reputation: 35
-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.
 
Old 04-09-2006, 06:25 AM   #3
scribble
LQ Newbie
 
Registered: Jul 2004
Location: Perth, W.A
Distribution: Slackware Current
Posts: 17

Original Poster
Rep: Reputation: 0
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!!
 
Old 04-09-2006, 06:58 AM   #4
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

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

Last edited by Alien_Hominid; 04-09-2006 at 06:59 AM.
 
Old 04-09-2006, 07:12 AM   #5
scribble
LQ Newbie
 
Registered: Jul 2004
Location: Perth, W.A
Distribution: Slackware Current
Posts: 17

Original Poster
Rep: Reputation: 0
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?
 
Old 04-09-2006, 07:23 AM   #6
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
There is command upgradepkg which will upgrade package if you only have it installed.
 
Old 04-09-2006, 07:36 AM   #7
scribble
LQ Newbie
 
Registered: Jul 2004
Location: Perth, W.A
Distribution: Slackware Current
Posts: 17

Original Poster
Rep: Reputation: 0
Will that also upgrade my kernal? so it's kinda like a fresh 10.2 install?


Thanks for your time
 
Old 04-09-2006, 07:40 AM   #8
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
With this you could select which package to upgrade and which leave untouched.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Loading module compiled on differenet version in 2.6 kernel shrey_j Programming 8 09-04-2006 08:03 AM
couldn't find the kernel version the module was compiled for darai Linux - Newbie 1 09-12-2004 04:47 PM
couldn't find the kernel version the module was compiled for darai Linux - General 2 09-12-2004 02:56 PM
couldn't find the kernel version the module was compiled for famewolf Linux - Software 0 03-21-2004 09:52 PM
Couldn't find the kernel version the module was compiled for iannou Linux - General 2 06-27-2003 08:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:33 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