Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jun 2014 10:50:47 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-current@freebsd.org
Cc:        current@freebsd.org
Subject:   Re: Latest -current panic in uaudio_detach() / bus_dmamem_free()
Message-ID:  <201406231050.47200.jhb@freebsd.org>
In-Reply-To: <53A7A708.3010204@freebsd.org>
References:  <53A78B24.6050805@freebsd.org> <20140622224632.31b4ce3b@kan> <53A7A708.3010204@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On Monday, June 23, 2014 12:03:20 am Andrey Chernov wrote:
> On 23.06.2014 6:46, Alexander Kabaev wrote:
> > Please provide us with the information on the actual audio hardware
> > you are using, preferably in form of a dmesg output. 
> 
> uaudio0: <vendor 0x046d product 0x0990, class 239/2, rev 2.00/0.05, addr 7> 
on usbus3
> uaudio0: No playback.
> uaudio0: Record: 16000 Hz, 1 ch, 16-bit S-LE PCM format, 2x8ms buffer.
> uaudio0: No MIDI sequencer.
> pcm7: <USB audio> on uaudio0
> uaudio0: No HID volume keys found.
> 
> Thanx, after backing out the patch below this panic is gone. Probably even 
> additional b->dmatag NULL check is needed for bus_dmamap_unload() too.

No, buf_addr should only be set if bus_dmamap_load() was called.

-- 
John Baldwin



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