LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-17-2008, 02:05 PM   #1
austinium
Member
 
Registered: Nov 2007
Location: India
Distribution: Debian Stable, Debian Testing
Posts: 218

Rep: Reputation: 27
no sound after installing new kernel 2.6.25


Hi,

I am running BOSS Linux( a Debian based distribution ), I downloaded(kernel.org) & installed 2.6.25 kernel.
While configuring the kernel i used make oldconfig, so that it would use the current .config settings and ask only whats new.

Trouble is, theres no sound, XMMS says the sound card is not configured properly.

I guess i am missing some modules, i am new to this, this is the first time i compiled the kernel.

sound card Creative Sound Blaster PCI 4.1, its old and it works with the default kernel that came with my Distro.

help!

Last edited by austinium; 05-17-2008 at 02:17 PM. Reason: added the sound card information
 
Old 05-17-2008, 02:50 PM   #2
iggy_mon
Member
 
Registered: Aug 2003
Location: PA, USA
Distribution: Mandriva Ubuntu
Posts: 98

Rep: Reputation: 15
hopefully this will get you started...

http://alsa.opensrc.org/index.php/Quick_Install

look under the requirements section... it has a hint that 'sound core' module must be turned on. perhaps yours is off.

good luck
 
Old 05-17-2008, 02:58 PM   #3
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 5,872

Rep: Reputation: Disabled
Generally you should not use stand-alone ALSA drivers. Use in-kernel ones instead. Do make menuconfig and make sure your soundcard is enabled as module(s). Then run make modules and make modules_install, followed by alsaconf.
 
Old 05-18-2008, 04:36 AM   #4
austinium
Member
 
Registered: Nov 2007
Location: India
Distribution: Debian Stable, Debian Testing
Posts: 218

Original Poster
Rep: Reputation: 27
thanks for trying to help out guys, i tried make modules, make modules_install and alsaconf.
its not working, how do i check which modules are loaded? Everything i have tried works except sound.
 
Old 05-18-2008, 07:35 AM   #5
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 5,872

Rep: Reputation: Disabled
Quote:
Originally Posted by austinium View Post
thanks for trying to help out guys, i tried make modules, make modules_install and alsaconf.
its not working, how do i check which modules are loaded? Everything i have tried works except sound.
Did you make menuconfig beforehand? make oldconfig is not intended to work between major releases, like from 2.6.24 to 2.6.25. It is designed to help between minor versions, like from 2.6.25.1 to 2.6.25.2. Sometimes simply running make menuconfig and saving after make oldconfig seems to fix some dependencies in configuration.
 
Old 05-18-2008, 02:21 PM   #6
austinium
Member
 
Registered: Nov 2007
Location: India
Distribution: Debian Stable, Debian Testing
Posts: 218

Original Poster
Rep: Reputation: 27
Hi,

I deleted the kernel i had "installed" and "re-installed" by using:
make defconfig
*make menuconfig - added ensoniq drivers (both of them)
make
make modules_install
make install
*i had ensoniq drivers built-in this time as i had tried it as a module the last time.

Sound doesnt work still.
alsaconf -> modinfo: could not find module snd //it couldn't find any PCI sound cards either

however i was reading up and managed to figure out lspci
$/usr/bin/lspci | grep -i audio
01:01.0 Multimedia audio controller: Ensoniq 5880 AudioPCI (rev 04)
so it is detecting my sound card

These are some of the messages that scroll up during startup that i think should be of some use:
FATAL: Error running install command for snd_ens1371 //i think this is sound card driver i have been chasing
FATAL: Could not load /lib/modules/2.6.25-4/modules.dep No such file or directory

I trying to build myself a nice and small kernel that has just the stuff i need for my hardware setup. Thanks for trying to help - what do i do next?
 
Old 05-18-2008, 02:47 PM   #7
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 5,872

Rep: Reputation: Disabled
All you need is (Creative) Ensoniq AudioPCI 1371/1373, I recommend building sound support as modules.
I'm not sure what the make install does for you, are you sure you are running correct kernel - the one you just built? I prefer copying the kernel image into /boot and editing Grub configuration manually. In short, make sure you are using correct kernel modules with correct kernel.
 
Old 05-19-2008, 04:11 AM   #8
austinium
Member
 
Registered: Nov 2007
Location: India
Distribution: Debian Stable, Debian Testing
Posts: 218

Original Poster
Rep: Reputation: 27
i did have both the (Creative)Ensoniq built-in during compilation.

make install -> puts the kernel image, the config file etc in /boot,
i modified GRUB manually to add kernel 2.6.25 on the list.
I am using the initramfs file from the older kernel, i dont think thats going to be any trouble(?)
i have tried uname and it comes up with the right version.

i'll try building the sound drivers as modules and try adding them(i guess i better start google-ing)and post back.

thanks
 
Old 05-19-2008, 07:38 AM   #9
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 5,872

Rep: Reputation: Disabled
Quote:
I am using the initramfs file from the older kernel ...
You mean initrd? If yes, you shouldn't be using it. Besides, you do not need initrd with custom kernel.
If you build several kernels using same sources but with different configuration they all return same version with uname.
 
Old 05-19-2008, 07:49 AM   #10
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,063

Rep: Reputation: 381Reputation: 381Reputation: 381Reputation: 381
1. That lspci reports a valid name doesn't mean that the device is being detected or used at all. It just means that the lspci database contains a text string mathing a given device id:vendor pair.

2. Initrd just adds another level of complexity, which is usually not needed if you build a custom kernel. Unless for a very specific purpose.

Now, to the problem: you have identified your hardware, and you know which kernel module you need for it. So, the next thing you should do is to use lsmod to see if it's loaded. Then, if not, use find to find the module under /lib/modules/$(uname -r)/, if it's not there, then you did not add it correctly while making menuconfig (or you did not install it correctly with modules_install).

If the module is there, modprobe it. Then use lsmod to see if it loaded. If it didn't, use dmesg to show any error messages that apperared when modprobing the module.

Report back any doubt or error and I will try to help if I can.

Cheers.
 
Old 05-19-2008, 09:45 AM   #11
austinium
Member
 
Registered: Nov 2007
Location: India
Distribution: Debian Stable, Debian Testing
Posts: 218

Original Poster
Rep: Reputation: 27
hi,

yes i meant initrd when i was saying initramfs, thanks i didn't know u could not use it.

I have built-in snd_ens1370 & snd_ens1371 into the kernel during installation. Here is the relevant excerpt of the .config file
-------------------------------------------------------
#
# Sound
#
CONFIG_SOUND=y

#
# Advanced Linux Sound Architecture
#
CONFIG_SND=y
CONFIG_SND_TIMER=y
CONFIG_SND_PCM=y
CONFIG_SND_RAWMIDI=y
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_SUPPORT_OLD_API=y
CONFIG_SND_VERBOSE_PROCFS=y
#
# Generic devices
#
CONFIG_SND_AC97_CODEC=y
# CONFIG_SND_DUMMY is not set
# CONFIG_SND_MTPAV is not set
# CONFIG_SND_SERIAL_U16550 is not set
# CONFIG_SND_MPU401 is not set

#
# PCI devices
#
CONFIG_SND_ENS1370=y
CONFIG_SND_ENS1371=y

-------------------------------------------------------
So these dont show up in /lib/modules/2.6.25.4/
I see this error during startup:
FATAL: Error running install command for snd_ens1371

I think i sound like an absolute greenhorn here, but how do i compile and add modules to the kernel after having made the kernel? I mean i have the kernel up and running, now how do i add the modules for the soudcard without having to redo the whole kernel?
 
Old 05-19-2008, 09:52 AM   #12
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 5,872

Rep: Reputation: Disabled
In post #7 I suggested you build sound support as modules. Alsaconf does better job when sound is not built into kernel. After all, you have built in two drivers, possible source for a conflict. The idea building a lean kernel is to exclude everything you do not need/have.
 
Old 05-19-2008, 09:55 AM   #13
austinium
Member
 
Registered: Nov 2007
Location: India
Distribution: Debian Stable, Debian Testing
Posts: 218

Original Poster
Rep: Reputation: 27
hey! thanks for the Quick response, i did try having it as a module once, I will try it again, and sorry if this is taking too long
 
Old 05-19-2008, 10:48 AM   #14
austinium
Member
 
Registered: Nov 2007
Location: India
Distribution: Debian Stable, Debian Testing
Posts: 218

Original Poster
Rep: Reputation: 27
Eureka!

Hi guys, its working, maybe i missed something the last time i setup the sound card drivers as modules. Thanks you Emerson, i92guboj & iggy_mon for helping out, I've learnt a lot from all of you.
 
  


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
Alsa Sound Error: reduced sound to stereo from 5.1 after kernel upgrade vmt1 Linux - Hardware 1 06-03-2006 12:35 PM
Installing AWE64 sound drivers on slackware9.1 2.4.22 kernel SteveK1979 Slackware 1 04-30-2004 02:00 AM
Sound problem after installing/uninstalling JACK sound server bastupungen Linux - Software 1 02-28-2004 01:50 PM
Kernel dependency error when installing sound drivers SeeingWhite Linux - Hardware 2 08-20-2003 05:50 PM
Can I load both oss (kernel sound drivers) and alsa in 2 sound cared system? cmisip Linux - General 0 04-12-2003 02:27 AM


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