[Bug 284522] lib/libdevinfo: On some hardware Xorg (via libudev) fails to detect keyboard and mouse after recent update

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 03 Feb 2025 17:16:52 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284522

--- Comment #2 from Guido Falsi <madpilot@FreeBSD.org> ---
Hi,

Thanks for the feedback!

Today I noticed when rebooting the problematic machine a lot of errors like:

devmatch: can't find root device

It occurred to my to try to force a "pkg upgrade -f FreeBSD-devmatch" and after
that it started to work properly again.

My setup on these machines is using pkgbase, with package sets for base and
ports built in a poudriere instance (on another machine).

The strange thing now is that the actual FreeBSD-devmatch had the same
version/timestamp, so it does not look like I force updated a different binary,
but at this point I'm not completely sure.

Anyway this could all be a false positive, in that case, sorry for the noise!

One note regarding reply to question 2, I did manually force rebuilding
libudev-devd-0.6.0, because otherwise it kept looking for version 6

To reply to your questions:

1) /usr/lib/libdevinfo.so.7

2) > ldd -a /usr/local/lib/libudev.so
/usr/local/lib/libudev.so:
        libdevinfo.so.7 => /usr/lib/libdevinfo.so.7 (0x3fe698f73000)
        libprocstat.so.1 => /usr/lib/libprocstat.so.1 (0x3fe69a27d000)
        libthr.so.3 => /lib/libthr.so.3 (0x3fe69afa1000)
        libc.so.7 => /lib/libc.so.7 (0x3fe69bb1f000)
/usr/lib/libdevinfo.so.7:
        libc.so.7 => /lib/libc.so.7 (0x3fe69bb1f000)
/usr/lib/libprocstat.so.1:
        libelf.so.2 => /lib/libelf.so.2 (0x3fe69c0d5000)
        libkvm.so.7 => /lib/libkvm.so.7 (0x3fe69c558000)
        libutil.so.9 => /lib/libutil.so.9 (0x3fe69cdf5000)
        libc.so.7 => /lib/libc.so.7 (0x3fe69bb1f000)
/lib/libthr.so.3:
        libc.so.7 => /lib/libc.so.7 (0x3fe69bb1f000)
        libsys.so.7 => /lib/libsys.so.7 (0x3fe69d4b9000)
/lib/libc.so.7:
        libsys.so.7 => /lib/libsys.so.7 (0x3fe69d4b9000)
/lib/libelf.so.2:
        libc.so.7 => /lib/libc.so.7 (0x3fe69bb1f000)
/lib/libkvm.so.7:
        libelf.so.2 => /lib/libelf.so.2 (0x3fe69c0d5000)
        libc.so.7 => /lib/libc.so.7 (0x3fe69bb1f000)
/lib/libutil.so.9:
        libc.so.7 => /lib/libc.so.7 (0x3fe69bb1f000)
[preloaded]
        [vdso] (0x3fe697a26000)

3) as stated above via base packages set built on my own using poudriere.

-- 
You are receiving this mail because:
You are the assignee for the bug.