Opened 18 years ago

Closed 18 years ago

#1830 closed defect (fixed)

modprobe bug for aliases with regular expressions

Reported by: alexander@… Owned by: lfs-book@…
Priority: normal Milestone: 6.2
Component: Book Version: SVN
Severity: normal Keywords:
Cc:

Description

Change History (7)

comment:1 by bdubbs@…, 18 years ago

What does this mean? The date of the link is April 14.

What are you suggesting? A note in the book to not use REs in modprobe.conf? Use the patch? Update to module-init-tools-3.3-pre1.tar.bz2 that is reported to have the fix incorporated.

It is interesting that Rusty Russell said in April 14: "I should release 3.3 proper sometime this weekend." But three months later it is not yet released. Is it really that important?

comment:2 by alexander@…, 18 years ago

Use the patch. Otherwise, udev won't autoload some USB modules.

For example, build usb_storage or ibmcam as a module, and see lines like this in /lib/modules/uname -r/modules.alias:

alias usb:v0D96p5200d00[1-9]*dc*dsc*dp*ic*isc*ip* usb_storage
alias usb:v0545p8002d030[10-9]dc*dsc*dp*ic*isc*ip* ibmcam

So, without the fix, udev won't load usb_storage for USB device with vendor ID 0D96 and product ID 5200.

comment:3 by randy@…, 18 years ago

Alex, could you explain how to recreate this issue. I use an IBM PC Camera, which requires the ibmcam.ko module and it autoloads just fine, along with all the supporting USB modules.

comment:4 by alexander@…, 18 years ago

The camera with vendor ID 0545 and product ID 8002 is affected. You probably have a different camera. See http://bugs.debian.org/350915 for more details.

comment:5 by alexander@…, 18 years ago

If you don't have affected hardware, you may want to run this command:

/sbin/modprobe -n -v --first-time usb:v054Cp0010d0410dc00dsc00dp00ic08iscFFip01

(assuming that usb_storage is a module). Buggy modprobe says:

FATAL: Module usb:v054Cp0010d0410dc00dsc00dp00ic08iscFFip01 not found.

Fixed modprobe says one of these lines:

FATAL: Module usb_storage already in kernel.

or

insmod /lib/modules/VERSION/kernel/drivers/usb/storage/usb-storage.ko

comment:6 by bdubbs@…, 18 years ago

Added the patch to module-init-tools at revision 7676.

comment:7 by bdubbs@…, 18 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.