Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Dec 2010 21:15:08 +0200
From:      Andriy Gapon <avg@freebsd.org>
To:        Hans Petter Selasky <hselasky@c2i.net>
Cc:        freebsd-usb@freebsd.org, freebsd-current@freebsd.org
Subject:   Re: USB related panic on 8.2-PRERELEASE
Message-ID:  <4D027C3C.2030606@freebsd.org>
In-Reply-To: <201012101915.40878.hselasky@c2i.net>
References:  <AANLkTi=OxWODd0cQR%2BjKz7=Hxpnd52=HfLbuarfAiqbW@mail.gmail.com>	<AANLkTikyNpfBMXKeDcy1PYfAasYovmwjKZqRt8uXk%2BE-@mail.gmail.com>	<AANLkTinVuEg=YicnOSXm02NEWbpT4dbfVvyLiiUXzqq-@mail.gmail.com> <201012101915.40878.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help
on 10/12/2010 20:15 Hans Petter Selasky said the following:
> Hi,
> 
> I think this is a known issue which never got fixed. Please try the attached 
> patch and report back.
> 
> XXX_SAFE != XXX_REAL_SAFE :-)

SAFE in sys/queue.h macros means only that it is safe to unlink/free current
element in the loop body.  Specifically it has nothing to do with concurrent
modifications and locking.
So, yes :)

> On Thursday 09 December 2010 12:02:48 Oleg Nauman wrote:
>> On Wed, Dec 8, 2010 at 7:05 PM, Oleg Nauman <oleg.nauman@gmail.com> wrote:
>>>  Hello Hans,
>>>
>>> On Wed, Dec 8, 2010 at 3:33 PM, Hans Petter Selasky <hselasky@c2i.net> 
> wrote:
>>>> On Wednesday 08 December 2010 11:41:28 Oleg Nauman wrote:
>>>>> Hello,
>>>>>
>>>>> Unfortunately my notebook experienced the crash during the attempts to
>>>>> attach EVDO modem supplied with builtin MicroSD cardreader.
>>>>> Related core.txt file is attached as well as 'usbconfig
>>>>> dump_all_config_desc' output (all_config.txt)
>>>>> USB subsystem reports endless USB_ERR_STALLED events during attempts
>>>>> to attach umass device, but attaches it finally ( sometimes it
>>>>> attached after two attempts, sometimes it trying to attach during
>>>>> 15-20 minutes ).MicroSD is inserted there, without any effect  on
>>>>> attachment attempts though.
>>>>
>>>> Hi,
>>>>
>>>> Can you reproduce the panic using a kernel built with INVARIANTS options
>>>> and DEBUG_MEMGUARD .
>>>
>>>  I rebuilt my kernel with options you mentioned ( have added
>>> INVARIANT_SUPPORT required  by INVARIANTS though )
>>>
>>> Waiting on panic..
>>
>>  Got it finally ( core.txt file is attached )
>>


-- 
Andriy Gapon



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