#575624 grub-pc: framebuffer vesafb broken with gfxpayload=keep

Package:
grub-pc
Source:
grub2
Description:
GRand Unified Bootloader, version 2 (PC/BIOS version)
Submitter:
dr4Ke
Date:
2014-10-18 21:09:14 UTC
Severity:
normal
#575624#5
Date:
2010-03-27 18:57:52 UTC
From:
To:
A fresh network installation of debian squeeze in a VirtualBox virtual machine.
/etc/default/grub modified with :
GRUB_GFXMODE=800x600
GRUB_GFXPAYLOAD_LINUX=keep

The boot process is fine until gdm is starting. It brakes the console framebuffer 1-6.

This issue is new, introduced by 1.98-1 version of grub-pc. I didn't have this issue on previous installations running version 1.98~20100115-1.

#575624#10
Date:
2010-04-02 21:08:29 UTC
From:
To:
dr4Ke wrote:
In your kernel config you need to have:
CONFIG_FB_EFI=y
and
CONFIG_VT_HW_CONSOLE_BINDING=y

#575624#15
Date:
2010-04-06 08:24:30 UTC
From:
To:
2010/4/2 Vladimir 'φ-coder/phcoder' Serbinenko <phcoder@gmail.com>:

Hi Vladimir,
Thanks for replying,

I'm using the latest linux debian packaged linux kernel (2.6.32-3) and
it has these two configs enabled.

Maybe there's a problem with the nvidia driver. But, like I said, it
worked with the previous grub2 package.

Regards,

#575624#20
Date:
2010-04-10 11:05:16 UTC
From:
To:
Same issue,

NVidia G220.

Broken from last running version. Config has not changed. Black screen until
GDM startsup.

During grub loading, a fast message appears in the screen as if does not
recognize "terminal" and "gfxterm". Grub menu appears in correct resolution,
but after that black screen. Happening on 2.6.32 and 2.6.33. On 2.6.32.8 was
working until about (havent reboot for quite some time) month maybe...

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/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 [ ${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
}
if terminal_input gfxterm ; then true ; else
  # For backward compatibility with versions of terminal.mod that don't
  # understand terminal_input
  terminal gfxterm
fi
insmod raid
insmod mdraid
insmod ext2
set root='(md0)'
search --no-floppy --fs-uuid --set 11129cd9-afb7-4447-b8e5-c8584f819902
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=1024x768
  insmod gfxterm
  insmod vbe
  if terminal_output gfxterm ; then true ; else
    # For backward compatibility with versions of terminal.mod that don't
    # understand terminal_output
    terminal gfxterm
  fi
fi
insmod raid
insmod mdraid
insmod ext2
set root='(md0)'
search --no-floppy --fs-uuid --set 11129cd9-afb7-4447-b8e5-c8584f819902
set locale_dir=($root)/boot/grub/locale
set lang=en
insmod gettext
set timeout=5
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry "Debian GNU/Linux, with Linux 2.6.33.2" --class debian --class
gnu-linux --class gnu --class os {
    set gfxpayload=keep
    insmod raid
    insmod mdraid
    insmod ext2
    set root='(md0)'
    search --no-floppy --fs-uuid --set 11129cd9-afb7-4447-b8e5-c8584f819902
    echo    Loading Linux 2.6.33.2 ...
    linux    /boot/vmlinuz-2.6.33.2
root=UUID=11129cd9-afb7-4447-b8e5-c8584f819902 ro nosplash quiet
    echo    Loading initial ramdisk ...
    initrd    /boot/initrd.img-2.6.33.2
}
menuentry "Debian GNU/Linux, with Linux 2.6.33.2 (recovery mode)" --class
debian --class gnu-linux --class gnu --class os {
    set gfxpayload=keep
    insmod raid
    insmod mdraid
    insmod ext2
    set root='(md0)'
    search --no-floppy --fs-uuid --set 11129cd9-afb7-4447-b8e5-c8584f819902
    echo    Loading Linux 2.6.33.2 ...
    linux    /boot/vmlinuz-2.6.33.2
root=UUID=11129cd9-afb7-4447-b8e5-c8584f819902 ro single nosplash
    echo    Loading initial ramdisk ...
    initrd    /boot/initrd.img-2.6.33.2
}
menuentry "Debian GNU/Linux, with Linux 2.6.32.8" --class debian --class
gnu-linux --class gnu --class os {
    set gfxpayload=keep
    insmod raid
    insmod mdraid
    insmod ext2
    set root='(md0)'
    search --no-floppy --fs-uuid --set 11129cd9-afb7-4447-b8e5-c8584f819902
    echo    Loading Linux 2.6.32.8 ...
    linux    /boot/vmlinuz-2.6.32.8
root=UUID=11129cd9-afb7-4447-b8e5-c8584f819902 ro nosplash quiet
    echo    Loading initial ramdisk ...
    initrd    /boot/initrd.img-2.6.32.8
}
menuentry "Debian GNU/Linux, with Linux 2.6.32.8 (recovery mode)" --class
debian --class gnu-linux --class gnu --class os {
    set gfxpayload=keep
    insmod raid
    insmod mdraid
    insmod ext2
    set root='(md0)'
    search --no-floppy --fs-uuid --set 11129cd9-afb7-4447-b8e5-c8584f819902
    echo    Loading Linux 2.6.32.8 ...
    linux    /boot/vmlinuz-2.6.32.8
root=UUID=11129cd9-afb7-4447-b8e5-c8584f819902 ro single nosplash
    echo    Loading initial ramdisk ...
    initrd    /boot/initrd.img-2.6.32.8
}
menuentry "Debian GNU/Linux, with Linux 2.6.32-3-amd64" --class debian
--class gnu-linux --class gnu --class os {
    set gfxpayload=keep
    insmod raid
    insmod mdraid
    insmod ext2
    set root='(md0)'
    search --no-floppy --fs-uuid --set 11129cd9-afb7-4447-b8e5-c8584f819902
    echo    Loading Linux 2.6.32-3-amd64 ...
    linux    /boot/vmlinuz-2.6.32-3-amd64
root=UUID=11129cd9-afb7-4447-b8e5-c8584f819902 ro nosplash quiet
    echo    Loading initial ramdisk ...
    initrd    /boot/initrd.img-2.6.32-3-amd64
}
menuentry "Debian GNU/Linux, with Linux 2.6.32-3-amd64 (recovery mode)"
--class debian --class gnu-linux --class gnu --class os {
    set gfxpayload=keep
    insmod raid
    insmod mdraid
    insmod ext2
    set root='(md0)'
    search --no-floppy --fs-uuid --set 11129cd9-afb7-4447-b8e5-c8584f819902
    echo    Loading Linux 2.6.32-3-amd64 ...
    linux    /boot/vmlinuz-2.6.32-3-amd64
root=UUID=11129cd9-afb7-4447-b8e5-c8584f819902 ro single nosplash
    echo    Loading initial ramdisk ...
    initrd    /boot/initrd.img-2.6.32-3-amd64
}
menuentry "Debian GNU/Linux, with Linux 2.6.30-2-amd64" --class debian
--class gnu-linux --class gnu --class os {
    set gfxpayload=keep
    insmod raid
    insmod mdraid
    insmod ext2
    set root='(md0)'
    search --no-floppy --fs-uuid --set 11129cd9-afb7-4447-b8e5-c8584f819902
    echo    Loading Linux 2.6.30-2-amd64 ...
    linux    /boot/vmlinuz-2.6.30-2-amd64
root=UUID=11129cd9-afb7-4447-b8e5-c8584f819902 ro nosplash quiet
    echo    Loading initial ramdisk ...
    initrd    /boot/initrd.img-2.6.30-2-amd64
}
menuentry "Debian GNU/Linux, with Linux 2.6.30-2-amd64 (recovery mode)"
--class debian --class gnu-linux --class gnu --class os {
    set gfxpayload=keep
    insmod raid
    insmod mdraid
    insmod ext2
    set root='(md0)'
    search --no-floppy --fs-uuid --set 11129cd9-afb7-4447-b8e5-c8584f819902
    echo    Loading Linux 2.6.30-2-amd64 ...
    linux    /boot/vmlinuz-2.6.30-2-amd64
root=UUID=11129cd9-afb7-4447-b8e5-c8584f819902 ro single nosplash
    echo    Loading initial ramdisk ...
    initrd    /boot/initrd.img-2.6.30-2-amd64
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
    insmod raid
    insmod mdraid
    insmod ext2
    set root='(md0)'
    search --no-floppy --fs-uuid --set 11129cd9-afb7-4447-b8e5-c8584f819902
    multiboot    /boot/memtest86+_multiboot.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
    insmod raid
    insmod mdraid
    insmod ext2
    set root='(md0)'
    search --no-floppy --fs-uuid --set 11129cd9-afb7-4447-b8e5-c8584f819902
    multiboot    /boot/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 ###

#575624#25
Date:
2011-02-10 12:58:59 UTC
From:
To:
Hi,

If this is the same issue I'm experiencing then I found an interesting workaround:

At the grub menu press 'e' (like edit entry) and then press ESC and boot your usual entry (or just press Ctrl+x).

This keeps the console usable, reproducible on two different laptops, both with nVidia chipsets and the nvidia proprietary driver..

Hope this helps fix this bug.

Regards,
Andrei

#575624#30
Date:
2011-04-03 21:04:00 UTC
From:
To:
tag 574927 fixed-upstream
thanks

The problem was with incorrect aperture value We've reverted to old
behaviour upstream unles gfxpayloadforcelfb=y is given.

#575624#35
Date:
2011-04-03 21:05:34 UTC
From:
To:
tag 575624 fixed-upstream

thanks

#575624#40
Date:
2011-04-03 21:04:00 UTC
From:
To:
tag 574927 fixed-upstream
thanks

The problem was with incorrect aperture value We've reverted to old
behaviour upstream unles gfxpayloadforcelfb=y is given.