13-BETA3 installation from source problems.

Dean E. Weimer dweimer at dweimer.net
Tue Feb 23 20:28:26 UTC 2021


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/


More information about the freebsd-stable mailing list