initrd doesn't set keyboard layout when nvidia drivers are installed (FRAMEBUFFER=n override)
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
ProcVersionSign
Uname: Linux 3.0.0-12-generic x86_64
NonfreeKernelMo
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/
#sunnyRootLuks /dev/sda5 none luks
sunnyRootLuks /dev/disk/
Related branches
summary: |
- initrd doesn't set Fr keyboard layout anymore => couldn't open root luks - at boot + initrd doesn't set keyboard layout when nvidia drivers are installed + (FRAMEBUFFER=n overridde) |
summary: |
initrd doesn't set keyboard layout when nvidia drivers are installed - (FRAMEBUFFER=n overridde) + (FRAMEBUFFER=n override) |
Changed in fglrx-installer (Ubuntu Oneiric): | |
status: | New → Triaged |
importance: | Undecided → High |
assignee: | nobody → Alberto Milone (albertomilone) |
Changed in fglrx-installer-updates (Ubuntu Oneiric): | |
status: | New → Triaged |
importance: | Undecided → High |
assignee: | nobody → Alberto Milone (albertomilone) |
Changed in nvidia-graphics-drivers-173 (Ubuntu Oneiric): | |
assignee: | nobody → Alberto Milone (albertomilone) |
importance: | Undecided → High |
status: | New → Triaged |
Changed in nvidia-graphics-drivers-173-updates (Ubuntu Oneiric): | |
assignee: | nobody → Alberto Milone (albertomilone) |
importance: | Undecided → High |
status: | New → Triaged |
Changed in nvidia-graphics-drivers-96 (Ubuntu Oneiric): | |
assignee: | nobody → Alberto Milone (albertomilone) |
importance: | Undecided → High |
status: | New → Triaged |
Changed in nvidia-graphics-drivers-96-updates (Ubuntu Oneiric): | |
assignee: | nobody → Alberto Milone (albertomilone) |
importance: | Undecided → High |
status: | New → Triaged |
Changed in nvidia-graphics-drivers-updates (Ubuntu Oneiric): | |
assignee: | nobody → Alberto Milone (albertomilone) |
importance: | Undecided → High |
status: | New → Triaged |
tags: | added: iso-testing |
This is a result of recent changes in the nvidia- graphics- drivers package; I see from your bug report that you have the binary driver enabled.
When cryptsetup is installed, /usr/share/ initramfs- tools/conf- hooks.d/ cryptsetup sets the 'FRAMEBUFFER' option to 'y'. This causes the plymouth, framebuffer, and brltty hooks to be run, and causes /usr/share/ initramfs- tools/scripts/ init-top/ console_ setup to be run in the initramfs... where it would *not* be by default except when the initramfs is interrupted.
The oneiric nvidia packages now install an override hook that unconditionally sets FRAMEBUFFER=n in the initramfs. This fixes a legitimate bug, because letting the framebuffer module be loaded in the initramfs garbles the display (in my experience). However, it does so in a way that prevents *any* access to plymouth from within the initramfs, which is a serious regression for those using luks root partitions.
We should try to find a better way to enable the FRAMEBUFFER option to enable the *correct* modules being loaded from within the initramfs, instead of disabling the FRAMEBUFFER option.