LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 10-08-2004, 02:41 PM   #1
sys7em
Member
 
Registered: Oct 2004
Location: Germany
Distribution: Slackware
Posts: 158

Rep: Reputation: 30
Cannot compile alsa driver? It gives an error :(


I´ve compiled kernel 2.6.8.1 and the sound went dead ... So I decided to compile it from source. I removed the existing alsa packages and downloaded the source ...but when I try to make install it gives me the following error:

Code:
root@mx:/home/sys7em/downloads/alsa-driver-1.0.6a# make install
find /lib/modules/2.6.8.1/kernel/sound -name 'snd*.*o' | xargs rm -f
make[1]: Entering directory `/home/sys7em/downloads/alsa-driver-1.0.6a/acore'
mkdir -p /lib/modules/2.6.8.1/kernel/sound/acore
cp snd-hwdep.ko snd-page-alloc.ko snd-pcm.ko snd-rawmidi.ko snd-rtctimer.ko snd-timer.ko snd.ko /lib/modules/2.6.8.1/kernel/sound/acore
cp: cannot stat `snd-hwdep.ko': No such file or directory
cp: cannot stat `snd-page-alloc.ko': No such file or directory
cp: cannot stat `snd-pcm.ko': No such file or directory
cp: cannot stat `snd-rawmidi.ko': No such file or directory
cp: cannot stat `snd-rtctimer.ko': No such file or directory
cp: cannot stat `snd-timer.ko': No such file or directory
cp: cannot stat `snd.ko': No such file or directory
make[1]: *** [modules_install] Error 1
make[1]: Leaving directory `/home/sys7em/downloads/alsa-driver-1.0.6a/acore'
make: *** [install-modules] Error 1
root@mx:/home/sys7em/downloads/alsa-driver-1.0.6a#
What should I do?
Any help will be apritiated
 
Old 10-08-2004, 03:13 PM   #2
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
Did an error show when you were compiling (make) ?
 
Old 10-08-2004, 03:41 PM   #3
sys7em
Member
 
Registered: Oct 2004
Location: Germany
Distribution: Slackware
Posts: 158

Original Poster
Rep: Reputation: 30
Not at all ...as far as I remember ..why? I don´t know where is the problem?
 
Old 10-08-2004, 04:04 PM   #4
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
Well, according to what I see there the modules don't exist, so I assume they weren't compiled. Do this:
Code:
./configure && make && make install
If there's an error it stops at it.
 
Old 10-09-2004, 12:37 PM   #5
sys7em
Member
 
Registered: Oct 2004
Location: Germany
Distribution: Slackware
Posts: 158

Original Poster
Rep: Reputation: 30
I´ve compiled alsa successfully ... and also alsa lib and alsa utils ..but now I have another problem ... when I type alsaconf it gives me
Quote:
No supported PnP or PCI card found. │
│ │
│ Would you like to probe legacy ISA sound cards/chips?
I type no .. because my sound card is built-in ...
and it returns me to console ..and no sound is available ...?

Please help ... I`ve had it with that damned alsa thing .....
 
Old 10-09-2004, 12:48 PM   #6
sys7em
Member
 
Registered: Oct 2004
Location: Germany
Distribution: Slackware
Posts: 158

Original Poster
Rep: Reputation: 30
Also when I start KDE it gives an error about the sound ....

Code:
Sound server informational message:
Error while initializing the sound driver:
device /dev/dsp can't be opened (No such file or directory)
The sound server will continue, using the null output device.
 
Old 10-09-2004, 04:31 PM   #7
timsoft
Member
 
Registered: Oct 2004
Location: scotland
Distribution: slackware 15.0 64bit, 14.2 64 and 32bit and arm, ubuntu and rasbian
Posts: 495

Rep: Reputation: 144Reputation: 144
do you by any chance have a via 8233 or 8235 sound chipset.? I had a similar problem.
I fixed the basic "can't find device" problem by extracting the kernel source into a completely different directory and recompiling - it comes with alsa in the kernel, but specifying support as a loadable module as opposed to built in seems to help.
 
Old 10-09-2004, 05:29 PM   #8
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
Did you compiled the kernel with sound support?
 
Old 10-09-2004, 08:17 PM   #9
otchie1
Registered User
 
Registered: Apr 2004
Posts: 560

Rep: Reputation: 30
There is a problem with the 2.6.x kernel and alsa support for builtin sound using via chips.
So far as I can tell it's to do with how 2.6 handles modules and how the mobo makers configure their cards.

Perhaps it might be easier to just go buy a soundblaster?
 
Old 10-10-2004, 04:53 AM   #10
sys7em
Member
 
Registered: Oct 2004
Location: Germany
Distribution: Slackware
Posts: 158

Original Poster
Rep: Reputation: 30
Hi again and thanks for your answers ... Now about the alsa
I still have no sound available ... I´ve compiled the kernel (2.6.8.1) with alsa support as a module ... and still no chance ... my chipset is VIA-7VTX Is that supose to mean that I´ll be having no sound

Quote:
do you by any chance have a via 8233 or 8235 sound chipset.? I had a similar problem.
I fixed the basic "can't find device" problem by extracting the kernel source into a completely different directory and recompiling - it comes with alsa in the kernel, but specifying support as a loadable module as opposed to built in seems to help.
Can you be more spesific ..please . Thanks ...
 
Old 10-10-2004, 05:28 AM   #11
timsoft
Member
 
Registered: Oct 2004
Location: scotland
Distribution: slackware 15.0 64bit, 14.2 64 and 32bit and arm, ubuntu and rasbian
Posts: 495

Rep: Reputation: 144Reputation: 144
google checkup shows 7vtx as a gigabyte motherboard with via 8233 sound. assuming this is what you have,.. read on

if you have got past the "can't find any devices" message from the kernel on startup, but still have no sound, There are three things to do.
my /etc/modules.conf file looks like this.

alias char-major-116 snd
alias char-major-14 soundcore
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
options via82xx dxs_support=4 ac97quirk=0
alias snd-card-0 via82xx
alias sound-slot-0 via82xx

you will notice the options line. I added this as I was getting sound so quiet I had to turn everything to max to get a whisper. the dxs bit is the important bit - don't ask me why. that line is the only difference between the /etc/modules.conf and /etc/modprobe.conf files
try adding that line (if it doesn't help, remove it later)
then run alsamixer
if you scroll to the right, eventually you will find via_dxs volume controls
put these up to 85 or so, then test the sound in x-windows using a media player of your choise, or the sound and multimedia - sound system test program.

note - this gets digital audio working for me, but i still haven't got synth working.
 
Old 10-10-2004, 05:48 AM   #12
sys7em
Member
 
Registered: Oct 2004
Location: Germany
Distribution: Slackware
Posts: 158

Original Poster
Rep: Reputation: 30
I did what you´ve told me ... and when I type alsamixer it gets this

Code:
root@mx:/# alsamixer

alsamixer: function snd_ctl_open failed for default: No such file or directory
root@mx:/#
Any ideas?
 
Old 10-10-2004, 06:33 AM   #13
otchie1
Registered User
 
Registered: Apr 2004
Posts: 560

Rep: Reputation: 30
I've been through this at length in another thread and got nowhere.

The final advice was to either buy a different soundcard or revert to a 2.4.x kernel.

There is a chance that updating your module-init-tools package might help but I have never done it.

http://www.kernel.org/pub/linux/util...le-init-tools/

http://www.linuxquestions.org/questi...hreadid=237439
 
Old 10-10-2004, 12:53 PM   #14
sys7em
Member
 
Registered: Oct 2004
Location: Germany
Distribution: Slackware
Posts: 158

Original Poster
Rep: Reputation: 30
Now that's a situation ...so there is no hope for my soundcard huh .... damn it ...
Anyway is there a site where I can check that my onboard soundcard is nut supported by kernel 2.6.8.1 and alsa ??
 
Old 10-10-2004, 01:02 PM   #15
timsoft
Member
 
Registered: Oct 2004
Location: scotland
Distribution: slackware 15.0 64bit, 14.2 64 and 32bit and arm, ubuntu and rasbian
Posts: 495

Rep: Reputation: 144Reputation: 144
what do you get when you run alsaconf ?
is the via chipset detected?
 
  


Reply



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 util compile error: alsactl.h not found vasanthraghavan Red Hat 4 01-13-2006 09:28 PM
How to compile new ALSA driver into old kernel? sandin Slackware 4 05-14-2005 05:06 AM
Alsa driver won't compile ssfrstlstnm Linux - Hardware 2 02-15-2005 07:11 PM
Alsa compile error, and a WINE error scheidel21 Linux - Software 1 12-08-2003 08:16 PM
alsa driver error wincrk Linux - Hardware 5 03-22-2003 12:45 AM

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

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