[Pkg-pciutils-discuss] Bug#427572: pciutils: 'pcimodules' shows hyphen where 'lsmod' shows underscore

A. Costa agcosta at gis.net
Mon Jun 4 22:46:39 UTC 2007


Package: pciutils
Version: 1:2.2.4-1
Severity: normal


Apologies in advance -- I doubt this is a 'pciutils' bug, but am not
sure what package it belongs to, and hope that somebody reading this
can figure it out, and reassign it to the correct package, (sorry!), if
necessary.

    # 'intel-agp' with a hyphen
    % locate -r 'intel.agp'
    /lib/modules/2.6.18-4-686/kernel/drivers/char/agp/intel-agp.ko
    /lib/modules/2.6.21-1-686/kernel/drivers/char/agp/intel-agp.ko

    # what packages are those in?
    % dlocate agp.ko | egrep 'intel.agp'
    linux-image-2.6.18-4-686: /lib/modules/2.6.18-4-686/kernel/drivers/char/agp/intel-agp.ko
    linux-image-2.6.21-1-686: /lib/modules/2.6.21-1-686/kernel/drivers/char/agp/intel-agp.ko

    # another hyphen
    % pcimodules  | egrep 'intel.agp'
    intel-agp

    # no hyphen?
    % lsmod  | egrep '^intel.agp'
    intel_agp              23004  1 

I don't understand where the underscore (_) on that last line came
from.

Note: I discovered this bug, (if it's a bug), by piping the output of
'pcimodules' into a search routine of installed modules.  My 'grep'
code kept missing 'intel-agp', even though it seemed to be installed
-- then I noticed the underscore.

Hope this helps...



-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.21-1-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/dash

Versions of packages pciutils depends on:
ii  libc6                         2.5-9+b1   GNU C Library: Shared libraries
ii  libpci2                       2:2.1.11-3 Obsolete shared library for access
ii  zlib1g                        1:1.2.3-15 compression library - runtime

pciutils recommends no packages.

-- no debconf information




More information about the Pkg-pciutils-discuss mailing list