More NetBSD-current fun at Linveo!

13»

Comments

  • @Not_Oles said: Qemu-guest-agent installed! Can now reboot from the web Control Panel!

    Couldn't you do that before already without qemu-guest-agent?

    I don't have qemu-guest-agent installed and I also get "power button pressed" when restarting from the control panel. I think that's using ACPI.

  • Not_OlesNot_Oles Provider

    @cmeerw

    When I shut down the VPS, usually it is because I want to make a backup. Usually what I do is shut down the VPS internally and then also run shutdown from the control panel. The idea being that the control panel shutdown possibly is less likely to mess up the backup or even harm the VPS file system internally if the VPS already is shutdown internally and in the control panel when the backup starts. Maybe there really is no danger, so that I am taking unnecessary steps.

    I haven't generally been using the control panel restart button. Just Shutdown and Boot.

    Yesterday, there was, for the first time, a control panel shutdown failure (as usual, following an internal NetBSD shutdown). This failure manifested as stuck at 73% completion in the control panel log for a long time, about an hour. I did start a backup, after allowing what usually would be enough time (30 sec) for the control panel shutdown to complete, but without checking the shutdown log. The backup seemed to complete, and I received the email confirming the backup as completed. Later, when I checked the control panel log again, the control panel log reported the shutdown as FAILED.

    Throughout the hour while the control panel shutdown seemed stuck at 73%, there seemed no way to reset the control panel. I tried reloading the page and logging out and logging in.

    I imagined that installing Qemu-guest-agent might facilitate the control panel shutdown.

    I never before saw the "power button pressed" message in this exact context. When I saw that message I assumed it was from Qemu-guest-agent. I didn't think about ACPI. There doesn't seem to be a "power button pressed" message in /var/log/messages:

    netbsd# cd /var/log
    netbsd# grep pressed messages
    netbsd# 
    

    I am guessing that ACPI messages might not be included in /var/log/messages.

    Maybe I should test the Shutdown from the control panel next? Any additional ideas for me, please?

    Thanks for your question! I really, really appreciate your kind help! :star:

  • Not_OlesNot_Oles Provider
    edited July 5
    netbsd# date
    Sun Jul  5 22:02:07 UTC 2026
    netbsd# # Trying control panel Shutdown 
    netbsd#                                                                                
    *** FINAL System shutdown message from [email protected] ***          
    System going down IMMEDIATELY                                                  
    
    power button pressed                          # Don't recall seeing this message before installing Qemu-guest-agent                                 
    
    Connection to xxx.xxx.xxx.xxx closed by remote host.
    Connection to xxx.xxx.xxx.xxx closed.
    chronos@penguin:~/2026/netbsd$ 
    

    From control panel log:

    Task Requested Duration Progress
    Shutdown Sunday, July 5, 2026 3:02 PM 17 sec 100% Complete

    Worked okay to Boot from control panel:

    chronos@penguin:~/2026/netbsd$ `head -n 1 login`
    Last login: Sun Jul  5 19:56:56 2026 from xxx.xxx.xxx.xxx
    NetBSD 11.99.6 (GENERIC) #0: Sat Jul  4 23:24:04 UTC 2026
    
    netbsd$ date
    Sun Jul  5 22:13:08 UTC 2026
    netbsd$ uptime
    10:13PM  up 1 min, 1 user, load averages: 0.06, 0.01, 0.00
    netbsd$ 
    
  • Not_OlesNot_Oles Provider

    @cmeerw said: I don't have qemu-guest-agent installed and I also get "power button pressed" when restarting from the control panel. I think that's using ACPI.

    As usual it seems like @cmeerw is right! :star:

    The single log entry below seems consistent with the use of ACPI when I pushed the Restart button on the Control Panel.

    Qemu-guest-agent doesn't seem to be doing much. Tagging @linveo in case he might be interested.

    netbsd# date
    Fri Jul 10 16:31:58 UTC 2026
    netbsd# cat /var/log/qemu-ga.log 
    1783660694.380036: debug: received signal num 15, quitting
    netbsd# tail -n 2 /etc/rc.conf
    qemu_guest_agent=YES
    qemu_guest_agent_flags="-d -m isa-serial -p /dev/tty00 -v -l /var/log/qemu-ga.log"
    netbsd# ps aux | grep qem[u]
    root     802  0.0  0.0 23724  1996 ?     Isl   5:18AM 0:00.00 /usr/pkg/bin/qemu-ga -d -m
    netbsd# uptime
     4:35PM  up 11:17, 1 user, load averages: 0.02, 0.01, 0.00
    netbsd# 
    
  • Not_OlesNot_Oles Provider
    edited August 4

    Since NetBSD 11 is out I decided to recompile my NetBSD Ryzen VPS at Linveo.

    Today is August 3, longer than usual since the last compile:

    netbsd$ sysctl kern.version
    kern.version = NetBSD 11.99.7 (GENERIC) #0: Sun Jul 19 07:32:00 UTC 2026
            [email protected]:/usr/obj/sys/arch/amd64/compile/GENERIC
    
    netbsd$ 
    

    The VPS is cooking quite well, as expected:

    load averages:  2.00,  2.03,  2.06;               up 15+04:06:22            01:39:56
    53 processes: 1 runnable, 50 sleeping, 2 on CPU
    CPU states: 85.5% user,  0.0% nice, 13.5% system,  0.3% interrupt,  0.7% idle
    Memory: 990M Act, 915M Inact, 4K Wired, 48M Exec, 1196M File, 773M Free
    Swap: 512M Total, 52K Used, 512M Free / Pools: 1229M Used / Network: 77K In, 1K Out
    
      PID USERNAME PRI NICE   SIZE   RES STATE       TIME   WCPU    CPU COMMAND
    19943 tom       26    0   451M  413M RUN/0       0:08 92.62% 33.59% cc1plus
     8518 tom       26    0   234M  194M CPU/1       0:01 55.35%  5.27% cc1plus
        0 root     222    0     0K   72M icmp6_/0   78:09  0.00%  0.00% [system]
    16731 tom       85    0    27M 5900K poll/1      1:56  0.00%  0.00% sshd-session
     7558 tom       85    0    13M 2940K poll/1      0:38  0.00%  0.00% nbmake
     1656 tom       85    0    13M 2968K poll/1      0:18  0.00%  0.00% nbmake
     1060 root      85    0    24M 3024K kqueue/1    0:05  0.00%  0.00% master
      591 root      85    0    20M 2648K kqueue/0    0:03  0.00%  0.00% syslogd
     1023 root      85    0    12M 1824K nanosl/1    0:03  0.00%  0.00% cron
    21739 tom       85    0    13M 2964K poll/1      0:01  0.00%  0.00% nbmake
    22333 tom       85    0    13M 2960K poll/1      0:01  0.00%  0.00% nbmake
     2687 tom       85    0    13M 2660K poll/1      0:01  0.00%  0.00% nbmake
    

    I will post more details later this evening or tomorrow about whether the compile completes.

    Remember that this is an Offer thread? Thanks again to Linveo for sponsoring this VPS! <3 If anyone is interested in sharing this VPS for free and helping me learn about NetBSD, that would be great! <3

  • Not_OlesNot_Oles Provider

    Okay, compile of userland and kernel finished successfully! Yaaay! Thanks NetBSD! <3

    ===> Successful make distribution
    ===> build.sh ended:      Tue Aug  4 02:31:45 UTC 2026
    ===> Summary of results:
             build.sh command:    /usr/src/build.sh -j 2 -O ../obj -T ../tools -U distrib
    ution
             build.sh started:    Mon Aug  3 23:30:48 UTC 2026
             NetBSD version:      11.99.7
             MACHINE:             amd64
             MACHINE_ARCH:        x86_64
             Build platform:      NetBSD 11.99.7 amd64
             HOST_SH:             /bin/sh
             /usr/src/../tools/bin/nbmake outdated (older than usr.bin/make/meta.c), needs building.
             Bootstrapping nbmake
             share/mk MAKECONF:   /etc/mk.conf
             MAKECONF file:       /etc/mk.conf
             TOOLDIR path:        /usr/src/../tools
             DESTDIR path:        /usr/src/../obj/destdir.amd64
             RELEASEDIR path:     /usr/src/../obj/releasedir
             Created /usr/src/../tools/bin/nbmake
             Updated makewrapper: /usr/src/../tools/bin/nbmake-amd64
             Successful make distribution
             build.sh ended:      Tue Aug  4 02:31:45 UTC 2026
    ===> .
        10857.11 real     14428.32 user      4975.87 sys
    
    ===> Kernels built from GENERIC:
      /usr/src/../obj/sys/arch/amd64/compile/GENERIC/netbsd
    ===> build.sh ended:      Tue Aug  4 02:43:33 UTC 2026
    ===> Summary of results:
             build.sh command:    /usr/src/build.sh -j 2 -O ../obj -T ../tools -U kernel=GENERIC
             build.sh started:    Tue Aug  4 02:31:45 UTC 2026
             NetBSD version:      11.99.7
             MACHINE:             amd64
             MACHINE_ARCH:        x86_64
             Build platform:      NetBSD 11.99.7 amd64
             HOST_SH:             /bin/sh
             share/mk MAKECONF:   /etc/mk.conf
             MAKECONF file:       /etc/mk.conf
             TOOLDIR path:        /usr/src/../tools
             DESTDIR path:        /usr/src/../obj/destdir.amd64
             RELEASEDIR path:     /usr/src/../obj/releasedir
             Updated makewrapper: /usr/src/../tools/bin/nbmake-amd64
             Building kernel without building new tools
             Building kernel:     GENERIC
             Build directory:     /usr/src/../obj/sys/arch/amd64/compile/GENERIC
             Kernels built from GENERIC:
              /usr/src/../obj/sys/arch/amd64/compile/GENERIC/netbsd
             build.sh ended:      Tue Aug  4 02:43:33 UTC 2026
    ===> .
          708.33 real       957.82 user       310.55 sys
    Tue Aug  4 02:43:33 UTC 2026
    /usr/src
    tom
    --------
    
  • Not_OlesNot_Oles Provider

    New kernel and userland installed! Up to date again!

    netbsd$ date
    Tue Aug  4 19:23:32 UTC 2026
    netbsd$ sysctl kern.version
    kern.version = NetBSD 11.99.7 (GENERIC) #0: Tue Aug  4 02:43:08 UTC 2026
            [email protected]:/usr/obj/sys/arch/amd64/compile/GENERIC
    
    netbsd$ ls -l /bin | head
    total 3916
    -r-xr-xr-x  2 root  wheel   22048 Aug  4 02:29 [
    -r-xr-xr-x  1 root  wheel   22016 Aug  4 02:29 cat
    lrwxr-xr-x  1 root  wheel      11 Aug  4 02:29 chgrp -> /sbin/chown
    -r-xr-xr-x  1 root  wheel   22232 Aug  4 02:29 chio
    -r-xr-xr-x  1 root  wheel   17584 Aug  4 02:29 chmod
    -r-xr-xr-x  1 root  wheel   33528 Aug  4 02:29 cp
    -r-xr-xr-x  1 root  wheel   57632 Aug  4 02:29 cpio
    -r-xr-xr-x  1 root  wheel  194992 Aug  4 02:29 csh
    -r-xr-xr-x  1 root  wheel   27264 Aug  4 02:29 date
    netbsd$ 
    

    Thanks @linveo! <3 Nice VPS available to share for someone who wants to teach me more about NetBSD. <3

  • Not_OlesNot_Oles Provider

    NetBSD pkgsrc's `pkg_rolling-replace" usually just works. Yesterday, however, there seemed to be a stubborn pkgsrc dependency error:

    netbsd# pkg_rolling-replace -rsuv
    ===> Building binary package for perl-5.44.0nb1
    => Creating binary package /usr/pkgsrc/packages/All/perl-5.44.0nb1.tgz
    ===> Replacing for perl-5.44.0nb1
    ===> Updating using binary package of perl-5.44.0nb1
    /usr/bin/env  /usr/sbin/pkg_add -K /usr/pkg/pkgdb -U -D /usr/pkgsrc/lang/perl5/wor
    k/.packages/perl-5.44.0nb1.tgz
    pkg_add: Can't open +CONTENTS of depending package p5-Net-Domain-TLD-1.75nb9
    pkg_add: 1 package addition failed
    *** Error code 1
    
    Stop.
    
    netbsd# 
    

    Here's why the dependency error was described above as "stubborn";

    netbsd# date
    Tue Aug 11 22:46:44 UTC 2026
    netbsd# cd /usr/pkgsrc
    netbsd# pkg_admin rebuild-tree
    pkg_admin: Dependency p5-Net-Domain-TLD-[0-9]* of p5-Email-Valid-1.204nb3 unresolved
    Done.
    netbsd# 
    

    The dependency error eventually seemed to get fixed after some fun troubleshooting:

    netbsd# date
    Tue Aug 11 22:48:50 UTC 2026
    netbsd# cd /usr/pkgsrc/net/p5-Net-Domain-TLD
    netbsd# make install CLEANDEPENDS=yes
    => Bootstrap dependency digest>=20211023: found digest-20220214
    ===> Installing binary package of p5-Net-Domain-TLD-1.75nb10
    netbsd# cd /usr/pkgsrc
    netbsd# pkg_admin rebuild-tree
    Done.
    netbsd# cd /usr/pkgsrc/lang/perl5
    pkg_add -K /usr/pkg/pkgdb -U work/.packages/perl-5.44.0nb1.tgz
    netbsd# date
    Tue Aug 11 22:54:35 UTC 2026
    netbsd# pwd
    /usr/pkgsrc/lang/perl5
    netbsd# make clean
    ===> Cleaning for perl-5.44.0nb1
    netbsd# 
    

    After perl had been installed and cleaned, pkg_rolling-replace finished successfully:

    netbsd# cd /usr/pkgsrc
    netbsd# pkg_rolling-replace -rsuv
      [ . . . ]
    RR> No more packages to replace; done.
    + asciidoc
    + bison
    + cmake
    + curl
    + gettext-lib
    + gettext-tools
    + git
    + git-base
    + git-contrib
    + git-perlscripts
    + glib2
    + glib2-tools
    + libffi
    + lynx
    + meson
    + nghttp2
    + p5-DBD-SQLite
    + p5-Email-Valid
    + p5-Net-DNS
    + pkgconf
    + py313-Socks
    + py313-alabaster
    + py313-babel
    + py313-brotli
    + py313-brotlicffi
    + py313-build
    + py313-calver
    + py313-certifi
    + py313-cffi
    + py313-charset-normalizer
    + py313-cparser
    + py313-distlib
    + py313-docutils
    + py313-flit_core
    + py313-hatch-vcs
    + py313-hatchling
    + py313-idna
    + py313-imagesize
    + py313-installer
    + py313-jinja2
    + py313-markupsafe
    + py313-packaging
    + py313-pathspec
    + py313-pip
    + py313-pluggy
    + py313-pygments
    + py313-pyparsing
    + py313-pyproject_hooks
    + py313-qemu.qmp
    + py313-requests
    + py313-roman_numerals
    + py313-setuptools
    + py313-setuptools_scm
    + py313-snowballstemmer
    + py313-sphinx
    + py313-sphinx-rtd-theme
    + py313-sphinxcontrib-applehelp
    + py313-sphinxcontrib-devhelp
    + py313-sphinxcontrib-htmlhelp
    + py313-sphinxcontrib-jquery
    + py313-sphinxcontrib-jsmath
    + py313-sphinxcontrib-qthelp
    + py313-sphinxcontrib-serializinghtml
    + py313-trove-classifiers
    + py313-urllib3
    + py313-urwid
    + py313-urwid_readline
    + py313-vcs-versioning
    + py313-wcwidth
    + py313-wheel
    + py313-zstandard
    + python313
    + qemu-guest-agent
    + sqlite3
    + xmlto
    netbsd# echo $?
    0
    netbsd# 
    

    Shutdown, backup, and reboot:

    netbsd$ date
    Wed Aug 12 00:26:58 UTC 2026
    netbsd$ uptime
    12:27AM  up 1 min, 1 user, load averages: 0.04, 0.01, 0.00
    netbsd$ sysctl kern.version
    kern.version = NetBSD 11.99.7 (GENERIC) #0: Tue Aug 11 01:16:13 UTC 2026
            [email protected]:/usr/obj/sys/arch/amd64/compile/GENERIC
    
    netbsd$ 
    

    I decided to run make clean inside /usr/pkgsrc:

    netbsd# date
    Wed Aug 12 01:00:28 UTC 2026
    netbsd# pwd
    /usr/pkgsrc
    netbsd# time make clean CLEANDEPENDS=yes 
    

    Apparently there are about 22,000 packages? The clean inside /use/pkgsrc started yesterday and seems still running today:

    # top
    load averages:  1.77,  1.77,  1.75;               up 0+20:19:23                           20:45:06
    34 processes: 1 runnable, 31 sleeping, 2 on CPU
    CPU states: 27.9% user,  0.0% nice, 36.6% system,  0.2% interrupt, 35.2% idle
    Memory: 1039M Act, 52M Inact, 4K Wired, 21M Exec, 1032M File, 1796M Free
    Swap: 512M Total, 512M Free / Pools: 1024M Used / Network: 40K In, 1K Out
    
      PID USERNAME PRI NICE   SIZE   RES STATE       TIME   WCPU    CPU COMMAND
        0 root     124    0     0K   21M syncer/1    4:51  0.00%  0.00% [system]
     1373 root      85    0    15M 4420K kqueue/0    2:26  0.00%  0.00% tmux
    20658 root      43    0    13M 2488K CPU/0       0:00  0.00%  0.00% top
    13688 root      28    0    13M 2768K CPU/1       0:00  0.00%  0.00% make
       81 root       0    0     0K    0K RUN/0       0:00  0.00%  0.00% make
    13244 tom       86   -2    18M 6556K wait/0      0:00  0.00%  0.00% su
    14522 root      85    0    24M 8716K poll/0      0:00  0.00%  0.00% sshd-session
      328 tom       85    0    27M 5952K poll/0      0:00  0.00%  0.00% sshd-session
     1079 postfix   85    0    24M 5512K kqueue/1    0:00  0.00%  0.00% qmgr
     3899 postfix   85    0    24M 5412K kqueue/1    0:00  0.00%  0.00% pickup
      859 root      85    0    19M 4468K poll/1      0:00  0.00%  0.00% sshd
     1058 root      85    0    24M 3036K kqueue/1    0:00  0.00%  0.00% master
     1324 root      85    0    13M 2832K wait/0      0:00  0.00%  0.00% make
      488 root      85    0    22M 2636K kqueue/1    0:00  0.00%  0.00% syslogd
    
    # Inside tmux
    ===> Cleaning for dbus-1.16.2nb2
    ===> Cleaning for libcups-2.4.19nb1
    ===> Cleaning for libXext-1.3.7
    ===> Cleaning for ghostscript-agpl-10.07.1
    ===> Cleaning for ghostscript-9.05nb48
    ===> Cleaning for ImageMagick-7.1.2.21nb4
    ===> Cleaning for libntlm-1.6
    ===> Cleaning for hicolor-icon-theme-0.18
    ===> Cleaning for gkrellm-share-2.4.0
    ===> Cleaning for shared-mime-info-2.4nb7
    ===> Cleaning for at-spi2-core-2.60.5
    ===> Cleaning for lzo-2.10
    ===> Cleaning for libXrender-0.9.12
    ===> Cleaning for pixman-0.46.4
    ===> Cleaning for cairo-1.18.4nb3
    ===> Cleaning for libXft-2.3.9
    ===> Cleaning for pango-1.58.0
    ===> Cleaning for py313-pathspec-1.1.1
    ===> Cleaning for py313-vcs-versioning-2.2.4
    
    [0] 0:awk*                                                    "netbsd.metalvps.com" 20:47 12-Aug-26
    
  • Not_OlesNot_Oles Provider

    As of just now, the clean is still running! :)

  • Not_OlesNot_Oles Provider
    edited August 16

    The clean finished, but I didn't post until now. Am I slower than a pkgsrc mega-clean? :)

    netbsd# date
    Wed Aug 12 01:00:28 UTC 2026
    netbsd# pwd
    /usr/pkgsrc
    netbsd# time make clean CLEANDEPENDS=yes 
      [ . . . ]
    ===> Cleaning for zola-0.22.0
       165193.93 real    114710.62 user     97052.25 sys
    netbsd# echo $?
    0
    netbsd# 
    

    Now, following a backup and a clean and a few days relaxing, this Linveo NetBSD sweetie VPS is yet again updating and re-compiling.

    From the OP:

    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.

    Thanks @linveo for sponsoring this excellent VPS! <3

  • Not_OlesNot_Oles Provider

    On Sunday I saw a locale issue which hasn't happened previously:

    netbsd# date
    Sun Aug 23 17:11:42 UTC 2026
    netbsd# pwd
    /usr/pkgsrc
    netbsd# /root/update-pkgsrc.sh 
      [ . . . ]
    ===> Checking for vulnerabilities in py313-sphinx-9.1.0
    ===> Overriding tools for py313-sphinx-9.1.0
    ===> Extracting for py313-sphinx-9.1.0
    tar: Pathname can't be converted from UTF-8 to current locale
    tar: Error exit delayed from previous errors
    *** Error code 1
    
    Stop.
    

    I kind of cheated:

    netbsd# date
    Sun Aug 23 17:24:37 UTC 2026
    netbsd# export LANG=en_US.UTF-8
    netbsd# nohup time pkg_rolling-replace -rsuv
      [ . . . ]
    RR> Re-checking for unsafe installed packages (unsafe_depends_strict=YES)
    RR> Packages to rebuild:
    rr> MISMATCH_TODO=[]
    rr> REBUILD_TODO=[]
    rr> UNSAFE_TODO=[]
    RR> No more packages to replace; done.
    + py313-qemu.qmp
    + py313-sphinx
    + py313-sphinx-rtd-theme
    + py313-sphinxcontrib-jquery
    + py313-urwid_readline
    + qemu-guest-agent
          337.61 real       222.69 user       100.30 sys
    

    I think these might be the excellent defaults from @cmeerw's excellent install image which Linveo kindly uses:

    netbsd$ date
    Wed Aug 26 00:50:12 UTC 2026
    netbsd$ echo $LANG
    
    netbsd$ locale
    LANG=""
    LC_CTYPE="C"
    LC_COLLATE="C"
    LC_TIME="C"
    LC_NUMERIC="C"
    LC_MONETARY="C"
    LC_MESSAGES="C"
    LC_ALL=""
    netbsd$ 
    

    Maybe there still might be some advantages to the C locale, even now in the UTF-8 Era? Or maybe C.UTF-8?

    Other the the above error, the August 23 rebuild went great! This VPS now yet again has newly updated and self-compiled NetBSD-current kernel, userland, and pkgsrc! This VPS has come in especially handy during the recent days when I have wanted to compare its default NetBSD builds with another not-quite-default NetBSD install.

    This free offer remains open! :) Thanks Linveo! &lt;3 Thanks @cmeerw! Thanks everyone! <3

  • Not_OlesNot_Oles Provider
    edited September 3

    Following up on

    @目玉焼き said: Hi everyone! I'm Mike, a CS PhD student researching compilers, programming languages, and formal verification for distributed systems.

    I took a quick look at Mike's personal website, from which I followed the link to a paper he co-authored, AlgoVeri: An Aligned Benchmark for Verified Code Generation on Classical Algorithms.

    For context, the AlgoVeri paper seems to use three verification language frameworks:

    • Daffny, from Microsoft Research (2009),
    • Lean, from Microsoft Research (2013), and
    • Versus, from Carnegie-Mellon (2022) (designed for Rust).

    The AlgoVeri paper's Abstract says that AlgoVeri uses "77 classical algorithms in Dafny, Verus, and Lean."

    Also, each of Dafny, Varus, and Lean "covers very different tasks, so the performance numbers are not directly comparable."

    The purpose of AlgoVeri perhaps could be described as adjusting and adapting the verification frameworks to each other and to use by LLMs.

    The final sentence of the Abstract linked to source code and data at https://github.com/haoyuzhao123/algoveri.

    I wondered which were the "77 classical algorithms." Google Search AI ssemed to think all 77 algorithms were used in each of the three language frameworks:

    Before this paper, existing verification benchmarks only tested individual languages on completely separate tasks, making it impossible to directly compare them. The AlgoVeri team solved this by taking the exact same 77 core algorithmic problems and writing identical functional contracts (specifications) for each one across all three reasoning ecosystems.

    and that I could use ls:

    If you clone the repository locally on your computer and run an ls command within their benchmark task folders (usually labeled by language or problem categories under a benchmarks/ or tasks/ directory), you will see all 77 unique algorithmic filenames laid out directory-by-directory.

    I decided to take a quick look:

    netbsd$ date
    Thu Sep  3 18:51:04 UTC 2026
    netbsd$ git clone https://github.com/haoyuzhao123/algoveri.git
    Cloning into 'algoveri'...
    remote: Enumerating objects: 2339, done.
    remote: Counting objects: 100% (124/124), done.
    remote: Compressing objects: 100% (85/85), done.
    remote: Total 2339 (delta 62), reused 72 (delta 36), pack-reused 2215 (from 1)
    Receiving objects: 100% (2339/2339), 1.20 MiB | 4.57 MiB/s, done.
    Resolving deltas: 100% (1486/1486), done.
    netbsd$ 
    

    I don't think Rust Is installed on my NetBSD VPS yet, but it's probably available, though I doubt I will go that far. For right now, I just want to list the algorithms.

    Of course, I could simply ask Google Search AI to list the algorithms. Alternatively, I could look on Github's HTML interface, Or maybe use a contemporary AI coding interface which integrates with Github. But the old command line way is still fun for me.

    Am I going to be able to find all 77 algorithms?

    Thanks to Linveo for sponsoring the nice Ryzen VPS! <3 If anyone wants to share it, please let me know.

  • checking whether vasprintf is declared... yes
    --- configure-gas ---
    checking for bison... /usr/src/../tools/bin/nbyacc
    checking for flex... /usr/src/../tools/bin/nblex
    checking lex output file root... lex.yy
    --- configure-libiberty ---
    checking whether snprintf is declared... yes
    checking whether vsnprintf is declared... yes
    checking whether calloc is declared... yes
    checking whether getenv is declared... yes
    checking whether getopt is declared... yes
    checking whether malloc is declared... yes
    checking whether realloc is declared... yes
    --- configure-gas ---
    checking lex library... -lfl
    --- configure-libiberty ---
    checking whether sbrk is declared... yes
    checking whether strtol is declared... yes
    checking whether strtoul is declared... yes
    --- configure-gas ---
    checking whether yytext is a pointer... yes
    checking whether NLS is requested... no
    --- configure-libiberty ---
    checking whether strtoll is declared... yes
    --- configure-gas ---
    checking for msgfmt... /usr/bin/msgfmt
    checking for gmsgfmt... /usr/bin/msgfmt
    checking for xgettext... /usr/bin/xgettext
    checking for msgmerge... /usr/bin/msgmerge
    checking for ld used by GCC... ld
    checking if the linker (ld) is GNU ld... yes
    checking for shared library run path origin... done
    --- configure-libiberty ---
    checking whether strtoull is declared... yes
    --- configure-gas ---
    checking for CFPreferencesCopyAppValue... no
    --- configure-libiberty ---
    checking whether strverscmp is declared... no
    --- configure-gas ---
    checking for CFLocaleCopyPreferredLanguages... no
    checking whether to use NLS... no
    checking whether NLS is requested... no
    checking whether to enable maintainer-specific portions of Makefiles... no
    checking for memory.h... (cached) yes
    --- configure-libiberty ---
    checking whether strnlen is declared... yes
    --- configure-gas ---
    checking for sys/stat.h... (cached) yes
    checking for sys/types.h... (cached) yes
    checking for unistd.h... (cached) yes
    --- configure-libiberty ---
    checking whether canonicalize_file_name must be declared... yes
    --- configure-gas ---
    checking whether compiling a cross-assembler... yes
    checking for strsignal... yes
    checking for LC_MESSAGES... yes
    checking for working assert macro... yes
    checking for a known getopt prototype in unistd.h... yes
    checking whether declaration is required for environ... yes
    checking whether declaration is required for ffs... no
    --- configure-libiberty ---
    checking for SHA1 HW acceleration support... x86 SHA1
    checking for stdlib.h... (cached) yes
    checking for unistd.h... (cached) yes
    checking for sys/param.h... (cached) yes
    checking for getpagesize... (cached) yes
    --- configure-gas ---
    checking whether mempcpy is declared... yes
    --- configure-libiberty ---
    checking for working mmap... yes
    --- configure-gas ---
    checking whether stpcpy is declared... yes
    checking for x86_64-unknown-netbsd11.99-pkg-config... no
    checking for pkg-config... /usr/pkg/bin/pkg-config
    checking pkg-config is at least version 0.9.0... yes
    --- configure-libiberty ---
    checking for working strncmp... yes
    --- configure-gas ---
    checking for struct stat.st_mtim.tv_sec in sys/stat.h... yes
    --- configure-libiberty ---
    configure: updating cache ./config.cache
    configure: creating ./config.status
    --- configure-gas ---
    checking for struct stat.st_mtim.tv_nsec in sys/stat.h... yes
    configure: updating cache ./config.cache
    --- configure-libiberty ---
    config.status: creating Makefile
    --- configure-gas ---
    checking that generated files are newer than configure... done
    configure: creating ./config.status
    --- configure-libiberty ---
    config.status: creating config.h
    config.status: executing default commands
    --- configure-binutils ---
    mkdir ./binutils
    Configuring in ./binutils
    configure: creating cache ./config.cache
    

    Happy Sunday! Yet again rebuilding NetBSD-current on a kindly donated, fast Linveo Ryzen VPS!

    Does anyone want to join, get a shell account on this excellent VPS?

    Best wishes!

    Tom

  • chronos@penguin:~/2026/netbsd$ `head -n 1 login`
    Last login: Mon Sep 21 01:48:08 2026 from xxx.xxx.xxx.xxx
    NetBSD 11.99.8 (GENERIC) #0: Sun Sep 20 23:43:37 UTC 2026
    
    netbsd$ date
    Mon Sep 21 01:53:38 UTC 2026
    netbsd$ uptime
     1:53AM  up 1 min, 1 user, load averages: 0.00, 0.00, 0.00
    netbsd$ ls -l /bin | head -n 5
    total 3916
    -r-xr-xr-x  2 root  wheel   22048 Sep 20 23:30 [
    -r-xr-xr-x  1 root  wheel   22016 Sep 20 23:30 cat
    lrwxr-xr-x  1 root  wheel      11 Sep 20 23:30 chgrp -> /sbin/chown
    -r-xr-xr-x  1 root  wheel   22232 Sep 20 23:30 chio
    netbsd$ 
    
  • @Not_Oles said:
    Am I going to be able to find all 77 algorithms?

    netbsd$ cd /home/tom/algoveri
    netbsd$ cd algoveri_data/
    netbsd$ ls
    README.md                                 longest_common_subsequence
    ac_automata                               longest_increasing_subsequence
    bellman_ford                              longest_palindrome_substring
    bfs                                       matrix_multiplication
    binary_search                             max_matching
    bipartite_check                           maxheap_popmax
    bracket_matching                          maxheap_push
    bst_delete                                maximum_subarray_sum
    bst_insert                                merge_sort
    bst_search                                polymul_karatsuba
    bst_zig                                   polymul_naive
    bst_zigzag                                prim
    bst_zigzig                                push_relabel
    bubble_sort                               queue_dequeue
    coin_change                               queue_enqueue
    cycle_detection                           quick_sort
    dfs                                       ringbuffer_dequeue
    dijkstra                                  ringbuffer_enqueue
    discrete_logarithm                        rod_cutting
    edmond_karp                               scc_tarjan
    fast_exponential                          segmenttree_build
    gcd                                       segmenttree_modify
    house_robber                              segmenttree_query
    insertion_sort                            sieve_method
    integer_exponential                       splaytree_splay
    jump_game                                 stack_pop
    k_smallest                                stack_push
    kmp                                       string_search_naive
    knapsack_01                               ternarysearchtree_delete
    knapsack_unbounded                        ternarysearchtree_insert
    kruskal                                   ternarysearchtree_search
    lca                                       topological_sort
    linear_search                             trial_division_naive
    linearsys_gf2                             trial_division_optimized
    llrbt_delete                              trie_delete
    llrbt_flipcolor                           trie_insert
    llrbt_insert                              trie_search
    llrbt_rotateleft                          unionfind_find
    llrbt_rotateright                         unionfind_linkroots
    netbsd$ ls -1 | wc -l
          78 # Looks like 77 algorithms plus 1 README.md file 
    netbsd$
    

    Thanks! Best wishes!

  • NetBSD 11.99.8 (GENERIC) #0: Sun Sep 20 23:43:37 UTC 2026
    
    netbsd$ git clone https://github.com/rodrigomarcelo643/vanilla-php-mvc-starterkit.git 
    Cloning into 'vanilla-php-mvc-starterkit'...
    remote: Enumerating objects: 2593, done.
    remote: Counting objects: 100% (57/57), done.
    remote: Compressing objects: 100% (45/45), done.
    remote: Total 2593 (delta 27), reused 29 (delta 10), pack-reused 2536 (from 1)
    Receiving objects: 100% (2593/2593), 1.23 MiB | 1.50 MiB/s, done.
    Resolving deltas: 100% (1569/1569), done.
    netbsd$ cd vanilla-php-mvc-starterkit/
    netbsd$ ls
    CHANGELOG.md         app                  install_composer.php routes
    CODE_OF_CONDUCT.md   assets               js                   server.php
    CONTRIBUTING.md      clear_cache.php      kit                  storage
    LICENSE              composer.json        kit.bat              test_env.php
    README.md            database             kit_src              tests
    SECURITY.md          fix_env.php          phpunit.xml
    VISUALS.md           index.php            public
    netbsd$ 
    
  • Not_OlesNot_Oles Provider
    edited October 5

    Interesting day today! NetBSD pkgsrc builds seemed to break while pkg_rolling-replace was compiling Lynx.

    LowEndSpirit - VPS Hosting and tech forum

    There was an interesting entry in /var/log/messages:

    Oct 4 21:50:19 netbsd /netbsd: [ 5.7789064] ffs_wapbl_replay_finish: /: unable to cleanup inode 3306969

    A reboot into single user mode, and single user fsck seemed to fix the issue.

    LowEndSpirit - VPS Hosting and tech forum

    Normal reboot succeeded following the single user fsck. Shut down again for backup. Reboot after backup looked good:

    Last login: Mon Oct  5 00:31:24 2026 from xxx.xxx.xxx.xxx
    NetBSD 11.99.9 (GENERIC) #0: Sun Oct  4 19:42:02 UTC 2026
    
    netbsd$ date; uptime
    Mon Oct  5 00:57:29 UTC 2026
    12:57AM  up 1 min, 1 user, load averages: 0.00, 0.00, 0.00
    netbsd$ ls -l /bin | head -n 5
    total 3916
    -r-xr-xr-x  2 root  wheel   22048 Oct  4 19:28 [
    -r-xr-xr-x  1 root  wheel   22016 Oct  4 19:28 cat
    lrwxr-xr-x  1 root  wheel      11 Oct  4 19:28 chgrp -> /sbin/chown
    -r-xr-xr-x  1 root  wheel   22232 Oct  4 19:28 chio
    netbsd$ 
    

    For whatever it's worth, the context here involves the entire VPS file system recently having been restored from a backup as a way of checking the VPS' ability to backup and restore and as a way of reverting a recent extra project.

    The crazy fun compile output shown above seems to have resulted from a restored file system fault injecting binary input into the terminal and the terminal attempting to render the binary input as text. Or, at least, that's a guess.

    • Does anybody have another idea about how the crazy terminal input might have happened?

    • Does anyone have an idea about how the filesystem issues mentioned above might have happened?

    As you can see above, the filesystem issues seem to have been fixed by fsck, and the VPS is again running great! So,

    • does anybody want to join me on this fast, fun, free Ryzen self-compiled NetBSD-current VPS? :star:

    Thanks to Linveo for sponsoring! <3

    There is nothing constantly running on this VPS. Its main job is following NetBSD-current and rebuilding everything once or twice per week to check that it can. Occasionally there might be an extra, short term project, a few of which have been posted above, but, except for the 3 or 4 hour compiles and subsequent reboots once or twice a week, the VPS is free almost all of the time.

    As it says in the OP, I'm looking for a friend who wants to help me learn! Thanks everyone!

Sign In or Register to comment.