From owner-freebsd-current@freebsd.org Tue May 3 09:59:32 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 436E3B29E13 for ; Tue, 3 May 2016 09:59:32 +0000 (UTC) (envelope-from etnapierala@gmail.com) Received: from mail-wm0-x236.google.com (mail-wm0-x236.google.com [IPv6:2a00:1450:400c:c09::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BEEC716C1 for ; Tue, 3 May 2016 09:59:31 +0000 (UTC) (envelope-from etnapierala@gmail.com) Received: by mail-wm0-x236.google.com with SMTP id a17so29213927wme.0 for ; Tue, 03 May 2016 02:59:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:mail-followup-to :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=10eBOgihVYrdd5Lq9ZV2tBzlGrJFwyObENDqVlP6v+0=; b=VRb1gnPFlGN/lZ46Gb7A4GzCSD/bmw4FwpG7FMzoEBZedWFKk2S5vQxUpSV6hpuKvt NlPUGh/NmCDRpPEVhdGXtJiBM+VFDd7Tc2XT15P+IfuLI70EX0wccwLubDIcy4H4RehJ bCIlcHt4eff12FvAh4NPAm2jKebEKFeZlIKAWod2ev6tAUqaIGoGi9wPJkIcEXNoEI/x maozD1/EKaa80qqCiIgkX+hLq7ZsIKysDf2tt63JVa7BlqeIJ6Q+uD9R2bn4tr4vMYhx ZFYvnUWXT4FIqd4BbhxTc/CbMOM3bKk0qIK8vh4YsnF3wfDRIr4ggUeRVJXeoSapOvfz kiMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=10eBOgihVYrdd5Lq9ZV2tBzlGrJFwyObENDqVlP6v+0=; b=LhdpmgkAYdZ6VQr1RovCWH/rt8CAZNGqEcS7AtMdc7nrEkKdx75Y0hATL1lPAnGjCh nw3B/UySfUFJDwNHxRh+dhZJUmpnKMGzN8xHxGhNiOWY6XHRqoaa/Dwn9Z0CynhceMef QxzyFlRuk6OSoROP4VichkXdlsjjMCNXApDd84zdiZrK57zCTd5mH6Cs5wFuX0eWzlPy 4N4G2+4hAm9BVScgfOlrIiv+ijE3OJKOsdm7zNcvPxSVHBy8Gv8PdNBSCsjd1Wbmxdiv Beuwx4rBLFor/E2wLS3L24rWJW2J5XT9IAeaMyeU7G7lmlqBXqbk7jdqm2gFbIrlYcT+ NyOg== X-Gm-Message-State: AOPr4FVlP1jh4C7bSLL8i0bAs20yX6lYDgbHB6w9a4e6WIPg7APnpYp+oYZD0BM67j+xGw== X-Received: by 10.194.2.130 with SMTP id 2mr1853793wju.77.1462269570010; Tue, 03 May 2016 02:59:30 -0700 (PDT) Received: from brick (aib157.neoplus.adsl.tpnet.pl. [83.25.209.157]) by smtp.gmail.com with ESMTPSA id b22sm3536024wmb.9.2016.05.03.02.59.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 03 May 2016 02:59:29 -0700 (PDT) Sender: =?UTF-8?Q?Edward_Tomasz_Napiera=C5=82a?= Date: Tue, 3 May 2016 11:59:25 +0200 From: Edward Tomasz =?utf-8?Q?Napiera=C5=82a?= To: Graham Menhennitt Cc: freebsd-current@freebsd.org Subject: Re: boot fails "Can't stat /dev/da0a: No such file or directory" Message-ID: <20160503095925.GC5892@brick> Mail-Followup-To: Graham Menhennitt , freebsd-current@freebsd.org References: <57247294.4050607@menhennitt.com.au> <57266A7E.1070500@menhennitt.com.au> <20160503084251.GB5892@brick> <57286DC6.3010403@menhennitt.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <57286DC6.3010403@menhennitt.com.au> User-Agent: Mutt/1.6.0 (2016-04-01) 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: Tue, 03 May 2016 09:59:32 -0000 On 0503T1922, Graham Menhennitt wrote: > On 3/05/2016 06:42 PM, Edward Tomasz NapieraƂa wrote: > > On 0502T0643, Graham Menhennitt 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. > > Have you run mergemaster after upgrade? In particular, do you have > > the current version of /etc/rc.d/mountcritlocal? > > > Thanks for replying, Edward. Yes I've installed that file. The delay > that Dave told me about has fixed the problem. Still, it would be nice if this worked by default. The updated mountcritlocal script should wait for USB to release root tokens if the mount initially fails,