From owner-freebsd-current@freebsd.org Mon Apr 29 14:33:49 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 11C0D1591309 for ; Mon, 29 Apr 2019 14:33:49 +0000 (UTC) (envelope-from lausts@acm.org) Received: from cdptpa-cmomta03.email.rr.com (cdptpa-outbound-snat.email.rr.com [107.14.166.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id B629F84FB8; Mon, 29 Apr 2019 14:33:47 +0000 (UTC) (envelope-from lausts@acm.org) Received: from mail.laus.org ([65.29.112.189]) by cmsmtp with ESMTP id L7LfhuzJjXGq6L7LhhIXr1; Mon, 29 Apr 2019 14:33:41 +0000 Received: from [192.168.1.100] (inspiron [192.168.1.100]) by mail.laus.org (8.15.2/8.15.2) with ESMTPS id x3TEXcC4013524 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Mon, 29 Apr 2019 10:33:38 -0400 (EDT) (envelope-from lausts@acm.org) X-Authentication-Warning: mail.laus.org: Host inspiron [192.168.1.100] claimed to be [192.168.1.100] Reply-To: lausts@acm.org Subject: Re: Question about 'gptzfsboot' From: Thomas Laus To: Ian Lepore , FreeBSD Current References: <01d10a11-49b2-2982-01cb-b49a0831d30b@acm.org> <5de29e0b5228d7eb0aac8e0eec116896f11ea862.camel@freebsd.org> Openpgp: preference=signencrypt Autocrypt: addr=lausts@acm.org; prefer-encrypt=mutual; keydata= mQGiBDx1NWwRBADARalI5I8kGeBYYYWnZB73T1fU4333yCuRokRvzlAZ5Zhb3hqsNdTEMheN FDjZSL8J5jeJtvSRinY2p09CxpAMoJR9zHLmHl+zEOY8fInbB+KiFtSfGf0blSEY9/+isQP9 xmUIQWUj0kwVtrns7m1Hr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/a1nW4UnWSqA7bgQvkthahhoLeHzkU8YKupW0m05RIBpqQER6HwBOksTq4 sWV/lUy1P0VT8GqqPLNklKe2BEu+KhuhLV6XwEG3VrHNoY6/R5CMGvBhZbtiUViCZktmxJAj Fq0VCcuj7+Oo52eq4BL2vMrzLX+2Ib1JSWid6t0N+grXxbr2mv7H2V2/4Vo0XI3IKxPX1mdG y9RBkbRUGyV9A8RlaS0QTnXvsxZTjOnmjxPX64hmBBgRAgAmAhsMFiEEGWhKgO0+oUSiSpl3 6/+C1GIINs8FAlwqCsMFCRhtvicACgkQ6/+C1GIINs/KCgCdGI1pg3HFhr7VEQeC63bhlMKH 0GAAn0mvTZY9OWKGMPoo0x/HdXkdgJHe Message-ID: <5bf88341-80f0-3aff-f51a-0b1975530f2e@acm.org> Date: Mon, 29 Apr 2019 10:33:38 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4wfL4z3TY96jYlRBt6JbfpDW2rBXENfn1hfhewyXJvaCUeijJH9Bz/2jYJuYXLRsrHG7Kbnd8qvLFRhZSsRi0JTGW15ePI6fJGqkZBPN8B7xI14vXBsYDj ZibcePB21vLbElDAAyEYoSNNmAwe8UlukvB0h78jGU8k0P7TRCVKxY5y48FYgj7HF+avDIDSGa4DOQ== X-Rspamd-Queue-Id: B629F84FB8 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; spf=softfail (mx1.freebsd.org: 107.14.166.228 is neither permitted nor denied by domain of lausts@acm.org) smtp.mailfrom=lausts@acm.org X-Spamd-Result: default: False [-2.53 / 15.00]; HAS_REPLYTO(0.00)[lausts@acm.org]; HAS_XAW(0.00)[]; REPLYTO_ADDR_EQ_FROM(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[cached: mail.mailroute.net]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.16)[-0.162,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:14065, ipnet:107.14.160.0/20, country:US]; MIME_TRACE(0.00)[0:+]; MID_RHS_MATCH_FROM(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[189.112.29.65.zen.spamhaus.org : 127.0.0.10]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.995,0]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[acm.org]; IP_SCORE(-0.26)[ipnet: 107.14.160.0/20(-0.69), asn: 14065(-0.55), country: US(-0.06)]; RCVD_IN_DNSWL_NONE(0.00)[228.166.14.107.list.dnswl.org : 127.0.5.0]; RWL_MAILSPIKE_POSSIBLE(0.00)[228.166.14.107.rep.mailspike.net : 127.0.0.17] 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 14:33:49 -0000 > On 2019-04-28 22:27, Ian Lepore wrote: >> >> 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. >> > I'll build and update my laptop OS this morning and report back to this > thread if I have any additional issues. > Ian: Updating to r346885 turned out to be a disaster! There were changes to DRM between FreeBSD 13.0-CURRENT r346544 and r346885. The desktop that I use for a build machine because it is much faster than any of my other PC's installed kernel and world without any problems including starting 'X'. I had to update the drm-current-kmod port on my build PC. Nothing was in /usr/src/UPDATING or /usr/ports/UPDATING about the need to do so. DRM on my build computer did not start until the update and then worked as expected. I did the same on my Dell laptop and it crashed on the first boot right after loading DRM-kmod. I removed the line in rc.conf that activates the kernel module and my laptop booted into multiuser. When I started 'X' it crashed just like before. The screen was black and I could not login remotely via SSH. Nothing in any system log. The Xorg log shows this and stops: 40.979] compiled for 1.18.4, module version = 2.4.0 [ 40.979] Module class: X.Org Video Driver [ 40.979] ABI class: X.Org Video Driver, version 20.0 [ 40.979] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets: i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G, 915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, GM45, 4 Series, G45/G43, Q45/Q43, G41, B43 [ 40.981] (II) intel: Driver for Intel(R) HD Graphics [ 40.981] (II) intel: Driver for Intel(R) Iris(TM) Graphics [ 40.981] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics [ 40.981] (II) modesetting: Driver for Modesetting Kernel Drivers: kms [ 40.981] (II) scfb: driver for wsdisplay framebuffer: scfb [ 40.981] (II) VESA: driver for VESA chipsets: vesa [ 40.981] (--) Using syscons driver with X support (version 2.0) [ 40.981] (--) using VT number 9 I had to recover my system using beadm to rollback to the last CURRENT snapshot from a week ago. Tom -- Public Keys: PGP KeyID = 0x5F22FDC1 GnuPG KeyID = 0x620836CF