Bug 99127 - libpciaccess - incompatible with linux after version 4.4
Summary: libpciaccess - incompatible with linux after version 4.4
Alias: None
Product: xorg
Classification: Unclassified
Component: Lib/pciaccess (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
Depends on:
Reported: 2016-12-17 16:17 UTC by James
Modified: 2018-08-10 20:18 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Description James 2016-12-17 16:17:14 UTC
Please see https://bugs.freedesktop.org/show_bug.cgi?id=98158

The sis driver fails with "SiSMapMem() failed", but this appears to be caused by an incompatibility between libpciaccess pci_device_map_range() and newer linux kernels after 4.4.
Comment 1 James 2017-04-04 20:40:37 UTC
Problem is triggered by:


which suggests:
Any application using /dev/mem or mmap of
sysfs pci resources will now need to perform the extra step of either:
1/ Disabling the driver, for example:
   echo <device id> > /dev/bus/<parent bus>/drivers/<driver name>/unbind
Comment 2 GitLab Migration User 2018-08-10 20:18:56 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/lib/libpciaccess/issues/8.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.