LinuxQuestions.org
Review your favorite Linux distribution.
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-30-2004, 02:15 PM   #1
Ben2210
Member
 
Registered: Feb 2004
Location: Toronto
Distribution: Arch
Posts: 146

Rep: Reputation: 16
weird sound problem - alsa, kernel 2.6, SB Live 5.1


Hi

I have been running slack-current for some time without any problem. Last upgrade a few weeks ago. custom kernel 2.6.7-ck6.

A few days ago my ALSA soundcard has disappeared (with ALSA messages like "no soundcards found 1134") -> no sound.

My guess was that an ALSA module had been damaged by a brutal shutdown (still looks weird since I'm all reiserFS but...)

So I recompiled (and upgraded) my kernel to 2.6.9-ck2, with ALSA built-in (ie, not as a module).

Result :
* persistent, very high-frequency (sounds like 5 kHz or so), quite loud noise, mixed with sound from my FM tuner card (I have a FM tuner plugged into the Line input of my sound card.)
* when playing a mp3 file in Amarok, I get more noise (so it makes a difference) but the whole system freezes after a few seconds.
* when playing a mp3 file in xmms, it freezes immediately.

I have disabled the KDE sound system and since then my system seems to be stable. But no sound !

I have looked for interesting info in dmesg and Ctrl Alt F1, but found nothing relevant. Here's all what dmesg shows about ALSA :

Quote:
ALSA device list:
#0: Sound Blaster Live! (rev.7) at 0xe800, irq 10
Can you help me ?

Ben

My config :
AMD Athlon XP
SB Live 5.1 PCI (EMU10K1)
Slack upgraded to current from 9.1 with swaret
alsa 1.0.6
 
Old 10-30-2004, 06:23 PM   #2
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
Ben2210, you should add alsa to the exclude list in swaret and don't update it because it tends to be compiled for the latest official slackware kernel, right now 2.4.27 so it won't work with yours.
I highly recommend you to recompile your kernel with sound support but without selecting OSS or ALSA and then download all the alsa sources (alsa-driver,alsa-utils,alsa-tools,alsa-lib and alsa-oss) and compile them to match your kernel.
 
Old 10-30-2004, 06:25 PM   #3
Ben2210
Member
 
Registered: Feb 2004
Location: Toronto
Distribution: Arch
Posts: 146

Original Poster
Rep: Reputation: 16
Now this is getting even more bizarre : at the next reboot, the following message has shown up:

Quote:
Loading ALSA mixer settings : /usr/sbin/alsactl restore :
/usr/sbin/alsactl : load_state: 1134: No soundcards found...
just like before I recompiled the kernel. So now, I don't have sound at all. When I try alsaconf, it tells me it doesn't find any PCI or PnP card.

Please, can anyone tell me how I can revert to just the ALSA configuration I would have if I had installed Slackware today ?
 
Old 10-30-2004, 06:28 PM   #4
Ben2210
Member
 
Registered: Feb 2004
Location: Toronto
Distribution: Arch
Posts: 146

Original Poster
Rep: Reputation: 16
gbonvehi, thanks a lot !
I will do this!
 
Old 10-30-2004, 06:31 PM   #5
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
oh Ben2210, if you remove alsa-utils packages, you'll loose /etc/rc.d/rc.alsa which is in charge of reloading alsamixer settings. I pasted a copy of it at this thread, so you can create it yourself (make sure you chmod +x it): http://www.linuxquestions.org/questi...hreadid=235122
 
Old 10-30-2004, 06:36 PM   #6
Ben2210
Member
 
Registered: Feb 2004
Location: Toronto
Distribution: Arch
Posts: 146

Original Poster
Rep: Reputation: 16
thanks a lot.

I just have one question :
the ALSA stuff that one can compile as part of the kernel, it is exactly alsa-drv and alsa-oss, right ?
so why should I remove that from my kernel configuration?
couldn't I just leave it in my kernel config, so that, then, I just have to recompile alsa-libs, alsa-utils and alsa-tools ?

(just my 2 cents!)
 
Old 10-30-2004, 06:38 PM   #7
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
Yes those are the files. Well, if you compiled it built-in you won't be able to load the new drivers because the old ones are already there. You could do this if you've compiled the kernel with alsa as modules.
 
Old 10-31-2004, 02:36 AM   #8
Ben2210
Member
 
Registered: Feb 2004
Location: Toronto
Distribution: Arch
Posts: 146

Original Poster
Rep: Reputation: 16
OK I understand that compiling ALSA separately gives more flexibility. So I'll follow your advice. Thanks a lot, really.
 
  


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 not working for Creative Sound Blaster Live 24 Bit sound card vishalsonu Linux - Hardware 7 08-20-2005 01:02 PM
kernel 2.6 sarge no sound -- maybe alsa problem muted Debian 6 10-19-2004 01:31 PM
No sound with Alsa and Soundblaster Live lipunx Slackware 2 09-01-2004 11:53 PM
Sound Problem in Kernel 2.6.2 with ALSA Drivers vardhman Linux - General 6 03-21-2004 05:26 PM
Weird Sound Blaster Live! problem krfan1 Linux - General 1 03-03-2003 03:14 PM


All times are GMT -5. The time now is 06:47 AM.

Main Menu
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