From owner-freebsd-scsi@FreeBSD.ORG Fri Oct 2 05:11:32 2009 Return-Path: Delivered-To: scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 59CFC106566B; Fri, 2 Oct 2009 05:11:32 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.freebsd.org (Postfix) with ESMTP id 140568FC16; Fri, 2 Oct 2009 05:11:31 +0000 (UTC) Received: from [IPv6:::1] (pooker.samsco.org [168.103.85.57]) (authenticated bits=0) by pooker.samsco.org (8.14.2/8.14.2) with ESMTP id n925BPES023825; Thu, 1 Oct 2009 23:11:25 -0600 (MDT) (envelope-from scottl@samsco.org) From: Scott Long Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Date: Thu, 1 Oct 2009 23:11:25 -0600 Message-Id: To: current@freebsd.org, scsi@freebsd.org Mime-Version: 1.0 (Apple Message framework v1075.2) X-Mailer: Apple Mail (2.1075.2) X-Spam-Status: No, score=-4.4 required=3.8 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on pooker.samsco.org Cc: Subject: [PATCH] Moving CAM config to private SYSINIT X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2009 05:11:32 -0000 All, I'm working on fixing the boot-from-USB-doesn't-always work problem, which turns out to be a race between several different threads at boot. As a pre-requisite to controlling the race, I'm moving the CAM bus/device scan to its own private SYSINIT so that its execution is ordered. In practice, it should not affect anything, and systems should continue to boot as normal. That's where I need help in testing. If you have any CAM/SCSI devices that are present when you boot, please test this patch and let me know if it changes anything for you, good or bad. http://people.freebsd.org/~scottl/cam_hook.diff Thanks! Scott