Public bug reported:

Binary package hint: pciutils

Under 32-bit hardy (a colleague has also confirmed this behavior in
64-bit karmic), "lspci -xxxx" does not display the extended
configuration space, stopping after only 16 lines of output.  As a
demonstration, here's the output that results from probing my graphics
card (a PCI-E 2.0 device):

clio:~ % uname -a
Linux clio 2.6.24-27-generic #1 SMP Fri Mar 12 01:10:31 UTC 2010 i686 GNU/Linux
clio:~ % cat /etc/*-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=8.04
DISTRIB_CODENAME=hardy
DISTRIB_DESCRIPTION="Ubuntu 8.04.4 LTS"
clio:~ % lspci --version
lspci version 2.2.4
clio:~ % sudo lspci -s 01:00.0 -xxxx
[sudo] password for rbabich: 
01:00.0 VGA compatible controller: nVidia Corporation Unknown device 0612 (rev 
a2)
00: de 10 12 06 07 00 10 00 a2 00 00 03 00 00 00 00
10: 00 00 00 fd 0c 00 00 d0 00 00 00 00 04 00 00 fa
20: 00 00 00 00 01 cc 00 00 00 00 00 00 42 38 73 c8
30: 00 00 00 00 60 00 00 00 00 00 00 00 0a 01 00 00
40: 42 38 73 c8 00 00 00 00 00 00 00 00 00 00 00 00
50: 01 00 00 00 01 00 00 00 ce d6 23 00 00 00 00 00
60: 01 68 03 00 08 00 00 00 05 78 80 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 10 00 02 00 e0 84 2c 01
80: 10 29 00 00 02 2d 00 00 48 00 02 11 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 10 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

If I carry out this same exercise on a machine running CentOS, I get the
expected 256 lines of output:

-bash-3.2$ cat /etc/*-release
BU Linux 5.0 (Monde)
CentOS release 5.4 (BU Linux 5.0 Monde)  (This CentOS version is based on Red 
Hat Enterprise Linux Release 5 Update 4)
-bash-3.2$ /sbin/lspci --version
lspci version 2.2.3
-bash-3.2$ sudo /sbin/lspci -s 02:00.0 -xxxx
02:00.0 3D controller: nVidia Corporation GT200 [Tesla C1060] (rev a1)
00: de 10 e7 05 07 00 10 00 a1 00 02 03 00 00 00 00
10: 00 00 00 f7 0c 00 00 f0 00 00 00 00 04 00 00 f8
20: 00 00 00 00 01 cc 00 00 00 00 00 00 de 10 6a 06
30: 00 00 00 00 60 00 00 00 00 00 00 00 0b 01 00 00
.
. [omitting 248 lines]
.
fc0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
fd0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
fe0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ff0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

On the system running Ubuntu, I have also tested the latest release of
pciutils (3.1.7), with the same result as the pre-installed package:

clio:pciutils-3.1.7 % sbin/lspci --version
lspci version 3.1.7
clio:pciutils-3.1.7 % sudo sbin/lspci -s 01:00.0 -xxxx
01:00.0 VGA compatible controller: nVidia Corporation G92 [GeForce 9800 GTX] 
(rev a2)
00: de 10 12 06 07 00 10 00 a2 00 00 03 00 00 00 00
10: 00 00 00 fd 0c 00 00 d0 00 00 00 00 04 00 00 fa
20: 00 00 00 00 01 cc 00 00 00 00 00 00 42 38 73 c8
30: 00 00 00 00 60 00 00 00 00 00 00 00 0a 01 00 00
40: 42 38 73 c8 00 00 00 00 00 00 00 00 00 00 00 00
50: 01 00 00 00 01 00 00 00 ce d6 23 00 00 00 00 00
60: 01 68 03 00 08 00 00 00 05 78 80 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 10 00 02 00 e0 84 2c 01
80: 10 29 00 00 02 2d 00 00 48 00 02 11 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 10 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

** Affects: pciutils (Ubuntu)
     Importance: Undecided
         Status: New

-- 
"lspci -xxxx" does not display extended configuration space
https://bugs.launchpad.net/bugs/563458
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to