From owner-freebsd-current@FreeBSD.ORG Tue Sep 1 21:00:19 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 946B210656B1 for ; Tue, 1 Sep 2009 21:00:19 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe01.swip.net [212.247.154.1]) by mx1.freebsd.org (Postfix) with ESMTP id 0ABEC8FC13 for ; Tue, 1 Sep 2009 21:00:17 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=tiTTFRzpjXQA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=aYXbfNu94yOmfdDKzA8A:9 a=CP8uwKzzROZbkgrK7ArPv6OUxj0A:4 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe01.swip.net (CommuniGate Pro SMTP 5.2.13) with ESMTPA id 247666626; Tue, 01 Sep 2009 23:00:16 +0200 To: freebsd-current@freebsd.org Content-Disposition: inline From: Hans Petter Selasky X-Face: (%:6u[ldzJ`0qjD7sCkfdMmD*RxpO< =?iso-8859-1?q?Q0yAl=7E=3F=60=27F=3FjDVb=5DE6TQ7=27=23h-VlLs=7Dk/=0A=09?=(yxg(p!IL.`#ng"%`BMrham7%UK,}VH\wUOm=^>wEEQ+KWt[{J#x6ow~JO:,zwp.(t; @ =?iso-8859-1?q?Aq=0A=09=3A4=3A=26nFCgDb8=5B3oIeTb=5E=27?=",; u{5{}C9>"PuY\)!=#\u9SSM-nz8+SR~B\!qBv Date: Tue, 1 Sep 2009 23:00:36 +0200 MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200909012300.37344.hselasky@c2i.net> Cc: Bill Squire {billsf} Subject: Re: The only problems with v8.0 are: X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 21:00:19 -0000 On Tuesday 01 September 2009 22:13:46 Bill Squire {billsf} wrote: > I believe snd_uaudio is not expecting HID. > Plugging in the driver in with hardware attached causes instant (but > harmless) freezing and no dump. Hi, Test proposal: Try to reduce: #define UAUDIO_RECURSE_LIMIT 24 /* rounds */ Into: #define UAUDIO_RECURSE_LIMIT 10 /* rounds */ In: /usr/src/sys/dev/sound/usb/uaudio.c Maybe the current descriptor parsing code is too CPU hungry if the descriptor is bad :-) --HPS