From owner-freebsd-current@freebsd.org Mon Apr 29 02:27:18 2019 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 000871590B9A for ; Mon, 29 Apr 2019 02:27:17 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound1a.eu.mailhop.org (outbound1a.eu.mailhop.org [52.58.109.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3483086EF7 for ; Mon, 29 Apr 2019 02:27:17 +0000 (UTC) (envelope-from ian@freebsd.org) ARC-Seal: i=1; a=rsa-sha256; t=1556504830; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=msPHtzxYJck89mEWj1RlS62srBtqt2lP8JbzROiv8YV4+tp2+5iAKhoGLtBk311pVhI9kB5upBLL4 Hyrq9e4ZEQxrx9mXoV7o7w3SsHQKAncncWVAu3XYEZd/qu39sLv+CL5OwByM6TSyUWwAjZ1JIjIBUC uW6B/43o8H/4a7yhrDDqGLbUSRj+TOa5bbkY9Ii9gFO5BuiNYlhgmxlRlkjvM8LLmjx05Xig8N1qNv pF4eJcx++5VLUOpLwkz3XFW6uo6IzsM+Dma4iQLOIS1vgqZYxCQ64LhNtitEDSAXx61JTNPW1oEc4y Jfj9CgLwS+TXL25dm5oaB8iLNRqDSGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=arc-outbound20181012; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:to:from:subject:message-id:dkim-signature:from; bh=HqTz2fE3k8CAX39GGWKOC4i15JCsqTxQIez0P17CyXE=; b=WH1iEO+TwxLJ0GOLu22lZzPObBV23JWTJ+ZYipecaSXzNJI+m6sbkZUGGcGLUHFoFof5jElhHVb5b cd8Wa63QO+uvmBlJsikR2shPpIM4QNY2vZtVqnHrfbH2EavY85VptThOjYhXtWJbRTEYZolSVYwKnm +dJmcpSsw3pTvHK3XRXXN5S3mjhA66B7HsLH5nnzlZodHz641M/3frXF4RspJo9VDgjX7haV+oePaE +gDxDYjufJ85ySS1o8BT25HUXN4dYAgVZaFXjNQe+3oos7QuPbbH3gYaSjnVKNA/KGG/E/Qi0dzsK5 d1pbyjcLrL2HN59432QlFaht5v9nFYg== ARC-Authentication-Results: i=1; outbound2.eu.mailhop.org; spf=softfail smtp.mailfrom=freebsd.org smtp.remote-ip=67.177.211.60; dmarc=none header.from=freebsd.org; arc=none header.oldest-pass=0; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=dkim-high; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:to:from:subject:message-id:from; bh=HqTz2fE3k8CAX39GGWKOC4i15JCsqTxQIez0P17CyXE=; b=NDOZXyKWQbhMjiH3o1UQNioJPI15s0j+hAs2QOWKQapUlGltaiJ6wgS0EIx2S+WFvvWaudWt+wvZl Vn5QLoJh+b94DAH32//ZKttMb/yoC/0efW2PPdUEzIMCKwGhqrGdJMUnpt1W04GDBZlNn46vJY+goZ 3cap8T3anryjrAbyn3FTwNvcWkg/JYVN24Qd1TUbbI/PwHCBm6PqlNzRCcetGSSSV2oBVgckYgskez jRo8dKgdH6LOe1VMoi8XHPZrxIspxWGzcZtkUi/pAGi4dORB3rVYH54eKLu/kQZY0uT03yMYRl5VkA T+IN7CtKya0S7kYtP6ik2IC3zC3/W+Q== X-MHO-RoutePath: aGlwcGll X-MHO-User: 47eeeacd-6a26-11e9-803b-31925da7267c X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 67.177.211.60 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [67.177.211.60]) by outbound2.eu.mailhop.org (Halon) with ESMTPSA id 47eeeacd-6a26-11e9-803b-31925da7267c; Mon, 29 Apr 2019 02:27:07 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id x3T2R5rJ002746; Sun, 28 Apr 2019 20:27:05 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <5de29e0b5228d7eb0aac8e0eec116896f11ea862.camel@freebsd.org> Subject: Re: Question about 'gptzfsboot' From: Ian Lepore To: lausts@acm.org, freebsd-current@freebsd.org Date: Sun, 28 Apr 2019 20:27:05 -0600 In-Reply-To: <01d10a11-49b2-2982-01cb-b49a0831d30b@acm.org> References: <01d10a11-49b2-2982-01cb-b49a0831d30b@acm.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5 FreeBSD GNOME Team Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 3483086EF7 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.98 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.98)[-0.979,0]; ASN(0.00)[asn:16509, ipnet:52.58.0.0/15, country:US] 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: Mon, 29 Apr 2019 02:27:18 -0000 On Sun, 2019-04-28 at 19:29 -0400, Thomas Laus wrote: > On 2019-04-28 08:07, Ronald Klop wrote: > > > > Is this the same as this? > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=144234 > > > > The messages are similar. The boot process will normally proceed on > the > second or third attempt. On some days, I don't see this message > appear > and my laptops boot normally. I don't think that this problem is > hardware related. One laptop is a Compaq Pavilion with an AMD Turion > CPU and the other is a Dell Inspiron with an Intel Core2 Duo > CPU. One > hard drive is mechanical and the other is a SSD. I have swapped hard > drives between the two laptops and the issue still shows up on > occasion > with each PC. I have never seen this issue on any of my desktop > computers. Everything is running FreeBSD 13.0-CURRENT r346544 > GENERIC-NODEBUG at the moment. The thread in the bug report also > shows > a smaller LBA number, mine is LBA 18446744072709551608 and much > further > in geometry than most of the reported issues. I have seen this issue > since FreeBSD 12 was CURRENT. Since the boot process will work on a > second or third boot attempt, it is not a show stopper for me. > > Tom > If you're using gptzfsboot, I guess you're using zfs? I just fixed a problem with probing disks for zfs volumes a few days ago (r346675). There is even some small chance it fixes this problem, because one of the things I noticed was that in one of the disk structures in loader, the "slice offset" value was sometimes a bit random-looking, like it was being initialized with whatever garbage was laying around in memory. It actually makes some sense that the "garbage" might be different between a firstboot after power-on and a reboot. So all in all, it wouldn't hurt to update both gptzfsboot and loader (gpart bootcode -b and -p) to see if there's a fix lurking in my zfs probe changes. -- Ian