From owner-freebsd-current@freebsd.org Fri Dec 28 14:54:43 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 00004143B05C for ; Fri, 28 Dec 2018 14:54:42 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C77E58D9EF for ; Fri, 28 Dec 2018 14:54:41 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [88.217.97.141] (helo=localhost.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.86_2) (envelope-from ) id 1gctWy-0001SU-Ns for freebsd-current@freebsd.org; Fri, 28 Dec 2018 15:54:32 +0100 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.unixarea.de (8.15.2/8.14.9) with ESMTPS id wBSEsWdT002300 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Fri, 28 Dec 2018 15:54:32 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.15.2/8.14.9/Submit) id wBSEsWfB002299 for freebsd-current@freebsd.org; Fri, 28 Dec 2018 15:54:32 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Fri, 28 Dec 2018 15:54:32 +0100 From: Matthias Apitz To: freebsd-current@freebsd.org Subject: r342378 fails sometimes on boot mounting root (error 2) Message-ID: <20181228145432.GA2249@c720-r314251> Reply-To: Matthias Apitz Mail-Followup-To: freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Operating-System: FreeBSD 12.0-CURRENT r314251 (amd64) X-message-flag: Mails containing HTML will not be read! Please send only plain text. User-Agent: Mutt/1.8.0 (2017-02-23) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 88.217.97.141 X-Rspamd-Queue-Id: C77E58D9EF X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-4.69 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[guru@unixarea.de]; HAS_XOIP(0.00)[]; IP_SCORE(-3.01)[ip: (-8.68), ipnet: 178.254.0.0/19(-3.54), asn: 42730(-2.83), country: DE(-0.01)]; HAS_XAW(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; MX_GOOD(-0.01)[mail.unixarea.de]; NEURAL_HAM_SHORT(-0.97)[-0.966,0]; RECEIVED_SPAMHAUS_PBL(0.00)[141.97.217.88.zen.spamhaus.org : 127.0.0.10]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:42730, ipnet:178.254.0.0/19, country:DE]; RCVD_IN_DNSWL_LOW(-0.10)[101.4.254.178.list.dnswl.org : 127.0.5.1]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[unixarea.de]; R_SPF_NA(0.00)[]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_TLS_LAST(0.00)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 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: Fri, 28 Dec 2018 14:54:43 -0000 Hello, I've setup a new r342378 (December 23) for amd64 onto an external disk with this procedure: # grep da0 /var/log/messages ... Dec 28 14:20:01 c720-r314251 kernel: da0 at umass-sim0 bus 0 scbus1 target 0 lun 0 Dec 28 14:20:01 c720-r314251 kernel: da0: Fixed Direct Access SPC-4 SCSI device Dec 28 14:20:01 c720-r314251 kernel: da0: Serial Number 575854314134383033483150 Dec 28 14:20:01 c720-r314251 kernel: da0: 400.000MB/s transfers Dec 28 14:20:01 c720-r314251 kernel: da0: 953837MB (1953458176 512 byte sectors) Dec 28 14:20:01 c720-r314251 kernel: da0: quirks=0x2 # gpart destroy -F da0 da0 destroyed # gpart create -s gpt da0 da0 created # gpart add -t freebsd-boot -s 512k -a4k -l extboot da0 da0p1 added # gpart bootcode -b /boot/pmbr -p /boot/gptboot -i1 da0 partcode written to da0p1 bootcode written to da0 # gpart add -t freebsd-ufs -l extrootfs -b 1m -s 256g da0 da0p2 added # gpart add -t freebsd-swap -l extswap -a 1m -s 2g da0 da0p3 added # gpart add -t freebsd-ufs -l extbackupfs -a 1m da0 da0p4 added # newfs -U /dev/gpt/extrootfs # newfs -U /dev/gpt/extbackupfs # gpart set -a active da0 active set on da0 # gpart show -l da0 => 40 1953458096 da0 GPT (931G) 40 1024 1 extboot (512K) 1064 984 - free - (492K) 2048 536870912 2 extrootfs (256G) 536872960 4194304 3 extswap (2.0G) 541067264 1412388864 4 extbackupfs (673G) 1953456128 2008 - free - (1.0M) # mount /dev/gpt/extrootfs /mnt # cd /usr/src # make installworld DESTDIR=/mnt # make installkernel DESTDIR=/mnt # make distrib-dirs DESTDIR=/mnt # make distribution DESTDIR=/mnt # cd ~guru/C720 # cp -p rc.conf /mnt/etc # cp -p c720.kbd /mnt/etc # cp -p sysctl.conf /mnt/etc # cp -p loader.conf /mnt/boot/ # cp -p device.hints /mnt/boot/ # cat > /mnt/etc/fstab <