LinuxQuestions.org
Help answer threads with 0 replies.
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 12-27-2004, 05:46 AM   #1
hylke
Member
 
Registered: Apr 2004
Location: the Netherlands
Distribution: Ubuntu 7.04
Posts: 329

Rep: Reputation: 30
No sound after recompiling kernel


Hello
Yet another thread about losing sound after recompiling kernel :-)
Ok, so my problem is that i lost sound after recompiling my kernel(cus i wanted dev fs support).
What i did was:
Code:
make menuconfig(i added devfs)
make dep
make clean
make bzImage
make modules
cp arch/i386/boot/bzImage /boot/newkernel
make modules_install
After that i reinstalled my nvidia driver and rebooted.
But when it loads kde, it says something like:
Sound problems
Can't open /dev/dsp using NULL
So i tried to run alsaconf but then it says:
Quote:
No supported PnP or PCI card found.
Would you like to probe legacy ISA sound cards/chips.
So i want out checking and i'm pretty shoure i have PCI(saw something with PCI in it in the make menuconfig thing)
When i type alsamixer i get:
Quote:
alsamixer: function snd_ctl_open failed for default: No such device
So i went out searching and found similar things like that, but they were talking about alsa module and shit like that, but i can't find anyt alsa thing when i run make menuconfig.
So anybody got an idea how to get my sound working again?
Thanx Hylke
 
Old 12-27-2004, 05:53 AM   #2
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
Do you know what kind of sound card it is? If not in a terminal run "lspci" and if it is a pci card it should list in the output of that. From that information you should be able modprobe the driver into the kernel and modify /etc/rc.d/rc.modules to automatically load it at each boot.
 
Old 12-27-2004, 05:58 AM   #3
hylke
Member
 
Registered: Apr 2004
Location: the Netherlands
Distribution: Ubuntu 7.04
Posts: 329

Original Poster
Rep: Reputation: 30
I know that the sound-card is onboard.
My mother board is a albatron kx600, if im right.
My output of lspci is:
Quote:
00:00.0 Host bridge: VIA Technologies, Inc. VT8377 [KT400/KT600 AGP] Host Bridge (rev 80)
00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI Bridge
00:0d.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 78)
00:10.0 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0 controller] (rev 80)
00:10.1 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0 controller] (rev 80)
00:10.2 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0 controller] (rev 80)
00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge
00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C/VT8235 PIPC Bus Master IDE (rev 06)
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 50)
01:00.0 VGA compatible controller: nVidia Corporation: Unknown device 0314 (rev a1)
And if im right my soundcard had something to do with VIA.
And what do i need to modprobe?
thanx Hylke
 
Old 12-27-2004, 09:58 AM   #4
artistikone
Member
 
Registered: Jul 2003
Distribution: slackware-current
Posts: 76

Rep: Reputation: 15
Try modprobe snd-via82xx
 
Old 12-27-2004, 12:56 PM   #5
shepper
Member
 
Registered: Mar 2003
Location: Dry, Dusty and Conservative
Distribution: OpenBSD, Debian Wheezy/Jessie
Posts: 449

Rep: Reputation: 33
If you are running the 2.4.x kernel series you will need to reload the alsa-drivers. This package inserts the
sound modules into the 2.4 kernel series. A newly compiled 2.4.x kernel will not have the alsa sound modules.

In the 2.6.x kernel series the old oss modules were deprecated and the alsa sound modules made standard.
 
Old 12-27-2004, 09:09 PM   #6
aeNeo
Member
 
Registered: Jul 2004
Distribution: Slackware 10.0
Posts: 57

Rep: Reputation: 15
Reinstall the alsa driver...that should work.
 
Old 12-29-2004, 03:32 AM   #7
hylke
Member
 
Registered: Apr 2004
Location: the Netherlands
Distribution: Ubuntu 7.04
Posts: 329

Original Poster
Rep: Reputation: 30
Ok, thanx you all.
That was the problem.AFter reinstalling alsa everything went fine.
Hylke
 
Old 01-27-2005, 05:15 PM   #8
mcd
Member
 
Registered: Aug 2003
Location: Denver, CO
Distribution: CentOS, Debian
Posts: 825

Rep: Reputation: 33
i have a sort of general question, which is that i don't fully understand how modules are dealt with by the kernel. i have recompiled a few kernels, and i understand that process alright i think, meaning that i know to make modules and make modules install, which creates a directory called /lib/modules/kernel-version, and i understand the difference between building something into the kernel and including it as a module. but here's my question:

i only have one /etc/rc.d folder, which means i only have one /etc/rc.d/rc.modules file. as i understand it, this is the file that determines which modules are inserted at boot time. right? so i opened up /etc/rc.d/rc.modules and at top it says that it looks for modules in the /lib/modules/kernel-version directory. fine. but there is only ONE rc.modules script....so what if you want to be able to boot multiple kernels on one machine? say in 2.4.26 i had my ethernet card driver built into the kernel, but in 2.6.10 i wanted it included as a module. if i DIDN'T edit the rc.modules script, my ethernet wouldn't work until i insmod the driver, right? and if i DID edit rc.modules then BOTH kernels would try to insert that module regardless of the fact that 2.4.26 didn't need it....

is this correct?
 
  


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
recompiling sound module alphaproject Linux - General 0 11-23-2004 04:03 PM
can i compile just one kernel module whithout recompiling the whole kernel? edman007 Linux - Software 3 02-17-2004 03:05 PM
Error with sound after recompiling kernel and adding acpi patch pele_smk Slackware 3 01-04-2004 05:09 AM
slack9.1: no sound after recompiling kernel carboncopy Slackware 10 11-22-2003 03:46 AM
After recompiling the kernel the sound and graphics drivers are not loaded Menestrel Linux - Newbie 1 11-19-2003 06:48 AM

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

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