From owner-freebsd-questions@FreeBSD.ORG Mon May 3 19:31:35 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 BCF16106564A for ; Mon, 3 May 2010 19:31:35 +0000 (UTC) (envelope-from amsibamsi@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.157]) by mx1.freebsd.org (Postfix) with ESMTP id 443908FC08 for ; Mon, 3 May 2010 19:31:35 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id l26so922608fgb.13 for ; Mon, 03 May 2010 12:31:30 -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:cc:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=eV8CzJ7Y+UcYn9nQPvNKSJrzbih8qupDT+HfBA8RGQQ=; b=D9IrokyjiX02FJXqqgfLjgCBmTSK8gsVLywuPBj7MEy+g+0hLBpVcjYcLnYiWwm0b+ /xRlfA5Xi0f6NCyL/HES2CopkavYeUaanOrNrCSEtuiSHRGaUkHlWfA1Vbz93Ims2Ay6 yeb3rNOWLTvcW5U1qV0Y4sxLlR5UfQrM2FAOg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=s04HQPyHwlYSQtQS17aX12MiuuCDF3XZMV1nZX1xH9sfD8KRdhUF3/iNjPZI1e+4fK MWDMQU6SO/RtGM79ysrvWHfg7mQTkoheZ1B3GnhSouLzut235DdQqeLDTxo+qZUbsYg7 3Q8jBnCyUYAey0Y6vNaVBMghWCWfnaxfOQFHs= Received: by 10.87.22.35 with SMTP id z35mr10987658fgi.46.1272915090816; Mon, 03 May 2010 12:31:30 -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 d4sm10872934fga.5.2010.05.03.12.31.29 (version=SSLv3 cipher=RC4-MD5); Mon, 03 May 2010 12:31:29 -0700 (PDT) Message-ID: <4BDF2490.6030102@gmail.com> Date: Mon, 03 May 2010 21:31:28 +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 References: <4BDC1004.3040000@gmail.com> <44ljc0lvkl.fsf@be-well.ilk.org> In-Reply-To: <44ljc0lvkl.fsf@be-well.ilk.org> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Lowell Gilbert Subject: Re: 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: Mon, 03 May 2010 19:31:35 -0000 On 05/03/10 19:54, Lowell Gilbert wrote: > Anselm Strauss writes: > >> 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. > > Why don't you just have devfs mount the disk when the disk does finally > show up? It sounds like you don't actually need that USB disk for > booting. You might need to use glabel to make sure only that one disk > is mounted automatically. > I totally missed the 'late' option in fstab. This mounts the filesystem later during boot and does the trick for me ;-) Thanks, Anselm