Re: Latest -current panic in uaudio_detach() / bus_dmamem_free()

From: John Baldwin <jhb_at_freebsd.org>
Date: Mon, 23 Jun 2014 10:50:47 -0400
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
Received on Mon Jun 23 2014 - 13:52:26 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:50 UTC