Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Nov 2004 16:15:55 -0500 (EST)
From:      doug@safeport.com
To:        freebsd-questions@freebsd.org
Subject:   Re: /dev/dsp busy
Message-ID:  <20041128235808.B17504@pemaquid.safeport.com>
In-Reply-To: <41AA768F.2080606@gldis.ca>
References:  <20041128162838.V8270@pemaquid.safeport.com> <41AA768F.2080606@gldis.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
Alas no - thank you for the suggestion. Following your lead I tried a number of
variations including turning ACPI off, any some other sysctl setting I found via
google. All with the same result.

Next I removed load command from loader.conf and rebooted. No kde, no X server.
I then loaded and tried to unload the sound modules. sound.ko would not unload
presenting as busy. Is this a problem? It was suggested to me interrupt problem
at startup could cause this. I get the same result in single user mode.

My commands:

# kldstat
Id Refs Address    Size     Name
 1    7 0xc0400000 5cdad0   kernel
 2   14 0xc09ce000 537f0    acpi.ko
 3    1 0xc1675000 17000    linux.ko

# kldload snd_maestro
pcm0: <ESS Technology Maestro-2E> port 0x1400-0x14ff irq 5 at device 8.0 on pci0

pcm0: <SigmaTel STAC9721/23 AC97 Codec>
pcm0: [GIANT-LOCKED]

root@mneme:~# kldunload snd_maestro
pcm0: detached
# kldunload sound
kldunload: attempt to unload file that was loaded by the kernel
kldunload: can't unload file: Device busy


On Sun, 28 Nov 2004, Jeremy Faulkner wrote:

> doug@safeport.com wrote:
> > I need help in finding the reason for the /dev/dsp busy message. fstat does not
> > show any process using /dev/dsp.
> >
> > I am running 5.3 with xorg, kde 3.3. When KDE starts, /dev/dsp tests busy which
> > directs arts to /dev/null. There are no processes using /dev/dsp. I can play
> > CDs using either kcd or 'cdcontrol -f /dev/acd0 play 1', so I think the sound
> > card is setup okay.
> >
> > However something is wrong since 'cat filename > /dev/dsp' produces no sound.

I am assuming that the above means this is not a KDE problem. Is this correct?

> > My configuration:
[cut]
> > Thanks for any pointers.
> >
>
> try as root:
> sysctl -w hw.snd.maxautovchans=4
>
> --
> Jeremy Faulkner	<gldisater@gldis.ca>
> Resume:	http://www.gldis.ca/gldisater/resume.html
>

_____
Douglas Denault
http://www.safeport.com
doug@safeport.com
Voice: 301-469-8766
  Fax: 301-469-0601



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041128235808.B17504>