[Bug 270509] devel/libpciaccess: apparent problem with recent change to pci_device_freebsd_has_kernel_driver

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 15 Apr 2023 02:26:33 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270509

wbe@psr.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wbe@psr.com

--- Comment #21 from wbe@psr.com ---
As Tijl Coosemans noted, the problem also affects nv and mga drivers.
Here the problem reported in the Xorg.#.log file is
"The PCI device [...] has a kernel module claiming it."
followed by "This driver cannot operate until it has been unloaded."
Even "Xorg -configure" doesn't work.

What pkg calls libpciaccess version 16 works.  The current version (17) does
not, for me, with any driver (mga, nv, nvidia, vesa, modesetting, or any
others I tried) and any xorg.conf file or lack thereof I tried, though the
various choices (such as vesa) and settings sometimes got different complaints.

Manually reverting libpciaccess to version 16 fixed the problem.

Maybe it's the same issue as bug 239065?
In that case, 13.5 worked, 14 didn't, and newly released 16 did.
 -WBE

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