Description of problem: $ lspci -vvv ... Capabilities: <access denied> Segmentation fault (core dumped) Version-Release number of selected component: pciutils-3.1.10-2.fc18 Additional info: reporter: libreport-2.1.5 backtrace_rating: 4 cmdline: lspci -vvv crash_function: show_kernel_init executable: /usr/sbin/lspci kernel: 3.9.5-201.fc18.x86_64 runlevel: N 5 uid: 1000 Truncated backtrace: Thread no. 1 (1 frames) #0 show_kernel_init at ls-kernel.c:139
Created attachment 787390 [details] File: backtrace
Created attachment 787391 [details] File: cgroup
Created attachment 787392 [details] File: core_backtrace
Created attachment 787393 [details] File: dso_list
Created attachment 787394 [details] File: environ
Created attachment 787395 [details] File: limits
Created attachment 787396 [details] File: maps
Created attachment 787397 [details] File: open_fds
Created attachment 787398 [details] File: proc_pid_status
Created attachment 787399 [details] File: var_log_messages
Where did you get that pciutils package? Backtrace says it crashed in show_kernel_init, but that's new function that does not exist in pciutils 3.1.10 we have in Fedora 18. It's only in pciutils>=3.2.0
I installed the package via yum. $ rpm -qi pciutils Name : pciutils Version : 3.1.10 Release : 2.fc18 Architecture: x86_64 Install Date: Fri 14 Jun 2013 11:01:03 AM EDT Group : Applications/System Size : 192523 License : GPLv2+ Signature : RSA/SHA256, Wed 08 Aug 2012 10:14:12 PM EDT, Key ID ff01125cde7f38bd Source RPM : pciutils-3.1.10-2.fc18.src.rpm Build Date : Sat 21 Jul 2012 01:02:03 AM EDT Build Host : x86-06.phx2.fedoraproject.org Relocations : (not relocatable) Packager : Fedora Project Vendor : Fedora Project URL : http://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml Summary : PCI bus related utilities Description : The pciutils package contains various utilities for inspecting and setting devices connected to the PCI bus. The utilities provided require kernel version 2.1.82 or newer (which support the /proc/bus/pci interface). $ yum info pciutils Loaded plugins: langpacks, presto, refresh-packagekit, remove-with-leaves Installed Packages Name : pciutils Arch : x86_64 Version : 3.1.10 Release : 2.fc18 Size : 188 k Repo : installed From repo : fedora Summary : PCI bus related utilities URL : http://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml License : GPLv2+ Description : The pciutils package contains various utilities for inspecting and : setting devices connected to the PCI bus. The utilities provided : require kernel version 2.1.82 or newer (which support the : /proc/bus/pci interface). $
Created attachment 809280 [details] output of strace lspci -v
Created attachment 809281 [details] output of sudo strace lspci -v
$ grep -r show_kernel_ pciutils-3.*/ pciutils-3.1.10/lspci.h:void show_kernel_machine(struct device *d UNUSED); pciutils-3.1.10/lspci.c: show_kernel_machine(d); pciutils-3.1.10/ls-kernel.c:show_kernel_machine(struct device *d) pciutils-3.1.10/ls-kernel.c:show_kernel_machine(struct device *d UNUSED) pciutils-3.2.0/lspci.h:void show_kernel_machine(struct device *d UNUSED); pciutils-3.2.0/lspci.h:void show_kernel_cleanup(void); pciutils-3.2.0/lspci.c: show_kernel_machine(d); pciutils-3.2.0/lspci.c: show_kernel_cleanup(); pciutils-3.2.0/ls-kernel.c:show_kernel_init(void) pciutils-3.2.0/ls-kernel.c: static int show_kernel_inited = -1; pciutils-3.2.0/ls-kernel.c: if (show_kernel_inited >= 0) pciutils-3.2.0/ls-kernel.c: return show_kernel_inited; pciutils-3.2.0/ls-kernel.c: show_kernel_inited = 1; pciutils-3.2.0/ls-kernel.c: show_kernel_inited = 0; pciutils-3.2.0/ls-kernel.c:show_kernel_cleanup(void) pciutils-3.2.0/ls-kernel.c:show_kernel_init(void) pciutils-3.2.0/ls-kernel.c:show_kernel_cleanup(void) pciutils-3.2.0/ls-kernel.c: if (!show_kernel_init()) pciutils-3.2.0/ls-kernel.c:show_kernel_machine(struct device *d) pciutils-3.2.0/ls-kernel.c: if (!show_kernel_init()) pciutils-3.2.0/ls-kernel.c:show_kernel_machine(struct device *d UNUSED) pciutils-3.2.0/ls-kernel.c:show_kernel_cleanup(void There really is no show_kernel_init in pciutils-3.1.10 Please reinstall pciutils (yum reinstall pciutils) and verify you have correct package (post output of): sha1sum `which lspci` if you are still able to reproduce this, attach core file (you'll have to enable them first with: ulimit -c unlimited ) Thanks
$ sha1sum `which lspci` 4e2d455c8f525323cddd978b5594a1f3c84e9266 /usr/sbin/lspci $ sudo yum reinstall pciutils ... $ rpm -qi pciutils $ rpm -qi pciutils Name : pciutils Version : 3.1.10 Release : 2.fc18 Architecture: x86_64 Install Date: Tue 08 Oct 2013 12:39:12 PM EDT Group : Applications/System Size : 192523 License : GPLv2+ Signature : RSA/SHA256, Wed 08 Aug 2012 10:14:12 PM EDT, Key ID ff01125cde7f38bd Source RPM : pciutils-3.1.10-2.fc18.src.rpm Build Date : Sat 21 Jul 2012 01:02:03 AM EDT Build Host : x86-06.phx2.fedoraproject.org Relocations : (not relocatable) Packager : Fedora Project Vendor : Fedora Project URL : http://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml Summary : PCI bus related utilities Description : The pciutils package contains various utilities for inspecting and setting devices connected to the PCI bus. The utilities provided require kernel version 2.1.82 or newer (which support the /proc/bus/pci interface). $ sha1sum `which lspci` 9d499ba871fb70c1d0212561231ddb34cba3dffe /usr/sbin/lspci $ ulimit -c unlimited $ lspci -v 00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09) Subsystem: Acer Incorporated [ALI] Device 0738 Flags: bus master, fast devsel, latency 0 Capabilities: <access denied> Segmentation fault (core dumped) $
Created attachment 809414 [details] core from lspci -v
Created attachment 809416 [details] core from sudo lspci -v
I'm able to reproduce this when I combine pciutils with wrong pciutils-libs. Please try to reinstall also pciutils-libs. Thanks
Thanks, it works now. I don't know how this happened. $ rpm -qa pciutils\* pciutils-3.1.10-2.fc18.x86_64 pciutils-libs-3.2.0-2.fc20.x86_64 $ sudo yum downgrade pciutils-libs Loaded plugins: langpacks, presto, refresh-packagekit, remove-with-leaves Unable to send message to PackageKit Resolving Dependencies --> Running transaction check ---> Package pciutils-libs.x86_64 0:3.1.10-2.fc18 will be a downgrade ---> Package pciutils-libs.x86_64 0:3.2.0-2.fc20 will be erased --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Downgrading: pciutils-libs x86_64 3.1.10-2.fc18 fedora 43 k Transaction Summary ================================================================================ Downgrade 1 Package Total download size: 43 k Is this ok [y/N]: y Downloading Packages: pciutils-libs-3.1.10-2.fc18.x86_64.rpm | 43 kB 00:00 Running Transaction Check Running Transaction Test Transaction Test Succeeded Running Transaction Installing : pciutils-libs-3.1.10-2.fc18.x86_64 1/2 Cleanup : pciutils-libs-3.2.0-2.fc20.x86_64 2/2 Unable to send message to PackageKit Verifying : pciutils-libs-3.1.10-2.fc18.x86_64 1/2 Verifying : pciutils-libs-3.2.0-2.fc20.x86_64 2/2 Removed: pciutils-libs.x86_64 0:3.2.0-2.fc20 Installed: pciutils-libs.x86_64 0:3.1.10-2.fc18 Complete! $