From owner-freebsd-current@FreeBSD.ORG Wed Jul 24 14:26:39 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 8559F860; Wed, 24 Jul 2013 14:26:39 +0000 (UTC) (envelope-from jiashiun@gmail.com) Received: from mail-oa0-x235.google.com (mail-oa0-x235.google.com [IPv6:2607:f8b0:4003:c02::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 495AE2288; Wed, 24 Jul 2013 14:26:39 +0000 (UTC) Received: by mail-oa0-f53.google.com with SMTP id k14so1135003oag.12 for ; Wed, 24 Jul 2013 07:26:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=wz/c48R5WduxmKaquuEmGVpes8u6Ud5Wf1iAePZOuns=; b=h19fqKgiJ6ze4naWlXKIpttAYTo+IVIu3hP/83SHXmZshUqWG1arzVWc7/FyIENf6l A7SZOH/nFOaNAbTsvBo8uepmmq6NOmp+9XFKB/G9QLlH6808EeEN5rMc+AJZihaQdtXk kEavWQvstmxt/OWEljygRY94FTsZ4zqT+ycKfKEU4YbtvSFvFwjCOXQYatdihuPj/Ppr RsJEmMsu0ZliHLhZP1uCtZKpBehI0fKbCqabEFTAKIHn1N7cOzyQKxDtQWeZXyxGzZXP qCr3+U6vjxTfPPxT1G0M0H7xT9wCCwwBpdIEjaArblbiz2VQbYOUcXCTH1s0QZpj41Nu xqNg== X-Received: by 10.60.95.198 with SMTP id dm6mr36650318oeb.44.1374675998238; Wed, 24 Jul 2013 07:26:38 -0700 (PDT) MIME-Version: 1.0 Received: by 10.76.131.111 with HTTP; Wed, 24 Jul 2013 07:26:08 -0700 (PDT) In-Reply-To: <51EEE15C.6020900@FreeBSD.org> References: <51EEAA36.6030206@bitfrost.no> <51EEABA3.7060909@FreeBSD.org> <51EEE15C.6020900@FreeBSD.org> From: Jia-Shiun Li Date: Wed, 24 Jul 2013 22:26:08 +0800 Message-ID: Subject: Re: Panic at USB drive plugging in To: Alexander Motin Content-Type: text/plain; charset=UTF-8 Cc: Hans Petter Selasky , 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: Wed, 24 Jul 2013 14:26:39 -0000 On Wed, Jul 24, 2013 at 4:02 AM, Alexander Motin wrote: > cam.k kernel module includes all existing periph drivers in one bundle. > Loading cam.ko you are probably getting sg driver also, that triggers > reported issue. You may try to rip out sg with single line hack to module's > Makefile. The real fix require looking closer on sg, which I never used. > Indeed. Test result did confirm that if sg is not included in cam.ko USB drives will not cause kernel to panic. Jia-Shiun.