From owner-freebsd-questions@FreeBSD.ORG Sat May 1 11:27:17 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EF04A1065673 for ; Sat, 1 May 2010 11:27:17 +0000 (UTC) (envelope-from amsibamsi@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 4A72E8FC13 for ; Sat, 1 May 2010 11:27:16 +0000 (UTC) Received: by fxm15 with SMTP id 15so1013132fxm.13 for ; Sat, 01 May 2010 04:27:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:x-enigmail-version:content-type :content-transfer-encoding; bh=z4Sp6gUi/oCErAIyxqQnKvHFj4GgZSE6VGN6F9I223s=; b=vpbI2hpNhW44udbCLA0pxLljDwJLHMKcuoQQacScWROvtvj/ADRTv9Ibfa77r3vZpG /fwPA+5X9EiwrupMxdqGeSFwOmclsB2q/Bk+KGOd9gOndTiRCiria7VPM4FIKb0mw4Sn fZP+kQVUExLMddVm0i5BN1EvAekiHLAHX8brM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :x-enigmail-version:content-type:content-transfer-encoding; b=eY4i+P9wbCj241w2PHzQWbmWRg62vuT1GHHBOelNfDjkIMz1ql3gmCysCamp4+Asac 6ueidlYx5IBwWiEn4YHPMZv2HbjlG6JccOcpeBpj0lnMfEirpHg2env7m6I9ovRiP2VS 5zIAxTIqxD1+IVxdNix9ZuL9FMgc9bab0Db3E= Received: by 10.87.69.8 with SMTP id w8mr6009561fgk.58.1272713224073; Sat, 01 May 2010 04:27:04 -0700 (PDT) Received: from hulk.l.ttyv0.net (80-219-19-168.dclient.hispeed.ch [80.219.19.168]) by mx.google.com with ESMTPS id l12sm1833322fgb.27.2010.05.01.04.27.03 (version=SSLv3 cipher=RC4-MD5); Sat, 01 May 2010 04:27:03 -0700 (PDT) Message-ID: <4BDC1004.3040000@gmail.com> Date: Sat, 01 May 2010 13:27:00 +0200 From: Anselm Strauss User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.9) Gecko/20100424 Thunderbird/3.0.4 MIME-Version: 1.0 To: freebsd-questions@freebsd.org X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: USB mount delay X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 May 2010 11:27:18 -0000 Hi, I have the problem that on my ALIX system USB is first powered up when the FreeBSD kernel is loading. When local filesystems are mounted the USB disk is not yet ready and booting fails giving me a shell prompt. Shortly after I see the kernel message for the recognized /dev/da0 USB disk, mount it manually and booting can continue. Unfortunately I have to do this manual step every time I boot. The root filesystem is not mounted from USB. The USB disk has non-system relevant data. Is there any way to either tell the kernel to wait some time before mounting local filesystems from USB disks, or to mount filesystems later during boot? I already tried the following sysctl variables in /boot/loader.conf with values of 3000-5000 ms, they did not help: kern.cam.scsi_delay: Delay to allow devices to settle after a SCSI bus reset (ms) hw.usb.ss_delay: USB status stage delay in ms hw.usb.pr_recovery_delay: USB port reset recovery delay in ms hw.usb.no_boot_wait is set to 0. Thanks, Anselm