From owner-freebsd-stable@freebsd.org Tue Feb 23 20:28:26 2021 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 99CC75517BA for ; Tue, 23 Feb 2021 20:28:26 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received: from webmail.dweimer.net (024-240-198-186.biz.spectrum.com [24.240.198.186]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "dweimer.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DlVxP4tHkz4ZGZ for ; Tue, 23 Feb 2021 20:28:25 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received-SPF: pass (webmail.dweimer.net: authenticated connection) receiver=webmail.dweimer.net; client-ip=10.9.5.1; helo=www.dweimer.net; envelope-from=dweimer@dweimer.net; x-software=spfmilter 2.001 http://www.acme.com/software/spfmilter/ with libspf2-1.2.10; Received: from www.dweimer.net (pfsense.dweimer.me [10.9.5.1]) (authenticated bits=0) by webmail.dweimer.net (8.16.1/8.16.1) with ESMTPSA id 11NKSHnI087542 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Tue, 23 Feb 2021 14:28:17 -0600 (CST) (envelope-from dweimer@dweimer.net) MIME-Version: 1.0 Date: Tue, 23 Feb 2021 14:28:11 -0600 From: "Dean E. Weimer" To: dweimer@dweimer.net Cc: Warner Losh , FreeBSD Stable Subject: Re: 13-BETA3 installation from source problems. Reply-To: dweimer@dweimer.net In-Reply-To: <33973f4e4af2144ee81aa615c0826b60@dweimer.net> References: <909bf509b35ec1cda7b70c749edc6b75@dweimer.net> <0b5141137f69e2f86dd49edd4ffd1e78@dweimer.net> <71f2608341cdea1e4a36551b61d7e4a0@dweimer.net> <33973f4e4af2144ee81aa615c0826b60@dweimer.net> User-Agent: Roundcube Webmail/1.4.11 Message-ID: X-Sender: dweimer@dweimer.net Organization: dweimer.net Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4DlVxP4tHkz4ZGZ X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.00 / 15.00]; HAS_REPLYTO(0.00)[dweimer@dweimer.net]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:24.240.198.184/29]; REPLYTO_ADDR_EQ_FROM(0.00)[]; HAS_ORG_HEADER(0.00)[]; DKIM_TRACE(0.00)[dweimer.net:+]; DMARC_POLICY_ALLOW(-0.50)[dweimer.net,reject]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[24.240.198.186:from]; ASN(0.00)[asn:20115, ipnet:24.240.196.0/22, country:US]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[dweimer.net:s=2017.01.31]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_SPAM_SHORT(1.00)[1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; SPAMHAUS_ZRD(0.00)[24.240.198.186:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-stable] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Feb 2021 20:28:26 -0000 On 2021-02-22 9:34 pm, Dean E. Weimer wrote: > On 2021-02-22 8:55 pm, Dean E. Weimer via freebsd-stable wrote: >> On 2021-02-22 5:52 pm, Warner Losh wrote: >> >>> What does this patch do for you? >>> >>> diff --git a/stand/i386/loader/Makefile b/stand/i386/loader/Makefile >>> index ad95948ec50a..cbbe15bd1fc0 100644 >>> --- a/stand/i386/loader/Makefile >>> +++ b/stand/i386/loader/Makefile >>> @@ -90,7 +90,8 @@ FILES+= ${LOADER} >>> FILESMODE_${LOADER}= ${BINMODE} -b >>> >>> # XXX crt0.o needs to be first for pxeboot(8) to work >>> -OBJS= ${BTXCRT} >>> +# Can't add it to OBJS w/o pain and suffering >>> +LDFLAGS+= ${BTXCRT} >>> >>> DPADD= ${LDR_INTERP32} ${LIBFIREWIRE} ${LIBI386} ${LIBSA32} >>> LDADD= ${LDR_INTERP32} ${LIBFIREWIRE} ${LIBI386} ${LIBSA32} >>> >>> Anything? >>> >>> Warner >> >> Success, mostly anyways. I tried copying and pasting above into a file >> (/tmp/patch) and using patch < /tmp/patch from usr/src. It failed to >> apply, so I just manually edited file, removed OBJS= line and added >> the comment and LDFLAGS+= line. ran make clean in usr/src/stand and >> then from usr/src ran make -DNO_CLEAN buildworld, then buildinstall >> completed. Don't know if email client added a special character that >> screwed up patch or I just did it wrong, but the fix appears to have >> worked. > > Maybe I spoke to soon, system failed to boot. Going to spool up a VM > to see if I can replicate issue within the VM. I was able to get the install to work and boot from my VM, I tried first without the patch, received the same error, patched and rebuilt to install. The failure to Boot my hardware machine maybe a fluke, I did get some warnings that may hint at one of my mirror disks failing. I did however run into some new issues, going to start a new thread looks like an update made since Beta3 snapshots were done on releng/13.0 tree has broke dtrace. -- Thanks, Dean E. Weimer http://www.dweimer.net/