Date: Fri, 3 Jul 2009 18:23:28 +0200 From: Hans Petter Selasky <hselasky@c2i.net> To: freebsd-usb@freebsd.org Cc: MIHIRA Sanpei Yoshiro <sanpei@sanpei.org> Subject: Re: [8-current] kernel panic at usbd_get_page+0x59 with uaudio Message-ID: <200907031823.29040.hselasky@c2i.net> In-Reply-To: <20090704.010107.116362740.sanpei@sanpei.org> References: <20090704.010107.116362740.sanpei@sanpei.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--Boundary-00=_BCjTKf63Wn82i1n Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline On Friday 03 July 2009 18:01:07 MIHIRA Sanpei Yoshiro wrote: > Hi. > > I use 8-current(csup-ed today) and uaudio device. > > I record FM radio with below line. > /usr/local/bin/wavrec -d /dev/dsp0.0 -x -t 10 -S -s 48000 test.wav > > kernel panic at usbd_get_page+0x59. > There has been a regression. Try the attached patch. --HPS --Boundary-00=_BCjTKf63Wn82i1n Content-Type: text/x-patch; charset="iso-8859-1"; name="uaudio.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="uaudio.diff" --- /usr/8-current/src/sys/dev/sound/usb/uaudio.c 2009-06-28 08:48:04.000000000 +0200 +++ uaudio.c 2009-07-03 18:20:32.000000000 +0200 @@ -1256,7 +1256,7 @@ for (n = 0; n != nframes; n++) { offset1 = offset0; - pc = usbd_xfer_get_frame(xfer, n); + pc = usbd_xfer_get_frame(xfer, 0); len = usbd_xfer_frame_len(xfer, n); while (len > 0) { --Boundary-00=_BCjTKf63Wn82i1n--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200907031823.29040.hselasky>