USB related panic on 8.2-PRERELEASE

Andriy Gapon avg at freebsd.org
Fri Dec 10 19:15:16 UTC 2010


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


More information about the freebsd-current mailing list