Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Aug 2009 23:53:45 +0200
From:      Lucius Windschuh <lwindschuh@googlemail.com>
To:        Hans Petter Selasky <hselasky@c2i.net>, current@freebsd.org
Subject:   Re: uaudio attach panic: Giant not locked
Message-ID:  <90a5caac0908051453p2250125aq364f5d47f1b6c027@mail.gmail.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
2009/8/5 Hans Petter Selasky <hselasky@c2i.net>:
> On Wednesday 05 August 2009 16:13:31 Attilio Rao wrote:
>> 2009/8/5 Hans Petter Selasky <hselasky@c2i.net>:
>> > On Wednesday 05 August 2009 13:43:11 Robert Watson wrote:
>> >> On Wed, 5 Aug 2009, Ed Schouten wrote:
>> >> > * Lucius Windschuh <lwindschuh@googlemail.com> 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:
>> >> >>
>> >> >> <snip>
>> >> >
>> >> > 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



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