LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-26-2005, 05:46 PM   #1
Soulstealer
Member
 
Registered: Dec 2004
Location: Necropolis
Distribution: FreeBSD
Posts: 47

Rep: Reputation: 15
Question snd-* modules disappeared after kernel recompile


Hello...
I've just installed Slackware 10.1 with 2.4.29
and everything was fine
but I recompiled the kernel with patch for TTL target support
and when I boot my new kernel I realized that all my snd modules are gone, so ALSA can't work
Can anyone tell me how can I solve this ?
 
Old 03-26-2005, 08:33 PM   #2
mjmwired
Member
 
Registered: Apr 2004
Distribution: CentOS6, CentOS5, F16, F15, Ubuntu, OpenSuse
Posts: 620

Rep: Reputation: 39
Just an idea:

Alsa does not come with the 2.4 kernel. So if you recompile the kernel, don't you also have to recompile the alsa-drivers package?
 
Old 03-26-2005, 09:58 PM   #3
endfx
Member
 
Registered: May 2003
Location: Canada
Distribution: Debian
Posts: 105

Rep: Reputation: 15
mjmwired is correct.

Slackware can be a pain in the ass to get the sound working again after a recompile.
I've had the exact problem you are having for a long time before I figured it out.
The best solution: When you first install slackware, use the 2.6 kernel (this is available in slack 10.1).
Now when you recompile (version 2.6 kernel) you will have a fresh copy of alsa and the necessary sound drivers.

Second best solution:
If you don't want to reinstall slackware, but you still want to recompile, use a 2.6 kernel.
However, be warned that some people have experienced problems with conflicting ALSA installations.

The reason is, slackware with kernel 2.4.* and below installs ALSA even though it isn't provided in the 2.4.* kernel. Now when you recompile a 2.6 kernel, ALSA is included with the kernel compile. So you'll have 2 ALSAs on the system.

So if you recompile a 2.6 kernel to replace a 2.4, you might get some conflicts with having 2 diff ALSA installations. But if you have a 2.6 kernel to start with, you'll have no problems recompiling a 2.6 kernel, which is why I recommend installing slack 10.1 with the 2.6 kernel.

Sounds confusing, I know.
In short, if you are using alsa, just stick with 2.6 kernel, you'll be fine.
ALSA + 2.4 can lead to major confusion
 
Old 03-27-2005, 09:47 AM   #4
Soulstealer
Member
 
Registered: Dec 2004
Location: Necropolis
Distribution: FreeBSD
Posts: 47

Original Poster
Rep: Reputation: 15
Thank you guys
I have kernel 2.6.11 too, and I have no problems with the snd modules with it. But I don't use 2.6.11 because I can't get the dmfe module so my NIC doesn't work
in the config file I couldn't find support for Davicom ethers (dmfe module). If someone can tell me how to get the dmfe I'll be thankful
I prefer 2.4.29 for now, but I don't know what is that thing "alsa-drivers package" and where to find it. In the slackware packages there are only alsa-utils and alsa-lib packages, where is this alsa-drivers and where can I find it
 
Old 03-27-2005, 11:03 AM   #5
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
There were davicom drivers in the 2.6.11.5 kernel, but whether they're the ones you need, I'm not sure.
 
Old 03-27-2005, 01:43 PM   #6
Soulstealer
Member
 
Registered: Dec 2004
Location: Necropolis
Distribution: FreeBSD
Posts: 47

Original Poster
Rep: Reputation: 15
Yeah, I need Davicom.
What's the difference between 2.6.11 and 2.6.11.5 ?
And do you know any about the alsa-drivers ?
 
Old 03-27-2005, 02:47 PM   #7
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
Quote:
Originally posted by Soulstealer
Yeah, I need Davicom.
What's the difference between 2.6.11 and 2.6.11.5 ?
And do you know any about the alsa-drivers ?
They can be compiled into the 2.6.11 kernel.

2.6.11.5 is just a revision of the 2.6.11 kernel with a few bug fixes / minor updates. I compiled mine a few days ago. I last tried 2.6 at 2.6.8 but it didn't support everything I needed.
 
Old 03-27-2005, 02:48 PM   #8
Soulstealer
Member
 
Registered: Dec 2004
Location: Necropolis
Distribution: FreeBSD
Posts: 47

Original Poster
Rep: Reputation: 15
OK I got it
The answer was in alsa-project.org
sorry for my lameness

thank you
 
  


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
Modules problems after kernel recompile (2.6.9) magoseitor Linux - Software 2 02-20-2005 12:12 AM
Kernel Recompile Filesystem modules ftgow Linux - Software 2 08-25-2003 01:46 AM
lost modules after kernel recompile ArnaudVR Slackware 2 07-07-2003 03:41 PM
need to recompile modules if i add something to kernel option? doublefailure Linux - General 1 03-05-2003 10:31 PM
Kernel Recompile missing library modules Bear Linux - Software 4 03-26-2002 05:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:37 PM.

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