![]() |
|
OpenBSD Installation and Upgrading Installing and upgrading OpenBSD. |
![]() |
|
Thread Tools | Display Modes |
|
|||
![]()
I just noticed that when I upgrade my VPS from a 1 core to 2 core plan, OpenBSD does not automatically recognize the change.
I can see: Code:
# sysctl hw.ncpu hw.ncpu=1 # sysctl hw.ncpufound hw.ncpufound=2 # sysctl hw.ncpuonline hw.ncpuonline=1 Note the ISP is Vultr and I installed from http using bsd.rd (as most excellently recommended by another forum user here). Last edited by openletter; 23rd December 2021 at 12:18 AM. Reason: Forgot ncpuonline |
|
|||
![]()
The only bsd files I have in / are /bsd, /bsd.booted, and /bsd.rd.
I did find elsewhere posts about /bsd.mp, but they were some years old and I wasn't clear if maybe things have changed? |
|
|||
![]()
During the reboot I got the message:
Code:
reorder_kernel: failed -- see /usr/share/relink/kernel/GENERIC.MP/relink.log Code:
# cat /usr/share/relink/kernel/GENERIC.MP/relink.log (SHA256) /bsd: OK make: don't know how to make newbsd Stop in /usr/share/relink/kernel/GENERIC.MP Code:
# sysctl hw.ncpu hw.ncpu=2 # sysctl hw.ncpufound hw.ncpufound=2 # sysctl hw.ncpuonline hw.ncpuonline=1 |
|
|||
![]()
Okay, so I failed to read correctly. Apparently I ran the relink command before rebooting. Let met reinstall and try again, because now I still get the message with the log entry:
Code:
(SHA256) /bsd: OK make: don't know how to make newbsd Stop in /usr/share/relink/kernel/GENERIC.MP |
|
|||
![]()
I did a reinstall with the 2 core instance, and I noticed that it installed bsd.mp as the kernel (I then destroyed the instance).
I did an install on a single core instance and I noticed that it did not even give the option to install bsd.mp. I upgraded the patches, rebooted, upgraded the instance, downloaded bsd.mp, followed the above instructions, and now I still get the message: Code:
reorder_kernel: failed -- see /usr/share/relink/kernel/GENERIC.MP/relink.log Code:
(SHA256) /bsd: OK make: don't know how to make newbsd Stop in /usr/share/relink/kernel/GENERIC.MP |
|
|||
![]()
I just noticed that the Vultr single core default install image uses bsd.mp kernel:
Code:
# ls /bsd* /bsd /bsd.booted /bsd.rd /bsd.sp # strings /bsd | grep ^GENERIC.MP GENERIC.MP#232 |
|
|||
![]()
I was able to safely get bsd.mp installed by booting into bsd.rd and selecting (U)pgrade.
When I got to the set selection, I could see [x] bsd.mp was there and later in the process it printed the message "Multiprocessor machine: using bsd.mp instead of bsd." I am still stuck with hw.ncpuonline=1. I'm wondering if this has more to do with the security restrictions on Intel CPUs or hyper-threading that, frankly, I don't know enough about. |
![]() |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Help with *.core file? | RJPugh | FreeBSD General | 1 | 18th December 2021 06:48 PM |
PowerShell Core | bsdun | General software and network | 3 | 17th May 2020 03:20 PM |
openbsd 5.8 KDE core | pawkolor | OpenBSD General | 3 | 26th August 2015 07:10 PM |
OpenBSD OpenBSD 5.2 arrives with improved multi-core support | J65nko | News | 0 | 2nd November 2012 01:19 PM |
Single and Multi User Mode Logging | chicago | OpenBSD General | 2 | 13th May 2011 06:51 PM |