Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jul 2013 19:13:23 +0300
From:      Alexander Motin <mav@FreeBSD.org>
To:        Hans Petter Selasky <hps@bitfrost.no>
Cc:        freebsd-current@freebsd.org, Jia-Shiun Li <jiashiun@gmail.com>
Subject:   Re: Panic at USB drive plugging in
Message-ID:  <51EEABA3.7060909@FreeBSD.org>
In-Reply-To: <51EEAA36.6030206@bitfrost.no>
References:  <CAHNYxxNwhAJChd0=DErbBguqjoPFgfYDFjv-CRzi1WNDdUvExw@mail.gmail.com> <51EEAA36.6030206@bitfrost.no>

next in thread | previous in thread | raw e-mail | index | archive | help
On 23.07.2013 19:07, Hans Petter Selasky wrote:
> On 07/23/13 17:12, Jia-Shiun Li wrote:
>> Hi all,
>>
>> as personal preference I compiled kernel with drivers as module as
>> possible. Recently I found that plugging in USB drives causes kernel
>> to panic. But it does not happen when booting with GENERIC kernel
>> which has USB drivers compiled in.
>>
>> panic screenshot:
>> http://goo.gl/pIIDaF
>>
>> back trace:
>> http://goo.gl/ww4yy6
>>
>> the kernel is compiled:
>> FreeBSD 4cbsd 10.0-CURRENT FreeBSD 10.0-CURRENT #1 r253395: Fri Jul 19
>> 15:20:08 CST 2013     jsli@4cbsd:/usr/obj/usr/src/sys/Minimal  amd64
>>
>> the back trace looks like devd and something had timing issues. Any
>> ideas?
>>
> This looks like a CAM/SCSI problem and not directly USB stack problem.

It seems crashed inside the CAM sg driver, that is not part of GENERIC 
kernel. Are you using it is some way?

-- 
Alexander Motin



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