From owner-freebsd-current@FreeBSD.ORG Tue Jul 23 15:12:35 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 D03B352C for ; Tue, 23 Jul 2013 15:12:35 +0000 (UTC) (envelope-from jiashiun@gmail.com) Received: from mail-oa0-x229.google.com (mail-oa0-x229.google.com [IPv6:2607:f8b0:4003:c02::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A2B06236F for ; Tue, 23 Jul 2013 15:12:35 +0000 (UTC) Received: by mail-oa0-f41.google.com with SMTP id n10so11681769oag.28 for ; Tue, 23 Jul 2013 08:12:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=Yc7/x+k2aItg387OUjJPcHeCLLOGXUcCzeqELwZVn5U=; b=JGzDoidI3HepMNC6W7V40DxX7U714jlLq6sv34a6kIDsvYUNCu6mPzQ8mDpG5vemcV RHFn+LZtn5MYZXWil+siqPAGAEJXW9jpiOhrytpmEbsfOAkkyK1ClomnyNdAPMN+V1YT 3/Y0L7yewVqtxdEVhvRiBHGy0UCwoBegDNdBlazU6AS240fpF6dB5aJpjvdnuHJPKVVb T4lL/OhCle1a0WJ3pQCiHuS1kl7NawVw6P+lL+FN5sqK6NIpsWp3+XzfpxhlSnzWbmQV vK8HlcxgUNMJRLQN6ZMV2SFVg2cMQADJ4cTK1bDlkN7HPbMiekKu8iEvoxuqgMrYYVDF HXTw== X-Received: by 10.60.95.198 with SMTP id dm6mr31275774oeb.44.1374592354914; Tue, 23 Jul 2013 08:12:34 -0700 (PDT) MIME-Version: 1.0 Received: by 10.76.130.204 with HTTP; Tue, 23 Jul 2013 08:12:04 -0700 (PDT) From: Jia-Shiun Li Date: Tue, 23 Jul 2013 23:12:04 +0800 Message-ID: Subject: Panic at USB drive plugging in To: freebsd-current@freebsd.org Content-Type: text/plain; charset=UTF-8 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 15:12:35 -0000 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? Regards, Jia-Shiun.