More NetBSD-current fun at Linveo!
Hello!
- VPS Share
Would anybody be interested in sharing my free Linveo AMD Ryzen 9 9950X NetBSD VPS in Arizona? It's open to friends who want to help me learn.
- Goals
Tonight I decided to (1) try some method of rolling release updates of NetBSD pkgsrc. For example, please see pkg_rolling-replace (mailing list, 2008 introduction), please see also the man page. I could use help figuring out the best method of rolling updates with pkgsrc.
Also, I think it might be fun to (2) see whether I can get 9vx working. I could use help with the code and the compiling on 64 bit NetBSD of the vx32 sandboxing library used by 9vx.
Maybe I could (3) try the X Windows installation from pkgsrc instead of the xsrc version, but I haven't looked into pkgsrc X, very much as yet.
- Procedure
I'm beginning by wiping and reinstalling my NetBSD-current VPS at Linveo. The reinstall is from Linveo vmcontrol, which offers @cmeerw's
NetBSD 10.1 image.
The process is installing NetBSD 10.1, then, with changes appropriate for 10.1, following the simple NetBSD 10 to NetBSD-current steps in Quick Recipe For Self-Compiled NetBSD-current On A Linveo VPS.
linveo# ftp -o - https://cdn.netbsd.org/pub/NetBSD/NetBSD-10.1/amd64/binary/sets/comp.tar.xz | progress -z tar xpf - -C /
linveo# which gcc
/usr/bin/gcc
linveo# cd /usr
linveo# mkdir obj src tools
linveo# mkdir /home
linveo# useradd -m -G wheel tom
linveo# passwd tom
Changing password for tom.
New Password:
Retype New Password:
linveo# chown tom obj src tools
linveo# su tom
linveo#
linveo$ pwd
/usr
linveo$ export CVSROOT="[email protected]:/cvsroot"
linveo$ export CVS_RSH="ssh"
linveo$ cvs checkout -A -P src
linveo$ cd src
linveo$ nohup ./build.sh -j 2 -O ../obj -T ../tools -U distribution && \
> nohup ./build.sh -j 2 -O ../obj -T ../tools -U kernel=GENERIC
I like nohup
because it gives me a full transcript of all the terminal output and because I don't have to stay connected. Back in the old days I used to start a NetBSD-current build and then sleep. I don't remember a build which failed to complete, but there might have been one.
I will post again, later, or maybe tomorrow, about whether this build completes.
I hope everyone gets the servers they want!
Comments
Wow! This VPS is fast! Both builds seem to have completed successfully!
So, sleep now, and install tomorrow.
I hope everyone gets the servers they want!
Here is the new kernel install, followed by a reboot to run the new kernel.
Then, with the new kernel running, we install the new userland and reboot again so that we are running both the new kernel and the new userland.
The new kernel needs to be running before we try to run the new userland because some on the new userland binaries may require features from the new kernel, whereas the new kernel should be capable of running both the old and the new userland binaries.
It seems that this VPS is running self-compiled NetBSD-current!
I hope everyone gets the servers they want!