From owner-freebsd-current@FreeBSD.ORG Tue Jul 23 16:05:45 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 8C245C3D; Tue, 23 Jul 2013 16:05:45 +0000 (UTC) (envelope-from hps@bitfrost.no) Received: from mta.bitpro.no (mta.bitpro.no [92.42.64.202]) by mx1.freebsd.org (Postfix) with ESMTP id 4B9A82702; Tue, 23 Jul 2013 16:05:44 +0000 (UTC) Received: from mail.lockless.no (mail.lockless.no [46.29.221.38]) by mta.bitpro.no (Postfix) with ESMTP id 4DD897A074; Tue, 23 Jul 2013 18:05:44 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.lockless.no (Postfix) with ESMTP id 297A18EFB23; Tue, 23 Jul 2013 18:05:48 +0200 (CEST) X-Virus-Scanned: by amavisd-new-2.6.4 (20090625) (Debian) at lockless.no Received: from mail.lockless.no ([127.0.0.1]) by localhost (mail.lockless.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id siGHw9cZO8M2; Tue, 23 Jul 2013 18:05:47 +0200 (CEST) Received: from laptop015.hselasky.homeunix.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) by mail.lockless.no (Postfix) with ESMTPSA id 6D7FB8EFB22; Tue, 23 Jul 2013 18:05:47 +0200 (CEST) Message-ID: <51EEAA36.6030206@bitfrost.no> Date: Tue, 23 Jul 2013 18:07:18 +0200 From: Hans Petter Selasky Organization: Bitfrost A/S User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130522 Thunderbird/17.0.6 MIME-Version: 1.0 To: Jia-Shiun Li Subject: Re: Panic at USB drive plugging in References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Alexander Motin , freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Jul 2013 16:05:45 -0000 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? > Hi, This looks like a CAM/SCSI problem and not directly USB stack problem. --HPS