[Bug 1412077] Re: [PATCH] HID USB keyboards not working in initramfs

Ubuntu Foundations Team Bug Bot 1412077 at bugs.launchpad.net
Sun Jan 18 16:25:04 UTC 2015


The attachment "hook-functions-dont-ignore-modprobe-fails.patch" seems
to be a patch.  If it isn't, please remove the "patch" flag from the
attachment, remove the "patch" tag, and if you are a member of the
~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issues please contact him.]

** Tags added: patch

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1412077

Title:
  [PATCH] HID USB keyboards not working in initramfs

Status in initramfs-tools package in Ubuntu:
  New

Bug description:
  This bug might either be in the kernel extra package or initramfs-
  tools, can't decide.

  I have tested all following version of the kernel:

  - linux-image-3.13.0-35-generic
  - linux-image-3.13.0-36-generic
  - linux-image-3.13.0-37-generic
  - linux-image-3.13.0-39-generic
  - linux-image-3.13.0-40-generic
  - linux-image-3.13.0-41-generic
  - linux-image-3.13.0-43-generic
  - linux-image-3.13.0-44-generic *

  In all of them (* = except latest), if the corresponding -extra
  package is installed then USBs keyboard *will work* (and display mode
  will also be set correctly, although it's a separate issue).

  Otherwise, no USB keyboard will be available at all for initramfs
  programs.

  I have narrowed down the issue to the fact that hid, hid-generic and
  usbhid modules are missing and thus not loaded.

  Possibly related bugs:

  https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1238194
  https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1066376
  https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/229732
  https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/886149
  https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1054292
  https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1017991

  ==== Update 18 January

  Sorry if you received too many notifications, I have tried my best
  document the issue and find a solution.

  This issue can be split in 3 separate issues now:

  1) functions in initramfs-tools' hook-functions do not handle command
  failures (please merge attached patch), also for modprobe which made
  it very difficult to troubleshoot the other issues

  2) hid modules are currently in extra but - considering the past
  amount of bug reports and spoilt user experience - these ought better
  be in the -generic package*

  3) linux-image-3.13.0-44-generic doesn't sport a modules.dep that
  covers the -extra package (as it did in the past)

  I hope this bug report will be useful to you guys.

  * = if this is not advisable for the -generic package, then would be
  nice that update-initramfs failed or displayed a warning about USB
  keyboard usage when -extra is not installed, instead of silently
  including all those goodies when it is, as it does now

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1412077/+subscriptions



More information about the foundations-bugs mailing list