LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 06-15-2005, 01:43 PM   #1
Basel
Member
 
Registered: Feb 2004
Location: United States
Distribution: Ubuntu 10.10
Posts: 319

Rep: Reputation: 30
No sound modules after compiling kernel-2.6.11.11 on Slackware 10.1


Hi,

Do I need to recompile the kernel to get the sound modules? Please note that alsa was selected to be compiled as modules <M>.

The output of lsmod has no sound modules.
lspci has the following line:
Code:
00:1f.5 Multimedia audio controller: Intel Corp. 82801BA/BAM AC'97 Audio Controller (rev 04)
alsaconf gives the following error messages:
No Supported PnP or PCI car found
No legacy drivers available

To compile the new kernel I have used Patrick's config file for kernel-2.6.11.11 and followed acidjuice's post under "LinuxAnswers" titled "Compiling kernel 2.6.10 on Slackware 10.1"

Thanks,

Basel Mahdi
 
Old 06-15-2005, 06:04 PM   #2
cavalier
Member
 
Registered: Feb 2005
Location: Denver, CO
Distribution: Slack 12, tweaked just so (though I'm also a fan of Ubuntu)
Posts: 198
Blog Entries: 1

Rep: Reputation: 30
Did you install updated alsa packages at the same time? They are compiled for particular kernels, if I understand correctly.
 
Old 06-15-2005, 06:11 PM   #3
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
After selecting ALSA as Module did you select the specific driver for your card as Module? I would also recommend you to compile OSS Mixer API, Sequencer Support and OSS PCM as modules, those options are all inside the ALSA submenu you get when you select ALSA to be compiled as Module.
 
Old 06-15-2005, 09:01 PM   #4
Boow
Member
 
Registered: Feb 2004
Distribution: Slackware 10.2
Posts: 669

Rep: Reputation: 32
just compile the alsa stuff as modules dont forget the module for your sound card under pci cards. you still need alsa-utils alsa-lib packages. check /etc/rc.d/rc.alsa is still there if not extract the file from the alsa-driver package on the slack cd. make excutable put in /etc/rc.d
 
Old 06-16-2005, 02:41 AM   #5
Basel
Member
 
Registered: Feb 2004
Location: United States
Distribution: Ubuntu 10.10
Posts: 319

Original Poster
Rep: Reputation: 30
Quote:
Did you install updated alsa packages at the same time?
I am not sure.
Quote:
After selecting ALSA as Module did you select the specific driver for your card as Module? I would also recommend you to compile OSS Mixer API, Sequencer Support and OSS PCM as modules, those options are all inside the ALSA submenu you get when you select ALSA to be compiled as Module.
Yes, I have selected those as modules.
Quote:
just compile the alsa stuff as modules dont forget the module for your sound card under pci cards. you still need alsa-utils alsa-lib packages. check /etc/rc.d/rc.alsa is still there if not extract the file from the alsa-driver package on the slack cd. make excutable put in /etc/rc.d
May be I forget to select my sound card under pci cards. Does that mean I have to recompile the kernel?
 
Old 06-16-2005, 02:47 AM   #6
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
No, as you selected them as module, you simply can update your modules. You can either select them with make menuconfig and then run make modules && make modules_install
Or download alsa-drivers from alsa-project.org and compile them.
 
Old 06-16-2005, 02:52 AM   #7
Basel
Member
 
Registered: Feb 2004
Location: United States
Distribution: Ubuntu 10.10
Posts: 319

Original Poster
Rep: Reputation: 30
But I am not sure if I have selected the modules for my sound card.
 
Old 06-16-2005, 02:54 AM   #8
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
You can see that by using make menuconfig or make xconfig on your current kernel sources.
 
Old 06-16-2005, 04:25 PM   #9
Basel
Member
 
Registered: Feb 2004
Location: United States
Distribution: Ubuntu 10.10
Posts: 319

Original Poster
Rep: Reputation: 30
Thanks gbonvehi and the others for your help.

The module for my sound card isn't selected. I forget to do so.
As I understood, I need to select the additional modules now and then run the following two commands:

make modules && make modules_install

Do I need to do anything else after running the two commands?

Thanks,

Basel Mahdi
 
Old 06-16-2005, 07:37 PM   #10
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
I think: depmod -a
is also needed.

Last edited by gbonvehi; 06-16-2005 at 07:39 PM.
 
Old 06-17-2005, 03:26 AM   #11
Basel
Member
 
Registered: Feb 2004
Location: United States
Distribution: Ubuntu 10.10
Posts: 319

Original Poster
Rep: Reputation: 30
what is depmod -a
 
Old 06-17-2005, 05:38 PM   #12
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
That will create a list of dependencies by seeing which things a module import and which ones it needs from another module. I've just double checked and this is run by make modules_install so you should not need to run it.
 
  


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
compiling kernel modules axr0284 Programming 2 11-26-2005 04:08 PM
Modules in Kernel Compiling SlackwareInAZ Slackware 1 07-29-2005 06:10 AM
Compiling Modules for 2.6.6 kernel! Bigg Mike Linux - Newbie 9 06-09-2004 10:04 PM
Problem compiling Kernel with sound modules Doleo Programming 3 02-26-2004 11:42 AM
Compiling kernel modules? jrjarrett Linux - Software 0 09-09-2003 11:24 AM


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