Linux PCI subsystem development
 help / color / mirror / Atom feed
From: Samuli Suominen <ssuominen@gentoo.org>
To: linux-pci@vger.kernel.org
Subject: lspci -k is broken with depmod from kmod since it doesn't generate modules.pcimap anymore
Date: Tue, 26 Mar 2013 23:31:59 +0200	[thread overview]
Message-ID: <515213CF.7000804@gentoo.org> (raw)

The depmod from kmod no longer generates file modules.pcimap, and lspci 
-k relies on that as noted at:

https://bugs.gentoo.org/show_bug.cgi?id=462982

null pciutils-3.1.10 # grep -r modules.*map *
ls-kernel.c:      sprintf(name, "/lib/modules/%s/modules.pcimap", 
uts.release);
lspci.c:char *opt_pcimap;			/* Override path to Linux modules.pcimap */
lspci.c:"-p <file>\tLook up kernel modules in a given file instead of 
default modules.pcimap\n"
lspci.man:.RI /lib/modules/ kernel_version /modules.pcimap.

Since this is not fixed in git, I figured it's time to let people know 
of it here

Thanks for looking into it,
Samuli

             reply	other threads:[~2013-03-26 21:33 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-26 21:31 Samuli Suominen [this message]
2013-03-26 22:35 ` lspci -k is broken with depmod from kmod since it doesn't generate modules.pcimap anymore Bjorn Helgaas
2013-03-26 22:37   ` Samuli Suominen
2013-03-26 22:44     ` Bjorn Helgaas
2013-03-27 15:11   ` Lucas De Marchi
2013-03-27 17:00     ` Kay Sievers
2013-04-01 11:45       ` Martin Mares
2013-04-01 13:46         ` Martin Mares
2013-04-01 14:09           ` Samuli Suominen
2013-04-01 19:26             ` Martin Mares

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=515213CF.7000804@gentoo.org \
    --to=ssuominen@gentoo.org \
    --cc=linux-pci@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox