Panic at USB drive plugging in

Alexander Motin mav at FreeBSD.org
Tue Jul 23 16:13:29 UTC 2013


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


More information about the freebsd-current mailing list