Re: Panic at USB drive plugging in

From: Alexander Motin <mav_at_FreeBSD.org>
Date: Tue, 23 Jul 2013 19:13:23 +0300
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_at_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
Received on Tue Jul 23 2013 - 14:13:29 UTC

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