[BusyBox 0000974]: insmod, modprobe, modules.alias (and maybe others) don't treat '_' & '-' as interchangable

bugs at busybox.net bugs at busybox.net
Fri Jul 28 12:35:48 UTC 2006


The following issue has been SUBMITTED. 
====================================================================== 
http://busybox.net/bugs/view.php?id=974 
====================================================================== 
Reported By:                anthony
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   974
Category:                   Standards Compliance
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             07-28-2006 05:35 PDT
Last Modified:              07-28-2006 05:35 PDT
====================================================================== 
Summary:                    insmod, modprobe, modules.alias (and maybe others)
don't treat '_' & '-' as interchangable
Description: 
I have a module uhci_hcd/uhci-hcd

It lives at kernel/drivers/usb/host/uhci-hcd.ko

If I enter 'insmod uhci-hcd', it succeeds
If I enter 'insmod uhci_hcd', it fails

If I enter 'modprobe uhci-hcd', it succeeds
If I enter 'modprobe uhci_hcd', it fails

There is a reference in modules.alias which looks like

alias pci:v*d*sv*sd*bc0Csc03i00* uhci_hcd

If I enter 'modprobe
pci:v00008086d00002659sv00001028sd00000182bc0Csc03i00', it fails

If I change the reference in modules.alias to:

alias pci:v*d*sv*sd*bc0Csc03i00* uhci-hcd

If I enter 'modprobe
pci:v00008086d00002659sv00001028sd00000182bc0Csc03i00', it succeeds

rmmod doesn't seem to suffer from the same problem.

This is 1.2.0, and I can't see any fixes which address this problem.
This might also be the problem seen with report 889 (something similar
happened to me, and is why i started looking at the problem).
====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-28-06 05:35  anthony        New Issue                                    
07-28-06 05:35  anthony        Status                   new => assigned     
07-28-06 05:35  anthony        Assigned To               => BusyBox         
======================================================================




More information about the busybox-cvs mailing list