I have a usecase for disabling kernel modules:
I need to disable uas when booting (or at least after booting) a livecd:
All my usb3 to SATA adapters load uas.ko when plugged, then promptly 
They work when plugged into a usb2 port.
Deleting uas.ko breaks usb hotplug.
I am assuming that usb storage will actually work without uas.

You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.

  Need a way to disable selected modules with a kernel flag

Status in linux package in Ubuntu:
  In Progress

Bug description:
  Binary package hint: linux-image

  Bug #90271 and bug #187671 describe situations where Live CDs and
  install CDs fail to work because a broken kernel module causes a hang
  before user has a say. The error may be in an optional kernel module
  (such as sound card driver or memory card reader) but the end user has
  no way to prevent kernel from loading a possibly known broken module.

  Vanilla kernels from kernel.org support flag disablemodules (e.g.
  disablemodules=8139too,sdhci prevents linux kernel from loading
  8139too.ko or sdhci.ko) but such flag does not seem to work with

  This is a feature request to enable such a flag. It is not needed for
  normal use but in case of rare hardware exposing a bug in a kernel
  module not having such a flag prevents one from booting Ubuntu. (I'd
  prefer booting without network adapter or memory card reader to not
  booting at all).

  This issue also causes slowdowns such as bug #187671 which cannot
  proceed until bug #90271 is fixed because testing possible fixes for
  the bug is really hard until the other kernel module has been fixed.
  (This is because both bugs affect the same laptop hardware and both
  kernel modules cause a kernel hang.)

  I'd consider disablemodules flag similar to acpi flag - it should not
  be needed but still we need it.

To manage notifications about this bug go to:

Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to