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.

  • Not_OlesNot_Oles Hosting ProviderContent Writer

    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

    Thanked by (2)cmeerw Crab
  • 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.

    Thanked by (1)Not_Oles
  • Not_OlesNot_Oles Hosting ProviderContent Writer

    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 Hosting ProviderContent Writer

    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 Hosting ProviderContent Writer

    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 Hosting ProviderContent Writer

    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$ 
    
    Thanked by (1)cmeerw
  • Not_OlesNot_Oles Hosting ProviderContent Writer

    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 Hosting ProviderContent Writer

    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$ 
    
    Thanked by (1)linveo
  • Not_OlesNot_Oles Hosting ProviderContent Writer

    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$ 
    
    Thanked by (1)cmeerw
  • @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.

    Thanked by (1)Not_Oles
  • Not_OlesNot_Oles Hosting ProviderContent Writer

    @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 Hosting ProviderContent Writer
    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 Hosting ProviderContent Writer

    @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# 
    
    Thanked by (1)cmeerw
Sign In or Register to comment.