From nobody Tue Nov 15 04:53:12 2022 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NBDMc2Bqdz4fcSl for ; Tue, 15 Nov 2022 04:53:16 +0000 (UTC) (envelope-from fred@thegalacticzoo.com) Received: from nmtao101.oxsus-vadesecure.net (mta-131a.oxsus-vadesecure.net [135.148.117.228]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4NBDMZ6nqBz3CQs for ; Tue, 15 Nov 2022 04:53:14 +0000 (UTC) (envelope-from fred@thegalacticzoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=webcom.xion.oxcs.net header.s=mail1 header.b=LgV+2MF2; spf=pass (mx1.freebsd.org: domain of fred@thegalacticzoo.com designates 135.148.117.228 as permitted sender) smtp.mailfrom=fred@thegalacticzoo.com; dmarc=pass (policy=quarantine) header.from=thegalacticzoo.com DKIM-Signature: v=1; a=rsa-sha256; bh=iyrL1WM4Pu4Yc86Bqoq81Cn++KVHwbPeYcipXm faIbA=; c=relaxed/relaxed; d=webcom.xion.oxcs.net; h=from:reply-to: subject:date:to:cc:resent-date:resent-from:resent-to:resent-cc: in-reply-to:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:list-owner:list-archive; q=dns/txt; s=mail1; t=1668487994; x=1669092794; b=LgV+2MF2WMc1xX0Ya3HH1XcwlFKcP8zaNJnqU1NIm DyKBOqYQIHOvmAeyvUF8Q+idZJOp+K69PkpvlHYPKTh/VYxhRgpSvp1BdJnrNF5JKCf0aOf mr1OZrJZ8XF7wG0DM7T+/+fRICulJbBWJAyPNn05BAAYCannI4DxfAbv6+qkqYgYK4FBN7u k1kcyAXT9payYtGilDTqaP7ZOv0hRTz5g0dJFiBHtaMHJLDhWkH+SZ9JQwH9UhwDOf2ZKUN p9Y7WmcG5RPnQDqdeln34CiGYVzsm4rsLNabW2hqm15REhA/LcMkN86P2glONLLuyiLnRzI iJDRo8ZkD+8kWtzqg== Received: from proxy-3.proxy.cloudus.ewr.xion.oxcs.net ([76.14.221.149]) by oxsus1nmtao01p.internal.vadesecure.com with ngmta id dcc83411-1727a8fd6fa008ca; Tue, 15 Nov 2022 04:53:13 +0000 Content-Type: multipart/alternative; boundary="------------qIUto3ZAEvrcJk2UgIR1Qxc9" Message-ID: <227fa369-af8b-f2ec-33e3-305327464392@thegalacticzoo.com> Date: Mon, 14 Nov 2022 20:53:12 -0800 List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 Content-Language: en-US To: freebsd-arm@freebsd.org From: Fred Finster Subject: versionsort@FSBD_1.7 missing symbol in libinput_drv.so module for ARM64 X-Spamd-Result: default: False [-1.99 / 15.00]; NEURAL_HAM_SHORT(-0.99)[-0.988]; DMARC_POLICY_ALLOW(-0.50)[thegalacticzoo.com,quarantine]; R_DKIM_ALLOW(-0.20)[webcom.xion.oxcs.net:s=mail1]; R_SPF_ALLOW(-0.20)[+ip4:135.148.117.228]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; ASN(0.00)[asn:16276, ipnet:135.148.0.0/17, country:FR]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ARC_NA(0.00)[]; DKIM_TRACE(0.00)[webcom.xion.oxcs.net:+]; RCPT_COUNT_ONE(0.00)[1]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4NBDMZ6nqBz3CQs X-Spamd-Bar: - X-ThisMailContainsUnwantedMimeParts: N This is a multi-part message in MIME format. --------------qIUto3ZAEvrcJk2UgIR1Qxc9 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit FreeBSD 14.0-CURRENT is a changing, constantly modified. Sometimes it breaks.  Those who use 14.0-CURRENT, must also be able to fix it. Yes,  I heard from previous mentions by "Sir Dice" about NOT trusting the -CURRENT version to be stable https://ghostbsd-arm64.blogspot.com/2022/11/libinput-module-error-fbsd17-not-found.html My written blogpost with many details about missing symbol "versionsort@FBSD_1.7" causing libinput.so to NOT LOAD. So, this is a reminder note to others, you might find a missing symbol "versionsort@FBSD_1.7"  when running programs on the kernel.  For me, the problem arose when trying to start a DESKTOP ENVIRONMENT (DE)  on an recently updated FreeBSD 14.0 Raspberry Pi 4B with 8 GB ram. This left me locked out from keyboard and mouse input when the MATE desktop and tested with the XFCE4 desktop where run  with "startx" using contents of file   ~/.xinitrc [exec mate-session]  or [exec xfce4-session]. With that missing module "libinput_drv.so", no USB keyboard and USB mouse inputs to control the desktop.  'Alt-Ctl-F2' to switch desktops, does not work either! The kernel is still running, so logging in with SSH works fine. If you have SSH enable before running 'startx' that breaks the keyboard input,  This allowed me to view a log file "less /var/log/Xorg.0.log"   I share these 3 lines below: [  3730.546] (II) Loading /usr/local/lib/xorg/modules/input/libinput_drv.so [  3730.553] (EE) Failed to load /usr/local/lib/xorg/modules/input/libinput_drv.so: /usr/local/lib/libinput.so.10: Undefined symbol "versionsort@FBSD_1.7" [  3730.553] (EE) Failed to load module "libinput" (loader failed, 0) Question,  How to get updates happening for other packages that depend on this specific file /usr/local/lib/libinput.so.10 ?  I think this file has been updated from FBSD_1.6 to FBSD_1.7, but the FreeBSD 14.0-CURRENT kernel needs to also be updated to provide that dynamic link to versionsort@FBSD_1.7 Well back to testing. Do you have suggestions for using "ldd" command to find which software module provides that dynamic link resource? Do you have other suggestions and methods to repair my little problem? Since this is not a release,   I cannot use  "freebsd-update fetch install". I use the following 2 lines for updating current software: pkg update pkg upgrade Waiting for some time ( hours or days ), I think this missing symbol problem will fix itself, when using pkg update, pkg upgrade. or update the kernel software with git: su - cd /usr/src One-off, 2021-03-02,  Use this line to update  freebsd code to current state |git -C /usr/src pull --ff-only --unshallow| time make buildkernel KERNCONF=GENERIC-VCHIQ time make installkernel KERNCONF=GENERIC-VCHIQ I also now running to update all my software modules to latest version: time make buildworld KERNCONF=GENERIC-VCHIQ -- Fred Finster fred@thegalacticzoo.com +1 971-718-9144 --------------qIUto3ZAEvrcJk2UgIR1Qxc9 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

FreeBSD 14.0-CURRENT is a changing, constantly modified.   Sometimes it breaks.  Those who use 14.0-CURRENT, must also be able to fix it.

Yes,  I heard from previous mentions by "Sir Dice" about NOT trusting the -CURRENT version to be stable

https://ghostbsd-arm64.blogspot.com/2022/11/libinput-module-error-fbsd17-not-found.html 

My written blogpost with many details about missing symbol "versionsort@FBSD_1.7" causing libinput.so to NOT LOAD.

So, this is a reminder note to others, you might find a missing symbol  "versionsort@FBSD_1.7"  when running programs on the kernel. 

 

 For me, the problem arose when trying to start a DESKTOP ENVIRONMENT (DE)  on an recently updated FreeBSD 14.0 Raspberry Pi 4B with 8 GB ram. This left me locked out from keyboard and mouse input when the MATE desktop and tested with the XFCE4 desktop  where run  with "startx" using contents of file   ~/.xinitrc  [exec mate-session]  or [exec xfce4-session].   

With that missing module "libinput_drv.so", no USB keyboard and USB mouse inputs to control the desktop.  'Alt-Ctl-F2' to switch desktops, does not work either!

The kernel is still running, so logging in with SSH works fine.  If you have SSH enable before running 'startx' that breaks the keyboard input,  This allowed me to view a log file "less /var/log/Xorg.0.log"   I share these 3 lines below:     

[  3730.546] (II) Loading /usr/local/lib/xorg/modules/input/libinput_drv.so

[  3730.553] (EE) Failed to load /usr/local/lib/xorg/modules/input/libinput_drv.so: /usr/local/lib/libinput.so.10: Undefined symbol "versionsort@FBSD_1.7"

[  3730.553] (EE) Failed to load module "libinput" (loader failed, 0)


Question,  How to get updates happening for other packages that depend on this specific file /usr/local/lib/libinput.so.10 ?  I think this file has been updated from FBSD_1.6 to FBSD_1.7, but the FreeBSD 14.0-CURRENT kernel needs to also be updated to provide that dynamic link to versionsort@FBSD_1.7

Well back to testing.  Do you have suggestions for using "ldd" command to find which software module provides that dynamic link resource? Do you have other suggestions and methods to repair my little problem?

Since this is not a release,   I cannot use  "freebsd-update fetch install".   I use the following 2 lines for updating current software:

pkg update

pkg upgrade

Waiting for some time ( hours or days ),  I think this missing symbol problem will fix itself, when using pkg update, pkg upgrade.
or update the kernel software with git:

su -
cd /usr/src

One-off, 2021-03-02,  Use this line to update  freebsd code to current state

git -C /usr/src pull --ff-only --unshallow

time make buildkernel KERNCONF=GENERIC-VCHIQ
time make installkernel KERNCONF=GENERIC-VCHIQ

I also now running to update all my software modules to latest version:
time make buildworld KERNCONF=GENERIC-VCHIQ

-- 
Fred  Finster
fred@thegalacticzoo.com
+1 971-718-9144
--------------qIUto3ZAEvrcJk2UgIR1Qxc9--