Re: Upgrading via source build, 10.4->11.2

2018-12-05 Thread George Mitchell
On 12/4/18 9:35 PM, Warner Losh wrote:
> On Tue, Dec 4, 2018, 7:25 PM George Mitchell  [...]
>> kldxref /boot/kernel
>> kldxref: unknown metadata record 4 in file atacard.ko
>> kldxref: unknown metadata record 4 in file atp.ko
>> kldxref: unknown metadata record 4 in file atp.ko
>> [...etc...]
>>
>> Should I have started with "make buildworld," or would that have
>> bombed out even worse?  Do I reboot and "make buildworld"?  Or do
>> I "make buildworld" now, while still running 10.4?  -- George
>>
> 
> Just ignore the warnings. They are harmless.
> 
> Warner
> [...]

Thanks, that's what I expected.  But what I really need to know is
whether to make buildworld under 10.4 or 11.2.  Or do I do it twice?
And presumably I can't run mergemaster until after buildworld.
-- George



signature.asc
Description: OpenPGP digital signature


Re: Upgrading via source build, 10.4->11.2

2018-12-05 Thread Miroslav Lachman

George Mitchell wrote on 2018/12/05 14:24:

On 12/4/18 9:35 PM, Warner Losh wrote:

On Tue, Dec 4, 2018, 7:25 PM George Mitchell 
kldxref /boot/kernel
kldxref: unknown metadata record 4 in file atacard.ko
kldxref: unknown metadata record 4 in file atp.ko
kldxref: unknown metadata record 4 in file atp.ko
[...etc...]

Should I have started with "make buildworld," or would that have
bombed out even worse?  Do I reboot and "make buildworld"?  Or do
I "make buildworld" now, while still running 10.4?  -- George



Just ignore the warnings. They are harmless.

Warner
[...]


Thanks, that's what I expected.  But what I really need to know is
whether to make buildworld under 10.4 or 11.2.  Or do I do it twice?
And presumably I can't run mergemaster until after buildworld.


I did upgrade from 10.4 to 11.2 on all our machines, just one builworld, 
buildkernel on shared build server (NFS exported /usr/obj + /usr/src), 
then installkernel, mergemaster -p, installworld, mergemaster, shutdown 
-r now.


Miroslav Lachman
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


issue upgradning src

2018-12-05 Thread Maciej Jan Broniarz
Hi,

I want to upgrade my 12.0-ALPHA8 to the latest release, yet I am unable to 
update from source:

#pwd
/usr/src
#ls
COPYRIGHT   Makefile.libcompat  UPDATINGetc 
libexec share   tools
LOCKS   Makefile.sys.incbin gnu 
release stand   usr.bin
MAINTAINERS ObsoleteFiles.inc   cddlinclude 
rescue  sys usr.sbin
MakefileREADME  contrib 
kerberos5   sbintargets
Makefile.inc1   README.md   crypto  lib 
secure  tests
#svn update
Skipped '.'
svn: E155007: None of the targets are working copies
#uname -r
12.0-ALPHA8

On the other hand - freebsd-update also fails: 
#freebsd-update fetch
Looking up update.FreeBSD.org mirrors... 2 mirrors found.
Fetching public key from update4.freebsd.org... failed.
Fetching public key from update1.freebsd.org... failed.
No mirrors remaining, giving up.
#

How can i upgrade to the lastest release of 12.0 without reinstalling the 
system?

All best,
mjb
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: issue upgradning src

2018-12-05 Thread Patrick M. Hausen
Hi!

> Am 05.12.2018 um 16:45 schrieb Maciej Jan Broniarz :
> I want to upgrade my 12.0-ALPHA8 to the latest release, yet I am unable to 
> update from source:
> [...]
> #freebsd-update fetch

freebsd-update upgrade -r 12.0-RC3

HTH,
Patrick
-- 
punkt.de GmbH   Internet - Dienstleistungen - Beratung
Kaiserallee 13a Tel.: 0721 9109-0 Fax: -100
76133 Karlsruhe i...@punkt.de   http://punkt.de
AG Mannheim 108285  Gf: Juergen Egeling

___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: issue upgradning src

2018-12-05 Thread Maciej Jan Broniarz


- Oryginalna wiadomość -
Od: "Patrick M. Hausen" 
Do: "Maciej Jan Broniarz" 
DW: "freebsd-stable" 
Wysłane: środa, 5 grudzień 2018 16:56:53
Temat: Re: issue upgradning src

Hello,

> Am 05.12.2018 um 16:45 schrieb Maciej Jan Broniarz :
> I want to upgrade my 12.0-ALPHA8 to the latest release, yet I am unable to 
> update from source:
> [...]
> #freebsd-update fetch

>freebsd-update upgrade -r 12.0-RC3

I have tried that, but it didn't solve the problem:

#/usr/src # freebsd-update upgrade -r 12.0-RC3
Looking up update.FreeBSD.org mirrors... 2 mirrors found.
Fetching public key from update4.freebsd.org... failed.
Fetching public key from update1.freebsd.org... failed.
No mirrors remaining, giving up.


mjb
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: issue upgradning src

2018-12-05 Thread Yuri Pankov
Maciej Jan Broniarz wrote:
> 
> 
> - Oryginalna wiadomość -
> Od: "Patrick M. Hausen" 
> Do: "Maciej Jan Broniarz" 
> DW: "freebsd-stable" 
> Wysłane: środa, 5 grudzień 2018 16:56:53
> Temat: Re: issue upgradning src
> 
> Hello,
> 
>> Am 05.12.2018 um 16:45 schrieb Maciej Jan Broniarz :
>> I want to upgrade my 12.0-ALPHA8 to the latest release, yet I am unable to 
>> update from source:
>> [...]
>> #freebsd-update fetch
> 
>> freebsd-update upgrade -r 12.0-RC3
> 
> I have tried that, but it didn't solve the problem:
> 
> #/usr/src # freebsd-update upgrade -r 12.0-RC3
> Looking up update.FreeBSD.org mirrors... 2 mirrors found.
> Fetching public key from update4.freebsd.org... failed.
> Fetching public key from update1.freebsd.org... failed.
> No mirrors remaining, giving up.

I don't think you can use freebsd-update to upgrade from ALPHA.

For the `svn update`, sources installed from ISO are NOT svn checkout,
so you need to do that first removing what you currently have in
/usr/src --
https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html,
specifically see a note in 23.5.3 with a "Obtaining the Source" header.



signature.asc
Description: OpenPGP digital signature


Re: issue upgradning src

2018-12-05 Thread Maciej Jan Broniarz


- Oryginalna wiadomość -
Od: "Yuri Pankov" 
Do: "Maciej Jan Broniarz" 
DW: "freebsd-stable" 
Wysłane: środa, 5 grudzień 2018 17:34:15
Temat: Re: issue upgradning src

Maciej Jan Broniarz wrote:
> 
> 
> - Oryginalna wiadomość -
> Od: "Patrick M. Hausen" 
> Do: "Maciej Jan Broniarz" 
> DW: "freebsd-stable" 
> Wysłane: środa, 5 grudzień 2018 16:56:53
> Temat: Re: issue upgradning src
> 
> Hello,
> 
>> Am 05.12.2018 um 16:45 schrieb Maciej Jan Broniarz :
>> I want to upgrade my 12.0-ALPHA8 to the latest release, yet I am unable to 
>> update from source:
>> [...]
>> #freebsd-update fetch
> 
>> freebsd-update upgrade -r 12.0-RC3
> 
> I have tried that, but it didn't solve the problem:
> 
> #/usr/src # freebsd-update upgrade -r 12.0-RC3
> Looking up update.FreeBSD.org mirrors... 2 mirrors found.
> Fetching public key from update4.freebsd.org... failed.
> Fetching public key from update1.freebsd.org... failed.
> No mirrors remaining, giving up.

> I don't think you can use freebsd-update to upgrade from ALPHA.

> For the `svn update`, sources installed from ISO are NOT svn checkout,
> so you need to do that first removing what you currently have in
> /usr/src --
> https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html,
> specifically see a note in 23.5.3 with a "Obtaining the Source" header.

I have downloaded the sources with svn:

svn checkout https://svn.freebsd.org/base/releng/12.0

Still:
 # svn info /usr/src
svn: E155007: '/usr/src' is not a working copy

mjb
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: issue upgradning src

2018-12-05 Thread Yuri Pankov
Maciej Jan Broniarz wrote:
> 
> 
> - Oryginalna wiadomość -
> Od: "Yuri Pankov" 
> Do: "Maciej Jan Broniarz" 
> DW: "freebsd-stable" 
> Wysłane: środa, 5 grudzień 2018 17:34:15
> Temat: Re: issue upgradning src
> 
> Maciej Jan Broniarz wrote:
>>
>>
>> - Oryginalna wiadomość -
>> Od: "Patrick M. Hausen" 
>> Do: "Maciej Jan Broniarz" 
>> DW: "freebsd-stable" 
>> Wysłane: środa, 5 grudzień 2018 16:56:53
>> Temat: Re: issue upgradning src
>>
>> Hello,
>>
>>> Am 05.12.2018 um 16:45 schrieb Maciej Jan Broniarz :
>>> I want to upgrade my 12.0-ALPHA8 to the latest release, yet I am unable to 
>>> update from source:
>>> [...]
>>> #freebsd-update fetch
>>
>>> freebsd-update upgrade -r 12.0-RC3
>>
>> I have tried that, but it didn't solve the problem:
>>
>> #/usr/src # freebsd-update upgrade -r 12.0-RC3
>> Looking up update.FreeBSD.org mirrors... 2 mirrors found.
>> Fetching public key from update4.freebsd.org... failed.
>> Fetching public key from update1.freebsd.org... failed.
>> No mirrors remaining, giving up.
> 
>> I don't think you can use freebsd-update to upgrade from ALPHA.
> 
>> For the `svn update`, sources installed from ISO are NOT svn checkout,
>> so you need to do that first removing what you currently have in
>> /usr/src --
>> https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html,
>> specifically see a note in 23.5.3 with a "Obtaining the Source" header.
> 
> I have downloaded the sources with svn:
> 
> svn checkout https://svn.freebsd.org/base/releng/12.0
> 
> Still:
>  # svn info /usr/src
> svn: E155007: '/usr/src' is not a working copy

If that's the *exact* command you used, you now have a checkout in
"12.0" subdirectory of your $CWD.  What you need is something like the
following:

# rm -rf /usr/src/*
# svn checkout https://svn.freebsd.org/base/releng/12.0 /usr/src



signature.asc
Description: OpenPGP digital signature


Re: issue upgradning src

2018-12-05 Thread Maciej Jan Broniarz


- Oryginalna wiadomość -
Od: "Yuri Pankov" 
Do: "Maciej Jan Broniarz" 
DW: "freebsd-stable" 
Wysłane: środa, 5 grudzień 2018 17:43:25
Temat: Re: issue upgradning src

Maciej Jan Broniarz wrote:
> 
> 
> - Oryginalna wiadomość -
> Od: "Yuri Pankov" 
> Do: "Maciej Jan Broniarz" 
> DW: "freebsd-stable" 
> Wysłane: środa, 5 grudzień 2018 17:34:15
> Temat: Re: issue upgradning src
> 
> Maciej Jan Broniarz wrote:
>>
>>
>> - Oryginalna wiadomość -
>> Od: "Patrick M. Hausen" 
>> Do: "Maciej Jan Broniarz" 
>> DW: "freebsd-stable" 
>> Wysłane: środa, 5 grudzień 2018 16:56:53
>> Temat: Re: issue upgradning src
>>
>> Hello,
>>
>>> Am 05.12.2018 um 16:45 schrieb Maciej Jan Broniarz :
>>> I want to upgrade my 12.0-ALPHA8 to the latest release, yet I am unable to 
>>> update from source:
>>> [...]
>>> #freebsd-update fetch
>>
>>> freebsd-update upgrade -r 12.0-RC3
>>
>> I have tried that, but it didn't solve the problem:
>>
>> #/usr/src # freebsd-update upgrade -r 12.0-RC3
>> Looking up update.FreeBSD.org mirrors... 2 mirrors found.
>> Fetching public key from update4.freebsd.org... failed.
>> Fetching public key from update1.freebsd.org... failed.
>> No mirrors remaining, giving up.
> 
>> I don't think you can use freebsd-update to upgrade from ALPHA.
> 
>> For the `svn update`, sources installed from ISO are NOT svn checkout,
>> so you need to do that first removing what you currently have in
>> /usr/src --
>> https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html,
>> specifically see a note in 23.5.3 with a "Obtaining the Source" header.
> 
> I have downloaded the sources with svn:
> 
> svn checkout https://svn.freebsd.org/base/releng/12.0
> 
> Still:
>  # svn info /usr/src
> svn: E155007: '/usr/src' is not a working copy

If that's the *exact* command you used, you now have a checkout in
"12.0" subdirectory of your $CWD.  What you need is something like the
following:

# rm -rf /usr/src/*
# svn checkout https://svn.freebsd.org/base/releng/12.0 /usr/src

Ah, my bad. Thank you :)

___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"