[Bug 1746666] Re: lspci fails with 'Error reading sysfs label: Operation not permitted'

Andrea Bravetti andreabravetti at gmail.com
Tue Mar 27 11:46:21 UTC 2018


First of all, I'm not opening a new bug because I'm on Mint 18.3 however
I think this is an Ubuntu bug anyway... right now I can't install
regular 16.04 Ubuntu, I will try as soon as possible.

With latest pciutils/libpci3 3.3.1-1.1ubuntu1.2 I cant see my external
display on DP-1-1 any more and also with xrandr that display is missing:

---------------------------------------------
andrea at sibilla ~ $ xrandr 
Screen 0: minimum 8 x 8, current 3840 x 1080, maximum 32767 x 32767
LVDS1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
   1920x1080     60.02*+  50.03    59.93  
......omit......
VGA1 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
---------------------------------------------

With old pciutils/libpci3 3.3.1-1.1ubuntu1 or 3.3.1-1.1ubuntu1.1 I have:

---------------------------------------------
andrea at sibilla ~ $ xrandr 
Screen 0: minimum 8 x 8, current 3840 x 1080, maximum 32767 x 32767
LVDS1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
   1920x1080     60.02*+  50.03    59.93  
......omit......
VGA1 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
LVDS-1-2 disconnected (normal left inverted right x axis y axis)
VGA-1-2 disconnected (normal left inverted right x axis y axis)
DP-1-1 connected 1920x1080+1920+0 (normal left inverted right x axis y axis) 521mm x 293mm
   1920x1080     60.00*+
......omit......
DP-1-2 disconnected (normal left inverted right x axis y axis)
DP-1-3 disconnected (normal left inverted right x axis y axis)
  1680x1050 (0x4a) 119.000MHz +HSync -VSync
......omit......
---------------------------------------------

I tried many time upgrading and downgrading and the issue is absolutely
confirmed.

I tried a lot of different config and the only way to get my external
monitor working is downgrading pciutils/libpci3.

My hardware is a Lenovo ThinkPad W530.

andrea at sibilla ~ $ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
01:00.0 VGA compatible controller: NVIDIA Corporation GK107GLM [Quadro K1000M] (rev a1)

If you need some more info I'll be glad to help.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to pciutils in Ubuntu.
https://bugs.launchpad.net/bugs/1746666

Title:
  lspci fails with 'Error reading sysfs label: Operation not permitted'

Status in dellserver:
  Fix Committed
Status in pciutils package in Ubuntu:
  Fix Released
Status in pciutils source package in Xenial:
  Fix Released

Bug description:
  Description:
  On a 4 socket server, when #lspci is run, it fails with output:
  lspci: Error reading /sys/bus/pci/devices/0000:9a:00.0/label: Operation not permitted

  How Reproducible:
  Always

  Version
  pciutils-3.3.1-1.1ubuntu1.1

  Steps:
  1. Install Ubuntu-Server-16.04.3
  2. Observe #lspci

  Additional Info:
  * Upstream master branch from pciutils works fine in this setup. (https://kernel.googlesource.com/pub/scm/utils/pciutils/pciutils/)

  * v3.4.0 also works fine in this setup.

  * v3.3.1 fails.

  * Going through code quickly, looks like one of the required patches is :
  https://kernel.googlesource.com/pub/scm/utils/pciutils/pciutils/+/ef6c9ec3a45992d9e7ef4716d444252baf2013e1

  Not sure what other patches might be required for fixing this.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dellserver/+bug/1746666/+subscriptions



More information about the foundations-bugs mailing list