LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 11-26-2006, 03:24 PM   #1
JAKK
Member
 
Registered: Jun 2006
Distribution: Slackware 11
Posts: 92

Rep: Reputation: 15
No sound after compiling new kernel.


Hi. A few days ago,I posted that my new kernel wouldn't load any modules. Well,all of that was my fault for not knowing how to compile a kernel,and I fixed it now,all of the modules load except for the alsa ones. On my old kernel,I used snd-es1938. However,if I try to modprobe that on my new kernel,it says it can't find it. I'm guessing that I just need to somehow copy over the alsa snd modules,but I'm not sure how. Thanks.
 
Old 11-26-2006, 03:46 PM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 64
If modprobe cannot find it then it is either not a module, can be built into the kerenl, or the system.map was not modified after the build. My guess since other modules load then that should not be the problem.

When you say copy over. What do you mean?

Brian
 
Old 11-26-2006, 03:53 PM   #3
tamtam
Member
 
Registered: May 2004
Distribution: Slackware.
Posts: 323

Rep: Reputation: 33
You probably did not choose to load alsa as a module prior to compiling the kernel. You will probably have to install/compile alsa for the kernel
 
Old 11-26-2006, 04:05 PM   #4
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,299

Rep: Reputation: 89
Download the alsa source files and compile them for your new kernel.
 
Old 11-26-2006, 04:55 PM   #5
JAKK
Member
 
Registered: Jun 2006
Distribution: Slackware 11
Posts: 92

Original Poster
Rep: Reputation: 15
Hi. I am using a 2.4 kernel,so I don't think there is an option for alsa in the compile. The default bare.i kernel I used for the slackware installation had them loaded with no problem,so I thought that maybe I just need to copy over the modules from the old kernel directory into the new one. If there is an option for alsa in the 2.4 kernel,I do not know about it. The only reason I'm not using 2.6 is because I have heard it has some issues with pcmcia,which I need because it is on a laptop.
 
Old 11-26-2006, 05:56 PM   #6
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 64
Have no problems using pcmcia on my notebook under any 2.6 kernel I have runned. Current kernel running on the notebook is 2.6.18.3. Never heard of really any. Point me to link of one if you hvae one. Just curious as to why maybe. Maybe the pcmcia controller is the issue.

Brian
 
Old 11-26-2006, 06:00 PM   #7
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,299

Rep: Reputation: 89
Quote:
Originally Posted by JAKK
Hi. I am using a 2.4 kernel,so I don't think there is an option for alsa in the compile. The default bare.i kernel I used for the slackware installation had them loaded with no problem,so I thought that maybe I just need to copy over the modules from the old kernel directory into the new one. If there is an option for alsa in the 2.4 kernel,I do not know about it. The only reason I'm not using 2.6 is because I have heard it has some issues with pcmcia,which I need because it is on a laptop.
1. You can't usually just copy over modules compiled for another kernel.

2. Just download the alsa sources and compile them for your new kernel. Problem solved.
 
Old 11-26-2006, 09:33 PM   #8
JAKK
Member
 
Registered: Jun 2006
Distribution: Slackware 11
Posts: 92

Original Poster
Rep: Reputation: 15
Okay,I didn't realize that the modules couldn't just be copied over. I think I'll have a go at the 2.6 kernel since it's the newest. The thread I saw about the pcmcia problem was actually here,I can't remember where though. If I have issues with the pcmcia,I'll just switch back to 2.4. My last question is if it's wise to switch over to 2.6 because it's newer,I'm not sure if it is considered stable yet. Thanks.
 
Old 11-26-2006, 10:57 PM   #9
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,299

Rep: Reputation: 89
LOL the 2.6 series is quite stable.
 
Old 11-26-2006, 11:53 PM   #10
JAKK
Member
 
Registered: Jun 2006
Distribution: Slackware 11
Posts: 92

Original Poster
Rep: Reputation: 15
EDIT: When I try to do make xconfig,it errors out saying ld: can't find -lfreetype.

EDIT 2: I'm starting a new thread on this because this thread topic was solved.

Last edited by JAKK; 11-27-2006 at 11:09 PM.
 
Old 12-01-2006, 08:25 PM   #11
mr_pink_eyes
LQ Newbie
 
Registered: Dec 2006
Posts: 4

Rep: Reputation: 0
i kind of had the same problems try typing the command alsaconfig, maybe that might work, sorry if this doesnt work, im just started learning linux


oops sorry i didnt see that it was solved
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
No sound after compiling kernel Thora Linux - General 3 04-12-2006 04:27 PM
lost all sound after compiling kernel 2.6.11 TimmyP Linux - Software 2 04-04-2005 03:55 PM
Problem compiling Kernel with sound modules Doleo Programming 3 02-26-2004 11:42 AM
After compiling the 2.6.2 kernel with Debian (sound)... meastp Linux - Hardware 4 02-18-2004 06:26 PM
compiling kernel for sound ronss Slackware 4 06-02-2002 05:09 PM

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

All times are GMT -5. The time now is 05:14 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration