From owner-freebsd-current@FreeBSD.ORG Wed Aug 5 22:02:00 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 51790106564A for ; Wed, 5 Aug 2009 22:02:00 +0000 (UTC) (envelope-from lwindschuh@googlemail.com) Received: from mail-qy0-f191.google.com (mail-qy0-f191.google.com [209.85.221.191]) by mx1.freebsd.org (Postfix) with ESMTP id 07BBE8FC14 for ; Wed, 5 Aug 2009 22:01:59 +0000 (UTC) Received: by qyk29 with SMTP id 29so422721qyk.3 for ; Wed, 05 Aug 2009 15:01:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=ZOYTLHLaNzmkHJ1tlXPaUZbVHsuKLXDvfJE2/S/rzbA=; b=QJdZhamdkxMS3Jaz5SLjiwHnPwnMaTh6PeY4tQ5FUxIQXhnzLnaBvckrbPkXIZBaGS YUObI8Q+HpJmKkWOfs230LfiXHbCbc2AYXwIWMIFKjbIRuasKkv9HmP/NPfdhOzfs5p/ HvdXZF3F+efQLkJHYVHX7fP602yzYDSpEF69U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=f1gfbJqI5KwKTok7ITgMOxTVktsZGi27dsD5V8j00ASGv96uLvS5Lx2QVTfxM/jy0/ KBQxl3vFLiqMzVTdUOdkssCE7hJS8vpot0lx++UxQb3T+3yQdk0jPjO/MSI+Tf2JLztD AuiuogUODtBcQ1fML0Yd8qvX4U22NUQ8/iflk= MIME-Version: 1.0 Received: by 10.229.80.73 with SMTP id s9mr2744866qck.56.1249509225070; Wed, 05 Aug 2009 14:53:45 -0700 (PDT) In-Reply-To: <200908051618.37902.hselasky@c2i.net> References: <90a5caac0908050258w1ea85736sac0b66ae5998e7de@mail.gmail.com> <200908051603.35169.hselasky@c2i.net> <3bbf2fe10908050713r79066277hd8822161b78222f@mail.gmail.com> <200908051618.37902.hselasky@c2i.net> Date: Wed, 5 Aug 2009 23:53:45 +0200 Message-ID: <90a5caac0908051453p2250125aq364f5d47f1b6c027@mail.gmail.com> From: Lucius Windschuh To: Hans Petter Selasky , current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Subject: Re: uaudio attach panic: Giant not locked 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: Wed, 05 Aug 2009 22:02:00 -0000 2009/8/5 Hans Petter Selasky : > On Wednesday 05 August 2009 16:13:31 Attilio Rao wrote: >> 2009/8/5 Hans Petter Selasky : >> > On Wednesday 05 August 2009 13:43:11 Robert Watson wrote: >> >> On Wed, 5 Aug 2009, Ed Schouten wrote: >> >> > * Lucius Windschuh wrote: >> >> >> So I updated my machine to CURRENT r196062 and use a USB audio >> >> >> converter. Attaching it to the machine leads to a kernel panic: >> >> >> >> >> >> >> >> > >> >> > I suspect this has something to do with the Newbus locking, which >> >> > causes some pieces of code to run without Giant held, while they >> >> > previously did. >> >> >> >> There's a patch in the re@ queue to re-add Giant around newbus >> >> attachment, per John Baldwin's request. =A0However, committing that p= atch >> >> is stalled while issues with the svn->cvs export of the new RELENG_8 >> >> branch are resolved. =A0I expect to see the patch go into the tree RS= N. >> > >> > Try this patch: >> > >> > http://perforce.freebsd.org/chv.cgi?CH=3D167030 > http://perforce.freebsd.org/chv.cgi?CH=3D167032 I applied both diffs to the usb_do_request calls and my sound adaptor is usable again. Thanks for the fast reply. Lucius