Acer Aspire X1470 - FreeBSD
Hardware info on main page.
This machine runs the amd64 version of FreeBSD.
The first ssd (ada0) is gpt partitioned as follows: new layout:
root@kg-vm2# gpart show -p ada0 => 34 250069613 ada0 GPT (119G) 34 6 - free - (3.0K) 40 204800 ada0p1 efi (100M) 204840 119537664 ada0p2 freebsd-ufs (57G) FreeBSD 12.4-release 119742504 8388608 ada0p3 freebsd-swap (4.0G) 128131112 121938528 ada0p4 freebsd-ufs [bootonce,bootme] (58G) stable/11 (currently FreeBSD 11.2-stable) 250069640 7 - free - (3.5K)
old layout:
root@kg-vm2# gpart show -p ada0 => 34 250069613 ada0 GPT (119G) 34 128 ada0p1 freebsd-boot (64k) 162 119537664 ada0p2 freebsd-ufs (57G) RELENG_9 (currently FreeBSD 9.3-stable) 119537826 8388608 ada0p3 freebsd-swap (4.0G) swap 127926434 121634816 ada0p4 freebsd-ufs (58G) stable/10 (currently FreeBSD 10.2-stable) 249561250 204800 ada0p5 efi (100M) (U)EFI System Partition - ESP 249766050 303597 - free - (148M)
That's it.
keys: BIOS - Delete, boot menu - F12,
Hints: using the loader to choose boot device: escape to loader prompt, set currdev=disk1p2
(or disk1p4), unload kernel, load /boot/kernel/kernel, boot (or boot -v).
Hints - updated - loader: escape to loader prompt; set currdev=disk1p4
(or disk1p2), read-conf /boot/loader.conf
, boot-conf
.
If you need verbose do a set boot_verbose=yes
before boot-conf. That's it.
Links
FreeBSD wiki - UEFI,
Archives: 2012, 2014, 2015, 2016, 2017, 2019, 2020,
History
2024-01-02: ada0p2 - freebsd-update fetch
root@kg-vm2# freebsd-update fetch The following files will be updated as part of updating to 12.4-RELEASE-p9: /usr/src/usr.sbin/freebsd-update/freebsd-update.sh /var/db/etcupdate/current/etc/ssh/sshd_config /var/db/mergemaster.mtree WARNING: FreeBSD 12.4-RELEASE-p1 HAS PASSED ITS END-OF-LIFE DATE. Any security issues discovered after Mon Jan 1 01:00:00 CET 2024 will not have been corrected.
install
root@kg-vm2# freebsd-update install Installing updates...Scanning //usr/share/certs/blacklisted for certificates... Scanning //usr/share/certs/trusted for certificates... Scanning //usr/local/share/certs for certificates... done.
2023-03-05: ada0p2 - reboot (needed press F1 as usual) and FreeBSD 12.4-release-p2 is in
root@kg-vm2# freebsd-version -ku 12.4-RELEASE-p1 12.4-RELEASE-p2
kernel
root@kg-vm2# uname -a FreeBSD kg-vm2.kg4.no 12.4-RELEASE-p1 FreeBSD 12.4-RELEASE-p1 GENERIC amd64
2023-03-05: ada0p2 - freebsd-update fetch
root@kg-vm2# freebsd-update fetch [..] The following files will be added as part of updating to 12.4-RELEASE-p2: /usr/share/zoneinfo/America/Ciudad_Juarez /usr/src/crypto/openssl/crypto/bn/rsa_sup_mul.c The following files will be updated as part of updating to 12.4-RELEASE-p2: /usr/src/sys/dev/ixgbe/if_ix.c /usr/src/tools/build/mk/OptionalObsoleteFiles.inc
install
root@kg-vm2# freebsd-update install Installing updates...Scanning //usr/share/certs/blacklisted for certificates... Scanning //usr/share/certs/trusted for certificates... Scanning //usr/local/share/certs for certificates... done.
2022-12-11: ada0p2 - reboot (needed press F1 as usual) and FreeBSD 12.4-release is in
root@kg-vm2# freebsd-version -ku 12.4-RELEASE 12.4-RELEASE
kernel
root@kg-vm2# uname -a FreeBSD kg-vm2.kg4.no 12.4-RELEASE FreeBSD 12.4-RELEASE r372781 GENERIC amd64
2022-12-11: ada0p2 - freebsd-update - upgrade to 12.4-release
root@kg-vm2# freebsd-update -r 12.4-RELEASE upgrade [..] The following components of FreeBSD seem to be installed: kernel/generic kernel/generic-dbg src/src world/base world/doc 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 file could not be merged automatically: /etc/ntp.conf Press Enter to edit this file in /usr/bin/vi and resolve the conflicts The following file could not be merged automatically: /etc/profile Press Enter to edit this file in /usr/bin/vi and resolve the conflicts [..] The following files will be removed as part of updating to 12.4-RELEASE-p0: The following files will be added as part of updating to 12.4-RELEASE-p0: The following files will be updated as part of updating to 12.4-RELEASE-p0: [..] /var/db/mergemaster.mtree /var/yp/Makefile.dist To install the downloaded upgrades, run "/usr/sbin/freebsd-update install".
install
root@kg-vm2# 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, then
root@kg-vm2# freebsd-update install Installing updates...Scanning //usr/share/certs/blacklisted for certificates... Scanning //usr/share/certs/trusted for certificates... Scanning //usr/local/share/certs for certificates... done.
2021-12-08: ada0p2 - reboot (normal, needed press F1), FreeBSD 12.3-release is in. dmesg output: normal, verbose.
root@kg-vm2# freebsd-version -ku 12.3-RELEASE 12.3-RELEASE
kernel
root@kg-vm2# uname -a FreeBSD kg-vm2.kg4.no 12.3-RELEASE FreeBSD 12.3-RELEASE r371126 GENERIC amd64
2021-12-08: ada0p2 - freebsd-update upgrade to 12.3-release
root@kg-vm2# freebsd-update -r 12.3-RELEASE upgrade [..] kernel/generic kernel/generic-dbg src/src world/base world/doc 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 [..] Attempting to automatically merge changes in files... done. The following file could not be merged automatically: /etc/ntp.conf Press Enter to edit this file in /usr/bin/vi and resolve the conflicts [..] The following files will be removed as part of updating to 12.3-RELEASE-p0: The following files will be added as part of updating to 12.3-RELEASE-p0: The following files will be updated as part of updating to 12.3-RELEASE-p0: [..] /var/db/mergemaster.mtree /var/yp/Makefile.dist To install the downloaded upgrades, run "/usr/sbin/freebsd-update install".
install
root@kg-vm2# 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 (worked normally, but needed press F1)
root@kg-vm2# freebsd-update install Installing updates...Scanning //usr/share/certs/blacklisted for certificates... Scanning //usr/share/certs/trusted for certificates... Scanning //usr/local/share/certs for certificates... done.
2021-12-08: ada0p2 - reboot (needed F1 press + power off to work properly), FreeBSD 12.2-release-p11 is in. dmesg output normal.
root@kg-vm2# freebsd-version -ku 12.2-RELEASE-p7 12.2-RELEASE-p11
kernel
root@kg-vm2# uname -a FreeBSD kg-vm2.kg4.no 12.2-RELEASE-p7 FreeBSD 12.2-RELEASE-p7 GENERIC amd64
2021-12-08: ada0p2 - freebsd-update fetch
root@kg-vm2# freebsd-update fetch [..] The following files will be removed as part of updating to 12.2-RELEASE-p11: The following files will be added as part of updating to 12.2-RELEASE-p11: The following files will be updated as part of updating to 12.2-RELEASE-p11: [..] /usr/src/usr.sbin/bhyve/pci_nvme.c /usr/src/usr.sbin/bhyve/pci_virtio_console.c /usr/src/usr.sbin/bhyve/pci_virtio_rnd.c /usr/src/usr.sbin/bhyve/pci_virtio_scsi.c WARNING: FreeBSD 12.2-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-vm2# freebsd-update install Installing updates...Scanning //usr/share/certs/blacklisted for certificates... Scanning //usr/share/certs/trusted for certificates... Scanning //usr/local/share/certs for certificates... done.
2021-08-27: ada0p2 - I had to power on the machine after a local power outage.
2021-07-25: ada0p2 - reboot (which worked normally), FreeBSD 12.2-release-p9 is in. dmesg output: normal.
root@kg-vm2# freebsd-version -ku 12.2-RELEASE-p7 12.2-RELEASE-p9
kernel
root@kg-vm2# uname -a FreeBSD kg-vm2.kg4.no 12.2-RELEASE-p7 FreeBSD 12.2-RELEASE-p7 GENERIC amd64
2021-07-25: ada0p2 - freebsd-update fetch
root@kg-vm2# freebsd-update fetch Looking up update.FreeBSD.org mirrors... 2 mirrors found. Fetching metadata signature for 12.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 60 patches.....10....20....30....40....50....60 done. Applying patches... done. The following files will be updated as part of updating to 12.2-RELEASE-p9: /bin/freebsd-version /boot/kernel/aesni.ko /boot/kernel/kernel /boot/kernel/linux.ko /boot/kernel/linux64.ko /boot/kernel/pf.ko /boot/kernel/pmspcv.ko /lib/libcasper.so.1 /lib/libcrypto.so.111 /rescue/[ /rescue/bectl /rescue/bsdlabel /rescue/bunzip2 /rescue/bzcat /rescue/bzip2 /rescue/camcontrol /rescue/cat /rescue/ccdconfig /rescue/chflags /rescue/chgrp /rescue/chio [..] /usr/src/sys/netpfil/pf/pf.c /usr/src/sys/vm/vm_fault.c
install
root@kg-vm2# freebsd-update install Installing updates...Scanning //usr/share/certs/blacklisted for certificates... Scanning //usr/share/certs/trusted for certificates... Scanning //usr/local/share/certs for certificates... done.
2021-03-21: ada0p2 - pkg - upgrade
Mar 21 18:51:11 kg-vm2 pkg[22584]: glib upgraded: 2.66.7,1 -> 2.66.7_1,1 Mar 21 18:51:11 kg-vm2 pkg[22584]: libxfce4menu upgraded: 4.16.0_1 -> 4.16.0_2 Mar 21 18:51:11 kg-vm2 pkg[22584]: libexo upgraded: 4.16.0 -> 4.16.1 Mar 21 18:51:38 kg-vm2 pkg[22638]: ca_root_nss upgraded: 3.61 -> 3.62 Mar 21 18:52:32 kg-vm2 pkg[22647]: pciids upgraded: 20210131 -> 20210223 Mar 21 18:52:42 kg-vm2 pkg[22647]: python37 upgraded: 3.7.9_1 -> 3.7.10 Mar 21 18:52:42 kg-vm2 pkg[22647]: p11-kit upgraded: 0.23.22 -> 0.23.22_1 Mar 21 18:52:42 kg-vm2 pkg[22647]: libproxy upgraded: 0.4.15 -> 0.4.17 Mar 21 18:52:44 kg-vm2 pkg[22647]: qt5-core upgraded: 5.15.2 -> 5.15.2_2 Mar 21 18:52:44 kg-vm2 pkg[22647]: poppler upgraded: 21.02.0 -> 21.03.0 Mar 21 18:52:44 kg-vm2 pkg[22647]: libarchive upgraded: 3.4.3_1,1 -> 3.5.1,1 Mar 21 18:52:44 kg-vm2 pkg[22647]: poppler-glib upgraded: 21.02.0 -> 21.03.0 Mar 21 18:52:44 kg-vm2 pkg[22647]: libudisks upgraded: 2.9.1 -> 2.9.2 Mar 21 18:52:45 kg-vm2 pkg[22647]: xfce4-tumbler upgraded: 4.16.0_2 -> 4.16.0_3 Mar 21 18:52:45 kg-vm2 pkg[22647]: xfce4-panel upgraded: 4.16.1 -> 4.16.2 Mar 21 18:52:45 kg-vm2 pkg[22647]: xfce4-systemload-plugin upgraded: 1.2.4_1 -> 1.3.0 Mar 21 18:52:45 kg-vm2 pkg[22647]: xfce4-netload-plugin upgraded: 1.3.2_1 -> 1.4.0 Mar 21 18:52:45 kg-vm2 pkg[22647]: xfce4-cpugraph-plugin upgraded: 1.2.2 -> 1.2.3 Mar 21 18:52:46 kg-vm2 pkg[22647]: thunar upgraded: 4.16.3 -> 4.16.5 Mar 21 18:52:56 kg-vm2 pkg[22647]: python36 upgraded: 3.6.12_2 -> 3.6.13 Mar 21 18:52:56 kg-vm2 pkg[22647]: mousepad upgraded: 0.5.2 -> 0.5.3 Mar 21 18:52:57 kg-vm2 pkg[22647]: gpu-firmware-kmod upgraded: g20201213 -> g20210224 Mar 21 18:52:57 kg-vm2 pkg[22647]: e2fsprogs-libuuid upgraded: 1.46.1 -> 1.46.2
ok
2021-02-27: ada0p2 - Xorg - it doesn't work properly, 'startx' gives a garbled screen, and lots of error messages in /var/log/messages:
Feb 27 17:12:04 kg-vm2 kernel: drmn0: ring 3 stalled for more than 301905msec Feb 27 17:12:04 kg-vm2 kernel: drmn0: GPU lockup (current fence id 0x0000000000000000 last fence id 0x0000000000000003 on ring 3) Feb 27 17:12:04 kg-vm2 kernel: drmn0: ring 3 stalled for more than 302407msec Feb 27 17:12:04 kg-vm2 kernel: drmn0: GPU lockup (current fence id 0x0000000000000000 last fence id 0x0000000000000003 on ring 3) Feb 27 17:12:05 kg-vm2 kernel: drmn0: ring 3 stalled for more than 302918msec Feb 27 17:12:05 kg-vm2 kernel: drmn0: GPU lockup (current fence id 0x0000000000000000 last fence id 0x0000000000000003 on ring 3) Feb 27 17:12:05 kg-vm2 kernel: drmn0: ring 3 stalled for more than 303419msec Feb 27 17:12:05 kg-vm2 kernel: drmn0: GPU lockup (current fence id 0x0000000000000000 last fence id 0x0000000000000003 on ring 3) Feb 27 17:12:06 kg-vm2 kernel: drmn0: ring 3 stalled for more than 303924msec Feb 27 17:12:06 kg-vm2 kernel: drmn0: GPU lockup (current fence id 0x0000000000000000 last fence id 0x0000000000000003 on ring 3) Feb 27 17:12:06 kg-vm2 kernel: drmn0: ring 3 stalled for more than 304430msec Feb 27 17:12:06 kg-vm2 kernel: drmn0: GPU lockup (current fence id 0x0000000000000000 last fence id 0x0000000000000003 on ring 3) Feb 27 17:12:07 kg-vm2 kernel: drmn0: ring 3 stalled for more than 304934msec Feb 27 17:12:07 kg-vm2 kernel: drmn0: GPU lockup (current fence id 0x0000000000000000 last fence id 0x0000000000000003 on ring 3) Feb 27 17:12:07 kg-vm2 kernel: drmn0: ring 3 stalled for more than 305442msec Feb 27 17:12:07 kg-vm2 kernel: drmn0: GPU lockup (current fence id 0x0000000000000000 last fence id 0x0000000000000003 on ring 3) Feb 27 17:12:08 kg-vm2 kernel: drmn0: ring 3 stalled for more than 305948msec Feb 27 17:12:08 kg-vm2 kernel: drmn0: GPU lockup (current fence id 0x0000000000000000 last fence id 0x0000000000000003 on ring 3)
ok
2021-02-27: ada0p2 - reboot - I had to boot from usb stick again, and set currdev manually. FreeBSD 12.2-release-p4 is in.
root@kg-vm2# freebsd-version -ku 12.2-RELEASE-p4 12.2-RELEASE-p4
kernel
root@kg-vm2# uname -a FreeBSD kg-vm2.kg4.no 12.2-RELEASE-p4 FreeBSD 12.2-RELEASE-p4 GENERIC amd64
ok.
2021-02-27: ada0p2 - freebsd-update fetch
root@kg-vm2# freebsd-update fetch [..] The following files will be removed as part of updating to 12.2-RELEASE-p4: [..] The following files will be added as part of updating to 12.2-RELEASE-p4: [..] The following files will be updated as part of updating to 12.2-RELEASE-p4: [..] /usr/src/sys/x86/x86/ucode.c /usr/src/usr.sbin/freebsd-update/freebsd-update.sh
install
root@kg-vm2# freebsd-update install Installing updates...Scanning //usr/share/certs/blacklisted for certificates... Scanning //usr/share/certs/trusted for certificates... Scanning //usr/local/share/certs for certificates... done.
ok
2021-02-27: ada0p2 - pkg - upgrade
Feb 27 16:50:28 kg-vm2 pkg[36125]: pkg upgraded: 1.16.2 -> 1.16.3 Feb 27 16:51:20 kg-vm2 pkg[36148]: ca_root_nss upgraded: 3.58 -> 3.61 Feb 27 16:51:20 kg-vm2 pkg[36148]: nss upgraded: 3.61 -> 3.62 Feb 27 16:51:21 kg-vm2 pkg[36148]: sudo upgraded: 1.9.5p1 -> 1.9.5p2 Feb 27 16:52:36 kg-vm2 pkg[36199]: pciids upgraded: 20201127 -> 20210131 Feb 27 16:52:36 kg-vm2 pkg[36199]: readline upgraded: 8.0.4_1 -> 8.1.0 Feb 27 16:52:36 kg-vm2 pkg[36199]: png upgraded: 1.6.37 -> 1.6.37_1 Feb 27 16:52:36 kg-vm2 pkg[36199]: libxml2 upgraded: 2.9.10_2 -> 2.9.10_3 Feb 27 16:52:36 kg-vm2 pkg[36199]: libepoll-shim upgraded: 0.0.20201229 -> 0.0.20210213 Feb 27 16:52:36 kg-vm2 pkg[36199]: zstd upgraded: 1.4.5_1 -> 1.4.8 Feb 27 16:52:37 kg-vm2 pkg[36199]: wayland upgraded: 1.18.0_4 -> 1.19.0 Feb 27 16:52:37 kg-vm2 pkg[36199]: libunwind upgraded: 20200331_1 -> 20201110 Feb 27 16:52:38 kg-vm2 pkg[36199]: glib upgraded: 2.66.4_1,1 -> 2.66.7,1 Feb 27 16:52:38 kg-vm2 pkg[36199]: fontconfig upgraded: 2.13.92_2,1 -> 2.13.93,1 Feb 27 16:52:39 kg-vm2 pkg[36199]: spidermonkey78 upgraded: 78.6.0_1 -> 78.7.0_1 Feb 27 16:52:39 kg-vm2 pkg[36199]: pygobject3-common upgraded: 3.28.3_3 -> 3.38.0 Feb 27 16:52:39 kg-vm2 pkg[36199]: py37-gobject3 upgraded: 3.28.3_3 -> 3.38.0 Feb 27 16:52:40 kg-vm2 pkg[36199]: libgcrypt upgraded: 1.8.7 -> 1.9.2 Feb 27 16:52:40 kg-vm2 pkg[36199]: lcms2 upgraded: 2.11_1 -> 2.12 Feb 27 16:52:40 kg-vm2 pkg[36199]: glib-networking upgraded: 2.66.0 -> 2.66.0_1 Feb 27 16:52:41 kg-vm2 pkg[36199]: librsvg2-rust upgraded: 2.50.2_1 -> 2.50.3_1 Feb 27 16:52:41 kg-vm2 pkg[36199]: json-glib upgraded: 1.6.0 -> 1.6.2_1 Feb 27 16:52:41 kg-vm2 pkg[36199]: graphene upgraded: 1.10.2 -> 1.10.4 Feb 27 16:52:42 kg-vm2 pkg[36199]: cups upgraded: 2.3.3_1 -> 2.3.3op2 Feb 27 16:52:42 kg-vm2 pkg[36199]: webp upgraded: 1.1.0 -> 1.2.0 Feb 27 16:52:42 kg-vm2 pkg[36199]: libnghttp2 upgraded: 1.42.0 -> 1.43.0 Feb 27 16:52:43 kg-vm2 pkg[36199]: libXt upgraded: 1.2.0,1 -> 1.2.1,1 Feb 27 16:52:45 kg-vm2 pkg[36199]: webkit2-gtk3 upgraded: 2.30.4 -> 2.30.5 Feb 27 16:52:46 kg-vm2 pkg[36199]: poppler upgraded: 21.01.0 -> 21.02.0 Feb 27 16:52:46 kg-vm2 pkg[36199]: p5-URI upgraded: 5.05 -> 5.07 Feb 27 16:52:46 kg-vm2 pkg[36199]: lmdb upgraded: 0.9.24_3,1 -> 0.9.28,1 Feb 27 16:52:46 kg-vm2 pkg[36199]: libxfce4menu upgraded: 4.16.0 -> 4.16.0_1 Feb 27 16:52:46 kg-vm2 pkg[36199]: libgd upgraded: 2.3.0,1 -> 2.3.1,1 Feb 27 16:52:48 kg-vm2 pkg[36199]: curl upgraded: 7.74.0 -> 7.75.0 Feb 27 16:52:50 kg-vm2 pkg[36199]: samba412 upgraded: 4.12.9_1 -> 4.12.9_2 Feb 27 16:52:51 kg-vm2 pkg[36199]: poppler-glib upgraded: 21.01.0 -> 21.02.0 Feb 27 16:52:51 kg-vm2 pkg[36199]: xfce4-tumbler upgraded: 4.16.0_1 -> 4.16.0_2 Feb 27 16:52:51 kg-vm2 pkg[36199]: xfce4-panel upgraded: 4.16.0 -> 4.16.1 Feb 27 16:52:51 kg-vm2 pkg[36199]: xterm upgraded: 363 -> 366 Feb 27 16:52:52 kg-vm2 pkg[36199]: xorg-server upgraded: 1.20.9_1,1 -> 1.20.9_3,1 Feb 27 16:52:52 kg-vm2 pkg[36199]: xfce4-weather-plugin upgraded: 0.10.2_1 -> 0.11.0 Feb 27 16:52:53 kg-vm2 pkg[36199]: xfce4-settings upgraded: 4.16.0_1 -> 4.16.0_2 Feb 27 16:52:53 kg-vm2 pkg[36199]: xfce4-cpugraph-plugin upgraded: 1.2.0_1 -> 1.2.2 Feb 27 16:52:53 kg-vm2 pkg[36199]: thunar upgraded: 4.16.2 -> 4.16.3 Feb 27 16:52:53 kg-vm2 pkg[36199]: rest upgraded: 0.7.93_1 -> 0.8.1 Feb 27 16:52:54 kg-vm2 pkg[36199]: mousepad upgraded: 0.5.1_1 -> 0.5.2 Feb 27 16:52:54 kg-vm2 pkg[36199]: fusefs-libs upgraded: 2.9.9_1 -> 2.9.9_2 Feb 27 16:52:54 kg-vm2 pkg[36199]: e2fsprogs-libuuid upgraded: 1.45.6 -> 1.46.1 Feb 27 16:52:54 kg-vm2 pkg[36199]: drm-fbsd12.0-kmod upgraded: 4.16.g20201016 -> 4.16.g20201016_1 Feb 27 16:52:54 kg-vm2 pkg[36199]: consolekit2 upgraded: 1.2.1_1 -> 1.2.1_2
ok
2021-01-30: ada0p2 - Xorg - both startx and startxfce4 works normally now, and Xorg (including keyboard and mouse) works as it should.
2021-01-30: ada0p2 - pkg - upgrade
Jan 30 17:07:34 kg-vm2 pkg[1032]: sqlite3 upgraded: 3.34.0,1 -> 3.34.1,1 Jan 30 17:07:42 kg-vm2 pkg[1032]: perl5 upgraded: 5.32.0_1 -> 5.32.1_1 Jan 30 17:07:42 kg-vm2 pkg[1032]: libgphoto2 upgraded: 2.5.23_1 -> 2.5.26 Jan 30 17:07:42 kg-vm2 pkg[1032]: enchant2 upgraded: 2.2.3_4 -> 2.2.15 Jan 30 17:07:44 kg-vm2 pkg[1032]: webkit2-gtk3 upgraded: 2.30.2 -> 2.30.4 Jan 30 17:07:45 kg-vm2 pkg[1032]: nss upgraded: 3.60.1 -> 3.61 Jan 30 17:07:45 kg-vm2 pkg[1032]: gvfs upgraded: 1.46.1_2 -> 1.46.2 Jan 30 17:07:45 kg-vm2 pkg[1032]: drm-kmod upgraded: g20190710 -> g20190710_1
ok
2021-01-30: ada0p2 - now FreeBSD 12.2-release-p3 is in. dmesg output: normal.
root@kg-vm2# freebsd-version -ku 12.2-RELEASE-p3 12.2-RELEASE-p3
kernel
root@kg-vm2# uname -a FreeBSD kg-vm2.kg4.no 12.2-RELEASE-p3 FreeBSD 12.2-RELEASE-p3 GENERIC amd64
ok
2021-01-30: ada0p2 - reboot - this time it booted automatically, with no need for manual steps. Cool.
2021-01-30: ada0p2 - freebsd-update fetch
root@kg-vm2# freebsd-update fetch [..] The following files will be updated as part of updating to 12.2-RELEASE-p3: /usr/src/sys/xen/xenbus/xenbusvar.h /usr/src/sys/xen/xenstore/xenstorevar.h
install
root@kg-vm2# freebsd-update install Installing updates...Scanning //usr/share/certs/blacklisted for certificates... Scanning //usr/share/certs/trusted for certificates... Scanning //usr/local/share/certs for certificates... done.
ok
2021-01-23: ada0p2 - pkg - upgrade
Jan 23 17:29:14 kg-vm2 pkg[35917]: pkg upgraded: 1.16.1 -> 1.16.2 Jan 23 17:29:36 kg-vm2 pkg[35938]: libxfce4util upgraded: 4.14.0 -> 4.16.0 Jan 23 17:29:37 kg-vm2 pkg[35938]: libexo upgraded: 0.12.11 -> 4.16.0 Jan 23 17:30:30 kg-vm2 pkg[35974]: orage-4.12.1_10 deinstalled Jan 23 17:30:30 kg-vm2 pkg[35974]: readline upgraded: 8.0.4 -> 8.0.4_1 Jan 23 17:30:30 kg-vm2 pkg[35974]: libepoll-shim upgraded: 0.0.20200602 -> 0.0.20201229 Jan 23 17:30:30 kg-vm2 pkg[35974]: libdrm upgraded: 2.4.103,1 -> 2.4.104,1 Jan 23 17:30:31 kg-vm2 pkg[35974]: bash upgraded: 5.1.4 -> 5.1.4_1 Jan 23 17:30:31 kg-vm2 pkg[35974]: libtasn1 upgraded: 4.16.0 -> 4.16.0_1 Jan 23 17:30:32 kg-vm2 pkg[35974]: spidermonkey78 upgraded: 78.6.0 -> 78.6.0_1 Jan 23 17:30:32 kg-vm2 pkg[35974]: gdbm upgraded: 1.18.1_1 -> 1.19 Jan 23 17:30:33 kg-vm2 pkg[35974]: librsvg2-rust upgraded: 2.50.2 -> 2.50.2_1 Jan 23 17:30:33 kg-vm2 pkg[35974]: colord reinstalled: 1.3.5_1 -> 1.3.5_1 Jan 23 17:30:33 kg-vm2 pkg[35974]: xfce4-conf upgraded: 4.14.4 -> 4.16.0 Jan 23 17:30:33 kg-vm2 pkg[35974]: openjpeg upgraded: 2.3.1 -> 2.4.0 Jan 23 17:30:33 kg-vm2 pkg[35974]: libgtop-2.40.0 installed Jan 23 17:30:34 kg-vm2 pkg[35974]: poppler upgraded: 20.12.1 -> 21.01.0 Jan 23 17:30:34 kg-vm2 pkg[35974]: openldap-client upgraded: 2.4.56 -> 2.4.57 Jan 23 17:30:35 kg-vm2 pkg[35974]: libxfce4menu upgraded: 4.14.1_2 -> 4.16.0 Jan 23 17:30:35 kg-vm2 pkg[35974]: libarchive upgraded: 3.4.3,1 -> 3.4.3_1,1 Jan 23 17:30:35 kg-vm2 pkg[35974]: poppler-glib upgraded: 20.12.1 -> 21.01.0 Jan 23 17:30:37 kg-vm2 pkg[35974]: gcr upgraded: 3.38.0 -> 3.38.1 Jan 23 17:30:38 kg-vm2 pkg[35974]: garcon upgraded: 0.6.4_2 -> 4.16.1 Jan 23 17:30:38 kg-vm2 pkg[35974]: libdbusmenu-16.04.0_3 installed Jan 23 17:30:38 kg-vm2 pkg[35974]: libgepub-0.6.0_1 installed Jan 23 17:30:38 kg-vm2 pkg[35974]: xfce4-tumbler upgraded: 0.2.9_6 -> 4.16.0_1 Jan 23 17:30:38 kg-vm2 pkg[35974]: xfce4-panel upgraded: 4.14.4 -> 4.16.0 Jan 23 17:30:39 kg-vm2 pkg[35974]: thunar upgraded: 1.8.16 -> 4.16.2 Jan 23 17:30:40 kg-vm2 pkg[35974]: xfce4-wm upgraded: 4.14.6_2 -> 4.16.1 Jan 23 17:30:41 kg-vm2 pkg[35974]: xfce4-terminal upgraded: 0.8.10 -> 0.8.10_1 Jan 23 17:30:41 kg-vm2 pkg[35974]: xfce4-settings upgraded: 4.14.3_1 -> 4.16.0_1 Jan 23 17:30:41 kg-vm2 pkg[35974]: xfce4-session upgraded: 4.14.2 -> 4.16.0 Jan 23 17:30:41 kg-vm2 pkg[35974]: xfce4-notifyd upgraded: 0.6.2_1 -> 0.6.2_2 Jan 23 17:30:42 kg-vm2 pkg[35974]: xfce4-desktop upgraded: 4.14.3 -> 4.16.0 Jan 23 17:30:42 kg-vm2 pkg[35974]: xfce4-appfinder upgraded: 4.14.0 -> 4.16.1 Jan 23 17:30:42 kg-vm2 pkg[35974]: mousepad upgraded: 0.5.1 -> 0.5.1_1 Jan 23 17:30:43 kg-vm2 pkg[35974]: greybird-theme upgraded: 3.22.13 -> 3.22.14 Jan 23 17:30:44 kg-vm2 pkg[35974]: xfce4-power-manager-4.16.0 installed Jan 23 17:30:44 kg-vm2 pkg[35974]: xfce4-weather-plugin upgraded: 0.10.2 -> 0.10.2_1 Jan 23 17:30:45 kg-vm2 pkg[35974]: xfce4-systemload-plugin upgraded: 1.2.4 -> 1.2.4_1 Jan 23 17:30:45 kg-vm2 pkg[35974]: xfce4-screenshooter-plugin upgraded: 1.9.8 -> 1.9.8_1 Jan 23 17:30:45 kg-vm2 pkg[35974]: xfce4-netload-plugin upgraded: 1.3.2 -> 1.3.2_1 Jan 23 17:30:45 kg-vm2 pkg[35974]: xfce4-datetime-plugin upgraded: 0.8.1 -> 0.8.1_1 Jan 23 17:30:45 kg-vm2 pkg[35974]: xfce4-cpugraph-plugin upgraded: 1.2.0 -> 1.2.0_1 Jan 23 17:30:45 kg-vm2 pkg[35974]: xfce upgraded: 4.14 -> 4.16 Jan 23 17:30:46 kg-vm2 pkg[35974]: sudo upgraded: 1.9.4p2 -> 1.9.5p1 Jan 23 17:31:07 kg-vm2 pkg[35974]: llvm10 upgraded: 10.0.1_4 -> 10.0.1_5
ok
2021-01-07: ada0p2 - reboot, try Xorg again. Same problem, garbled picture on screen, mouse and keyboard works. From /var/log/messages:
Jan 7 17:15:03 kg-vm2 kernel: [drm] radeon kernel modesetting enabled. Jan 7 17:15:03 kg-vm2 kernel: drmn0: <drmn> on vgapci0 Jan 7 17:15:03 kg-vm2 kernel: vgapci0: child drmn0 requested pci_enable_io Jan 7 17:15:03 kg-vm2 syslogd: last message repeated 1 times Jan 7 17:15:03 kg-vm2 kernel: [drm] initializing kernel modesetting (SUMO 0x1002:0x964A 0x1025:0x061D 0x00). Jan 7 17:15:03 kg-vm2 kernel: [drm:radeon_device_init] Unable to find PCI I/O BAR Jan 7 17:15:03 kg-vm2 kernel: [drm:radeon_atombios_init] Unable to find PCI I/O BAR; using MMIO for ATOM IIO Jan 7 17:15:03 kg-vm2 kernel: ATOM BIOS: Acer Jan 7 17:15:03 kg-vm2 kernel: drmn0: VRAM: 512M 0x0000000000000000 - 0x000000001FFFFFFF (512M used) Jan 7 17:15:03 kg-vm2 kernel: drmn0: GTT: 1024M 0x0000000020000000 - 0x000000005FFFFFFF Jan 7 17:15:03 kg-vm2 kernel: Failed to add WC MTRR for [0xc0000000-0xcfffffff]: -22; performance may suffer Jan 7 17:15:03 kg-vm2 kernel: [drm] Detected VRAM RAM=512M, BAR=256M Jan 7 17:15:03 kg-vm2 kernel: [drm] RAM width 32bits DDR Jan 7 17:15:03 kg-vm2 kernel: [TTM] Zone kernel: Available graphics memory: 8085314 kiB Jan 7 17:15:03 kg-vm2 kernel: [TTM] Zone dma32: Available graphics memory: 2097152 kiB Jan 7 17:15:03 kg-vm2 kernel: [TTM] Initializing pool allocator Jan 7 17:15:03 kg-vm2 kernel: [drm] radeon: 512M of VRAM memory ready Jan 7 17:15:03 kg-vm2 kernel: [drm] radeon: 1024M of GTT memory ready. Jan 7 17:15:03 kg-vm2 kernel: [drm] Loading SUMO Microcode Jan 7 17:15:03 kg-vm2 kernel: radeon/SUMO_pfp.bin: could not load firmware image, error 2 Jan 7 17:15:03 kg-vm2 kernel: drmn0: fail (0) to get firmware image with name: radeon/SUMO_pfp.bin Jan 7 17:15:03 kg-vm2 kernel: drmn0: successfully loaded firmware image with mapped name: radeon_SUMO_pfp_bin Jan 7 17:15:03 kg-vm2 kernel: radeon/SUMO_me.bin: could not load firmware image, error 2 Jan 7 17:15:03 kg-vm2 kernel: drmn0: fail (0) to get firmware image with name: radeon/SUMO_me.bin Jan 7 17:15:03 kg-vm2 kernel: drmn0: successfully loaded firmware image with mapped name: radeon_SUMO_me_bin Jan 7 17:15:03 kg-vm2 kernel: radeon/SUMO_rlc.bin: could not load firmware image, error 2 Jan 7 17:15:03 kg-vm2 kernel: drmn0: fail (0) to get firmware image with name: radeon/SUMO_rlc.bin Jan 7 17:15:03 kg-vm2 kernel: drmn0: successfully loaded firmware image with mapped name: radeon_SUMO_rlc_bin Jan 7 17:15:03 kg-vm2 kernel: [drm] Internal thermal controller without fan control Jan 7 17:15:03 kg-vm2 kernel: [drm] Found smc ucode version: 0x00011100 Jan 7 17:15:03 kg-vm2 kernel: [drm] radeon: dpm initialized Jan 7 17:15:03 kg-vm2 kernel: radeon/SUMO_uvd.bin: could not load firmware image, error 2 Jan 7 17:15:03 kg-vm2 kernel: drmn0: fail (0) to get firmware image with name: radeon/SUMO_uvd.bin Jan 7 17:15:03 kg-vm2 kernel: drmn0: successfully loaded firmware image with mapped name: radeon_SUMO_uvd_bin Jan 7 17:15:03 kg-vm2 kernel: [drm] GART: num cpu pages 262144, num gpu pages 262144 Jan 7 17:15:03 kg-vm2 kernel: [drm] PCIE GART of 1024M enabled (table at 0x0000000000162000). Jan 7 17:15:03 kg-vm2 kernel: drmn0: WB enabled Jan 7 17:15:03 kg-vm2 kernel: drmn0: fence driver on ring 0 use gpu addr 0x0000000020000c00 and cpu addr 0x0xfffff80006d44c00 Jan 7 17:15:03 kg-vm2 kernel: drmn0: fence driver on ring 3 use gpu addr 0x0000000020000c0c and cpu addr 0x0xfffff80006d44c0c Jan 7 17:15:03 kg-vm2 kernel: drmn0: fence driver on ring 5 use gpu addr 0x0000000000072118 and cpu addr 0x0xfffff800c0072118 Jan 7 17:15:03 kg-vm2 kernel: [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). Jan 7 17:15:03 kg-vm2 kernel: [drm] Driver supports precise vblank timestamp query. Jan 7 17:15:03 kg-vm2 kernel: drmn0: radeon: MSI limited to 32-bit Jan 7 17:15:03 kg-vm2 kernel: drmn0: radeon: using MSI. Jan 7 17:15:03 kg-vm2 kernel: [drm] radeon: irq initialized. Jan 7 17:15:03 kg-vm2 kernel: [drm] ring test on 0 succeeded in 1 usecs Jan 7 17:15:03 kg-vm2 kernel: [drm] ring test on 3 succeeded in 3 usecs Jan 7 17:15:03 kg-vm2 kernel: [drm:uvd_v1_0_start] UVD not responding, trying to reset the VCPU!!! Jan 7 17:15:03 kg-vm2 syslogd: last message repeated 9 times Jan 7 17:15:03 kg-vm2 kernel: [drm:uvd_v1_0_start] UVD not responding, giving up!!! Jan 7 17:15:03 kg-vm2 kernel: drmn0: failed initializing UVD (-1). Jan 7 17:15:03 kg-vm2 kernel: [drm:r600_ib_test] radeon: fence wait timed out. Jan 7 17:15:03 kg-vm2 kernel: [drm:radeon_ib_ring_tests] radeon: failed testing IB on GFX ring (-60). Jan 7 17:15:03 kg-vm2 kernel: [drm:radeon_device_init] ib ring test failed (-60). Jan 7 17:15:03 kg-vm2 kernel: [drm] Connector VGA-1: get mode from tunables: Jan 7 17:15:03 kg-vm2 kernel: [drm] - kern.vt.fb.modes.VGA-1 Jan 7 17:15:03 kg-vm2 kernel: [drm] - kern.vt.fb.default_mode Jan 7 17:15:03 kg-vm2 kernel: [drm] Connector HDMI-A-1: get mode from tunables: Jan 7 17:15:03 kg-vm2 kernel: [drm] - kern.vt.fb.modes.HDMI-A-1 Jan 7 17:15:03 kg-vm2 kernel: [drm] - kern.vt.fb.default_mode Jan 7 17:15:03 kg-vm2 kernel: [drm] Radeon Display Connectors Jan 7 17:15:03 kg-vm2 kernel: [drm] Connector 0: Jan 7 17:15:03 kg-vm2 kernel: [drm] VGA-1 Jan 7 17:15:03 kg-vm2 kernel: [drm] HPD2 Jan 7 17:15:03 kg-vm2 kernel: [drm] DDC: 0x6440 0x6440 0x6444 0x6444 0x6448 0x6448 0x644c 0x644c Jan 7 17:15:03 kg-vm2 kernel: [drm] Encoders: Jan 7 17:15:03 kg-vm2 kernel: [drm] CRT1: INTERNAL_UNIPHY2 Jan 7 17:15:03 kg-vm2 kernel: [drm] CRT1: NUTMEG Jan 7 17:15:03 kg-vm2 kernel: [drm] Connector 1: Jan 7 17:15:03 kg-vm2 kernel: [drm] HDMI-A-1 Jan 7 17:15:03 kg-vm2 kernel: [drm] HPD1 Jan 7 17:15:03 kg-vm2 kernel: [drm] DDC: 0x6430 0x6430 0x6434 0x6434 0x6438 0x6438 0x643c 0x643c Jan 7 17:15:03 kg-vm2 kernel: [drm] Encoders: Jan 7 17:15:03 kg-vm2 kernel: [drm] DFP1: INTERNAL_UNIPHY2 Jan 7 17:15:03 kg-vm2 kernel: [drm] fb mappable at 0xC0366000 Jan 7 17:15:03 kg-vm2 kernel: [drm] vram apper at 0xC0000000 Jan 7 17:15:03 kg-vm2 kernel: [drm] size 8294400 Jan 7 17:15:03 kg-vm2 kernel: [drm] fb depth is 24 Jan 7 17:15:03 kg-vm2 kernel: [drm] pitch is 7680 Jan 7 17:15:03 kg-vm2 kernel: VT: Replacing driver "efifb" with new "fb". Jan 7 17:15:03 kg-vm2 kernel: start FB_INFO: Jan 7 17:15:03 kg-vm2 kernel: type=11 height=1080 width=1920 depth=32 Jan 7 17:15:03 kg-vm2 kernel: cmsize=16 size=8294400 Jan 7 17:15:03 kg-vm2 kernel: pbase=0xc0366000 vbase=0xfffff800c0366000 Jan 7 17:15:03 kg-vm2 kernel: name=drmn0 flags=0x0 stride=7680 bpp=32 Jan 7 17:15:03 kg-vm2 kernel: cmap[0]=0 cmap[1]=7f0000 cmap[2]=7f00 cmap[3]=c4a000 Jan 7 17:15:03 kg-vm2 kernel: end FB_INFO Jan 7 17:15:03 kg-vm2 kernel: drmn0: fb0: radeondrmfb frame buffer device Jan 7 17:15:03 kg-vm2 kernel: [drm] Initialized radeon 2.50.0 20080528 for drmn0 on minor 0
that's all.
2021-01-07: ada0p2 - ports - rebuild and install
Jan 7 17:08:33 kg-vm2 pkg-static[57596]: drm-fbsd12.0-kmod-4.16.g20201016 deinstalled Jan 7 17:08:34 kg-vm2 pkg-static[57732]: drm-fbsd12.0-kmod-4.16.g20201016 installed
ok
2021-01-07: ada0p2 - ports - update the ports tree via portsnap fetch; portsnap update
.
2021-01-07: ada0p2 - Xorg - not working correctly. startx gives a garbled picture (different colored "patches"), mouse and keyboard works, I can move the mouse over the correct xterm window and type 'exit' and Xorg ends. From /var/log/messages:
Jan 7 16:22:08 kg-vm2 kernel: drmn0: ring 0 stalled for more than 10076msec Jan 7 16:22:08 kg-vm2 kernel: drmn0: GPU lockup (current fence id 0x0000000000000001 last fence id 0x0000000000000002 on ring 0) Jan 7 16:22:08 kg-vm2 kernel: drmn0: ring 0 stalled for more than 10607msec Jan 7 16:22:08 kg-vm2 kernel: drmn0: GPU lockup (current fence id 0x0000000000000001 last fence id 0x0000000000000002 on ring 0) Jan 7 16:22:09 kg-vm2 kernel: drmn0: ring 0 stalled for more than 11138msec Jan 7 16:22:09 kg-vm2 kernel: drmn0: GPU lockup (current fence id 0x0000000000000001 last fence id 0x0000000000000002 on ring 0) Jan 7 16:22:09 kg-vm2 kernel: drmn0: ring 0 stalled for more than 11669msec Jan 7 16:22:09 kg-vm2 kernel: drmn0: GPU lockup (current fence id 0x0000000000000001 last fence id 0x0000000000000002 on ring 0) Jan 7 16:22:10 kg-vm2 kernel: drmn0: ring 0 stalled for more than 12200msec Jan 7 16:22:10 kg-vm2 kernel: drmn0: GPU lockup (current fence id 0x0000000000000001 last fence id 0x0000000000000002 on ring 0) Jan 7 16:22:10 kg-vm2 kernel: drmn0: ring 0 stalled for more than 12731msec Jan 7 16:22:10 kg-vm2 kernel: drmn0: GPU lockup (current fence id 0x0000000000000001 last fence id 0x0000000000000002 on ring 0) Jan 7 16:22:11 kg-vm2 kernel: drmn0: ring 0 stalled for more than 13261msec Jan 7 16:22:11 kg-vm2 kernel: drmn0: GPU lockup (current fence id 0x0000000000000001 last fence id 0x0000000000000002 on ring 0) Jan 7 16:22:11 kg-vm2 kernel: drmn0: ring 0 stalled for more than 13792msec Jan 7 16:22:11 kg-vm2 kernel: drmn0: GPU lockup (current fence id 0x0000000000000001 last fence id 0x0000000000000002 on ring 0) Jan 7 16:22:12 kg-vm2 kernel: drmn0: ring 0 stalled for more than 14323msec Jan 7 16:22:12 kg-vm2 kernel: drmn0: GPU lockup (current fence id 0x0000000000000001 last fence id 0x0000000000000002 on ring 0) Jan 7 16:22:12 kg-vm2 kernel: drmn0: ring 0 stalled for more than 14847msec Jan 7 16:22:12 kg-vm2 kernel: drmn0: GPU lockup (current fence id 0x0000000000000001 last fence id 0x0000000000000002 on ring 0) Jan 7 16:22:13 kg-vm2 kernel: drmn0: ring 0 stalled for more than 15377msec Jan 7 16:22:13 kg-vm2 kernel: drmn0: GPU lockup (current fence id 0x0000000000000001 last fence id 0x0000000000000002 on ring 0) Jan 7 16:22:14 kg-vm2 kernel: drmn0: ring 0 stalled for more than 15901msec Jan 7 16:22:14 kg-vm2 kernel: drmn0: GPU lockup (current fence id 0x0000000000000001 last fence id 0x0000000000000002 on ring 0) Jan 7 16:22:14 kg-vm2 kernel: drmn0: ring 0 stalled for more than 16431msec Jan 7 16:22:14 kg-vm2 kernel: drmn0: GPU lockup (current fence id 0x0000000000000001 last fence id 0x0000000000000002 on ring 0) Jan 7 16:22:15 kg-vm2 kernel: drmn0: ring 0 stalled for more than 16962msec Jan 7 16:22:15 kg-vm2 kernel: drmn0: GPU lockup (current fence id 0x0000000000000001 last fence id 0x0000000000000002 on ring 0) Jan 7 16:22:15 kg-vm2 kernel: drmn0: ring 0 stalled for more than 17491msec Jan 7 16:22:15 kg-vm2 kernel: drmn0: GPU lockup (current fence id 0x0000000000000001 last fence id 0x0000000000000002 on ring 0) Jan 7 16:22:16 kg-vm2 kernel: drmn0: ring 0 stalled for more than 18021msec Jan 7 16:22:16 kg-vm2 kernel: drmn0: GPU lockup (current fence id 0x0000000000000001 last fence id 0x0000000000000002 on ring 0) Jan 7 16:22:16 kg-vm2 kernel: drmn0: ring 0 stalled for more than 18552msec Jan 7 16:22:16 kg-vm2 kernel: drmn0: GPU lockup (current fence id 0x0000000000000001 last fence id 0x0000000000000002 on ring 0) Jan 7 16:22:17 kg-vm2 kernel: drmn0: ring 0 stalled for more than 19081msec Jan 7 16:22:17 kg-vm2 kernel: drmn0: GPU lockup (current fence id 0x0000000000000001 last fence id 0x0000000000000002 on ring 0) Jan 7 16:22:17 kg-vm2 kernel: drmn0: ring 0 stalled for more than 19612msec Jan 7 16:22:17 kg-vm2 kernel: drmn0: GPU lockup (current fence id 0x0000000000000001 last fence id 0x0000000000000002 on ring 0) Jan 7 16:22:18 kg-vm2 kernel: drmn0: ring 0 stalled for more than 20141msec Jan 7 16:22:18 kg-vm2 kernel: drmn0: GPU lockup (current fence id 0x0000000000000001 last fence id 0x0000000000000002 on ring 0) Jan 7 16:22:18 kg-vm2 kernel: drmn0: ring 0 stalled for more than 20672msec Jan 7 16:22:18 kg-vm2 kernel: drmn0: GPU lockup (current fence id 0x0000000000000001 last fence id 0x0000000000000002 on ring 0) Jan 7 16:22:19 kg-vm2 kernel: drmn0: ring 0 stalled for more than 21201msec Jan 7 16:22:19 kg-vm2 kernel: drmn0: GPU lockup (current fence id 0x0000000000000001 last fence id 0x0000000000000002 on ring 0) Jan 7 16:22:19 kg-vm2 kernel: drmn0: ring 0 stalled for more than 21731msec [..] Jan 7 16:22:28 kg-vm2 kernel: drmn0: Saved 55 dwords of commands on ring 0. Jan 7 16:22:28 kg-vm2 kernel: drmn0: GPU softreset: 0x00000008 Jan 7 16:22:28 kg-vm2 kernel: drmn0: GRBM_STATUS = 0xA0003828 Jan 7 16:22:28 kg-vm2 kernel: drmn0: GRBM_STATUS_SE0 = 0x00000007 Jan 7 16:22:28 kg-vm2 kernel: drmn0: GRBM_STATUS_SE1 = 0x00000007 Jan 7 16:22:28 kg-vm2 kernel: drmn0: SRBM_STATUS = 0x20000840 Jan 7 16:22:28 kg-vm2 kernel: drmn0: SRBM_STATUS2 = 0x00000000 Jan 7 16:22:28 kg-vm2 kernel: drmn0: R_008674_CP_STALLED_STAT1 = 0x00000000 Jan 7 16:22:28 kg-vm2 kernel: drmn0: R_008678_CP_STALLED_STAT2 = 0x00010100 Jan 7 16:22:28 kg-vm2 kernel: drmn0: R_00867C_CP_BUSY_STAT = 0x00020180 Jan 7 16:22:28 kg-vm2 kernel: drmn0: R_008680_CP_STAT = 0x80038042 Jan 7 16:22:28 kg-vm2 kernel: drmn0: R_00D034_DMA_STATUS_REG = 0x44C83D57 Jan 7 16:22:28 kg-vm2 kernel: drmn0: GRBM_SOFT_RESET=0x00004001 Jan 7 16:22:28 kg-vm2 kernel: drmn0: SRBM_SOFT_RESET=0x00000100 Jan 7 16:22:28 kg-vm2 kernel: drmn0: GRBM_STATUS = 0x00003828 Jan 7 16:22:28 kg-vm2 kernel: drmn0: GRBM_STATUS_SE0 = 0x00000007 Jan 7 16:22:28 kg-vm2 kernel: drmn0: GRBM_STATUS_SE1 = 0x00000007 Jan 7 16:22:28 kg-vm2 kernel: drmn0: SRBM_STATUS = 0x20000040 Jan 7 16:22:28 kg-vm2 kernel: drmn0: SRBM_STATUS2 = 0x00000000 Jan 7 16:22:28 kg-vm2 kernel: drmn0: R_008674_CP_STALLED_STAT1 = 0x00000000 Jan 7 16:22:28 kg-vm2 kernel: drmn0: R_008678_CP_STALLED_STAT2 = 0x00000000 Jan 7 16:22:28 kg-vm2 kernel: drmn0: R_00867C_CP_BUSY_STAT = 0x00000000 Jan 7 16:22:28 kg-vm2 kernel: drmn0: R_008680_CP_STAT = 0x00000000 Jan 7 16:22:28 kg-vm2 kernel: drmn0: R_00D034_DMA_STATUS_REG = 0x44C83D57 Jan 7 16:22:28 kg-vm2 kernel: drmn0: GPU reset succeeded, trying to resume Jan 7 16:22:28 kg-vm2 kernel: [drm] Found smc ucode version: 0x00011100 Jan 7 16:22:28 kg-vm2 kernel: [drm] PCIE GART of 1024M enabled (table at 0x0000000000162000). Jan 7 16:22:28 kg-vm2 kernel: drmn0: WB enabled Jan 7 16:22:28 kg-vm2 kernel: drmn0: fence driver on ring 0 use gpu addr 0x0000000020000c00 and cpu addr 0x0xfffff80006f3bc00 Jan 7 16:22:28 kg-vm2 kernel: drmn0: fence driver on ring 3 use gpu addr 0x0000000020000c0c and cpu addr 0x0xfffff80006f3bc0c Jan 7 16:22:28 kg-vm2 kernel: drmn0: fence driver on ring 5 use gpu addr 0x0000000000072118 and cpu addr 0x0xfffff800c0072118 Jan 7 16:22:28 kg-vm2 kernel: [drm] ring test on 0 succeeded in 1 usecs Jan 7 16:22:28 kg-vm2 kernel: [drm] ring test on 3 succeeded in 3 usecs Jan 7 16:22:28 kg-vm2 kernel: [drm] ring test on 5 succeeded in 1 usecs Jan 7 16:22:28 kg-vm2 kernel: [drm] UVD initialized successfully. Jan 7 16:22:29 kg-vm2 kernel: [drm:r600_ib_test] radeon: fence wait timed out. Jan 7 16:22:29 kg-vm2 kernel: [drm:radeon_ib_ring_tests] radeon: failed testing IB on GFX ring (-60).
that's it.
2021-01-07: ada0p2 - reboot, FreeBSD 12.2-release-p2 is in. dmesg output: normal.
root@kg-vm2# freebsd-version -ku 12.2-RELEASE-p1 12.2-RELEASE-p2
kernel
root@kg-vm2# uname -a FreeBSD kg-vm2.kg4.no 12.2-RELEASE-p1 FreeBSD 12.2-RELEASE-p1 GENERIC amd64
ok
2021-01-07: ada0p2 - boot - I still have to do the trick where I boot from a bootloader on usb stick, escape to loader prompt and set boot device (currdev=disk1p2) manually, or else the machine hangs.
2021-01-07: ada0p2 - freebsd-update fetch
root@kg-vm2# freebsd-update fetch [..] The following files will be updated as part of updating to 12.2-RELEASE-p2: [..] /usr/src/sys/netinet6/icmp6.c /usr/src/usr.sbin/rtsold/rtsol.c
install
root@kg-vm2# freebsd-update install Installing updates...Scanning //usr/share/certs/blacklisted for certificates... Scanning //usr/share/certs/trusted for certificates... Scanning //usr/local/share/certs for certificates... done.
ok
2021-01-07: ada0p2 - pkg - check for packages installed from ports (and not from FreeBSD's repository)
root@kg-vm2# pkg query 'Package %n-%v installed from %R' | grep unknown Package dialog4ports-0.1.6 installed from unknown-repository Package drm-fbsd12.0-kmod-4.16.g20201016 installed from unknown-repository
as expected. packages installed from packages show up like this
root@kg-vm2# pkg query 'Package %n-%v installed from %R' | head -1 Package ORBit2-2.14.19_2 installed from FreeBSD
good.
2021-01-07: ada0p2 - pkg - upgrade
Jan 7 13:33:55 kg-vm2 pkg[3381]: pkg upgraded: 1.15.10 -> 1.16.1 Jan 7 13:36:08 kg-vm2 pkg[3406]: pciids upgraded: 20200922 -> 20201127 Jan 7 13:36:09 kg-vm2 pkg[3406]: libxml2 upgraded: 2.9.10_1 -> 2.9.10_2 Jan 7 13:36:09 kg-vm2 pkg[3406]: liblz4 upgraded: 1.9.2_1,1 -> 1.9.3,1 Jan 7 13:36:09 kg-vm2 pkg[3406]: expat upgraded: 2.2.8 -> 2.2.10 Jan 7 13:36:09 kg-vm2 pkg[3406]: jpeg-turbo upgraded: 2.0.5 -> 2.0.6 Jan 7 13:36:09 kg-vm2 pkg[3406]: gmp upgraded: 6.2.0 -> 6.2.1 Jan 7 13:36:10 kg-vm2 pkg[3406]: glib upgraded: 2.66.2,1 -> 2.66.4_1,1 Jan 7 13:36:10 kg-vm2 pkg[3406]: bash upgraded: 5.0.18_3 -> 5.1.4 Jan 7 13:36:11 kg-vm2 pkg[3406]: tiff upgraded: 4.1.0 -> 4.2.0 Jan 7 13:36:11 kg-vm2 pkg[3406]: mesa-libs upgraded: 20.2.0_1 -> 20.2.3 Jan 7 13:36:12 kg-vm2 pkg[3406]: icu upgraded: 68.1,1 -> 68.2,1 Jan 7 13:36:12 kg-vm2 pkg[3406]: xorg-fonts-truetype reinstalled: 7.7_1 -> 7.7_1 Jan 7 13:36:14 kg-vm2 pkg[3406]: spidermonkey78 upgraded: 78.4.0 -> 78.6.0 Jan 7 13:36:14 kg-vm2 pkg[3406]: p11-kit upgraded: 0.23.21 -> 0.23.22 Jan 7 13:36:14 kg-vm2 pkg[3406]: libxkbcommon upgraded: 1.0.1 -> 1.0.3 Jan 7 13:36:14 kg-vm2 pkg[3406]: harfbuzz upgraded: 2.7.2_1 -> 2.7.4 Jan 7 13:36:14 kg-vm2 pkg[3406]: libevent-2.1.12 installed Jan 7 13:36:14 kg-vm2 pkg[3406]: sqlite3 upgraded: 3.33.0_1,1 -> 3.34.0,1 Jan 7 13:36:22 kg-vm2 pkg[3406]: perl5 upgraded: 5.32.0 -> 5.32.0_1 Jan 7 13:36:22 kg-vm2 pkg[3406]: gtk-update-icon-cache upgraded: 3.24.20 -> 3.24.24 Jan 7 13:36:23 kg-vm2 pkg[3406]: avahi-app upgraded: 0.7_3 -> 0.8 Jan 7 13:36:23 kg-vm2 pkg[3406]: librsvg2-rust upgraded: 2.50.0_1 -> 2.50.2 Jan 7 13:36:23 kg-vm2 pkg[3406]: libgpg-error upgraded: 1.39 -> 1.41 Jan 7 13:36:26 kg-vm2 pkg[3406]: gtk3 upgraded: 3.24.23_2 -> 3.24.24 Jan 7 13:36:27 kg-vm2 pkg[3406]: gtk2 upgraded: 2.24.32 -> 2.24.33 Jan 7 13:36:28 kg-vm2 pkg[3406]: pcre2 upgraded: 10.35 -> 10.36 Jan 7 13:36:28 kg-vm2 pkg[3406]: p5-URI upgraded: 1.76 -> 5.05 Jan 7 13:36:28 kg-vm2 pkg[3406]: nss upgraded: 3.59 -> 3.60.1 Jan 7 13:36:28 kg-vm2 pkg[3406]: xkbcomp upgraded: 1.4.3 -> 1.4.4 Jan 7 13:36:30 kg-vm2 pkg[3406]: qt5-core upgraded: 5.15.0_4 -> 5.15.2 Jan 7 13:36:30 kg-vm2 pkg[3406]: poppler upgraded: 20.11.0 -> 20.12.1 Jan 7 13:36:49 kg-vm2 pkg[3406]: llvm10 upgraded: 10.0.1_3 -> 10.0.1_4 Jan 7 13:36:49 kg-vm2 pkg[3406]: upower upgraded: 0.99.11 -> 0.99.11_1 Jan 7 13:36:49 kg-vm2 pkg[3406]: qt5-dbus upgraded: 5.15.0 -> 5.15.2_1 Jan 7 13:36:49 kg-vm2 pkg[3406]: poppler-glib upgraded: 20.11.0 -> 20.12.1 Jan 7 13:36:51 kg-vm2 pkg[3406]: mesa-dri upgraded: 20.2.0_1 -> 20.2.3_1 Jan 7 13:36:51 kg-vm2 pkg[3406]: libnghttp2 upgraded: 1.41.0 -> 1.42.0 Jan 7 13:36:51 kg-vm2 pkg[3406]: libaacs upgraded: 0.9.0 -> 0.11.0 Jan 7 13:36:51 kg-vm2 pkg[3406]: harfbuzz-icu upgraded: 2.7.2_1 -> 2.7.4_1 Jan 7 13:36:51 kg-vm2 pkg[3406]: xterm upgraded: 362 -> 363 Jan 7 13:36:51 kg-vm2 pkg[3406]: xorg-server upgraded: 1.20.9,1 -> 1.20.9_1,1 Jan 7 13:36:53 kg-vm2 pkg[3406]: xfce4-wm upgraded: 4.14.6 -> 4.14.6_2 Jan 7 13:36:53 kg-vm2 pkg[3406]: xfce4-tumbler upgraded: 0.2.9_5 -> 0.2.9_6 Jan 7 13:36:53 kg-vm2 pkg[3406]: xfce4-terminal upgraded: 0.8.9.2 -> 0.8.10 Jan 7 13:36:53 kg-vm2 pkg[3406]: xfce4-systemload-plugin upgraded: 1.2.3 -> 1.2.4 Jan 7 13:36:53 kg-vm2 pkg[3406]: xfce4-settings upgraded: 4.14.3 -> 4.14.3_1 Jan 7 13:36:53 kg-vm2 pkg[3406]: xfce4-screenshooter-plugin upgraded: 1.9.7 -> 1.9.8 Jan 7 13:36:54 kg-vm2 pkg[3406]: xfce4-notifyd upgraded: 0.6.2 -> 0.6.2_1 Jan 7 13:36:54 kg-vm2 pkg[3406]: xfce4-datetime-plugin upgraded: 0.8.0 -> 0.8.1 Jan 7 13:36:54 kg-vm2 pkg[3406]: xfce4-cpugraph-plugin upgraded: 1.1.0_1 -> 1.2.0 Jan 7 13:36:56 kg-vm2 pkg[3406]: webkit2-gtk3 upgraded: 2.30.1_1 -> 2.30.2 Jan 7 13:36:56 kg-vm2 pkg[3406]: tevent upgraded: 0.10.2 -> 0.10.2_1 Jan 7 13:36:57 kg-vm2 pkg[3406]: sudo upgraded: 1.9.3p1 -> 1.9.4p2 Jan 7 13:36:57 kg-vm2 pkg[3406]: openldap-client upgraded: 2.4.51 -> 2.4.56 Jan 7 13:36:57 kg-vm2 pkg[3406]: mousepad upgraded: 0.4.2_1 -> 0.5.1 Jan 7 13:36:57 kg-vm2 pkg[3406]: libinput upgraded: 1.16.2 -> 1.16.4 Jan 7 13:36:58 kg-vm2 pkg[3406]: libical reinstalled: 3.0.8_1 -> 3.0.8_1 Jan 7 13:36:58 kg-vm2 pkg[3406]: libbluray upgraded: 1.1.1_2,1 -> 1.2.1,1 Jan 7 13:36:58 kg-vm2 pkg[3406]: libbdplus upgraded: 0.1.2 -> 0.1.2_1 Jan 7 13:36:59 kg-vm2 pkg[3406]: greybird-theme upgraded: 3.22.12_1 -> 3.22.13 Jan 7 13:37:00 kg-vm2 pkg[3406]: gpu-firmware-kmod upgraded: g20200920 -> g20201213 Jan 7 13:37:02 kg-vm2 pkg[3406]: gcr reinstalled: 3.38.0 -> 3.38.0 Jan 7 13:37:04 kg-vm2 pkg[3406]: curl upgraded: 7.73.0 -> 7.74.0 Jan 7 13:37:04 kg-vm2 pkg[3406]: consolekit2 reinstalled: 1.2.1_1 -> 1.2.1_1 Jan 7 13:37:04 kg-vm2 pkg[3406]: bsdisks upgraded: 0.23 -> 0.24
ok