LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 12-13-2005, 03:46 AM   #1
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: FreeBSD, Debian, Mint, Puppy
Posts: 3,276

Rep: Reputation: 170Reputation: 170
Intel8x0 sound, ALSA /dev/dsp device busy, is card locked or is it software?


Hello chaps, something puzzling me.
I was using mp3blaster and getting a SIGSEGV. due to doddgy mp3. OK.

Afterwards alsa "/dev/dsp device busy" message.
So I could not play sound.
I could not "alsactl stop/start" or "force-reload".
device busy
using fuser and lsof and looking in /proc
could not find anything using it. Tried killing everything sound-looking.
doing rmmod the same device busy
going single user. Nope.
Nothing Works.

Now is the actual physical hardware bunged up?
Or is there anything more I can do short of a reboot?
Or can you recommend a good soundcard!

SUSE 9.1 2.4.99 kernel
 
Old 12-13-2005, 09:58 PM   #2
purelithium
Member
 
Registered: Oct 2005
Location: Canada
Distribution: Mandriva 2006.0
Posts: 390

Rep: Reputation: 30
That is some process claiming control over /dev/dsp to change this, type as root: service alsa force-restart

That should clear whatever processes that are using alsa.
 
Old 12-14-2005, 03:10 AM   #3
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: FreeBSD, Debian, Mint, Puppy
Posts: 3,276

Original Poster
Rep: Reputation: 170Reputation: 170
thanks, I'll try it.
 
Old 12-14-2005, 03:02 PM   #4
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: FreeBSD, Debian, Mint, Puppy
Posts: 3,276

Original Poster
Rep: Reputation: 170Reputation: 170
what is service?
is it a mandriva special or kernel 2.6?
I'm on SuSe kernal 2.44 on this particular box.

alsactl force-reload
never works.
It sound like it's doing the same thing anyway.
I reckon the actual card is just locked.
init S don't even fix it.
 
Old 12-14-2005, 03:36 PM   #5
purelithium
Member
 
Registered: Oct 2005
Location: Canada
Distribution: Mandriva 2006.0
Posts: 390

Rep: Reputation: 30
Hmm... I'm not sure if service is Mandriva only.... Sorry about that.

A service is a daemon that runs at boot. I'm pretty new to linux (3 months) so my knowledge is not complete.

I've never heard of alsactl, so I can't tell you if it's the same thing or not.
 
Old 12-14-2005, 05:59 PM   #6
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: FreeBSD, Debian, Mint, Puppy
Posts: 3,276

Original Poster
Rep: Reputation: 170Reputation: 170
yes it will be.
my /etc/init.d/alsasound
boot daemon startup script calls it.

/usr/sbin/alsactl.

so the "service sound" does too i should imagine.
Have a look at the script if you're interested.

I've used linux for years and years, still learn new things every day
 
Old 12-14-2005, 10:30 PM   #7
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 58
did you solve your problem? i think iv had this afew times and not sure what i did to fix it but after a while of playing around it worked.. just like to know if you narrowed down what the specific problem was.
 
Old 12-14-2005, 11:26 PM   #8
Electro
Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
The command service is Redhat's utility. It gives a short hand for typing /etc/init.d. It also does some pre-work. The command alsactl is one of ALSA utilities to store and restore mixer settings.

The reason why you are getting device busy on a intel8x0 module (driver) is because it only supports one PCM output. If you want to play additional PCM files, you have to use dmix, artsd, or esd.
 
Old 12-14-2005, 11:39 PM   #9
purelithium
Member
 
Registered: Oct 2005
Location: Canada
Distribution: Mandriva 2006.0
Posts: 390

Rep: Reputation: 30
Thanks Electro, that's excellent information to know. Always learning...
 
Old 12-15-2005, 03:49 AM   #10
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: FreeBSD, Debian, Mint, Puppy
Posts: 3,276

Original Poster
Rep: Reputation: 170Reputation: 170
Interesting Electro, I'll try them,

but it doesn't explain why I can't restart/kill
the alsa service if the pmegblaster that was using it has
bombed out with a SIGSEV.

I'll admit sound isn't my strong point.
 
  


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
/dev/dsp device or resource busy Daem0hn Linux - General 4 12-11-2005 12:22 PM
/dev/dsp no longer busy /no sound bibilit Linux - Software 7 12-18-2003 02:48 PM
/dev/dsp + device busy/no audio + esd mghere Linux - Newbie 7 12-11-2003 11:51 PM
OSS API - opening /dev/dsp when device busy vasudevadas Programming 10 12-02-2003 12:11 PM
open /dev/[sound/]dsp: Device or resource busy tearinox Linux - Newbie 1 10-24-2003 06:47 PM


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