HP ProDesk 405 G6 DeskMini - FreeBSD
Hardware info on main page.
This machine runs the amd64 version of FreeBSD.
keys: Esc - startup key, F9 - boot menu,
History
2024-10-31: nvd0p2 - reboot, FreeBSD 13.3-release-p8 is in
root@kg-vm5:~ # freebsd-version -ku 13.3-RELEASE-p7 13.3-RELEASE-p8
kernel
root@kg-vm5:~ # uname -a FreeBSD kg-vm5.kg4.no 13.3-RELEASE-p7 FreeBSD 13.3-RELEASE-p7 GENERIC amd64
2024-10-31: nvd0p2 - freebsd-update fetch
root@kg-vm5:~ # freebsd-update fetch [..] The following files will be updated as part of updating to 13.3-RELEASE-p8: /bin/freebsd-version /boot/kernel/ctl.ko /rescue/[ /rescue/bectl /rescue/bsdlabel /rescue/bunzip2 /rescue/bzcat /rescue/bzip2 /rescue/camcontrol /rescue/cat /rescue/ccdconfig /rescue/chflags /rescue/chgrp /rescue/chio /rescue/chmod /rescue/chown /rescue/chroot /rescue/clri /rescue/cp /rescue/csh /rescue/date /rescue/dd /rescue/devfs /rescue/df /rescue/dhclient /rescue/disklabel /rescue/dmesg /rescue/dump /rescue/dumpfs /rescue/dumpon /rescue/echo /rescue/ed /rescue/ex /rescue/expr /rescue/fastboot /rescue/fasthalt /rescue/fdisk /rescue/fetch /rescue/fsck /rescue/fsck_4.2bsd /rescue/fsck_ffs /rescue/fsck_msdosfs /rescue/fsck_ufs /rescue/fsdb /rescue/fsirand /rescue/gbde /rescue/geom /rescue/getfacl /rescue/glabel /rescue/gpart /rescue/groups /rescue/gunzip /rescue/gzcat /rescue/gzip /rescue/halt /rescue/head /rescue/hostname /rescue/id /rescue/ifconfig /rescue/init /rescue/ipf /rescue/iscsictl /rescue/iscsid /rescue/kenv /rescue/kill /rescue/kldconfig /rescue/kldload /rescue/kldstat /rescue/kldunload /rescue/ldconfig /rescue/less /rescue/link /rescue/ln /rescue/ls /rescue/lzcat /rescue/lzma /rescue/md5 /rescue/mdconfig /rescue/mdmfs /rescue/mkdir /rescue/mknod /rescue/more /rescue/mount /rescue/mount_cd9660 /rescue/mount_msdosfs /rescue/mount_nfs /rescue/mount_nullfs /rescue/mount_udf /rescue/mount_unionfs /rescue/mt /rescue/mv /rescue/nc /rescue/newfs /rescue/newfs_msdos /rescue/nos-tun /rescue/pgrep /rescue/ping /rescue/ping6 /rescue/pkill /rescue/poweroff /rescue/ps /rescue/pwd /rescue/rcorder /rescue/rdump /rescue/realpath /rescue/reboot /rescue/red /rescue/rescue /rescue/restore /rescue/rm /rescue/rmdir /rescue/route /rescue/routed /rescue/rrestore /rescue/rtquery /rescue/rtsol /rescue/savecore /rescue/sed /rescue/setfacl /rescue/sh /rescue/shutdown /rescue/sleep /rescue/spppcontrol /rescue/stty /rescue/swapon /rescue/sync /rescue/sysctl /rescue/tail /rescue/tar /rescue/tcsh /rescue/tee /rescue/test /rescue/tunefs /rescue/umount /rescue/unlink /rescue/unlzma /rescue/unxz /rescue/unzstd /rescue/vi /rescue/whoami /rescue/xz /rescue/xzcat /rescue/zcat /rescue/zdb /rescue/zfs /rescue/zpool /rescue/zstd /rescue/zstdcat /rescue/zstdmt /usr/bin/fetch /usr/lib/debug/boot/kernel/ctl.ko.debug /usr/sbin/bhyve /usr/src/sys/cam/ctl/ctl.c /usr/src/sys/conf/newvers.sh /usr/src/sys/dev/beri/virtio/virtio.c /usr/src/usr.bin/fetch/fetch.c /usr/src/usr.sbin/bhyve/hda_codec.c /usr/src/usr.sbin/bhyve/pci_hda.c /usr/src/usr.sbin/bhyve/pci_nvme.c /usr/src/usr.sbin/bhyve/virtio.c WARNING: FreeBSD 13.3-RELEASE-p7 is approaching its End-of-Life date. It is strongly recommended that you upgrade to a newer release within the next 1 month.
install
root@kg-vm5:~ # freebsd-update install Installing updates... Restarting sshd after upgrade Performing sanity check on sshd configuration. Stopping sshd. Waiting for PIDS: 1172, 1172. Performing sanity check on sshd configuration. Starting sshd. Scanning //usr/share/certs/blacklisted for certificates... Scanning //usr/share/certs/trusted for certificates... Scanning //usr/local/share/certs for certificates... done.
2024-09-29: nvd0p2 - reboot, FreeBSD 13.3-release-p7 is in
root@kg-vm5:~ # freebsd-version -ku 13.3-RELEASE-p7 13.3-RELEASE-p7
kernel
root@kg-vm5:~ # uname -a FreeBSD kg-vm5.kg4.no 13.3-RELEASE-p7 FreeBSD 13.3-RELEASE-p7 GENERIC amd64
2024-09-29: nvd0p2 - freebsd-update fetch
root@kg-vm5:~ # freebsd-update fetch Looking up update.FreeBSD.org mirrors... 3 mirrors found. Fetching metadata signature for 13.3-RELEASE from update2.freebsd.org... done. Fetching metadata index... done. Fetching 2 metadata patches.. done. Applying metadata patches... done. Inspecting system... done. Preparing to download files... done. Fetching 19 patches.....10.... done. Applying patches... done. Fetching 1 files... done. The following files will be added as part of updating to 13.3-RELEASE-p7: /usr/src/tests/sys/netpfil/pf/icmp6.sh The following files will be updated as part of updating to 13.3-RELEASE-p7: /bin/freebsd-version /boot/kernel/kernel /boot/kernel/pf.ko /lib/libnv.so.0 /usr/include/net/pfvar.h /usr/lib/debug/boot/kernel/pf.ko.debug /usr/lib/libnv.a /usr/lib/libnv_p.a /usr/lib32/libnv.a /usr/lib32/libnv.so.0 /usr/lib32/libnv_p.a /usr/sbin/bhyve /usr/src/sys/conf/newvers.sh /usr/src/sys/contrib/libnv/nvlist.c /usr/src/sys/net/pfvar.h /usr/src/sys/netpfil/pf/pf.c /usr/src/sys/netpfil/pf/pf_lb.c /usr/src/tests/sys/netpfil/pf/Makefile /usr/src/tests/sys/netpfil/pf/icmp.sh /usr/src/usr.sbin/bhyve/pci_xhci.c
install
root@kg-vm5:~ # freebsd-update install Installing updates... Restarting sshd after upgrade Performing sanity check on sshd configuration. Stopping sshd. Waiting for PIDS: 1172, 1172. Performing sanity check on sshd configuration. Starting sshd. Scanning //usr/share/certs/blacklisted for certificates... Scanning //usr/share/certs/trusted for certificates... Scanning //usr/local/share/certs for certificates... done.
2024-09-07: nvd0p2 - reboot, FreeBSD 13.3-release-p6 is in
root@kg-vm5:~ # freebsd-version -ku 13.3-RELEASE-p6 13.3-RELEASE-p6
kernel
root@kg-vm5:~ # uname -a FreeBSD kg-vm5.kg4.no 13.3-RELEASE-p6 FreeBSD 13.3-RELEASE-p6 GENERIC amd64
2024-09-07: nvd0p2 - freebsd-update fetch
root@kg-vm5:~ # freebsd-update fetch [..] The following files will be updated as part of updating to 13.3-RELEASE-p6: /bin/freebsd-version /boot/kernel/cfiscsi.ko /boot/kernel/cfumass.ko /boot/kernel/ctl.ko /boot/kernel/kernel /lib/libnv.so.0 /usr/bin/calendar /usr/lib/debug/boot/kernel/cfiscsi.ko.debug /usr/lib/debug/boot/kernel/cfumass.ko.debug /usr/lib/debug/boot/kernel/ctl.ko.debug /usr/lib/debug/boot/kernel/kernel.debug /usr/lib/libnv.a /usr/lib/libnv_p.a /usr/lib32/libnv.a /usr/lib32/libnv.so.0 /usr/lib32/libnv_p.a /usr/sbin/bhyve /usr/src/sys/cam/ctl/ctl.c /usr/src/sys/cam/ctl/ctl_private.h /usr/src/sys/conf/newvers.sh /usr/src/sys/contrib/libnv/bsd_nvpair.c /usr/src/sys/contrib/libnv/nvlist.c /usr/src/sys/kern/kern_umtx.c /usr/src/usr.bin/calendar/calendar.c /usr/src/usr.sbin/bhyve/pci_xhci.c
install
root@kg-vm5:~ # freebsd-update install Installing updates... Restarting sshd after upgrade Performing sanity check on sshd configuration. Stopping sshd. Waiting for PIDS: 1174. Performing sanity check on sshd configuration. Starting sshd. Scanning //usr/share/certs/blacklisted for certificates... Scanning //usr/share/certs/trusted for certificates... Scanning //usr/local/share/certs for certificates... done.
2024-08-25: nvd0p2 - FreeBSD 13.3-release-p5 is in
root@kg-vm5:~ # freebsd-version -ku 13.3-RELEASE-p5 13.3-RELEASE-p5
kernel
root@kg-vm5:~ # uname -a FreeBSD kg-vm5.kg4.no 13.3-RELEASE-p5 FreeBSD 13.3-RELEASE-p5 GENERIC amd64
2024-08-25: nvd0p2 - freebsd-update fetch
root@kg-vm5:~ # freebsd-update fetch The following files will be updated as part of updating to 13.3-RELEASE-p5: /bin/freebsd-version /boot/kernel/kernel /boot/kernel/nfscl.ko /boot/kernel/pf.ko /usr/bin/slogin /usr/bin/ssh /usr/lib/debug/boot/kernel/kernel.debug /usr/lib/debug/boot/kernel/nfscl.ko.debug /usr/lib/debug/boot/kernel/pf.ko.debug /usr/libexec/ssh-keysign /usr/sbin/sshd /usr/src/crypto/openssh/sshd.c /usr/src/crypto/openssh/version.h /usr/src/sys/conf/newvers.sh /usr/src/sys/fs/nfsclient/nfs_clrpcops.c /usr/src/sys/kern/kern_ktrace.c /usr/src/sys/netpfil/pf/pf.c /usr/src/sys/netpfil/pf/pf_lb.c
install
root@kg-vm5:~ # freebsd-update install Installing updates... Restarting sshd after upgrade Performing sanity check on sshd configuration. Stopping sshd. Waiting for PIDS: 1406. Performing sanity check on sshd configuration. Starting sshd. Scanning //usr/share/certs/blacklisted for certificates... Scanning //usr/share/certs/trusted for certificates... Scanning //usr/local/share/certs for certificates... done.
2024-08-09: nvd0p2 - vm - the virtual machines got moved back to host vm3 again.
2024-07-21: nvd0p2 - reboot the host, check that all vm's start as they should
root@kg-vm5:~ # uptime 2:33PM up 3 mins, 6 users, load averages: 0.07, 0.12, 0.06 root@kg-vm5:~ # vm list NAME DATASTORE LOADER CPU MEMORY VNC AUTO STATE music3 default bhyveload 1 768M - Yes [4] Running (2207) proxy default bhyveload 2 1024M - Yes [5] Running (2453) trap2 default bhyveload 1 256M - Yes [1] Running (1431) web default bhyveload 2 1280M - Yes [2] Running (1715) web2 default bhyveload 2 2048M - Yes [3] Running (1961) wiki2 default bhyveload 2 1408M - No Stopped wiki3 default bhyveload 2 1408M - Yes [6] Running (2697)
looks good.
2024-07-21: nvd0p2 - vm - enable the autostart list
root@kg-vm5:/zs/vms # grep vm_list /etc/rc.conf.local vm_list="trap2 web web2 music3 proxy wiki3"
and check
root@kg-vm5:/zs/vms # vm list NAME DATASTORE LOADER CPU MEMORY VNC AUTO STATE music3 default bhyveload 1 768M - Yes [4] Stopped proxy default bhyveload 2 1024M - Yes [5] Stopped trap2 default bhyveload 1 256M - Yes [1] Stopped web default bhyveload 2 1280M - Yes [2] Stopped web2 default bhyveload 2 2048M - Yes [3] Stopped wiki2 default bhyveload 2 1408M - No Stopped wiki3 default bhyveload 2 1408M - Yes [6] Stopped
looks ok.
2024-07-21: nvd0p2 - vm - check out the switch
root@kg-vm5:/zs/vms # vm switch list NAME TYPE IFACE ADDRESS PRIVATE MTU VLAN PORTS public standard vm-public - no - - ue0
ok, remove ue0
root@kg-vm5:/zs/vms # vm switch remove public ue0 root@kg-vm5:/zs/vms # vm switch list NAME TYPE IFACE ADDRESS PRIVATE MTU VLAN PORTS public standard vm-public - no - - -
and add re0 instead
root@kg-vm5:/zs/vms # vm switch add public re0 root@kg-vm5:/zs/vms # vm switch list NAME TYPE IFACE ADDRESS PRIVATE MTU VLAN PORTS public standard vm-public - no - - re0
2024-07-21: nvd0p2 - vms - I moved all the disk image vfiles to this machine, in preparation for running the vm's here.
2024-07-21: nvd0p2 - pkg - upgrade
Jul 21 14:11:52 kg-vm5 pkg[42860]: xorgproto upgraded: 2023.2 -> 2024.1 Jul 21 14:11:52 kg-vm5 pkg[42860]: libffi upgraded: 3.4.4_1 -> 3.4.6 Jul 21 14:11:52 kg-vm5 pkg[42860]: p5-HTTP-Message upgraded: 6.45 -> 6.46 Jul 21 14:11:52 kg-vm5 pkg[42860]: libnghttp2 upgraded: 1.61.0 -> 1.62.1 Jul 21 14:11:52 kg-vm5 pkg[42860]: libpsl upgraded: 0.21.5 -> 0.21.5_1 Jul 21 14:11:54 kg-vm5 pkg[42860]: python311-3.11.9 installed Jul 21 14:11:55 kg-vm5 pkg[42860]: libxcb upgraded: 1.16.1 -> 1.17.0 Jul 21 14:11:55 kg-vm5 pkg[42860]: p5-IO-Socket-SSL upgraded: 2.085 -> 2.085_1 Jul 21 14:11:57 kg-vm5 pkg[42860]: python39 upgraded: 3.9.18_2 -> 3.9.19 Jul 21 14:11:57 kg-vm5 pkg[42860]: py311-packaging-24.1 installed Jul 21 14:11:57 kg-vm5 pkg[42860]: p5-CGI upgraded: 4.64 -> 4.65 Jul 21 14:11:57 kg-vm5 pkg[42860]: curl upgraded: 8.7.1 -> 8.8.0 Jul 21 14:11:57 kg-vm5 pkg[42860]: ncurses-6.5 installed Jul 21 14:11:57 kg-vm5 pkg[42860]: libxml2 upgraded: 2.11.7 -> 2.11.8 Jul 21 14:11:57 kg-vm5 pkg[42860]: libICE upgraded: 1.1.0_2,1 -> 1.1.1,1 Jul 21 14:11:58 kg-vm5 pkg[42860]: libX11 upgraded: 1.8.7_1,1 -> 1.8.9,1 Jul 21 14:11:58 kg-vm5 pkg[42860]: glib upgraded: 2.80.2,2 -> 2.80.4,2 Jul 21 14:11:58 kg-vm5 pkg[42860]: py39-packaging upgraded: 23.2 -> 24.1 Jul 21 14:11:58 kg-vm5 pkg[42860]: python3 upgraded: 3_3 -> 3_4 Jul 21 14:11:58 kg-vm5 pkg[42860]: dmidecode upgraded: 3.5 -> 3.6 Jul 21 14:11:58 kg-vm5 pkg[42860]: git reinstalled: 2.45.2_1 -> 2.45.2_1 Jul 21 14:11:59 kg-vm5 pkg[42860]: tmux upgraded: 3.3a_2 -> 3.3a_3
pkg - remove python3.9 and associated packages
Jul 21 14:13:55 kg-vm5 pkg[43137]: py39-packaging-24.1 deinstalled Jul 21 14:13:55 kg-vm5 pkg[43137]: python39-3.9.19 deinstalled
2024-07-03: nvd0p2 - reboot, FreeBSD 13.3-release-p4 is in
root@kg-vm5:~ # freebsd-version -ku 13.3-RELEASE-p3 13.3-RELEASE-p4
kernel
root@kg-vm5:~ # uname -a FreeBSD kg-vm5.kg4.no 13.3-RELEASE-p3 FreeBSD 13.3-RELEASE-p3 GENERIC amd64
2024-07-03: nvd0p2 - freebsd-update fetch
root@kg-vm5:~ # freebsd-update fetch [..] The following files will be updated as part of updating to 13.3-RELEASE-p4: /bin/freebsd-version /boot/kernel/kernel /usr/bin/slogin /usr/bin/ssh /usr/lib/debug/boot/kernel/kernel.debug /usr/lib/libprivateldns.a /usr/lib/libprivateldns.so.5 /usr/lib/libprivateldns_p.a /usr/lib/libprivatessh.a /usr/lib/libprivatessh.so.5 /usr/lib/libprivatessh_p.a /usr/lib32/libprivateldns.a /usr/lib32/libprivateldns.so.5 /usr/lib32/libprivateldns_p.a /usr/lib32/libprivatessh.a /usr/lib32/libprivatessh.so.5 /usr/lib32/libprivatessh_p.a /usr/libexec/ssh-keysign /usr/sbin/sshd /usr/src/contrib/ldns/ldns/parse.h /usr/src/contrib/ldns/parse.c /usr/src/contrib/ldns/resolver.c /usr/src/crypto/openssh/log.c /usr/src/crypto/openssh/version.h /usr/src/sys/conf/newvers.sh /usr/src/sys/kern/kern_proc.c /usr/src/sys/kern/kern_prot.c
install
root@kg-vm5:~ # freebsd-update install Installing updates... Restarting sshd after upgrade Performing sanity check on sshd configuration. Stopping sshd. Waiting for PIDS: 1175. Performing sanity check on sshd configuration. Starting sshd. Scanning //usr/share/certs/blacklisted for certificates... Scanning //usr/share/certs/trusted for certificates... Scanning //usr/local/share/certs for certificates... done.
2024-06-10: nvd0p2 - reboot, FreeBSD 13.3-release-p2 is in
root@kg-vm5:~ # freebsd-version -ku 13.3-RELEASE-p1 13.3-RELEASE-p2
kernel
root@kg-vm5:~ # uname -a FreeBSD kg-vm5.kg4.no 13.3-RELEASE-p1 FreeBSD 13.3-RELEASE-p1 GENERIC amd64
2024-06-10: nvd0p2 - pkg - upgrade
Jun 10 20:55:50 kg-vm5 pkg[23326]: pkg upgraded: 1.20.9 -> 1.21.3 Jun 10 20:56:13 kg-vm5 pkg[23357]: libXau upgraded: 1.0.9 -> 1.0.9_1 Jun 10 20:56:13 kg-vm5 pkg[23357]: mpdecimal upgraded: 2.5.1 -> 4.0.0 Jun 10 20:56:13 kg-vm5 pkg[23357]: libffi upgraded: 3.4.4 -> 3.4.4_1 Jun 10 20:56:13 kg-vm5 pkg[23357]: readline upgraded: 8.2.7 -> 8.2.10 Jun 10 20:56:13 kg-vm5 pkg[23357]: libXdmcp upgraded: 1.1.3 -> 1.1.5 Jun 10 20:56:14 kg-vm5 pkg[23357]: gettext-runtime upgraded: 0.22.3 -> 0.22.5 Jun 10 20:56:14 kg-vm5 pkg[23357]: libxcb upgraded: 1.15_1 -> 1.16.1 Jun 10 20:56:16 kg-vm5 pkg[23357]: python39 upgraded: 3.9.18 -> 3.9.18_2 Jun 10 20:56:16 kg-vm5 pkg[23357]: p5-URI upgraded: 5.21 -> 5.28 Jun 10 20:56:16 kg-vm5 pkg[23357]: libunistring upgraded: 1.1 -> 1.2 Jun 10 20:56:16 kg-vm5 pkg[23357]: libxml2 upgraded: 2.10.4_2 -> 2.11.7 Jun 10 20:56:16 kg-vm5 pkg[23357]: libidn2 upgraded: 2.3.4 -> 2.3.7 Jun 10 20:56:17 kg-vm5 pkg[23357]: libX11 upgraded: 1.8.7,1 -> 1.8.7_1,1 Jun 10 20:56:17 kg-vm5 pkg[23357]: pcre2 upgraded: 10.42 -> 10.43 Jun 10 20:56:17 kg-vm5 pkg[23357]: py39-packaging-23.2 installed Jun 10 20:56:17 kg-vm5 pkg[23357]: libiconv upgraded: 1.17 -> 1.17_1 Jun 10 20:56:17 kg-vm5 pkg[23357]: p5-HTML-Tagset upgraded: 3.20_1 -> 3.24 Jun 10 20:56:17 kg-vm5 pkg[23357]: expat upgraded: 2.5.0 -> 2.6.2 Jun 10 20:56:17 kg-vm5 pkg[23357]: p5-Net-SSLeay upgraded: 1.92 -> 1.94 Jun 10 20:56:17 kg-vm5 pkg[23357]: libnghttp2 upgraded: 1.58.0 -> 1.61.0 Jun 10 20:56:17 kg-vm5 pkg[23357]: dbus upgraded: 1.14.10_3,1 -> 1.14.10_5,1 Jun 10 20:56:17 kg-vm5 pkg[23357]: glib upgraded: 2.78.3,2 -> 2.80.2,2 Jun 10 20:56:17 kg-vm5 pkg[23357]: p5-HTML-Parser upgraded: 3.81 -> 3.82 Jun 10 20:56:17 kg-vm5 pkg[23357]: p5-Mozilla-CA upgraded: 20231213 -> 20240313 Jun 10 20:56:17 kg-vm5 pkg[23357]: libssh2 upgraded: 1.11.0,3 -> 1.11.0_1,3 Jun 10 20:56:17 kg-vm5 pkg[23357]: libpsl upgraded: 0.21.2_4 -> 0.21.5 Jun 10 20:56:17 kg-vm5 pkg[23357]: dbus-glib upgraded: 0.112 -> 0.112_1 Jun 10 20:56:17 kg-vm5 pkg[23357]: p5-IO-Socket-SSL upgraded: 2.084 -> 2.085 Jun 10 20:56:17 kg-vm5 pkg[23357]: p5-CGI upgraded: 4.60 -> 4.64 Jun 10 20:56:18 kg-vm5 pkg[23357]: curl upgraded: 8.5.0 -> 8.7.1 Jun 10 20:56:18 kg-vm5 pkg[23357]: avahi-app upgraded: 0.8_1 -> 0.8_2 Jun 10 20:56:18 kg-vm5 pkg[23357]: sudo upgraded: 1.9.15p5 -> 1.9.15p5_4 Jun 10 20:56:18 kg-vm5 pkg[23357]: git upgraded: 2.43.0 -> 2.45.2_1 Jun 10 20:56:18 kg-vm5 pkg[23357]: vm-bhyve upgraded: 1.5.0 -> 1.5.0_1 Jun 10 20:56:18 kg-vm5 pkg[23357]: tmux upgraded: 3.3a_1 -> 3.3a_2
2024-06-10: nvd0p2 - freebsd-update fetch
root@kg-vm5:~ # freebsd-update fetch [..] The following files will be updated as part of updating to 13.3-RELEASE-p2: [..] /usr/src/sys/conf/newvers.sh /usr/src/sys/contrib/openzfs/include/os/linux/zfs/sys/zpl.h /usr/src/sys/contrib/openzfs/include/sys/arc.h /usr/src/sys/contrib/openzfs/include/sys/arc_impl.h /usr/src/sys/contrib/openzfs/module/os/freebsd/zfs/arc_os.c /usr/src/sys/contrib/openzfs/module/os/freebsd/zfs/zfs_vfsops.c /usr/src/sys/contrib/openzfs/module/os/linux/zfs/arc_os.c /usr/src/sys/contrib/openzfs/module/os/linux/zfs/zpl_super.c /usr/src/sys/contrib/openzfs/module/zfs/arc.c
install
root@kg-vm5:~ # freebsd-update install Installing updates... Restarting sshd after upgrade Performing sanity check on sshd configuration. Stopping sshd. Waiting for PIDS: 84002. Performing sanity check on sshd configuration. Starting sshd. Scanning //usr/share/certs/blacklisted for certificates... Scanning //usr/share/certs/trusted for certificates... Scanning //usr/local/share/certs for certificates... done.
2024-04-14: nvd0p2 - FreeBSD 13.3-release-p1 is in
root@kg-vm5:~ # freebsd-version -ku 13.3-RELEASE-p1 13.3-RELEASE-p1
kernel
root@kg-vm5:~ # uname -a FreeBSD kg-vm5.kg4.no 13.3-RELEASE-p1 FreeBSD 13.3-RELEASE-p1 GENERIC amd64
2024-04-14: nvd0p2 - freebsd-update - upgrade to 13.3-release
root@kg-vm5:~ # freebsd-update -r 13.3-RELEASE upgrade Looking up update.FreeBSD.org mirrors... 3 mirrors found. Fetching metadata signature for 13.2-RELEASE from update2.freebsd.org... done. Fetching metadata index... done. Fetching 1 metadata files... done. Inspecting system... done. The following components of FreeBSD seem to be installed: kernel/generic kernel/generic-dbg src/src world/base world/lib32 The following components of FreeBSD do not seem to be installed: world/base-dbg world/lib32-dbg Does this look reasonable (y/n)? y [..] The following files will be removed as part of updating to 13.3-RELEASE-p1: The following files will be added as part of updating to 13.3-RELEASE-p1: The following files will be updated as part of updating to 13.3-RELEASE-p1: [..] /var/db/etcupdate/log /var/db/mergemaster.mtree /var/yp/Makefile.dist To install the downloaded upgrades, run "/usr/sbin/freebsd-update install".
install
root@kg-vm5:~ # freebsd-update install Installing updates... Kernel updates have been installed. Please reboot and run "/usr/sbin/freebsd-update install" again to finish installing updates.
reboot, install again
root@kg-vm5:~ # freebsd-update install Installing updates...rm: ///usr/src/contrib/llvm-project/libcxx/include/__tuple: is a directory rm: ///usr/src/contrib/llvm-project/libcxx/include/__string: is a directory rm: ///usr/include/c++/v1/__tuple: is a directory rm: ///usr/include/c++/v1/__string: is a directory Restarting sshd after upgrade Performing sanity check on sshd configuration. Stopping sshd. Waiting for PIDS: 1165. Performing sanity check on sshd configuration. Starting sshd. Scanning //usr/share/certs/blacklisted for certificates... Scanning //usr/share/certs/trusted for certificates... Scanning //usr/local/share/certs for certificates... done.
2024-04-06: nvd0p2 - reboot, FreeBSD 13.2-release-p11 is in
root@kg-vm5:~ # freebsd-version -ku 13.2-RELEASE-p11 13.2-RELEASE-p11
kernel
root@kg-vm5:~ # uname -a FreeBSD kg-vm5.kg4.no 13.2-RELEASE-p11 FreeBSD 13.2-RELEASE-p11 #7 releng/13.2-n254621-08b87f63a046-dirty: Sat Apr 6 12:18:18 CEST 2024 root@kg-vm5.kg4.no:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
2024-04-06: nvd0p2 - reboot, oops, no contact. Ok, connect up a local display and keyboard, and rebuild the kernel.
2024-04-06: nvd0p2 - freebsd-update fetch
root@kg-vm5:~ # freebsd-update fetch Looking up update.FreeBSD.org mirrors... 3 mirrors found. Fetching metadata signature for 13.2-RELEASE from update2.freebsd.org... done. [..] The following files will be added as part of updating to 13.2-RELEASE-p11: /usr/src/contrib/unbound/contrib/unbound.init_yocto /usr/src/contrib/unbound/testdata/00-lint.tdir /usr/src/contrib/unbound/testdata/00-lint.tdir/00-lint.pre /usr/src/contrib/unbound/testdata/cachedb_cached_ede.crpl /usr/src/contrib/unbound/testdata/cachedb_no_store.tdir /usr/src/contrib/unbound/testdata/cachedb_no_store.tdir/cachedb_no_store.conf /usr/src/contrib/unbound/testdata/cachedb_no_store.tdir/cachedb_no_store.dsc /usr/src/contrib/unbound/testdata/cachedb_no_store.tdir/cachedb_no_store.post /usr/src/contrib/unbound/testdata/cachedb_no_store.tdir/cachedb_no_store.pre /usr/src/contrib/unbound/testdata/cachedb_no_store.tdir/cachedb_no_store.servfail.testns /usr/src/contrib/unbound/testdata/cachedb_no_store.tdir/cachedb_no_store.test /usr/src/contrib/unbound/testdata/cachedb_no_store.tdir/cachedb_no_store.testns /usr/src/contrib/unbound/testdata/disable_edns_do.rpl /usr/src/contrib/unbound/testdata/edns_downstream_cookies.rpl /usr/src/contrib/unbound/testdata/ip_ratelimit.tdir /usr/src/contrib/unbound/testdata/ip_ratelimit.tdir/ip_ratelimit.conf /usr/src/contrib/unbound/testdata/ip_ratelimit.tdir/ip_ratelimit.dsc /usr/src/contrib/unbound/testdata/ip_ratelimit.tdir/ip_ratelimit.post /usr/src/contrib/unbound/testdata/ip_ratelimit.tdir/ip_ratelimit.pre /usr/src/contrib/unbound/testdata/ip_ratelimit.tdir/ip_ratelimit.test /usr/src/contrib/unbound/testdata/ip_ratelimit.tdir/unbound_control.key /usr/src/contrib/unbound/testdata/ip_ratelimit.tdir/unbound_control.pem /usr/src/contrib/unbound/testdata/ip_ratelimit.tdir/unbound_server.key /usr/src/contrib/unbound/testdata/ip_ratelimit.tdir/unbound_server.pem /usr/src/contrib/unbound/testdata/iter_cname_minimise_nx.rpl /usr/src/contrib/unbound/testdata/iter_failreply.rpl /usr/src/contrib/unbound/testdata/iter_ignore_empty.rpl /usr/src/contrib/unbound/testdata/iter_nat64.rpl /usr/src/contrib/unbound/testdata/iter_nat64_prefix.rpl /usr/src/contrib/unbound/testdata/iter_nat64_prefix48.rpl /usr/src/contrib/unbound/testdata/iter_scrub_rr_length.rpl /usr/src/contrib/unbound/testdata/root_zonemd.tdir /usr/src/contrib/unbound/testdata/root_zonemd.tdir/root_zonemd.conf /usr/src/contrib/unbound/testdata/root_zonemd.tdir/root_zonemd.dsc /usr/src/contrib/unbound/testdata/root_zonemd.tdir/root_zonemd.post [..] The following files will be updated as part of updating to 13.2-RELEASE-p11: /bin/freebsd-version /boot/kernel/if_wg.ko /boot/kernel/kernel /usr/lib/debug/boot/kernel/if_wg.ko.debug /usr/lib/debug/boot/kernel/kernel.debug /usr/lib/libprivateunbound.a /usr/lib/libprivateunbound.so.5 /usr/lib/libprivateunbound_p.a /usr/lib32/libprivateunbound.a /usr/lib32/libprivateunbound.so.5 /usr/lib32/libprivateunbound_p.a /usr/sbin/local-unbound /usr/sbin/local-unbound-anchor /usr/sbin/local-unbound-checkconf /usr/sbin/local-unbound-control [..] /usr/src/lib/libunbound/Makefile /usr/src/sys/conf/newvers.sh /usr/src/sys/dev/wg/if_wg.c /usr/src/sys/kern/tty.c /usr/src/usr.sbin/unbound/config.h WARNING: FreeBSD 13.2-RELEASE-p10 is approaching its End-of-Life date. It is strongly recommended that you upgrade to a newer release within the next 2 months.
install
root@kg-vm5:~ # freebsd-update install Installing updates... Restarting sshd after upgrade Performing sanity check on sshd configuration. Stopping sshd. Waiting for PIDS: 1165. Performing sanity check on sshd configuration. Starting sshd. Scanning //usr/share/certs/blacklisted for certificates... Scanning //usr/share/certs/trusted for certificates... Scanning //usr/local/share/certs for certificates... done.
2024-02-17: nvd0p2 - reboot, FreeBSD 13.2-release-p10 is in
root@kg-vm5:~ # freebsd-version -ku 13.2-RELEASE-p10 13.2-RELEASE-p10
kernel
root@kg-vm5:~ # uname -a FreeBSD kg-vm5.kg4.no 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 #6 releng/13.2-n254621-08b87f63a046-dirty: Sat Feb 17 18:01:05 CET 2024 root@kg-vm5.kg4.no:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
2024-02-17: nvd0p2 - build and install a new kernel
root@kg-vm5:~ # cd /usr/src root@kg-vm5:/usr/src # make kernel [..] -------------------------------------------------------------- >>> Installing kernel GENERIC completed on Sat Feb 17 18:15:49 CET 2024 --------------------------------------------------------------
2024-02-17: nvd0p2 - freebsd-update fetch
root@kg-vm5:~ # freebsd-update fetch Looking up update.FreeBSD.org mirrors... 3 mirrors found. Fetching metadata signature for 13.2-RELEASE from update1.freebsd.org... done. Fetching metadata index... done. Fetching 2 metadata patches.. done. Applying metadata patches... done. Inspecting system... done. Preparing to download files... done. Fetching 51 patches.....10....20....30....40....50 done. Applying patches... done. Fetching 4 files... .. done. The following files will be added as part of updating to 13.2-RELEASE-p10: /usr/src/contrib/tzdata/checknow.awk /usr/src/contrib/tzdata/zonenow.tab The following files will be updated as part of updating to 13.2-RELEASE-p10: /bin/freebsd-version /boot/kernel/kernel /etc/defaults/rc.conf [..] /usr/src/usr.sbin/bhyveload/bhyveload.c /usr/src/usr.sbin/periodic/etc/daily/480.leapfile-ntpd /var/db/etcupdate/current/etc/defaults/rc.conf /var/db/etcupdate/current/etc/periodic/daily/480.leapfile-ntpd /var/db/mergemaster.mtree
install
root@kg-vm5:~ # freebsd-update install Installing updates... Restarting sshd after upgrade Performing sanity check on sshd configuration. Stopping sshd. Waiting for PIDS: 1152. Performing sanity check on sshd configuration. Starting sshd. Scanning //usr/share/certs/blacklisted for certificates... Scanning //usr/share/certs/trusted for certificates... Scanning //usr/local/share/certs for certificates... done.
2024-01-13: nvd0p2 - avahi - enable it in rc.conf
root@kg-vm5:~ # grep avahi /etc/rc.conf # enable avahi avahi_daemon_enable="YES"
and dbus
root@kg-vm5:~ # grep dbus /etc/rc.conf # enable dbus dbus_enable="YES"
start the services
root@kg-vm5:~ # service dbus start Starting dbus. root@kg-vm5:~ # service avahi-daemon start Starting avahi-daemon.
check that the services are running
root@kg-vm5:~ # service dbus status dbus is running as pid 1565. root@kg-vm5:~ # service avahi-daemon status avahi_daemon is running as pid 1578.
then use avahi-browse -a
to verify that it works. It works.
2024-01-13: nvd0p2 - config nsswitch.conf file. Before
root@kg-vm5:~ # cat /etc/nsswitch.conf # # nsswitch.conf(5) - name service switch configuration file # $FreeBSD$ # group: compat group_compat: nis hosts: files dns netgroup: compat networks: files passwd: compat passwd_compat: nis shells: files services: compat services_compat: nis protocols: files rpc: files
after
root@kg-vm5:~ # cat /etc/nsswitch.conf # # nsswitch.conf(5) - name service switch configuration file # $FreeBSD$ # group: compat group_compat: nis hosts: files mdns_minimal [NOTFOUND=return] dns mdns netgroup: compat networks: files passwd: compat passwd_compat: nis shells: files services: compat services_compat: nis protocols: files rpc: files
2024-01-13: nvd0p2 - pkg - install avah and nss_mdns
Jan 13 18:08:03 kg-vm5 pkg[1269]: xorgproto-2023.2 installed Jan 13 18:08:03 kg-vm5 pkg[1269]: libXau-1.0.9 installed Jan 13 18:08:03 kg-vm5 pkg[1269]: libXdmcp-1.1.3 installed Jan 13 18:08:03 kg-vm5 pkg[1269]: libxcb-1.15_1 installed Jan 13 18:08:03 kg-vm5 pkg[1269]: libICE-1.1.0_2,1 installed Jan 13 18:08:03 kg-vm5 pkg[1269]: libxml2-2.10.4_2 installed Jan 13 18:08:03 kg-vm5 pkg[1269]: libSM-1.2.3_1,1 installed Jan 13 18:08:04 kg-vm5 pkg[1269]: libX11-1.8.7,1 installed Jan 13 18:08:04 kg-vm5 pkg[1269]: libiconv-1.17 installed Jan 13 18:08:04 kg-vm5 pkg[1269]: dbus-1.14.10_3,1 installed Jan 13 18:08:04 kg-vm5 pkg[1269]: glib-2.78.3,2 installed Jan 13 18:08:04 kg-vm5 pkg[1269]: dbus-glib-0.112 installed Jan 13 18:08:04 kg-vm5 pkg[1269]: gnome_subr-1.0 installed Jan 13 18:08:04 kg-vm5 pkg[1269]: libdaemon-0.14_1 installed Jan 13 18:08:04 kg-vm5 pkg[1269]: gdbm-1.23 installed Jan 13 18:08:04 kg-vm5 pkg[1269]: avahi-app-0.8_1 installed Jan 13 18:08:04 kg-vm5 pkg[1269]: nss_mdns-0.14.1.20200624 installed
2024-01-13: nvd0p2 - reboot, FreeBSD 13.2-release-p9 is in
root@kg-vm5:~ # freebsd-version -ku 13.2-RELEASE-p9 13.2-RELEASE-p9
kernel
root@kg-vm5:~ # uname -a FreeBSD kg-vm5.kg4.no 13.2-RELEASE-p9 FreeBSD 13.2-RELEASE-p9 #5 releng/13.2-n254621-08b87f63a046-dirty: Sat Jan 13 17:21:31 CET 2024 root@kg-vm5.kg4.no:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
2024-01-13: nvd0p2 - pkg - upgrade
Jan 13 17:38:40 kg-vm5 pkg[11504]: pkg upgraded: 1.20.8 -> 1.20.9 Jan 13 17:39:04 kg-vm5 pkg[11525]: perl5 upgraded: 5.34.3_3 -> 5.36.3_1 Jan 13 17:39:04 kg-vm5 pkg[11525]: p5-TimeDate reinstalled: 2.33,1 -> 2.33,1 Jan 13 17:39:04 kg-vm5 pkg[11525]: p5-HTTP-Date reinstalled: 6.06 -> 6.06 Jan 13 17:39:04 kg-vm5 pkg[11525]: p5-URI reinstalled: 5.21 -> 5.21 Jan 13 17:39:04 kg-vm5 pkg[11525]: p5-Encode-Locale reinstalled: 1.05 -> 1.05 Jan 13 17:39:04 kg-vm5 pkg[11525]: p5-LWP-MediaTypes reinstalled: 6.04 -> 6.04 Jan 13 17:39:04 kg-vm5 pkg[11525]: p5-IO-HTML reinstalled: 1.004 -> 1.004 Jan 13 17:39:04 kg-vm5 pkg[11525]: p5-Clone reinstalled: 0.46 -> 0.46 Jan 13 17:39:04 kg-vm5 pkg[11525]: p5-HTML-Tagset reinstalled: 3.20_1 -> 3.20_1 Jan 13 17:39:04 kg-vm5 pkg[11525]: p5-HTTP-Message reinstalled: 6.45 -> 6.45 Jan 13 17:39:04 kg-vm5 pkg[11525]: p5-Net-SSLeay reinstalled: 1.92 -> 1.92 Jan 13 17:39:04 kg-vm5 pkg[11525]: libnghttp2 upgraded: 1.57.0 -> 1.58.0 Jan 13 17:39:04 kg-vm5 pkg[11525]: p5-GSSAPI reinstalled: 0.28_2 -> 0.28_2 Jan 13 17:39:04 kg-vm5 pkg[11525]: p5-IO-Socket-IP reinstalled: 0.42 -> 0.42 Jan 13 17:39:04 kg-vm5 pkg[11525]: p5-HTML-Parser reinstalled: 3.81 -> 3.81 Jan 13 17:39:04 kg-vm5 pkg[11525]: p5-Mozilla-CA upgraded: 20230821 -> 20231213 Jan 13 17:39:04 kg-vm5 pkg[11525]: readline upgraded: 8.2.1 -> 8.2.7 Jan 13 17:39:04 kg-vm5 pkg[11525]: p5-Digest-HMAC reinstalled: 1.04 -> 1.04 Jan 13 17:39:04 kg-vm5 pkg[11525]: libpsl upgraded: 0.21.2_3 -> 0.21.2_4 Jan 13 17:39:04 kg-vm5 pkg[11525]: gettext-runtime upgraded: 0.22_1 -> 0.22.3 Jan 13 17:39:04 kg-vm5 pkg[11525]: p5-IO-Socket-SSL upgraded: 2.083_1 -> 2.084 Jan 13 17:39:04 kg-vm5 pkg[11525]: p5-CGI upgraded: 4.57 -> 4.60 Jan 13 17:39:04 kg-vm5 pkg[11525]: curl upgraded: 8.4.0 -> 8.5.0 Jan 13 17:39:04 kg-vm5 pkg[11525]: p5-Error reinstalled: 0.17029 -> 0.17029 Jan 13 17:39:04 kg-vm5 pkg[11525]: p5-Authen-SASL reinstalled: 2.17 -> 2.17 Jan 13 17:39:04 kg-vm5 pkg[11525]: sudo upgraded: 1.9.15p2 -> 1.9.15p5 Jan 13 17:39:05 kg-vm5 pkg[11525]: git upgraded: 2.42.0 -> 2.43.0 Jan 13 17:39:08 kg-vm5 pkg[11525]: ca_root_nss upgraded: 3.93 -> 3.93_2
2024-01-13: nvd0p2 - build and install a new kernel
root@kg-vm5:~ # cd /usr/src root@kg-vm5:/usr/src # make kernel [..] kldxref /boot/kernel -------------------------------------------------------------- >>> Installing kernel GENERIC completed on Sat Jan 13 17:36:15 CET 2024 --------------------------------------------------------------
2024-01-13: nvd0p2 - check source, is it updated?
root@kg-vm5:~ # egrep "^BRANCH|^REVISION" /usr/src/sys/conf/newvers.sh REVISION="13.2" BRANCH="RELEASE-p9"
2024-01-13: nvd0p2 - freebsd-update fetch
root@kg-vm5:~ # freebsd-update fetch Looking up update.FreeBSD.org mirrors... 3 mirrors found. [..] The following files will be updated as part of updating to 13.2-RELEASE-p9: [..] /boot/kernel/kernel /boot/kernel/nfscl.ko /boot/kernel/pf.ko /boot/kernel/zfs.ko /lib/libzpool.so.2 [..] /usr/src/contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cpp /usr/src/crypto/openssh/PROTOCOL /usr/src/crypto/openssh/kex.c /usr/src/crypto/openssh/kex.h /usr/src/crypto/openssh/packet.c /usr/src/crypto/openssh/packet.h /usr/src/crypto/openssh/sshconnect2.c /usr/src/sys/conf/newvers.sh /usr/src/sys/contrib/openzfs/module/zfs/dnode.c /usr/src/sys/fs/nfs/nfs_var.h /usr/src/sys/fs/nfsclient/nfs_clcomsubs.c /usr/src/sys/fs/nfsclient/nfs_clrpcops.c /usr/src/sys/fs/nfsclient/nfs_clvnops.c /usr/src/sys/netpfil/pf/pf.c
install
root@kg-vm5:~ # freebsd-update install Installing updates... Restarting sshd after upgrade Performing sanity check on sshd configuration. Stopping sshd. Waiting for PIDS: 1154. Performing sanity check on sshd configuration. Starting sshd. Scanning //usr/share/certs/blacklisted for certificates... Scanning //usr/share/certs/trusted for certificates... Scanning //usr/local/share/certs for certificates... done.
2023-12-11: nvd0p2 - pkg - upgrade
Dec 11 17:33:47 kg-vm5 pkg[70505]: pkg upgraded: 1.19.2 -> 1.20.8 Dec 11 17:34:16 kg-vm5 pkg[70526]: perl5 upgraded: 5.32.1_3 -> 5.34.3_3 Dec 11 17:34:16 kg-vm5 pkg[70526]: p5-TimeDate reinstalled: 2.33,1 -> 2.33,1 Dec 11 17:34:16 kg-vm5 pkg[70526]: p5-HTTP-Date upgraded: 6.05 -> 6.06 Dec 11 17:34:16 kg-vm5 pkg[70526]: p5-URI upgraded: 5.19 -> 5.21 Dec 11 17:34:16 kg-vm5 pkg[70526]: p5-Encode-Locale reinstalled: 1.05 -> 1.05 Dec 11 17:34:16 kg-vm5 pkg[70526]: p5-LWP-MediaTypes reinstalled: 6.04 -> 6.04 Dec 11 17:34:16 kg-vm5 pkg[70526]: p5-IO-HTML reinstalled: 1.004 -> 1.004 Dec 11 17:34:16 kg-vm5 pkg[70526]: p5-Clone reinstalled: 0.46 -> 0.46 Dec 11 17:34:16 kg-vm5 pkg[70526]: p5-HTML-Tagset reinstalled: 3.20_1 -> 3.20_1 Dec 11 17:34:16 kg-vm5 pkg[70526]: p5-HTTP-Message upgraded: 6.44 -> 6.45 Dec 11 17:34:16 kg-vm5 pkg[70526]: p5-Net-SSLeay reinstalled: 1.92 -> 1.92 Dec 11 17:34:16 kg-vm5 pkg[70526]: libnghttp2 upgraded: 1.53.0 -> 1.57.0 Dec 11 17:34:16 kg-vm5 pkg[70526]: p5-GSSAPI reinstalled: 0.28_2 -> 0.28_2 Dec 11 17:34:16 kg-vm5 pkg[70526]: p5-IO-Socket-IP upgraded: 0.41 -> 0.42 Dec 11 17:34:16 kg-vm5 pkg[70526]: p5-HTML-Parser reinstalled: 3.81 -> 3.81 Dec 11 17:34:16 kg-vm5 pkg[70526]: p5-Mozilla-CA upgraded: 20221114 -> 20230821 Dec 11 17:34:16 kg-vm5 pkg[70526]: p5-Digest-HMAC reinstalled: 1.04 -> 1.04 Dec 11 17:34:16 kg-vm5 pkg[70526]: gettext-runtime upgraded: 0.21.1 -> 0.22_1 Dec 11 17:34:16 kg-vm5 pkg[70526]: ca_root_nss upgraded: 3.89.1 -> 3.93 Dec 11 17:34:16 kg-vm5 pkg[70526]: p5-IO-Socket-SSL reinstalled: 2.083_1 -> 2.083_1 Dec 11 17:34:18 kg-vm5 pkg[70526]: python39 upgraded: 3.9.17 -> 3.9.18 Dec 11 17:34:18 kg-vm5 pkg[70526]: p5-CGI reinstalled: 4.57 -> 4.57 Dec 11 17:34:19 kg-vm5 pkg[70526]: curl upgraded: 8.1.2 -> 8.4.0 Dec 11 17:34:19 kg-vm5 pkg[70526]: p5-Error reinstalled: 0.17029 -> 0.17029 Dec 11 17:34:19 kg-vm5 pkg[70526]: p5-Authen-SASL upgraded: 2.16_1 -> 2.17 Dec 11 17:34:19 kg-vm5 pkg[70526]: sudo upgraded: 1.9.14 -> 1.9.15p2 Dec 11 17:34:19 kg-vm5 pkg[70526]: git upgraded: 2.41.0 -> 2.42.0
2023-11-11: nvd0p2 - reboot, FreeBSD 13.2-release-p5 is in
root@kg-vm5:~ # freebsd-version -ku 13.2-RELEASE-p5 13.2-RELEASE-p5
kernel
root@kg-vm5:~ # uname -a FreeBSD kg-vm5.kg4.no 13.2-RELEASE-p5 FreeBSD 13.2-RELEASE-p5 #4 releng/13.2-n254621-08b87f63a046-dirty: Sat Nov 11 19:47:34 CET 2023 root@kg-vm5.kg4.no:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
2023-11-11: nvd0p2 - check that the source is updated
root@kg-vm5:~ # egrep "^BRANCH|^REVISION" /usr/src/sys/conf/newvers.sh REVISION="13.2" BRANCH="RELEASE-p5"
good. build and install new kernel
root@kg-vm5:~ # cd /usr/src root@kg-vm5:/usr/src # make kernel [..] kldxref /boot/kernel -------------------------------------------------------------- >>> Installing kernel GENERIC completed on Sat Nov 11 20:02:19 CET 2023 --------------------------------------------------------------
ok.
2023-11-11: nvd0p2 - freebsd-update fetch
root@kg-vm5:~ # freebsd-update fetch Looking up update.FreeBSD.org mirrors... 3 mirrors found. Fetching metadata signature for 13.2-RELEASE from update1.freebsd.org... done. Fetching metadata index... done. Fetching 2 metadata patches.. done. Applying metadata patches... done. Inspecting system... done. Preparing to download files... done. Fetching 29 patches.....10....20.... done. Applying patches... done. The following files will be updated as part of updating to 13.2-RELEASE-p5: /bin/freebsd-version /boot/kernel/kernel /lib/casper/libcap_net.so.1 /lib/libc.so.7 /rescue/[ /rescue/bectl /rescue/bsdlabel /rescue/bunzip2 /rescue/bzcat /rescue/bzip2 /rescue/camcontrol /rescue/cat /rescue/ccdconfig /rescue/chflags /rescue/chgrp /rescue/chio /rescue/chmod /rescue/chown /rescue/chroot /rescue/clri /rescue/cp /rescue/csh /rescue/date [..] /usr/src/lib/libc/regex/regcomp.c /usr/src/lib/libc/stdio/fflush.c /usr/src/lib/libc/stdio/fvwrite.c /usr/src/lib/libc/stdio/wbuf.c /usr/src/lib/libcasper/services/cap_net/cap_net.c /usr/src/lib/libcasper/services/cap_net/tests/net_test.c /usr/src/sys/conf/newvers.sh /usr/src/usr.sbin/freebsd-update/freebsd-update.sh
install
root@kg-vm5:~ # freebsd-update install Installing updates... Restarting sshd after upgrade Performing sanity check on sshd configuration. Stopping sshd. Waiting for PIDS: 1152, 1152. Performing sanity check on sshd configuration. Starting sshd. Scanning //usr/share/certs/blacklisted for certificates... Scanning //usr/share/certs/trusted for certificates... Scanning //usr/local/share/certs for certificates... done.
2023-10-06: nvd0p2 - reboot, FreeBSD 13.2-release-p4 is in
root@kg-vm5:~ # freebsd-version -ku 13.2-RELEASE-p4 13.2-RELEASE-p4
kernel
root@kg-vm5:~ # uname -a FreeBSD kg-vm5.kg4.no 13.2-RELEASE-p4 FreeBSD 13.2-RELEASE-p4 #3 releng/13.2-n254621-08b87f63a046-dirty: Fri Oct 6 18:44:48 CEST 2023 root@kg-vm5.kg4.no:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
2023-10-06: nvd0p2 - check if source is updated
root@kg-vm5:~ # egrep "^BRANCH|^REVISION" /usr/src/sys/conf/newvers.sh REVISION="13.2" BRANCH="RELEASE-p4"
build and install kernel
root@kg-vm5:~ # cd /usr/src root@kg-vm5:/usr/src # make kernel [..] install -T dbg -o root -g wheel -m 555 zlib.ko.debug /usr/lib/debug/boot/kernel/ kldxref /boot/kernel -------------------------------------------------------------- >>> Installing kernel GENERIC completed on Fri Oct 6 18:59:31 CEST 2023 --------------------------------------------------------------
2023-10-06: nvd0p2 - freebsd-update fetch
root@kg-vm5:~ # freebsd-update fetch Looking up update.FreeBSD.org mirrors... 2 mirrors found. Fetching metadata signature for 13.2-RELEASE from update2.freebsd.org... done. Fetching metadata index... done. Fetching 2 metadata patches.. done. Applying metadata patches... done. Inspecting system... done. Preparing to download files... done. Fetching 8 patches..... done. Applying patches... done. Fetching 2 files... . done. The following files will be updated as part of updating to 13.2-RELEASE-p4: /bin/freebsd-version /boot/kernel/kernel /boot/kernel/msdosfs.ko /usr/lib/debug/boot/kernel/kernel.debug /usr/lib/debug/boot/kernel/msdosfs.ko.debug /usr/sbin/freebsd-update /usr/src/sys/arm64/arm64/cpu_errata.c /usr/src/sys/conf/newvers.sh /usr/src/sys/fs/msdosfs/msdosfs_denode.c /usr/src/sys/kern/vfs_syscalls.c /usr/src/usr.sbin/freebsd-update/freebsd-update.sh
install
root@kg-vm5:~ # freebsd-update install Installing updates... Restarting sshd after upgrade Performing sanity check on sshd configuration. Stopping sshd. Waiting for PIDS: 1152, 1152. Performing sanity check on sshd configuration. Starting sshd. Scanning //usr/share/certs/blacklisted for certificates... Scanning //usr/share/certs/trusted for certificates... Scanning //usr/local/share/certs for certificates... done.
2023-09-30: nvd0p2 - reboot, FreeBSD 13.2-release-p3 is in
root@kg-vm5:~ # freebsd-version -ku 13.2-RELEASE-p3 13.2-RELEASE-p3
kernel
root@kg-vm5:~ # uname -a FreeBSD kg-vm5.kg4.no 13.2-RELEASE-p3 FreeBSD 13.2-RELEASE-p3 #2 releng/13.2-n254621-08b87f63a046-dirty: Sat Sep 30 23:48:59 CEST 2023 root@kg-vm5.kg4.no:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
2023-09-30: nvd0p2 - check if source is updated
root@kg-vm5:~ # egrep "^BRANCH|^REVISION" /usr/src/sys/conf/newvers.sh REVISION="13.2" BRANCH="RELEASE-p3"
looks, ok, build and install kernel
root@kg-vm5:~ # cd /usr/src root@kg-vm5:/usr/src # make kernel [..] install -T release -o root -g wheel -m 555 zlib.ko /boot/kernel/ install -T dbg -o root -g wheel -m 555 zlib.ko.debug /usr/lib/debug/boot/kernel/ kldxref /boot/kernel -------------------------------------------------------------- >>> Installing kernel GENERIC completed on Sun Oct 1 00:03:42 CEST 2023 --------------------------------------------------------------
2023-09-30: nvd0p2 - freebsd-update, fetch
root@kg-vm5:~ # freebsd-update fetch [..] The following files will be added as part of updating to 13.2-RELEASE-p3: /etc/ssl/certs/0179095f.0 /etc/ssl/certs/08063a00.0 /etc/ssl/certs/0b9bc432.0 /etc/ssl/certs/3e359ba6.0 /etc/ssl/certs/5860aaa6.0 /etc/ssl/certs/5931b5bc.0 /etc/ssl/certs/5a7722fb.0 /etc/ssl/certs/66445960.0 /etc/ssl/certs/7a3adc42.0 /etc/ssl/certs/7a780d93.0 /etc/ssl/certs/8508e720.0 /etc/ssl/certs/8f103249.0 /etc/ssl/certs/90c5a3c8.0 /etc/ssl/certs/9846683b.0 /etc/ssl/certs/9ef4a08a.0 /etc/ssl/certs/9f727ac7.0 /etc/ssl/certs/d52c538d.0 /etc/ssl/certs/ecccd8db.0 /etc/ssl/certs/ed858448.0 /etc/ssl/certs/fd64f3fc.0 /usr/share/certs/trusted/BJCA_Global_Root_CA1.pem /usr/share/certs/trusted/BJCA_Global_Root_CA2.pem /usr/share/certs/trusted/Certainly_Root_E1.pem /usr/share/certs/trusted/Certainly_Root_R1.pem /usr/share/certs/trusted/D-TRUST_BR_Root_CA_1_2020.pem /usr/share/certs/trusted/D-TRUST_EV_Root_CA_1_2020.pem /usr/share/certs/trusted/DigiCert_TLS_ECC_P384_Root_G5.pem /usr/share/certs/trusted/DigiCert_TLS_RSA4096_Root_G5.pem /usr/share/certs/trusted/E-Tugra_Global_Root_CA_ECC_v3.pem /usr/share/certs/trusted/E-Tugra_Global_Root_CA_RSA_v3.pem /usr/share/certs/trusted/HARICA_TLS_ECC_Root_CA_2021.pem /usr/share/certs/trusted/HARICA_TLS_RSA_Root_CA_2021.pem /usr/share/certs/trusted/HiPKI_Root_CA_-_G1.pem /usr/share/certs/trusted/ISRG_Root_X2.pem /usr/share/certs/trusted/Security_Communication_ECC_RootCA1.pem /usr/share/certs/trusted/Security_Communication_RootCA3.pem /usr/share/certs/trusted/Telia_Root_CA_v2.pem /usr/share/certs/trusted/TunTrust_Root_CA.pem /usr/share/certs/trusted/vTrus_ECC_Root_CA.pem /usr/share/certs/trusted/vTrus_Root_CA.pem /usr/src/secure/caroot/trusted/BJCA_Global_Root_CA1.pem /usr/src/secure/caroot/trusted/BJCA_Global_Root_CA2.pem /usr/src/secure/caroot/trusted/Certainly_Root_E1.pem /usr/src/secure/caroot/trusted/Certainly_Root_R1.pem /usr/src/secure/caroot/trusted/D-TRUST_BR_Root_CA_1_2020.pem /usr/src/secure/caroot/trusted/D-TRUST_EV_Root_CA_1_2020.pem /usr/src/secure/caroot/trusted/DigiCert_TLS_ECC_P384_Root_G5.pem /usr/src/secure/caroot/trusted/DigiCert_TLS_RSA4096_Root_G5.pem /usr/src/secure/caroot/trusted/E-Tugra_Global_Root_CA_ECC_v3.pem /usr/src/secure/caroot/trusted/E-Tugra_Global_Root_CA_RSA_v3.pem /usr/src/secure/caroot/trusted/HARICA_TLS_ECC_Root_CA_2021.pem /usr/src/secure/caroot/trusted/HARICA_TLS_RSA_Root_CA_2021.pem /usr/src/secure/caroot/trusted/HiPKI_Root_CA_-_G1.pem /usr/src/secure/caroot/trusted/ISRG_Root_X2.pem /usr/src/secure/caroot/trusted/Security_Communication_ECC_RootCA1.pem /usr/src/secure/caroot/trusted/Security_Communication_RootCA3.pem /usr/src/secure/caroot/trusted/Telia_Root_CA_v2.pem /usr/src/secure/caroot/trusted/TunTrust_Root_CA.pem /usr/src/secure/caroot/trusted/vTrus_ECC_Root_CA.pem /usr/src/secure/caroot/trusted/vTrus_Root_CA.pem The following files will be updated as part of updating to 13.2-RELEASE-p3: /bin/freebsd-version /boot/kernel/cbb.ko /boot/kernel/kernel /boot/kernel/pf.ko /boot/kernel/vmd.ko /boot/kernel/wlan.ko /etc/ssh/sshd_config /usr/bin/slogin /usr/bin/ssh /usr/bin/ssh-agent /usr/lib/debug/boot/kernel/cbb.ko.debug /usr/lib/debug/boot/kernel/kernel.debug /usr/lib/debug/boot/kernel/pf.ko.debug /usr/lib/debug/boot/kernel/vmd.ko.debug /usr/lib/debug/boot/kernel/wlan.ko.debug /usr/lib/libpam.a /usr/lib/libprivatessh.a /usr/lib/libprivatessh.so.5 /usr/lib/libprivatessh_p.a /usr/lib/pam_krb5.so.6 /usr/lib32/libpam.a /usr/lib32/libprivatessh.a /usr/lib32/libprivatessh.so.5 /usr/lib32/libprivatessh_p.a /usr/lib32/pam_krb5.so.6 /usr/libexec/ssh-keysign /usr/libexec/ssh-pkcs11-helper /usr/sbin/bhyve /usr/sbin/freebsd-update /usr/sbin/sshd /usr/share/man/man1/ssh-agent.1.gz /usr/share/man/man5/sshd_config.5.gz /usr/src/crypto/openssh/ChangeLog /usr/src/crypto/openssh/README /usr/src/crypto/openssh/contrib/redhat/openssh.spec /usr/src/crypto/openssh/contrib/suse/openssh.spec /usr/src/crypto/openssh/ssh-agent.1 /usr/src/crypto/openssh/ssh-agent.c /usr/src/crypto/openssh/ssh-pkcs11.c /usr/src/crypto/openssh/sshd_config /usr/src/crypto/openssh/sshd_config.5 /usr/src/crypto/openssh/version.h /usr/src/lib/libpam/modules/pam_krb5/pam_krb5.c /usr/src/sys/conf/kmod.mk /usr/src/sys/conf/newvers.sh /usr/src/sys/dev/pci/pci_pci.c /usr/src/sys/dev/pci/pcib_private.h /usr/src/sys/net80211/ieee80211_crypto.c /usr/src/sys/netinet6/frag6.c /usr/src/sys/netpfil/pf/pf_norm.c /usr/src/usr.sbin/bhyve/fwctl.c /usr/src/usr.sbin/freebsd-update/freebsd-update.sh /var/db/etcupdate/current/etc/ssh/sshd_config /var/db/mergemaster.mtree
install
root@kg-vm5:~ # freebsd-update install Installing updates... Restarting sshd after upgrade Performing sanity check on sshd configuration. Stopping sshd. Waiting for PIDS: 1228, 1228. Performing sanity check on sshd configuration. Starting sshd. Scanning //usr/share/certs/blacklisted for certificates... Scanning //usr/share/certs/trusted for certificates... Scanning //usr/local/share/certs for certificates... done.
2023-07-14: nvd0p2 - rebooted, with the network cable connected to re0 interface. Yes - it works. ifconfig output
root@kg-vm5:~ # ifconfig re0 re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE> ether e0:70:ea:ae:9b:d6 inet 10.1.161.20 netmask 0xffff0000 broadcast 10.1.255.255 media: Ethernet autoselect (1000baseT <full-duplex>) status: active nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
nice. I updated PR 253251.
2023-07-13: nvd0p2 - I patched if_re.c and if_rleg.h as described in the patch in PR 253251, then I rebuilt the kernel and rebooted. Upon reboot, I see this in dmesg
re0: <RealTek 8168/8111 B/C/CP/D/DP/E/F/G PCIe Gigabit Ethernet> port 0x2200-0x22ff mem 0xfc511000-0xfc511fff,0xfc504000-0xfc507fff at device 0.1 on pci3 re0: Using 1 MSI-X message re0: ASPM disabled re0: Chip rev. 0x54800000 re0: MAC rev. 0x00300000 miibus0: <MII bus> on re0 rgephy0: <RTL8251/8153 1000BASE-T media interface> PHY 1 on miibus0 rgephy0: none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow, 1000baseT-FDX-flow-master, auto, auto-flow re0: Using defaults for TSO: 65518/35/2048 re0: Ethernet address: e0:70:ea:ae:9b:d6 re0: netmap queues/slots: TX 1/256, RX 1/256
and ifconfig shows
root@kg-vm5:~ # ifconfig re0 re0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE> ether e0:70:ea:ae:9b:d6 media: Ethernet autoselect (none) status: no carrier nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
now to test the driver.
2023-07-13: nvd0p2 - I did a "make buildworld" / "make kernel" to verify that the sources compiles. I did not install world.
2023-07-13: nvd0p2 - get the sources via git
root@kg-vm5:~ # git clone --branch releng/13.2 https://git.FreeBSD.org/src.git /usr/src Cloning into '/usr/src'... remote: Enumerating objects: 4292283, done. remote: Counting objects: 100% (381702/381702), done. remote: Compressing objects: 100% (28490/28490), done. remote: Total 4292283 (delta 375929), reused 353212 (delta 353212), pack-reused 3910581 Receiving objects: 100% (4292283/4292283), 1.52 GiB | 10.33 MiB/s, done. Resolving deltas: 100% (3405996/3405996), done. Updating files: 100% (88877/88877), done.
verify
root@kg-vm5:~ # egrep "^BRANCH|^REVISION" /usr/src/sys/conf/newvers.sh REVISION="13.2" BRANCH="RELEASE-p1"
ok.
2023-07-13: nvd0p2 - pkg - install git
Jul 13 22:32:06 kg-vm5 pkg[17697]: perl5-5.32.1_3 installed Jul 13 22:32:06 kg-vm5 pkg[17697]: p5-TimeDate-2.33,1 installed Jul 13 22:32:06 kg-vm5 pkg[17697]: p5-HTTP-Date-6.05 installed Jul 13 22:32:06 kg-vm5 pkg[17697]: p5-URI-5.19 installed Jul 13 22:32:06 kg-vm5 pkg[17697]: p5-Encode-Locale-1.05 installed Jul 13 22:32:06 kg-vm5 pkg[17697]: p5-LWP-MediaTypes-6.04 installed Jul 13 22:32:06 kg-vm5 pkg[17697]: p5-IO-HTML-1.004 installed Jul 13 22:32:06 kg-vm5 pkg[17697]: p5-Clone-0.46 installed Jul 13 22:32:06 kg-vm5 pkg[17697]: p5-HTML-Tagset-3.20_1 installed Jul 13 22:32:06 kg-vm5 pkg[17697]: p5-HTTP-Message-6.44 installed Jul 13 22:32:06 kg-vm5 pkg[17697]: p5-Net-SSLeay-1.92 installed Jul 13 22:32:06 kg-vm5 pkg[17697]: mpdecimal-2.5.1 installed Jul 13 22:32:06 kg-vm5 pkg[17697]: p5-GSSAPI-0.28_2 installed Jul 13 22:32:06 kg-vm5 pkg[17697]: p5-IO-Socket-IP-0.41 installed Jul 13 22:32:06 kg-vm5 pkg[17697]: p5-HTML-Parser-3.81 installed Jul 13 22:32:06 kg-vm5 pkg[17697]: p5-Mozilla-CA-20221114 installed Jul 13 22:32:06 kg-vm5 pkg[17697]: libffi-3.4.4 installed Jul 13 22:32:06 kg-vm5 pkg[17697]: readline-8.2.1 installed Jul 13 22:32:06 kg-vm5 pkg[17697]: p5-Digest-HMAC-1.04 installed Jul 13 22:32:06 kg-vm5 pkg[17697]: p5-IO-Socket-SSL-2.083_1 installed Jul 13 22:32:08 kg-vm5 pkg[17697]: python39-3.9.17 installed Jul 13 22:32:08 kg-vm5 pkg[17697]: p5-CGI-4.57 installed Jul 13 22:32:09 kg-vm5 pkg[17697]: pcre2-10.42 installed Jul 13 22:32:09 kg-vm5 pkg[17697]: p5-Error-0.17029 installed Jul 13 22:32:09 kg-vm5 pkg[17697]: expat-2.5.0 installed Jul 13 22:32:09 kg-vm5 pkg[17697]: p5-Authen-SASL-2.16_1 installed Jul 13 22:32:09 kg-vm5 pkg[17697]: git-2.41.0 installed
2023-07-13: nvd0p2 - get the releng/13 sources onto the machine. Check first
root@kg-vm5:~ # l /usr/src ./ ../
2023-07-13: nvd0p2 - PR 253251 seems relevant for the non-working re network interface.
2023-07-08: nvd0p2 - vm-bhyve. First I added configuration to /etc/rc.conf.local
root@kg-vm5:~ # cat /etc/rc.conf.local # configuration for vm-bhyve vm_enable="YES" vm_dir="/zs/vms" vm_delay="5" #vm_list="trap2 web web2 music3 proxy wiki2"
the vm_list is commented out for now. next, create a directory for the vms
root@kg-vm5:~ # mkdir /zs/vms
and run vm init
root@kg-vm5:~ # vm init
create the public switch
root@kg-vm5:~ # vm switch create public
verify
root@kg-vm5:~ # vm switch list NAME TYPE IFACE ADDRESS PRIVATE MTU VLAN PORTS public standard vm-public - no - - -
add a member to it
root@kg-vm5:~ # vm switch add public ue0
verify
root@kg-vm5:~ # vm switch list NAME TYPE IFACE ADDRESS PRIVATE MTU VLAN PORTS public standard vm-public - no - - ue0
configure the vm console
root@kg-vm5:~ # vm get console SETTING VALUE console - root@kg-vm5:~ # vm set console=tmux root@kg-vm5:~ # vm get console SETTING VALUE console tmux
verified, ok.
2023-07-08: nvd0p2 - set up the sata ssd
root@kg-vm5:~ # camcontrol devlist <CT2000MX500SSD1 M3CR046> at scbus3 target 0 lun 0 (ada0,pass0) root@kg-vm5:~ # gpart show -p ada0 gpart: No such geom: ada0. root@kg-vm5:~ # gpart create -s GPT ada0 ada0 created
add a partition
root@kg-vm5:~ # gpart add -t freebsd-ufs ada0 ada0p1 added
how does it look?
root@kg-vm5:~ # gpart show -p ada0 => 40 3907029088 ada0 GPT (1.8T) 40 3907029088 ada0p1 freebsd-ufs (1.8T)
fine. create a mountpoint for the ssd
root@kg-vm5:~ # mkdir /zs
create a filesystem on ada0p1
root@kg-vm5:~ # newfs -Uj /dev/ada0p1 /dev/ada0p1: 1907729.0MB (3907029088 sectors) block size 32768, fragment size 4096 using 3052 cylinder groups of 625.22MB, 20007 blks, 80128 inodes. with soft updates super-block backups (for fsck_ffs -b #) at: 192, 1280640, 2561088, 3841536, 5121984, 6402432, 7682880, 8963328, 10243776, 11524224, 12804672, 14085120, 15365568, 16646016, [..] 3891281664, 3892562112, 3893842560, 3895123008, 3896403456, 3897683904, 3898964352, 3900244800, 3901525248, 3902805696, 3904086144, 3905366592, 3906647040 Using inode 4 in cg 0 for 655589376 byte journal newfs: Journal file fragmented. newfs: soft updates journaling set
mount the filesystem
root@kg-vm5:~ # mount /dev/ada0p1 /zs
also create an entry in fstab for it. The complete /etc/fstab now
root@kg-vm5:~ # cat /etc/fstab # Device Mountpoint FStype Options Dump Pass# /dev/nvd0p2 / ufs rw 1 1 /dev/nvd0p1 /boot/efi msdosfs rw 2 2 /dev/nvd0p3 none swap sw 0 0 /dev/ada0p1 /zs ufs rw 2 2
2023-07-08: nvd0p2 - with the new memory SODIMMs installed
root@kg-vm5:~ # dmesg | grep memory real memory = 68717379584 (65534 MB) avail memory = 66105425920 (63043 MB)
the new SSD also shows up
root@kg-vm5:~ # dmesg | grep ada ada0 at ahcich3 bus 0 scbus3 target 0 lun 0 ada0: <CT2000MX500SSD1 M3CR046> ACS-3 ATA SATA 3.x device ada0: Serial Number 2315E6C73494 ada0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 512bytes) ada0: Command Queueing enabled ada0: 1907729MB (3907029168 512 byte sectors)
camcontrol output
root@kg-vm5:~ # camcontrol devlist <CT2000MX500SSD1 M3CR046> at scbus3 target 0 lun 0 (ada0,pass0)
2023-07-07: nvd0p2 - pkg - install pkg and dmidecode
Jul 7 18:35:39 kg-vm5 pkg-static[1164]: pkg-1.19.2 installed Jul 7 18:35:46 kg-vm5 pkg[1179]: dmidecode-3.5 installed
pkg - install curl
Jul 7 20:46:13 kg-vm5 pkg[1174]: indexinfo-0.3.1 installed Jul 7 20:46:13 kg-vm5 pkg[1174]: libunistring-1.1 installed Jul 7 20:46:13 kg-vm5 pkg[1174]: libidn2-2.3.4 installed Jul 7 20:46:13 kg-vm5 pkg[1174]: libnghttp2-1.53.0 installed Jul 7 20:46:13 kg-vm5 pkg[1174]: libssh2-1.11.0,3 installed Jul 7 20:46:13 kg-vm5 pkg[1174]: libpsl-0.21.2_3 installed Jul 7 20:46:13 kg-vm5 pkg[1174]: ca_root_nss-3.89.1 installed Jul 7 20:46:13 kg-vm5 pkg[1174]: curl-8.1.2 installed
2023-07-07: nvd0p2 - reboot, FreeBSD 13.2-release-p1 is in
root@kg-vm5:~ # freebsd-version -ku 13.2-RELEASE-p1 13.2-RELEASE-p1
kernel
root@kg-vm5:~ # uname -a FreeBSD kg-vm5.kg4.no 13.2-RELEASE-p1 FreeBSD 13.2-RELEASE-p1 GENERIC amd64
2023-07-07: nvd0p2 - freebsd-update fetch
root@kg-vm5:~ # freebsd-update fetch src component not installed, skipped Looking up update.FreeBSD.org mirrors... 2 mirrors found. Fetching public key from update1.freebsd.org... done. Fetching metadata signature for 13.2-RELEASE from update1.freebsd.org... done. Fetching metadata index... done. Fetching 2 metadata files... done. Inspecting system... done. Preparing to download files... done. Fetching 15 patches.....10.. done. Applying patches... done. The following files will be updated as part of updating to 13.2-RELEASE-p1: /bin/freebsd-version /boot/kernel/kernel /boot/kernel/mpr.ko /boot/loader /boot/loader.efi /boot/loader_4th /boot/loader_4th.efi /boot/loader_lua /boot/loader_lua.efi /boot/loader_simp /boot/loader_simp.efi /boot/pxeboot /boot/zfsloader /usr/lib/libpam.a /usr/lib/pam_krb5.so.6 /usr/lib32/libpam.a /usr/lib32/pam_krb5.so.6 /usr/share/man/man8/pam_krb5.8.gz
install
root@kg-vm5:~ # freebsd-update install src component not installed, skipped Installing updates... Restarting sshd after upgrade Performing sanity check on sshd configuration. Stopping sshd. Waiting for PIDS: 931, 931. Performing sanity check on sshd configuration. Starting sshd. Scanning //usr/share/certs/blacklisted for certificates... Scanning //usr/share/certs/trusted for certificates... done.
2023-07-07: nvd0p2 - networking - the Realtek wired adapter isn't correctly identified
root@kg-vm5:~ # pciconf -lv | grep -A 4 none2 none2@pci0:3:0:1: class=0x020000 rev=0x29 hdr=0x00 vendor=0x10ec device=0x8168 subvendor=0x103c subdevice=0x872e vendor = 'Realtek Semiconductor Co., Ltd.' device = 'RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller' class = network subclass = ethernet
from dmesg
pci3: <unknown> at device 0.0 (no driver attached) re0: <RealTek 8168/8111 B/C/CP/D/DP/E/F/G PCIe Gigabit Ethernet> port 0x2200-0x22ff mem 0xfc511000-0xfc511fff,0xfc504000-0xfc507fff at device 0.1 on pci3 re0: Using 1 MSI-X message re0: turning off MSI enable bit. re0: ASPM disabled re0: Chip rev. 0x54800000 re0: MAC rev. 0x00300000 re0: Unknown H/W revision: 0x54800000 device_attach: re0 attach returned 6
so for now I'm using a usb-to-ethernet adapter
root@kg-vm5:~ # usbconfig -d ugen0.3 ugen0.3: <Realtek USB 10/100 LAN> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (100mA)
from /var/log/messages
ugen0.3: <Realtek USB 10/100 LAN> at usbus0 ure0 on uhub4 ure0: <Realtek USB 10/100 LAN, class 0/0, rev 2.10/20.00, addr 5> on usbus0 miibus0: <MII bus> on ure0 rlphy0: <RTL8201E 10/100 media interface> PHY 0 on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ue0: <USB Ethernet> on ure0 ue0: Ethernet address: 00:e0:4c:36:08:f8 ue0: link state changed to DOWN ue0: link state changed to UP
2023-07-07: nvd0p2 - pciconf info
root@kg-vm5:~ # pciconf -lv hostb0@pci0:0:0:0: class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x1630 subvendor=0x1022 subdevice=0x1630 vendor = 'Advanced Micro Devices, Inc. [AMD]' device = 'Renoir/Cezanne Root Complex' class = bridge subclass = HOST-PCI none0@pci0:0:0:2: class=0x080600 rev=0x00 hdr=0x00 vendor=0x1022 device=0x1631 subvendor=0x1022 subdevice=0x1631 vendor = 'Advanced Micro Devices, Inc. [AMD]' device = 'Renoir/Cezanne IOMMU' class = base peripheral subclass = IOMMU hostb1@pci0:0:1:0: class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x1632 subvendor=0x0000 subdevice=0x0000 vendor = 'Advanced Micro Devices, Inc. [AMD]' device = 'Renoir PCIe Dummy Host Bridge' class = bridge subclass = HOST-PCI hostb2@pci0:0:2:0: class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x1632 subvendor=0x0000 subdevice=0x0000 vendor = 'Advanced Micro Devices, Inc. [AMD]' device = 'Renoir PCIe Dummy Host Bridge' class = bridge subclass = HOST-PCI pcib1@pci0:0:2:1: class=0x060400 rev=0x00 hdr=0x01 vendor=0x1022 device=0x1634 subvendor=0x1022 subdevice=0x1453 vendor = 'Advanced Micro Devices, Inc. [AMD]' device = 'Renoir/Cezanne PCIe GPP Bridge' class = bridge subclass = PCI-PCI pcib4@pci0:0:2:2: class=0x060400 rev=0x00 hdr=0x01 vendor=0x1022 device=0x1634 subvendor=0x1022 subdevice=0x1453 vendor = 'Advanced Micro Devices, Inc. [AMD]' device = 'Renoir/Cezanne PCIe GPP Bridge' class = bridge subclass = PCI-PCI hostb3@pci0:0:8:0: class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x1632 subvendor=0x0000 subdevice=0x0000 vendor = 'Advanced Micro Devices, Inc. [AMD]' device = 'Renoir PCIe Dummy Host Bridge' class = bridge subclass = HOST-PCI pcib5@pci0:0:8:1: class=0x060400 rev=0x00 hdr=0x01 vendor=0x1022 device=0x1635 subvendor=0x1022 subdevice=0x1635 vendor = 'Advanced Micro Devices, Inc. [AMD]' device = 'Renoir Internal PCIe GPP Bridge to Bus' class = bridge subclass = PCI-PCI intsmb0@pci0:0:20:0: class=0x0c0500 rev=0x51 hdr=0x00 vendor=0x1022 device=0x790b subvendor=0x103c subdevice=0x872e vendor = 'Advanced Micro Devices, Inc. [AMD]' device = 'FCH SMBus Controller' class = serial bus subclass = SMBus isab0@pci0:0:20:3: class=0x060100 rev=0x51 hdr=0x00 vendor=0x1022 device=0x790e subvendor=0x103c subdevice=0x872e vendor = 'Advanced Micro Devices, Inc. [AMD]' device = 'FCH LPC Bridge' class = bridge subclass = PCI-ISA hostb4@pci0:0:24:0: class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x1448 subvendor=0x0000 subdevice=0x0000 vendor = 'Advanced Micro Devices, Inc. [AMD]' device = 'Renoir Device 24: Function 0' class = bridge subclass = HOST-PCI hostb5@pci0:0:24:1: class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x1449 subvendor=0x0000 subdevice=0x0000 vendor = 'Advanced Micro Devices, Inc. [AMD]' device = 'Renoir Device 24: Function 1' class = bridge subclass = HOST-PCI hostb6@pci0:0:24:2: class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x144a subvendor=0x0000 subdevice=0x0000 vendor = 'Advanced Micro Devices, Inc. [AMD]' device = 'Renoir Device 24: Function 2' class = bridge subclass = HOST-PCI hostb7@pci0:0:24:3: class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x144b subvendor=0x0000 subdevice=0x0000 vendor = 'Advanced Micro Devices, Inc. [AMD]' device = 'Renoir Device 24: Function 3' class = bridge subclass = HOST-PCI hostb8@pci0:0:24:4: class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x144c subvendor=0x0000 subdevice=0x0000 vendor = 'Advanced Micro Devices, Inc. [AMD]' device = 'Renoir Device 24: Function 4' class = bridge subclass = HOST-PCI hostb9@pci0:0:24:5: class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x144d subvendor=0x0000 subdevice=0x0000 vendor = 'Advanced Micro Devices, Inc. [AMD]' device = 'Renoir Device 24: Function 5' class = bridge subclass = HOST-PCI hostb10@pci0:0:24:6: class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x144e subvendor=0x0000 subdevice=0x0000 vendor = 'Advanced Micro Devices, Inc. [AMD]' device = 'Renoir Device 24: Function 6' class = bridge subclass = HOST-PCI hostb11@pci0:0:24:7: class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x144f subvendor=0x0000 subdevice=0x0000 vendor = 'Advanced Micro Devices, Inc. [AMD]' device = 'Renoir Device 24: Function 7' class = bridge subclass = HOST-PCI xhci0@pci0:1:0:0: class=0x0c0330 rev=0x00 hdr=0x00 vendor=0x1022 device=0x43ef subvendor=0x103c subdevice=0x872e vendor = 'Advanced Micro Devices, Inc. [AMD]' class = serial bus subclass = USB pcib2@pci0:1:0:2: class=0x060400 rev=0x00 hdr=0x01 vendor=0x1022 device=0x43e9 subvendor=0x103c subdevice=0x872e vendor = 'Advanced Micro Devices, Inc. [AMD]' device = '500 Series Chipset Switch Upstream Port' class = bridge subclass = PCI-PCI pcib3@pci0:2:9:0: class=0x060400 rev=0x00 hdr=0x01 vendor=0x1022 device=0x43ea subvendor=0x1b21 subdevice=0x3308 vendor = 'Advanced Micro Devices, Inc. [AMD]' class = bridge subclass = PCI-PCI none1@pci0:3:0:0: class=0xff0000 rev=0x1a hdr=0x00 vendor=0x10ec device=0x816e subvendor=0x10ec subdevice=0x8168 vendor = 'Realtek Semiconductor Co., Ltd.' device = 'Realtek RealManage BMC' none2@pci0:3:0:1: class=0x020000 rev=0x29 hdr=0x00 vendor=0x10ec device=0x8168 subvendor=0x103c subdevice=0x872e vendor = 'Realtek Semiconductor Co., Ltd.' device = 'RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller' class = network subclass = ethernet none3@pci0:3:0:2: class=0x070002 rev=0x1a hdr=0x00 vendor=0x10ec device=0x816a subvendor=0x10ec subdevice=0x8168 vendor = 'Realtek Semiconductor Co., Ltd.' device = 'RTL8111xP UART' class = simple comms subclass = UART ehci0@pci0:3:0:4: class=0x0c0320 rev=0x1a hdr=0x00 vendor=0x10ec device=0x816d subvendor=0x10ec subdevice=0x8168 vendor = 'Realtek Semiconductor Co., Ltd.' device = 'RTL811x EHCI host controller' class = serial bus subclass = USB none4@pci0:3:0:7: class=0x0c0701 rev=0x1a hdr=0x00 vendor=0x10ec device=0x816c subvendor=0x10ec subdevice=0x8168 vendor = 'Realtek Semiconductor Co., Ltd.' device = 'RTL8111xP IPMI interface' class = serial bus subclass = IPMI nvme0@pci0:4:0:0: class=0x010802 rev=0x00 hdr=0x00 vendor=0x1c5c device=0x174a subvendor=0x1c5c subdevice=0x174a vendor = 'SK hynix' device = 'Gold P31/PC711 NVMe Solid State Drive' class = mass storage subclass = NVM vgapci0@pci0:5:0:0: class=0x030000 rev=0xdd hdr=0x00 vendor=0x1002 device=0x1636 subvendor=0x103c subdevice=0x872e vendor = 'Advanced Micro Devices, Inc. [AMD/ATI]' device = 'Renoir' class = display subclass = VGA hdac0@pci0:5:0:1: class=0x040300 rev=0x00 hdr=0x00 vendor=0x1002 device=0x1637 subvendor=0x103c subdevice=0x872e vendor = 'Advanced Micro Devices, Inc. [AMD/ATI]' device = 'Renoir Radeon High Definition Audio Controller' class = multimedia subclass = HDA none5@pci0:5:0:2: class=0x108000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x15df subvendor=0x103c subdevice=0x872e vendor = 'Advanced Micro Devices, Inc. [AMD]' device = 'Family 17h (Models 10h-1fh) Platform Security Processor' class = encrypt/decrypt xhci1@pci0:5:0:3: class=0x0c0330 rev=0x00 hdr=0x00 vendor=0x1022 device=0x1639 subvendor=0x103c subdevice=0x872e vendor = 'Advanced Micro Devices, Inc. [AMD]' device = 'Renoir/Cezanne USB 3.1' class = serial bus subclass = USB xhci2@pci0:5:0:4: class=0x0c0330 rev=0x00 hdr=0x00 vendor=0x1022 device=0x1639 subvendor=0x103c subdevice=0x872e vendor = 'Advanced Micro Devices, Inc. [AMD]' device = 'Renoir/Cezanne USB 3.1' class = serial bus subclass = USB
2023-07-07: nvd0p2 - the machine came with Win11 Home on the internal nvme drive. I quickly removed that and installed FreeBSD 13.2-release.
root@kg-vm5:~ # freebsd-version -ku 13.2-RELEASE 13.2-RELEASE
kernel
root@kg-vm5:~ # uname -a FreeBSD kg-vm5.kg4.no 13.2-RELEASE FreeBSD 13.2-RELEASE releng/13.2-n254617-525ecfdad597 GENERIC amd64
2023-07-07: I created this page.