Re: kmod-5 --show-depends broken?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



12.02.2012 20:34, Dave Reisner wrote:
> It works in some cases, but not all. Mainly, if the module is already
> inserted, --show-depends will fail. It's already fixed in git:
> 
> http://git.profusion.mobi/cgit.cgi/kmod.git/commit/?id=269de2

Thanks!

Another strange thing:

$ grep bluetooth /etc/modprobe.d/*.conf
/etc/modprobe.d/install.conf:install bluetooth /foo/bar

$  modprobe --show-depends btusb
insmod /lib/modules/3.0.0/kernel/lib/crc16.ko
insmod /lib/modules/3.0.0/kernel/drivers/usb/core/usbcore.ko
insmod /lib/modules/3.0.0/kernel/net/rfkill/rfkill.ko
install /foo/bar
insmod /lib/modules/3.0.0/kernel/drivers/bluetooth/btusb.ko reset=1

$ modprobe --show-depends --ignore-install btusb
insmod /lib/modules/3.0.0/kernel/lib/crc16.ko
insmod /lib/modules/3.0.0/kernel/drivers/usb/core/usbcore.ko
insmod /lib/modules/3.0.0/kernel/net/rfkill/rfkill.ko
install /foo/bar
insmod /lib/modules/3.0.0/kernel/drivers/bluetooth/btusb.ko reset=1

but in kmod-4:

$ modprobe --show-depends btusb
insmod /lib/modules/3.0.0/kernel/lib/crc16.ko
insmod /lib/modules/3.0.0/kernel/net/rfkill/rfkill.ko
install /foo/bar
insmod /lib/modules/3.0.0/kernel/drivers/usb/core/usbcore.ko
insmod /lib/modules/3.0.0/kernel/drivers/bluetooth/btusb.ko reset=1

$ modprobe --show-depends --ignore-install btusb
insmod /lib/modules/3.0.0/kernel/lib/crc16.ko
insmod /lib/modules/3.0.0/kernel/net/rfkill/rfkill.ko
insmod /lib/modules/3.0.0/kernel/net/bluetooth/bluetooth.ko
insmod /lib/modules/3.0.0/kernel/drivers/usb/core/usbcore.ko
insmod /lib/modules/3.0.0/kernel/drivers/bluetooth/btusb.ko reset=1


-- 
Rgrds, legion

--
To unsubscribe from this list: send the line "unsubscribe linux-modules" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux