Vchan/Sound/patch hard locks...

Mike S. perlfu at gmail.com
Sat Sep 17 09:05:50 PDT 2005


On Sat, 17 Sep 2005 16:20:25 +0800
Ariff Abdullah <skywizard at MyBSD.org.my> wrote:

> On Fri, 16 Sep 2005 23:42:18 -0500
> "Mike S." <perlfu at gmail.com> wrote:
> > [..]
> > 
> >    I cleaned out all my sound stuff, recvs'd, and applied the patch
> >    you posted recently, and although I haven't gotten a single hard
> >    lock yet, I can no longer get multiple sounds at once, I'm guessing
> >    I'm incapable of using vchans somehow.  Any input?
> >
> I need the output of cat /dev/sndstat after applying the patch, possibly
> with hw.snd.verbose=2 .
> 
> 
> --
> 
> Ariff Abdullah
> MyBSD
> 
> http://www.MyBSD.org.my (IPv6/IPv4)
> http://staff.MyBSD.org.my (IPv6/IPv4)
> http://tomoyo.MyBSD.org.my (IPv6/IPv4)

    FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0: <VIA VT8237> at io 0xc400 irq 22 kld snd_via8233 (5p/1r/4v channels duplex
 default)
        [pcm0:play:0]: spd 44100/48000, fmt 0x10000010, flags 0x00001000, 0x0000
0010
        interrupts 0, underruns 0, ready 0
        {userland} -> feeder_vchan_s16(0x10000010) -> feeder_rate(44100 -> 48000
) -> {hardware}
        [pcm0:play:1]: spd 44100/48000, fmt 0x10000010, flags 0x00003030, 0x0000
0010, pid 14575
        interrupts 31045, underruns 2, ready 131072
        {userland} -> feeder_root(0x10000010) -> feeder_rate(44100 -> 48000) -> 
{hardware}
        [pcm0:play:2]: spd 44100/48000, fmt 0x10000010, flags 0x00000000, 0x0000
0010
        interrupts 0, underruns 0, ready 0
        {userland} -> feeder_root(0x10000010) -> feeder_rate(44100 -> 48000) -> 
{hardware}
        [pcm0:play:3]: spd 22050/48000, fmt 0x00000020/0x10000010, flags 0x00000
000, 0x00000010
        interrupts 0, underruns 0, ready 0
        {userland} -> feeder_root(0x00000020) -> feeder_endian(0x00000020 -> 0x0
0000010) -> feeder_monotostereo16(0x00000010 -> 0x10000010) -> feeder_rate(22050
 -> 48000) -> {hardware}
        [pcm0:play:4]: spd 0, fmt 0x00000000/0x00000008, flags 0x00000000, 0x000
00000
        interrupts 0, underruns 0, ready 0
        {userland} -> feeder_root(0x00000000) -> {hardware}
        [pcm0:record:0]: spd 44100/48000, fmt 0x10000010, flags 0x00000000, 0x00
000010
        interrupts 0, overruns 0, hfree 4096, sfree 131072
        {hardware} -> feeder_root(0x10000010) -> feeder_rate(48000 -> 44100) -> 
{userland}
        pcm0:play:0[pcm0:virtual:0]: spd 0, fmt 0x00000000/0x00000008, flags 0x1
0000000, 0x00000000
        interrupts 0, underruns 0, ready 0
        {userland} -> feeder_root(0x00000000) -> {hardware}
        pcm0:play:0[pcm0:virtual:1]: spd 0, fmt 0x00000000/0x00000008, flags 0x1
0000000, 0x00000000
        interrupts 0, underruns 0, ready 0
        {userland} -> feeder_root(0x00000000) -> {hardware}
        pcm0:play:0[pcm0:virtual:2]: spd 0, fmt 0x00000000/0x00000008, flags 0x1
0000000, 0x00000000
        interrupts 0, underruns 0, ready 0
        {userland} -> feeder_root(0x00000000) -> {hardware}
        pcm0:play:0[pcm0:virtual:3]: spd 0, fmt 0x00000000/0x00000008, flags 0x1
0000000, 0x00000000
        interrupts 0, underruns 0, ready 0
        {userland} -> feeder_root(0x00000000) -> {hardware}
 


More information about the freebsd-multimedia mailing list