More NetBSD-current fun at Linveo!

124»

Comments

  • @Not_Oles said:
    Yet another successful rebuild of NetBSD-current! :star:

    chronos@penguin:~/2026/linveo$ `head -n 1 login`
    Last login: Fri Feb 20 21:44:58 2026 from xxx.xxx.xxx.xxx
    NetBSD 11.99.5 (GENERIC) #2: Fri Feb 20 07:07:27 UTC 2026
    
    linveo# uptime
    10:21PM  up 3 mins, 1 user, load averages: 0.00, 0.00, 0.00
    linveo# 
    

    Wow, that

    `head -n 1 login`
    

    got me confused for a bit. Had never thought you could use it in that context.

  • Hi @cmeerw!

    In my Chromebook's Linux container's servers directory, each provider has its own subdirectory, inside of which each server has its own directory.

    The individual server directories each have a file named login. The first line of each login file (output by head -n 1) is the IPv4 ssh login command and the last line of each login file (output by tail -n 1) is the IPv6 ssh login command.

    As long as I am in the right directory, and using sh or bash, I almost always can log in by ssh to any server with the same two keystrokes: Ctrl+r (reverse search through previous commands) and then backtick (`).

    As you know, the backticks tell sh and bash to run as a command the output of what is between the backticks.

    Of course, as you know, ssh has it's own built-in shortcut procedure that can be set up in a configuration file.

    Thanks!

    Tom

  • Hopefully cmeerw's fix gets into NetBSD 11 so I could finally see a login prompt on my Linveo Intel VM :disappointed:

    It is working amazingly on FreeBSD though and the uptime has been impeccable.

  • Not_OlesNot_Oles Provider

    There seems to be a new version of the venerable pcc compiler available on Github at https://github.com/PortableCC.

    The new pcc seems to bootstrap successfully on NetBSD-current. The Github pcc sources were compiled first using NetBSD's native gcc, and then compiled again using the gcc-built pcc as the compiler to get a pcc-compiled, bootstrapped pcc.

    netbsd$ date
    Sun Apr  5 16:33:42 UTC 2026
    netbsd$ pwd
    /home/tom/PortableCC-compiles-itself/bin
    netbsd$ ls
    hello.c     p++     pcc     pcpp
    netbsd$ cat hello.c
    #include <stdio.h>
    int main() {
        printf("Hello from bootstrapped PCC!\n");
        return 0;
    }
    netbsd$ ./pcc -o hello hello.c
    netbsd$ ./hello
    Hello from bootstrapped PCC!
    netbsd$ ./pcc -v
    Portable C Compiler 1.2.0.DEVEL 20231021 for x86_64-unknown-netbsd11.99
    error: no input files
    netbsd$ 
    

    Thanks to Anders Magnusson, the recent main pcc developer! <3 Thanks to Linveo for sponsoring my NetBSD-current VPS! <3

  • Not_OlesNot_Oles Provider

    My sponsored Linveo VPS continues to compile NetBSD-current every few days. No issues, certainly no problems!

    I like Linveo so much that I actually bought and continue to pay for two additional VPSes from them, one for FreeBSD-current and another for OpenBSD-current.

    This thread's offer of a free share of this thread's sponsored NetBSD-current VPS remains open. Please check the OP for details!

  • Not_OlesNot_Oles Provider

    Looks like my sponsored Linveo NetBSD-current VPS has the wapbl(4) journal that @cmeerw mentioned in the BSD thread:

    netbsd$ cat /etc/fstab
    # NetBSD /etc/fstab
    # See /usr/share/examples/fstab/ for more examples.
    NAME=netbsd-root        /       ffs     rw,log  1 1 # Mounted with logging enabled. 
    NAME=netbsd-swap        none    swap    sw      0 0
    kernfs          /kern           kernfs  rw
    ptyfs           /dev/pts        ptyfs   rw
    procfs          /proc           procfs  rw
    /dev/cd0a       /cdrom          cd9660  ro,noauto
    tmpfs           /tmp            tmpfs   rw,-m1777,-sram%25
    tmpfs           /var/shm        tmpfs   rw,-m1777,-sram%25
    netbsd$ 
    

    It's been longer than usual since I updated and recompiled.

    netbsd$ sysctl kern.version
    kern.version = NetBSD 11.99.6 (GENERIC) #0: Mon May  4 16:54:33 UTC 2026
            [email protected]:/usr/obj/sys/arch/amd64/compile/GENERIC
    
    netbsd$ 
    
  • Not_OlesNot_Oles Provider

    A little more up to date now. . . .

    netbsd$ date; uptime
    Sat May 16 22:31:26 UTC 2026
    10:31PM  up 3 mins, 1 user, load averages: 0.00, 0.00, 0.00
    netbsd$ sysctl kern.version
    kern.version = NetBSD 11.99.6 (GENERIC) #0: Sat May 16 21:13:49 UTC 2026
            [email protected]:/usr/obj/sys/arch/amd64/compile/GENERIC
    
    netbsd$ ls -l /lib | head
    total 37580
    drwxr-xr-x  3 root  wheel      512 May 16 18:51 i386
    lrwxr-xr-x  1 root  wheel       13 May 16 21:02 libavl.so -> libavl.so.0.0
    lrwxr-xr-x  1 root  wheel       13 May 16 21:02 libavl.so.0 -> libavl.so.0.0
    -r--r--r--  1 root  wheel    16096 May 16 21:02 libavl.so.0.0
    lrwxr-xr-x  1 root  wheel       19 May 16 21:02 libblocklist.so -> libblocklist.so.0.1
    lrwxr-xr-x  1 root  wheel       19 May 16 21:02 libblocklist.so.0 -> libblocklist.so.0.1
    -r--r--r--  1 root  wheel    20792 May 16 21:02 libblocklist.so.0.1
    lrwxr-xr-x  1 root  wheel       14 May 16 18:56 libc.so -> libc.so.12.224
    lrwxr-xr-x  1 root  wheel       14 May 16 18:56 libc.so.12 -> libc.so.12.224
    netbsd$ 
    
  • Not_OlesNot_Oles Provider

    Happy Sunday! Happy Fathers Day to fellow fathers! <3

    For the last year, going on two now, NetBSD-current updates and recompiles, almost always flawlessly, sometimes while I am sleeping. The setup here is mostly generic and unmodified, just to track what's going on in the neighborhood, and to have the sources handy and available.

    This brings back memories of running and rebuilding NetBSD-current -- was it thirty years ago?

    Thanks to Linveo for sponsoring the build VPS. <3

    If someone wants to share this fine, free VPS . . . teach me something . . . please ask. :)

    chronos@penguin:~/2026/netbsd$ `head -n 1 login`
    Last login: Sun Jun 21 17:22:33 2026 from xxx.xxx.xxx.xxx
    NetBSD 11.99.6 (GENERIC) #0: Sun Jun 21 05:32:54 UTC 2026
    
    netbsd$ date
    Sun Jun 21 17:30:44 UTC 2026
    netbsd$ uptime
     5:30PM  up 1 min, 1 user, load averages: 0.00, 0.00, 0.00
    netbsd$ ls -l /lib | head
    total 37580
    drwxr-xr-x  3 root  wheel      512 Jun 21 02:58 i386
    lrwxr-xr-x  1 root  wheel       13 Jun 21 05:21 libavl.so -> libavl.so.0.0
    lrwxr-xr-x  1 root  wheel       13 Jun 21 05:21 libavl.so.0 -> libavl.so.0.0
    -r--r--r--  1 root  wheel    16096 Jun 21 05:21 libavl.so.0.0
    lrwxr-xr-x  1 root  wheel       19 Jun 21 05:21 libblocklist.so -> libblocklist.so.0.1
    lrwxr-xr-x  1 root  wheel       19 Jun 21 05:21 libblocklist.so.0 -> libblocklist.so.0.1
    -r--r--r--  1 root  wheel    20792 Jun 21 05:21 libblocklist.so.0.1
    lrwxr-xr-x  1 root  wheel       14 Jun 21 03:03 libc.so -> libc.so.12.224
    lrwxr-xr-x  1 root  wheel       14 Jun 21 03:03 libc.so.12 -> libc.so.12.224
    netbsd$ 
    
    netbsd# tail nohup.out
    + py313-packaging
    + py313-pyparsing
    + py313-pyproject_hooks
    + py313-setuptools
    + python313
    + xmlto
          931.05 real       471.85 user       200.40 sys
    Sun Jun 21 17:51:23 UTC 2026
    --------
    
    netbsd# date
    Sun Jun 21 17:52:43 UTC 2026
    netbsd# reboot
    
    chronos@penguin:~/2026/netbsd$ `head -n 1 login`
    Last login: Sun Jun 21 17:30:31 2026 from xxx.xxx.xxx.xxx
    NetBSD 11.99.6 (GENERIC) #0: Sun Jun 21 05:32:54 UTC 2026
    
    netbsd$ date
    Sun Jun 21 17:53:18 UTC 2026
    netbsd$ uptime
     5:53PM  1 user, load averages: 0.00, 0.00, 0.00
    netbsd$ uptime
     5:53PM  1 user, load averages: 0.00, 0.00, 0.00
    netbsd$ uptime
     5:53PM  up 1 min, 1 user, load averages: 0.00, 0.00, 0.00
    netbsd$ 
    
  • Not_OlesNot_Oles Provider

    July 4 edition, everything renewed! Thanks to @linveo! <3

    Free share of this fine, fast, Ryzen VPS is still available!

    Best wishes!

    chronos@penguin:~/2026/netbsd$ `head -n 1 login`
    Last login: Sat Jul  4 23:43:59 2026 from xxx.xxx.xxx.xxx
    NetBSD 11.99.6 (GENERIC) #0: Sat Jul  4 23:24:04 UTC 2026
    
    netbsd$ date
    Sat Jul  4 23:58:01 UTC 2026
    netbsd$ uptime
    11:58PM  up 2 mins, 1 user, load averages: 0.01, 0.00, 0.00
    netbsd$ ls -l /bin | head
    total 3916
    -r-xr-xr-x  2 root  wheel   22048 Jul  4 23:11 [
    -r-xr-xr-x  1 root  wheel   22016 Jul  4 23:11 cat
    lrwxr-xr-x  1 root  wheel      11 Jul  4 23:12 chgrp -> /sbin/chown
    -r-xr-xr-x  1 root  wheel   22232 Jul  4 23:11 chio
    -r-xr-xr-x  1 root  wheel   17584 Jul  4 23:11 chmod
    -r-xr-xr-x  1 root  wheel   33528 Jul  4 23:11 cp
    -r-xr-xr-x  1 root  wheel   57632 Jul  4 23:11 cpio
    -r-xr-xr-x  1 root  wheel  194992 Jul  4 23:11 csh
    -r-xr-xr-x  1 root  wheel   27264 Jul  4 23:11 date
    netbsd$ ls -l /lib | head
    total 37580
    drwxr-xr-x  3 root  wheel      512 Jul  4 20:51 i386
    lrwxr-xr-x  1 root  wheel       13 Jul  4 23:11 libavl.so -> libavl.so.0.0
    lrwxr-xr-x  1 root  wheel       13 Jul  4 23:11 libavl.so.0 -> libavl.so.0.0
    -r--r--r--  1 root  wheel    16096 Jul  4 23:11 libavl.so.0.0
    lrwxr-xr-x  1 root  wheel       19 Jul  4 23:11 libblocklist.so -> libblocklist.so.0.1
    lrwxr-xr-x  1 root  wheel       19 Jul  4 23:11 libblocklist.so.0 -> libblocklist.so.0.1
    -r--r--r--  1 root  wheel    20792 Jul  4 23:11 libblocklist.so.0.1
    lrwxr-xr-x  1 root  wheel       14 Jul  4 20:56 libc.so -> libc.so.12.224
    lrwxr-xr-x  1 root  wheel       14 Jul  4 20:56 libc.so.12 -> libc.so.12.224
    netbsd$ 
    
  • Not_OlesNot_Oles Provider

    Qemu-guest-agent installed! Can now reboot from the web Control Panel! Thanks @linveo!

    # Install Qemu Guest Agent in NetBSD Ryzen 
    netbsd# date
    Sun Jul  5 16:45:10 UTC 2026
    netbsd# pwd
    /usr/pkgsrc/sysutils/qemu-guest-agent
    netbsd# nohup make install
    # From nohup.out:
      [ . . . ]
    => Creating binary package /usr/pkgsrc/sysutils/qemu-guest-agent/work/.packages/qemu-gues
    t-agent-11.0.2.tgz
    ===> Building binary package for qemu-guest-agent-11.0.2
    => Creating binary package /usr/pkgsrc/packages/All/qemu-guest-agent-11.0.2.tgz
    ===> Installing binary package of qemu-guest-agent-11.0.2
    ===========================================================================
    The following files should be created for qemu-guest-agent-11.0.2:
    
            /etc/rc.d/qemu-guest-agent (m=0755)
                [/usr/pkg/share/examples/rc.d/qemu-guest-agent]
    
    ===========================================================================
    
    netbsd# 
    
    netbsd# cd /usr/pkg/share/examples/
    netbsd# cat qemu-guest-agent 
    #!/bin/sh
    #
    # $NetBSD: qemu-guest-agent.sh,v 1.3 2025/03/25 09:01:20 kim Exp $
    #
    # PROVIDE: qemu_guest_agent
    # REQUIRE: DAEMON
    #
    
    if [ -f /etc/rc.subr ]; then
            . /etc/rc.subr
    fi
    
    name="qemu_guest_agent"
    rcvar="${name}"
    command="/usr/pkg/bin/qemu-ga"
    command_args="-d -m isa-serial -p /dev/tty00 -r -t /var/run -f /var/run/${name}.pid"
    
    load_rc_config $name
    run_rc_command "$1"
    netbsd# cp qemu-guest-agent /etc/rc.d/
    netbsd# 
    
    netbsd# cd /etc
    netbsd# cp -p rc.conf rc.conf~
    netbsd# vi rc.conf
    netbsd# diff rc.conf~ rc.conf
    30a31
    > qemu_guest_agent=YES
    netbsd# 
    
    netbsd# service qemu-guest-agent onestart
    Starting qemu_guest_agent.
    netbsd# 
    
    netbsd# date
    Sun Jul  5 18:15:43 UTC 2026
    netbsd# service qemu-guest-agent status
    qemu_guest_agent is running as pid 28621.
    netbsd#
    
    netbsd# cd /usr/pkgsrc/sysutils/qemu-guest-agent
    netbsd# make show-depends
    py313-qemu.qmp-[0-9]*:../../emulators/py-qemu.qmp
    glib2>=2.84.4nb1:../../devel/glib2
    netbsd# date
    Sun Jul  5 18:28:29 UTC 2026
    netbsd# ls -lt /usr/pkg/pkgdb | grep 'Jul  5' # Dependencies of the two direct dependencies
    drwxr-xr-x  2 root  wheel       512 Jul  5 17:34 glib2-2.88.2
    drwxr-xr-x  2 root  wheel       512 Jul  5 17:34 py313-qemu.qmp-0.0.6
    drwxr-xr-x  2 root  wheel       512 Jul  5 17:34 qemu-guest-agent-11.0.2
    -rw-r--r--  1 root  wheel  14262272 Jul  5 17:34 pkgdb.byfile.db
    drwxr-xr-x  2 root  wheel       512 Jul  5 17:25 py313-urwid_readline-0.15.1nb1
    drwxr-xr-x  2 root  wheel       512 Jul  5 17:25 py313-urwid-4.0.3
    drwxr-xr-x  2 root  wheel       512 Jul  5 17:25 py313-wcwidth-0.8.2
    drwxr-xr-x  2 root  wheel       512 Jul  5 17:25 glib2-tools-2.88.2
    drwxr-xr-x  2 root  wheel       512 Jul  5 17:25 py313-sphinxcontrib-jquery-4.1nb2
    drwxr-xr-x  2 root  wheel       512 Jul  5 17:25 py313-sphinx-rtd-theme-3.1.0
    drwxr-xr-x  2 root  wheel       512 Jul  5 17:25 py313-sphinx-9.1.0
    drwxr-xr-x  2 root  wheel       512 Jul  5 17:25 py313-sphinxcontrib-serializinghtml-2.0.0nb1
    drwxr-xr-x  2 root  wheel       512 Jul  5 17:25 py313-sphinxcontrib-qthelp-2.0.0nb1
    drwxr-xr-x  2 root  wheel       512 Jul  5 17:25 py313-sphinxcontrib-jsmath-1.0.1nb2
    drwxr-xr-x  2 root  wheel       512 Jul  5 17:25 py313-sphinxcontrib-htmlhelp-2.1.0nb1
    drwxr-xr-x  2 root  wheel       512 Jul  5 17:25 py313-sphinxcontrib-devhelp-2.0.0nb1
    drwxr-xr-x  2 root  wheel       512 Jul  5 17:25 py313-sphinxcontrib-applehelp-2.0.0nb1
    drwxr-xr-x  2 root  wheel       512 Jul  5 17:25 py313-snowballstemmer-3.1.1
    drwxr-xr-x  2 root  wheel       512 Jul  5 17:25 py313-roman_numerals-4.1.0
    drwxr-xr-x  2 root  wheel       512 Jul  5 17:25 py313-requests-2.34.2
    drwxr-xr-x  2 root  wheel       512 Jul  5 17:25 py313-jinja2-3.1.6
    drwxr-xr-x  2 root  wheel       512 Jul  5 17:25 py313-imagesize-2.0.0
    drwxr-xr-x  2 root  wheel       512 Jul  5 17:25 py313-docutils-0.23
    drwxr-xr-x  2 root  wheel       512 Jul  5 17:25 py313-alabaster-1.0.0nb1
    drwxr-xr-x  2 root  wheel       512 Jul  5 17:24 py313-urllib3-2.7.0
    drwxr-xr-x  2 root  wheel       512 Jul  5 17:24 py313-idna-3.18
    drwxr-xr-x  2 root  wheel       512 Jul  5 17:24 py313-charset-normalizer-3.4.7
    drwxr-xr-x  2 root  wheel       512 Jul  5 17:24 py313-certifi-2026.6.17
    drwxr-xr-x  2 root  wheel       512 Jul  5 17:24 py313-zstandard-0.25.0
    drwxr-xr-x  2 root  wheel       512 Jul  5 17:24 py313-brotlicffi-1.2.0.1
    drwxr-xr-x  2 root  wheel       512 Jul  5 17:24 py313-brotli-1.2.0
    drwxr-xr-x  2 root  wheel       512 Jul  5 17:24 py313-Socks-1.7.1nb2
    drwxr-xr-x  2 root  wheel       512 Jul  5 17:23 brotli-1.2.0
    drwxr-xr-x  2 root  wheel       512 Jul  5 17:23 py313-cffi-2.0.0
    drwxr-xr-x  2 root  wheel       512 Jul  5 17:23 py313-cparser-3.0
    drwxr-xr-x  2 root  wheel       512 Jul  5 17:23 py313-setuptools_scm-10.2.0
    drwxr-xr-x  2 root  wheel       512 Jul  5 17:23 py313-hatchling-1.30.1
    drwxr-xr-x  2 root  wheel       512 Jul  5 17:23 py313-hatch-vcs-0.5.0
    drwxr-xr-x  2 root  wheel       512 Jul  5 17:22 py313-babel-2.18.0
    drwxr-xr-x  2 root  wheel       512 Jul  5 17:22 py313-markupsafe-3.0.3
    drwxr-xr-x  2 root  wheel       512 Jul  5 17:22 py313-pygments-2.20.0
    drwxr-xr-x  2 root  wheel       512 Jul  5 17:22 py313-trove-classifiers-2026.6.1.19
    drwxr-xr-x  2 root  wheel       512 Jul  5 17:22 py313-pluggy-1.6.0
    drwxr-xr-x  2 root  wheel       512 Jul  5 17:22 py313-pathspec-1.1.1
    drwxr-xr-x  2 root  wheel       512 Jul  5 17:22 py313-calver-2025.10.20
    drwxr-xr-x  2 root  wheel       512 Jul  5 17:22 py313-vcs-versioning-2.2.2
    drwxr-xr-x  2 root  wheel       512 Jul  5 17:22 py313-setuptools-82.0.1
    drwxr-xr-x  2 root  wheel       512 Jul  5 17:22 ninja-build-1.13.2
    drwxr-xr-x  2 root  wheel       512 Jul  5 17:22 meson-1.11.1
    drwxr-xr-x  2 root  wheel       512 Jul  5 17:21 re2c-4.5.1
    drwxr-xr-x  2 root  wheel       512 Jul  5 17:12 bison-3.8.2nb1
    drwxr-xr-x  2 root  wheel       512 Jul  5 17:12 zstd-1.5.7
    drwxr-xr-x  2 root  wheel       512 Jul  5 17:12 rhash-1.4.6
    drwxr-xr-x  2 root  wheel       512 Jul  5 17:12 libuv-1.52.1
    drwxr-xr-x  2 root  wheel       512 Jul  5 17:12 cmake-4.3.4
    drwxr-xr-x  2 root  wheel       512 Jul  5 16:49 lz4-1.10.0
    drwxr-xr-x  2 root  wheel       512 Jul  5 16:47 py313-pip-26.1.2
    drwxr-xr-x  2 root  wheel       512 Jul  5 16:47 py313-wheel-0.47.0
    drwxr-xr-x  2 root  wheel       512 Jul  5 16:47 py313-distlib-0.4.3
    netbsd# date
    Sun Jul  5 19:50:52 UTC 2026
    netbsd# reboot
    Connection to xxx.xxx.xxx.xxx closed by remote host.
    Connection to xxx.xxx.xxx.xxx closed.
    chronos@penguin:~/2026/netbsd$ `head -n 1 login`
    Last login: Sun Jul  5 16:44:14 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 19:51:50 UTC 2026
    netbsd$ uptime
     7:51PM  up 1 min, 1 user, load averages: 0.05, 0.01, 0.00
    netbsd$ top
    netbsd$ service qemu-guest-agent status
    qemu_guest_agent is running as pid 819.
    netbsd$ # Trying reboot from Control Panel
    netbsd$ date
    Sun Jul  5 19:55:02 UTC 2026
    netbsd$                                                                                
    *** FINAL System shutdown message from [email protected] ***          
    System going down IMMEDIATELY                                                  
    
    power button pressed                                                           
    
    Connection to xxx.xxx.xxx.xxx closed by remote host.
    Connection to xxx.xxx.xxx.xxx closed.
    chronos@penguin:~/2026/netbsd$ `head -n 1 login`
    Last login: Sun Jul  5 19:51:44 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 19:56:59 UTC 2026
    netbsd$ uptime
     7:57PM  up 1 min, 1 user, load averages: 0.02, 0.01, 0.00
    netbsd$ 
    
  • @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

Sign In or Register to comment.