From owner-freebsd-current@freebsd.org Mon May 2 11:31:00 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1110BB294EC for ; Mon, 2 May 2016 11:31:00 +0000 (UTC) (envelope-from graham@menhennitt.com.au) Received: from hapkido.dreamhost.com (hapkido.dreamhost.com [66.33.216.122]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DC3B11EF0 for ; Mon, 2 May 2016 11:30:58 +0000 (UTC) (envelope-from graham@menhennitt.com.au) Received: from homiemail-a124.g.dreamhost.com (caibbdcaaaib.dreamhost.com [208.113.200.81]) by hapkido.dreamhost.com (Postfix) with ESMTP id A5A5B9322D for ; Mon, 2 May 2016 04:30:52 -0700 (PDT) Received: from homiemail-a124.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a124.g.dreamhost.com (Postfix) with ESMTP id DE22060000104 for ; Mon, 2 May 2016 04:30:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=menhennitt.com.au; h=from :subject:to:references:message-id:date:mime-version:in-reply-to :content-type:content-transfer-encoding; s=menhennitt.com.au; bh=BDNAqFF3IK4KgEhye1vFtpvksGU=; b=UmOZvNgLtBQhbcqTFowoyPEuuBB4 hBd0uDT1s6rCVGub/LUALBDtPAc0XHj++dpOlvxjAueZnGfdHr0y9xwzJCkGD5wA D0bfaVYMxKnmrtqQASDyXOMPtd+Ei9z8NKhV44dyqztEEDg2PNRuGNpxeNTys8I3 4Muk9E9UytC4yhk= Received: from [203.2.73.68] (c122-107-214-88.mckinn3.vic.optusnet.com.au [122.107.214.88]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: graham@menhennitt.com.au) by homiemail-a124.g.dreamhost.com (Postfix) with ESMTPSA id 75E8660001030 for ; Mon, 2 May 2016 04:30:45 -0700 (PDT) From: Graham Menhennitt Subject: Re: boot fails "Can't stat /dev/da0a: No such file or directory" To: freebsd-current@freebsd.org References: <20160502042647.GC36305@asus-home1.asus-home1.domain> Message-ID: <57273A63.8030900@menhennitt.com.au> Date: Mon, 2 May 2016 21:30:43 +1000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.7.1 MIME-Version: 1.0 In-Reply-To: <20160502042647.GC36305@asus-home1.asus-home1.domain> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.22 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: Mon, 02 May 2016 11:31:00 -0000 On 2/05/2016 02:26 PM, Dave Males wrote: > On 30/04/2016 06:53 PM, Graham Menhennitt wrote: >> Hi all, >> >> I have a USB disk that I use for backup. Up till now, it's mounted >> without any problems at boot time. After updating to -current as of >> yesterday, it doesn't mount and causes the boot to fail. >> >> My /etc/fstab looks like: >> >> # Device Mountpoint FStype Options Dump Pass# >> >> /dev/ada0s1a / ufs rw 1 1 >> /dev/ada0s1b none swap sw 0 0 >> /dev/da0a /backup ufs rw,late 1 1 >> >> >> I tried adding the "late" to fix the problem, but it doesn't help. >> >> The error message is: >> >> /dev/ada0s1a: clean... >> Can't stat /dev/da0a: No such file or directory >> Unknown error; help! >> ERROR: ABORTING BOOT (sending SIGTERM to parent)! >> >> >> (hand transcribed - maybe typos) >> >> Can anybody help, please. >> >> Thanks, >> Graham >> Sorry, I forgot to mention... >> >> I commented out that line from fstab which allows the boot to complete. >> I can then manually mount it without any problems. It looks like the >> device doesn't get created early enough. >> >> Graham > Hi, > > I had the same error message with a USB storage drive, so I used kern.cam.boot_delay="10000" in /boot/loader.conf with success. > My /etc/fstab is /dev/da1p1 /mnt/usb1 ufs rw 2 2 > Have a look at /boot/defaults/loader.conf under Kernel tunables. > > Dave Thanks very much for replying and for that info, Dave. It worked! Thanks, Graham