Package: module-init-tools
Version: 3.2-pre1-2
Severity: normal

I compiled a module, maybe in the wrong spot.  This is
where it is:

    tvbox:~# ls -l /lib/modules/2.4.27/misc/lirc_dev.o
    -rw-r--r--  1 root root 13180 2006-11-04 14:19 
/lib/modules/2.4.27/misc/lirc_dev.o

Attempting to install it gives an error:

    tvbox:~# modprobe -v /lib/modules/2.4.27/misc/lirc_dev.o
    modprobe: Can't locate module /lib/modules/2.4.27/misc/lirc_dev.o

Maybe the error itself is necessary, but the error message is
puzzling, at least in the above context.   The file exists, and is easy
to locate; maybe it's looking for it in a particular locate and it's
not there.

For whatever is wrong, it would be better if the error message
clearly explained the problem.  Suggestions for clarity:

        1) Have the error indicate where it's looking:

                modprobe: Can't locate module 
"/lib/modules/2.4.27/misc/lirc_dev.o" in "/lib/modules/foobar"

        2) OR, if full pathnames are no good, say so:

                modprobe: module name is not allowed to begin with a '/' char 
-- no full pathnames allowed.

        3) OR, if no pathnames are allowed, say so:

                modprobe: module name contains a '/' char -- pathnames not 
allowed.

Also unclear is which package this bug belongs in:

    tvbox:~# which modprobe
    /sbin/modprobe
    tvbox:~# ls -l /sbin/modprobe
    -rwxr-xr-x  1 root root 23564 2005-01-26 16:10 /sbin/modprobe
    tvbox:~# dlocate /sbin/modprobe
    modutils: /sbin/modprobe
    module-init-tools: /sbin/modprobe

Hope this helps...


Note: right now I can't use 'reportbug' on the (Debian stable) system
I'm testing, so there's less detail, but it shouldn't matter, as the
bug seems entirely verbal.

2nd note, from a day later:  I tried it on my 'unstable' system:

        % cp /lib/modules/2.6.16-2-686/kernel/drivers/scsi/sata_sx4.ko /tmp/
        % modprobe /tmp/sata_sx4.ko
        FATAL: Module /tmp/sata_sx4.ko not found.
        % which modprobe
        /sbin/modprobe
        % dlocate  /sbin/modprobe
        module-init-tools: /sbin/modprobe
        modutils: /sbin/modprobe
        % for f in module-init-tools modutils ; do echo -n $f: ;  dlocate -s $f 
| grep Ver ; done
        module-init-tools:Version: 3.2.2-3
        modutils:Version: 2.4.27.0-6

...pretty much the same thing, except the wording of the error message has 
changed
from "can't locate module ...", to "module ... not found."


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to