From owner-freebsd-questions@FreeBSD.ORG Mon Apr 5 08:24:54 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EE5B31065670 for ; Mon, 5 Apr 2010 08:24:54 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id ACD288FC18 for ; Mon, 5 Apr 2010 08:24:54 +0000 (UTC) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1Nyhc4-000551-L2; Mon, 05 Apr 2010 12:24:52 +0400 From: Boris Samorodov To: Peter Steele References: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3B65FA89@MBX03.exg5.exghost.com> Date: Mon, 05 Apr 2010 12:24:52 +0400 In-Reply-To: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3B65FA89@MBX03.exg5.exghost.com> (Peter Steele's message of "Thu, 1 Apr 2010 07:38:53 -0500") Message-ID: <84707499@bb.ipt.ru> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "freebsd-questions@freebsd.org" Subject: Re: USB disk boot issues 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, 05 Apr 2010 08:24:55 -0000 On Thu, 1 Apr 2010 07:38:53 -0500 Peter Steele wrote: > We clone systems from specially prepared USB flash sticks and this all works well, except that occasionally the flash stick fails to boot. It fails at the "mount root" step, saying that it cannot mount the specified root partition. We use a labeled partition on the disk to make it device independent, so we have something like > /dev/label/usbroot / ufs rw 1 1 > in our fstab. When it fails it doesn't recognize this device, and even ? doesn't list it as one of the available devices. If we reboot, it's likely the problem won't occur again. It seems to be some kind of timing issue. Is this a known problem? You can try to solve the problem by: ----- # echo "kern.cam.boot_delay=10000" >> /boot/loader.conf ----- -- WBR, Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve