From owner-freebsd-current@freebsd.org Wed May 3 18:54:11 2017 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 82BD0D571A5 for ; Wed, 3 May 2017 18:54:11 +0000 (UTC) (envelope-from tsoome@me.com) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 5FBB8167F for ; Wed, 3 May 2017 18:54:11 +0000 (UTC) (envelope-from tsoome@me.com) Received: by mailman.ysv.freebsd.org (Postfix) id 5F0DED571A4; Wed, 3 May 2017 18:54:11 +0000 (UTC) Delivered-To: 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 5EA29D571A0 for ; Wed, 3 May 2017 18:54:11 +0000 (UTC) (envelope-from tsoome@me.com) Received: from st13p35im-asmtp001.me.com (st13p35im-asmtp001.me.com [17.164.199.64]) (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 315A0167E for ; Wed, 3 May 2017 18:54:11 +0000 (UTC) (envelope-from tsoome@me.com) Received: from process-dkim-sign-daemon.st13p35im-asmtp001.me.com by st13p35im-asmtp001.me.com (Oracle Communications Messaging Server 7.0.5.38.0 64bit (built Feb 26 2016)) id <0OPE0080049UG300@st13p35im-asmtp001.me.com> for current@freebsd.org; Wed, 03 May 2017 18:53:21 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=4d515a; t=1493837600; bh=VSeffGjY/RtzhOohTBA8YDj69b5+DX0kN0rzdwbaPgM=; h=From:Message-id:Content-type:MIME-version:Subject:Date:To; b=X9rh6beAdK4hhJhaynd/LOmR3LBZ9PAIhNqknCR6/Z+dNImwzGupL//2MxAh17mjT OPfiKoAnSeynBwE7p9kGu9eq63xcBNLOP7W1AHqgzlYsRveL1NXv3JtHzVT+F3jzZ9 BASJs4I/C/n3TUH+QIWrE2omBWztk641QJIXXEjxpo9ZMHOssTq7sqY0GPGUkLQGps jm8AzmZhigK0vCN8ASeigezLYXN9TnLF3rkV9m1bZoyWtTNUmxfXOLouVkm1aMsCfY zWX4oqDMgIjau/ERK14U8uhQckBMR7IXkGyJ6AFXQGPd75R2teNSC8uASwflbpkSrz X6q9em8YHuCng== Received: from icloud.com ([127.0.0.1]) by st13p35im-asmtp001.me.com (Oracle Communications Messaging Server 7.0.5.38.0 64bit (built Feb 26 2016)) with ESMTPSA id <0OPE00C4R4GUBX50@st13p35im-asmtp001.me.com>; Wed, 03 May 2017 18:53:20 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-05-03_14:,, signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 clxscore=1034 suspectscore=2 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1701120000 definitions=main-1705030333 From: Toomas Soome Message-id: <2C0A4513-FDC4-440E-A5DD-E6F15F9F7EF2@me.com> MIME-version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: old snapshot install images? Date: Wed, 03 May 2017 21:53:17 +0300 In-reply-to: <20170503182301.GA18781@mail.michaelwlucas.com> Cc: Ngie Cooper , current@freebsd.org To: "Michael W. Lucas" References: <20170502191531.GA10288@mail.michaelwlucas.com> <20170503163424.GA18325@mail.michaelwlucas.com> <80F20120-06DF-4BC9-B317-F77B54512A8F@gmail.com> <20170503164150.GB18325@mail.michaelwlucas.com> <20170503180602.GA18700@mail.michaelwlucas.com> <828E5321-056C-4ABC-BBBB-B28CCD1079C9@me.com> <20170503182301.GA18781@mail.michaelwlucas.com> X-Mailer: Apple Mail (2.3273) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 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: Wed, 03 May 2017 18:54:11 -0000 > On 3. mai 2017, at 21:23, Michael W. Lucas = wrote: >=20 > On Wed, May 03, 2017 at 09:11:05PM +0300, Toomas Soome wrote: >>=20 >>> On 3. mai 2017, at 21:06, Michael W. Lucas = wrote: >>>=20 >>> On Wed, May 03, 2017 at 08:03:21PM +0300, Toomas Soome wrote: >>>> There was many issues fixed step by step and some fixes for = particular problem did reveal next one (at least in some systems), and = indeed, it can cause some problems if you are caught in middle of = updates. =46rom my point of view, the most important question is if the = current =E2=80=9Ccurrent=E2=80=9D is ok:) >>>=20 >>>=20 >>> Agreed 500%. >>>=20 >>> The latest snapshot is NOT ok. >>>=20 >>=20 >> What is the error there? >=20 >=20 > error 1 > error 1 > gptzfsboot: error 1 lba 4294967288 > gptzfsboot: error 1 lba 1 > gptzfsboot: no ZFS pools located, can't boot >=20 > My first thought was that the BIOS was looking at a different drive, > not the SATADOMs, so I disabled booting from all the spinning drives > in the BIOS. >=20 > On a related note: my script at http://www-old.michaelwlucas.com/zm.sh = > also gives the same error at boot. >=20 well, yea, i know what it is. sigh. Welcome to the x86 hell. error 1 is: Invalid command. And it is resulting firstly from drvsize() = (the lone =E2=80=9Cerror 1=E2=80=9D messages) and then from drvread(). = Now the question is, did you do the install from usb stick or cd, and = has this system booted fbsd from the disk before? The question is up because, the boot2 is only using INT13 extended read = (INT13 EAX=3D0x4200) and INT13 EAX=3D0x4800 to get disk size; if the = read is now getting error but was working before, it is pointing towards = the error from 0x4800 (drvsize) is triggering the error with read - = meaning we should probably attempt the disk reset on error. As an first take on possible fix, I think we need to address the = drvsize() to get size from INT13 0x800 as biosdisk.c bd_int13probe() = does, and reset the disk on error. And if this is not enough, then check = further. However, since you have the system to test with, the testing is all on = you;) So if you are up to the task, poke me in private (mail or irc) and = we can work it out - no need to kill the list with all that noise;) rgds, toomas=20