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 04-21-2004, 09:34 AM   #1
mr_mandrill
Member
 
Registered: Aug 2002
Location: UK
Distribution: Slackware 8.1
Posts: 74

Rep: Reputation: 15
Sound stops after kernel compile


Using Slack 9.1 was impressed as alsa detects audigy card from beginning (albeit in a muted state).

However once I've recompiled and customised the kernel slightly, sound doesen't work, nothing in dmesg.

I've read that you need to re-install alsa after every kernel compile... why?

THis seems to have no effect, no modules are loaded, alsaconf can detect nothing. I'm at a loss....
 
Old 04-21-2004, 10:57 AM   #2
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
Well, My guess would be that you changed some sound options in the kernel.... Maybe you didn't... It is a newer kernel? If so then your old modules probably won't work... I'm thinking that everything get's replaced in /lib/modules/uname -a with each recompile.... I always delete that folder before I recompile so I know why I have to reinstall alsa... Sorry for the vaugeness, I just don't know in your case. alsa-driver is the package that creates all the sound modules which are placed into /lib/modules/uname -a...... I would take this opportunity to upgrade all of your alsa packages to 1.0.4...... They have sound card specific install instructions on their web site. They'll give you a specific ./configure switch that indicates your card.... Since alsa-driver makes all the sound modules, I always just select the very top level sound support option in the kernel and thats it.... No need to pick support for your individual card in the kernel if your using the alsa packages.... I always recompile about every week or two so I used checkinstall to make my own slak-pak. I leave it in my home folder so I can just removepkg and then installpkg whenever I recompile.... Hope this helps...

http://www.alsa-project.org/alsa-doc...ve_Labs#matrix

Last edited by jong357; 04-21-2004 at 11:00 AM.
 
Old 04-21-2004, 09:20 PM   #3
garbagedisposal
LQ Newbie
 
Registered: Jan 2004
Posts: 8

Rep: Reputation: 0
Re: Sound stops after kernel compile

Quote:
Originally posted by mr_mandrill
Using Slack 9.1 was impressed as alsa detects audigy card from beginning (albeit in a muted state).

However once I've recompiled and customised the kernel slightly, sound doesen't work, nothing in dmesg.

I've read that you need to re-install alsa after every kernel compile... why?

THis seems to have no effect, no modules are loaded, alsaconf can detect nothing. I'm at a loss....
I had something like this after upgrading to current from a clean 9.1.
I tried installing kernel-2.6.5, no good.

After much hair tearing I went into /usr/src/linux-2.6.5/scripts & ran MAKEDEV.snd

This set the symlinks for sound correctly & now it works (alsaconf is still baffled about it all )

I read that KDE 3.2.2 has some arts bug fixes.

Last edited by garbagedisposal; 04-21-2004 at 09:22 PM.
 
Old 04-21-2004, 09:37 PM   #4
Nichole_knc
Member
 
Registered: Mar 2004
Location: Georgia
Distribution: SlackWare 10.1+, FreeBSD 4.4-5.2, Amiga 1.3,2.1,3.1, Windors XP Pro (makes a fair answering machine)
Posts: 287

Rep: Reputation: 30
This is a common problem here at the forum..

When you recompile the Kernel and you are using alsa you MUST NOT add your sound card to the kernel.

During your make *config session for the kernel under the sound section you should only answer (y) to the first question "Enable sound support". all others should be (m) or (n) as required.

Once you have made your new kernel and install it and the modules you will have to reinstall alsa as the modules overwrote the /lib/modules/kernel# alsa files...

once you have done this run:
alsamixer
alsaconf store
and you should be good to go...

If you search the forum there is a much more detailed account of this I have written before....
 
Old 04-21-2004, 10:29 PM   #5
garbagedisposal
LQ Newbie
 
Registered: Jan 2004
Posts: 8

Rep: Reputation: 0
Quote:
Originally posted by Nichole_knc
This is a common problem here at the forum..

When you recompile the Kernel and you are using alsa you MUST NOT add your sound card to the kernel.

During your make *config session for the kernel under the sound section you should only answer (y) to the first question "Enable sound support". all others should be (m) or (n) as required.

Once you have made your new kernel and install it and the modules you will have to reinstall alsa as the modules overwrote the /lib/modules/kernel# alsa files...

once you have done this run:
alsamixer
alsaconf store
and you should be good to go...

If you search the forum there is a much more detailed account of this I have written before....
Cool thanks for the tip!
 
Old 04-21-2004, 10:34 PM   #6
Ninja Cow
Member
 
Registered: May 2003
Location: Pensacola, Florida
Distribution: Debian, Slackware, Amigo, Ubuntu
Posts: 221

Rep: Reputation: 30
I had this problem myself. I know someone said not to compile your card into the kernel, but it worked for me...

I also use a Soundblaster Live card.
 
  


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
SiS on board sound stops working when upgrading alsa? + kernel question? mr.gizm0 Linux - Software 3 03-21-2005 10:46 AM
no sound after 2.6.9 kernel compile necbrownie Slackware 4 11-04-2004 04:22 PM
sound card stops working after compile kernel 2.6.3 Gijet Red Hat 3 03-09-2004 09:39 AM
sound after kernel compile e1000 Slackware 5 10-24-2003 12:54 PM
Kernel compile stops on this message...what to do? zLinuxz Linux - General 1 09-10-2002 01:14 AM

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

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