Re: USB related panic on 8.2-PRERELEASE

From: Andriy Gapon <avg_at_freebsd.org>
Date: Fri, 10 Dec 2010 21:15:08 +0200
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_at_gmail.com> wrote:
>>>  Hello Hans,
>>>
>>> On Wed, Dec 8, 2010 at 3:33 PM, Hans Petter Selasky <hselasky_at_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
Received on Fri Dec 10 2010 - 18:15:16 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:10 UTC