Public bug reported:

Binary package hint: module-init-tools

I use a custom driver for CDC ETHER device and have a conflict with a standard 
cdc_ether driver.
I put my custom_cdc driver into "/lib/modules/`uname -r`/extra" and run depmod, 
which according to man depmod.conf should make my custom_cdc driver to load 
with high priority then standard cdc_ether driver. But it seems that depmod 
doesn't take into account /etc/depmod.d/ubuntu.conf config when building 
modules dependencies and modules.alias. So cdc_ether driver is loaded first 
when I plug my divice, but if my custom_cdc driver is located in extra it 
should be loaded first.

Here is alias of my driver and cdc_ether driver:

custom_cdc  usb:v148Ep0900d*dc*dsc*dp*ic02isc06ip00*
cdc_ether      usb:v*p*d*dc*dsc*dp*ic02isc06ip00*

And here is udev event which loads driver by alias:

MODALIAS=usb:v148Ep0900d0001dc02dsc00dp00ic02isc06ip00
MODALIAS=usb:v148Ep0900d0001dc02dsc00dp00ic0Aisc00ip00


So my custom_cdc driver has more concrete alias which include particular 
vendor/device id, but for some reason cdc_ether still loaded instead of my 
driver. This is because depmod build incorrect modules.alias where custom_cdc 
located after cdc_ether.

In debian it works correctly, because depmod produce modules.alias file
with custom_cdc in the first line.

ProblemType: Bug
Architecture: i386
Date: Tue Nov  3 16:27:09 2009
DistroRelease: Ubuntu 9.10
Package: module-init-tools 3.10-3
ProcEnviron:
 LANGUAGE=
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
SourcePackage: module-init-tools
Uname: Linux 2.6.31-14-generic i686
XsessionErrors: (polkit-gnome-authentication-agent-1:2639): GLib-CRITICAL **: 
g_once_init_leave: assertion `initialization_value != 0' failed

** Affects: module-init-tools (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386

-- 
depmod doesn't respect /etc/depmod.d/ubuntu.conf config
https://bugs.launchpad.net/bugs/472982
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to