Bug#695245: grub-efi-amd64 does not detect control key presses

Daniel Kahn Gillmor dkg at fifthhorseman.net
Thu Dec 6 03:16:15 UTC 2012


Package: grub-efi-amd64
Version: 2.00-7
Severity: normal

Using grub-efi-amd64 on this thinkpad x200, i cannot get it to
recognize the control key.  This makes editing more difficult than it
needs to be, and it means that the instructions like "ctrl-x to boot"
are impossible to carry out.

    --dkg

-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/mapper/vg_alice0-root / ext4 rw,relatime,errors=remount-ro,user_xattr,barrier=1,data=ordered 0 0
/dev/mapper/vg_alice0-var /var ext4 rw,relatime,user_xattr,barrier=1,data=ordered 0 0
/dev/mapper/vg_alice0-home /home ext4 rw,relatime,user_xattr,barrier=1,data=ordered 0 0
/dev/sda2 /boot ext4 rw,relatime,user_xattr,barrier=1,data=ordered 0 0
/dev/sda1 /boot/efi vfat rw,nosuid,nodev,noexec,relatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=utf8,shortname=mixed,errors=remount-ro 0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  load_env
fi
set default="0"

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}

function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if loadfont unicode ; then
  set gfxmode=1024x768
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=en_US
  insmod gettext
fi
terminal_output gfxterm
set timeout=5
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  c4425021-9542-4ff6-888c-548c08b4a69c
else
  search --no-floppy --fs-uuid --set=root c4425021-9542-4ff6-888c-548c08b4a69c
fi
insmod png
if background_image /grub/.background_cache.png; then
  set color_normal=white/black
  set color_highlight=black/white
else
  set menu_color_normal=cyan/blue
  set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Debian GNU/Linux' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-5b7c89b1-cf26-4427-b8a9-8c74e4897111' {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_gpt
	insmod ext2
	set root='hd0,gpt2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  c4425021-9542-4ff6-888c-548c08b4a69c
	else
	  search --no-floppy --fs-uuid --set=root c4425021-9542-4ff6-888c-548c08b4a69c
	fi
	echo	'Loading Linux 3.2.0-4-amd64 ...'
	linux	/vmlinuz-3.2.0-4-amd64 root=/dev/mapper/vg_alice0-root ro  quiet
	echo	'Loading initial ramdisk ...'
	initrd	/initrd.img-3.2.0-4-amd64
}
submenu 'Advanced options for Debian GNU/Linux' $menuentry_id_option 'gnulinux-advanced-5b7c89b1-cf26-4427-b8a9-8c74e4897111' {
	menuentry 'Debian GNU/Linux, with Linux 3.2.0-4-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.2.0-4-amd64-advanced-5b7c89b1-cf26-4427-b8a9-8c74e4897111' {
		load_video
		set gfxpayload=keep
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  c4425021-9542-4ff6-888c-548c08b4a69c
		else
		  search --no-floppy --fs-uuid --set=root c4425021-9542-4ff6-888c-548c08b4a69c
		fi
		echo	'Loading Linux 3.2.0-4-amd64 ...'
		linux	/vmlinuz-3.2.0-4-amd64 root=/dev/mapper/vg_alice0-root ro  quiet
		echo	'Loading initial ramdisk ...'
		initrd	/initrd.img-3.2.0-4-amd64
	}
	menuentry 'Debian GNU/Linux, with Linux 3.2.0-4-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.2.0-4-amd64-recovery-5b7c89b1-cf26-4427-b8a9-8c74e4897111' {
		load_video
		set gfxpayload=keep
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  c4425021-9542-4ff6-888c-548c08b4a69c
		else
		  search --no-floppy --fs-uuid --set=root c4425021-9542-4ff6-888c-548c08b4a69c
		fi
		echo	'Loading Linux 3.2.0-4-amd64 ...'
		linux	/vmlinuz-3.2.0-4-amd64 root=/dev/mapper/vg_alice0-root ro single 
		echo	'Loading initial ramdisk ...'
		initrd	/initrd.img-3.2.0-4-amd64
	}
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###

### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
	insmod part_gpt
	insmod ext2
	set root='hd0,gpt2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  c4425021-9542-4ff6-888c-548c08b4a69c
	else
	  search --no-floppy --fs-uuid --set=root c4425021-9542-4ff6-888c-548c08b4a69c
	fi
	linux16	/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
	insmod part_gpt
	insmod ext2
	set root='hd0,gpt2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  c4425021-9542-4ff6-888c-548c08b4a69c
	else
	  search --no-floppy --fs-uuid --set=root c4425021-9542-4ff6-888c-548c08b4a69c
	fi
	linux16	/memtest86+.bin console=ttyS0,115200n8
}
menuentry "Memory test (memtest86+, experimental multiboot)" {
	insmod part_gpt
	insmod ext2
	set root='hd0,gpt2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  c4425021-9542-4ff6-888c-548c08b4a69c
	else
	  search --no-floppy --fs-uuid --set=root c4425021-9542-4ff6-888c-548c08b4a69c
	fi
	multiboot	/memtest86+_multiboot.bin
}
menuentry "Memory test (memtest86+, serial console 115200, experimental multiboot)" {
	insmod part_gpt
	insmod ext2
	set root='hd0,gpt2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  c4425021-9542-4ff6-888c-548c08b4a69c
	else
	  search --no-floppy --fs-uuid --set=root c4425021-9542-4ff6-888c-548c08b4a69c
	fi
	multiboot	/memtest86+_multiboot.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
*********************** END /boot/grub/grub.cfg

*********************** BEGIN /proc/mdstat
cat: /proc/mdstat: No such file or directory
*********************** END /proc/mdstat

*********************** BEGIN /dev/disk/by-id
total 0
lrwxrwxrwx 1 root root  9 Dec  5 22:09 ata-HITACHI_HTS723232A7A364_E3834563KWPL9N -> ../../sda
lrwxrwxrwx 1 root root 10 Dec  5 22:09 ata-HITACHI_HTS723232A7A364_E3834563KWPL9N-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Dec  5 22:09 ata-HITACHI_HTS723232A7A364_E3834563KWPL9N-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Dec  5 22:09 ata-HITACHI_HTS723232A7A364_E3834563KWPL9N-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Dec  5 22:09 dm-name-sda3_crypt -> ../../dm-0
lrwxrwxrwx 1 root root 10 Dec  5 22:09 dm-name-vg_alice0-home -> ../../dm-3
lrwxrwxrwx 1 root root 10 Dec  5 22:09 dm-name-vg_alice0-root -> ../../dm-1
lrwxrwxrwx 1 root root 10 Dec  5 22:09 dm-name-vg_alice0-var -> ../../dm-2
lrwxrwxrwx 1 root root 10 Dec  5 22:09 dm-uuid-CRYPT-LUKS1-3eb8b454af034a3ba1679fcc7586d8de-sda3_crypt -> ../../dm-0
lrwxrwxrwx 1 root root 10 Dec  5 22:09 dm-uuid-LVM-njilTmcCyjGV0qwMqc7Xa5TtRNZyRmqe8TrB6tdtyaEhH5aCvXMKewvi62Bl4WQS -> ../../dm-1
lrwxrwxrwx 1 root root 10 Dec  5 22:09 dm-uuid-LVM-njilTmcCyjGV0qwMqc7Xa5TtRNZyRmqeVhL4iWM9a24UpyPnFHF8iXBFquTO5xcN -> ../../dm-2
lrwxrwxrwx 1 root root 10 Dec  5 22:09 dm-uuid-LVM-njilTmcCyjGV0qwMqc7Xa5TtRNZyRmqecrIOFmF3FeYsW7Cq9eYyxNLnq0OMLjhA -> ../../dm-3
lrwxrwxrwx 1 root root  9 Dec  5 22:09 scsi-SATA_HITACHI_HTS7232_E3834563KWPL9N -> ../../sda
lrwxrwxrwx 1 root root 10 Dec  5 22:09 scsi-SATA_HITACHI_HTS7232_E3834563KWPL9N-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Dec  5 22:09 scsi-SATA_HITACHI_HTS7232_E3834563KWPL9N-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Dec  5 22:09 scsi-SATA_HITACHI_HTS7232_E3834563KWPL9N-part3 -> ../../sda3
lrwxrwxrwx 1 root root  9 Dec  5 22:09 wwn-0x5000cca61df6dd94 -> ../../sda
lrwxrwxrwx 1 root root 10 Dec  5 22:09 wwn-0x5000cca61df6dd94-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Dec  5 22:09 wwn-0x5000cca61df6dd94-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Dec  5 22:09 wwn-0x5000cca61df6dd94-part3 -> ../../sda3
*********************** END /dev/disk/by-id

*********************** BEGIN /dev/disk/by-uuid
total 0
lrwxrwxrwx 1 root root 10 Dec  5 22:09 2AA5-6F44 -> ../../sda1
lrwxrwxrwx 1 root root 10 Dec  5 22:09 3eb8b454-af03-4a3b-a167-9fcc7586d8de -> ../../sda3
lrwxrwxrwx 1 root root 10 Dec  5 22:09 5b7c89b1-cf26-4427-b8a9-8c74e4897111 -> ../../dm-1
lrwxrwxrwx 1 root root 10 Dec  5 22:09 8ca61cc9-2b1d-4c40-b497-ff81f09f730f -> ../../dm-2
lrwxrwxrwx 1 root root 10 Dec  5 22:09 bf72fcfb-aaad-49f4-a747-6cecb366c308 -> ../../dm-3
lrwxrwxrwx 1 root root 10 Dec  5 22:09 c4425021-9542-4ff6-888c-548c08b4a69c -> ../../sda2
*********************** END /dev/disk/by-uuid

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages grub-efi-amd64 depends on:
ii  debconf [debconf-2.0]  1.5.46
ii  grub-common            2.00-7
ii  grub-efi-amd64-bin     2.00-7
ii  grub2-common           2.00-7
ii  ucf                    3.0025+nmu3

grub-efi-amd64 recommends no packages.

grub-efi-amd64 suggests no packages.

-- debconf information:
  grub2/kfreebsd_cmdline:
  grub2/device_map_regenerated:
* grub2/linux_cmdline:
  grub2/kfreebsd_cmdline_default: quiet
* grub2/linux_cmdline_default: quiet



More information about the Pkg-grub-devel mailing list