[Bug 864149] Re: initrd doesn't set keyboard layout when nvidia drivers are installed (FRAMEBUFFER=n override)

Steve Langasek steve.langasek at canonical.com
Sat Oct 1 21:27:07 UTC 2011


This can be addressed without reintroducing the problem from bug #839524
with three changes:

 - drop the nvidia "proprietary-graphics-drivers" initramfs hook config.
 - set 'alias nouveau off' in the modprobe blacklist file, *not* 'blacklist nouveau'.  (udev ignores module blacklisting by design!)
 - add a fallback in the framebuffer initramfs script to try to load the vesafb module if no other framebuffer has been loaded.  This gives us fallback behavior equivalent to what's used post-initramfs when cryptsetup is not installed, and does not negatively impact booting when the vesa linear framebuffer is unavailable (i.e., when booting with gfxpayload=text) other than generating a warning message that vesafb can't be loaded.

This will ensure the nouveau driver will not be loaded in the initramfs
when nvidia drivers are installed, that a best effort is made to load
the vesafb driver from the initramfs where possible, and that other
functionality that keys on FRAMEBUFFER=y - keyboard map setting, brltty
support, and plymouth itself - does not regress.

** Changed in: nvidia-graphics-drivers (Ubuntu Oneiric)
     Assignee: (unassigned) => Alberto Milone (albertomilone)

** Changed in: initramfs-tools (Ubuntu Oneiric)
     Assignee: (unassigned) => Steve Langasek (vorlon)

-- 
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/864149

Title:
  initrd doesn't set keyboard layout when nvidia drivers are installed
  (FRAMEBUFFER=n override)

Status in “initramfs-tools” package in Ubuntu:
  Triaged
Status in “nvidia-graphics-drivers” package in Ubuntu:
  Triaged
Status in “initramfs-tools” source package in Oneiric:
  Triaged
Status in “nvidia-graphics-drivers” source package in Oneiric:
  Triaged

Bug description:
  I added a fr/us layout compatible passphrase so i can open my root
  luks partition again.

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: cryptsetup 2:1.1.3-4ubuntu2
  ProcVersionSignature: Ubuntu 3.0.0-12.19-generic 3.0.4
  Uname: Linux 3.0.0-12-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 1.23-0ubuntu2
  Architecture: amd64
  Date: Sat Oct  1 18:09:56 2011
  InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release amd64 (20100816.1)
  ProcEnviron:
   PATH=(custom, no user)
   LANG=fr_FR.UTF-8
   SHELL=/bin/bash
  SourcePackage: cryptsetup
  UpgradeStatus: Upgraded to oneiric on 2011-10-01 (0 days ago)
  crypttab:
   # <target name>	<source device>						<key file>	<options>
   #sunny		/dev/disk/by-uuid/63cacbac-1630-422e-9e55-87ea3f0e7b90	none 		luks
   #sunnyRootLuks	/dev/sda5						none		luks
   sunnyRootLuks	/dev/disk/by-uuid/63cacbac-1630-422e-9e55-87ea3f0e7b90	none	luks

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




More information about the foundations-bugs mailing list