Debian Bug report logs - #567245
gfxpayload=keep broken

version graph

Package: grub-pc; Maintainer for grub-pc is GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>; Source for grub-pc is src:grub2 (PTS, buildd, popcon).

Reported by: Harald Dunkel <harald.dunkel@t-online.de>

Date: Thu, 28 Jan 2010 05:39:01 UTC

Severity: grave

Tags: patch

Found in version grub2/1.98~20100126-1

Fixed in version grub2/1.98~20100128-1.2

Done: Julien Cristau <jcristau@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>:
Bug#567245; Package grub-pc. (Thu, 28 Jan 2010 05:39:04 GMT) (full text, mbox, link).


Acknowledgement sent to Harald Dunkel <harald.dunkel@t-online.de>:
New Bug report received and forwarded. Copy sent to GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>. (Thu, 28 Jan 2010 05:39:05 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Harald Dunkel <harald.dunkel@t-online.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: gfxpayload=keep broken
Date: Thu, 28 Jan 2010 06:34:57 +0100
[Message part 1 (text/plain, inline)]
Package: grub-pc
Version: 1.98~20100126-1

Since the most recent update the usual "set gfxpayload=keep" does not
work anymore. After the boot time message "loading ramdisk" there is
no further screen output on the console. The PC boots, though.

Moving back to the previous grub version seems to fix the problem.
If I comment out the "gfxpayload=keep", then it works, too.

Attached you can find the generated grub.cfg.


Regards

Harri
[grub.cfg (text/plain, attachment)]
[signature.asc (application/pgp-signature, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>:
Bug#567245; Package grub-pc. (Thu, 28 Jan 2010 13:18:09 GMT) (full text, mbox, link).


Acknowledgement sent to hybris <hybris0@gmail.com>:
Extra info received and forwarded to list. Copy sent to GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>. (Thu, 28 Jan 2010 13:18:09 GMT) (full text, mbox, link).


Message #10 received at 567245@bugs.debian.org (full text, mbox, reply):

From: hybris <hybris0@gmail.com>
To: Debian Bug Tracking System <567245@bugs.debian.org>
Subject: grub-pc: gfxpayload=keep renders system unbootable
Date: Thu, 28 Jan 2010 14:15:41 +0100
Package: grub-pc
Version: 1.98~20100126-1
Severity: normal


I updated from 1.98~20091222-1 and now the boot process hangs after writing on the display:
Loading initial ramdisk ...

i tried to wait a bit too see if the boot process continues silently behind that point but it is not the case (also no disk activity is a clue of the fact that booting is not happening)

Removing:
set gfxpayload=keep
solves the problem.

It can be done directly editing the grub menu at boot if you have a PS/2 keyboard. The USB keyboard does not work.
Since i have an USB keyboard i think i'm going to edit the /etc/grub.d/10_linux script to avoid that directive to be added every time the grub.cfg is generated.
Unless there is a better solution of course.

-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/disk/by-uuid/3f18f94a-9374-4a46-9cc6-08b45836700d / ext3 rw,relatime,errors=remount-ro,data=ordered 0 0
/dev/hdb7 /shared vfat rw,relatime,uid=1000,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=utf8,shortname=mixed,errors=remount-ro 0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/device.map
(hd0)	/dev/hdb
*********************** END /boot/grub/device.map

*********************** BEGIN /boot/grub/grub.cfg
#
# 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
}
insmod ext2
set root=(hd0,5)
search --no-floppy --fs-uuid --set 3f18f94a-9374-4a46-9cc6-08b45836700d
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=640x480
  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 ext2
set root=(hd0,5)
search --no-floppy --fs-uuid --set 3f18f94a-9374-4a46-9cc6-08b45836700d
set locale_dir=($root)/boot/grub/locale
set lang=it
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, con Linux 2.6.32-trunk-686" {
	set gfxpayload=keep
	insmod ext2
	set root=(hd0,5)
	search --no-floppy --fs-uuid --set 3f18f94a-9374-4a46-9cc6-08b45836700d
	echo	Loading Linux 2.6.32-trunk-686 ...
	linux	/boot/vmlinuz-2.6.32-trunk-686 root=UUID=3f18f94a-9374-4a46-9cc6-08b45836700d ro  quiet
	echo	Loading initial ramdisk ...
	initrd	/boot/initrd.img-2.6.32-trunk-686
}
menuentry "Debian GNU/Linux, con Linux 2.6.32-trunk-686 (modalit?ipristino)" {
	set gfxpayload=keep
	insmod ext2
	set root=(hd0,5)
	search --no-floppy --fs-uuid --set 3f18f94a-9374-4a46-9cc6-08b45836700d
	echo	Loading Linux 2.6.32-trunk-686 ...
	linux	/boot/vmlinuz-2.6.32-trunk-686 root=UUID=3f18f94a-9374-4a46-9cc6-08b45836700d ro single 
	echo	Loading initial ramdisk ...
	initrd	/boot/initrd.img-2.6.32-trunk-686
}
menuentry "Debian GNU/Linux, con Linux 2.6.31-1-686" {
	set gfxpayload=keep
	insmod ext2
	set root=(hd0,5)
	search --no-floppy --fs-uuid --set 3f18f94a-9374-4a46-9cc6-08b45836700d
	echo	Loading Linux 2.6.31-1-686 ...
	linux	/boot/vmlinuz-2.6.31-1-686 root=UUID=3f18f94a-9374-4a46-9cc6-08b45836700d ro  quiet
	echo	Loading initial ramdisk ...
	initrd	/boot/initrd.img-2.6.31-1-686
}
menuentry "Debian GNU/Linux, con Linux 2.6.31-1-686 (modalit?ipristino)" {
	set gfxpayload=keep
	insmod ext2
	set root=(hd0,5)
	search --no-floppy --fs-uuid --set 3f18f94a-9374-4a46-9cc6-08b45836700d
	echo	Loading Linux 2.6.31-1-686 ...
	linux	/boot/vmlinuz-2.6.31-1-686 root=UUID=3f18f94a-9374-4a46-9cc6-08b45836700d ro single 
	echo	Loading initial ramdisk ...
	initrd	/boot/initrd.img-2.6.31-1-686
}
menuentry "Debian GNU/Linux, con Linux 2.6.30-2-686" {
	set gfxpayload=keep
	insmod ext2
	set root=(hd0,5)
	search --no-floppy --fs-uuid --set 3f18f94a-9374-4a46-9cc6-08b45836700d
	echo	Loading Linux 2.6.30-2-686 ...
	linux	/boot/vmlinuz-2.6.30-2-686 root=UUID=3f18f94a-9374-4a46-9cc6-08b45836700d ro  quiet
	echo	Loading initial ramdisk ...
	initrd	/boot/initrd.img-2.6.30-2-686
}
menuentry "Debian GNU/Linux, con Linux 2.6.30-2-686 (modalit?ipristino)" {
	set gfxpayload=keep
	insmod ext2
	set root=(hd0,5)
	search --no-floppy --fs-uuid --set 3f18f94a-9374-4a46-9cc6-08b45836700d
	echo	Loading Linux 2.6.30-2-686 ...
	linux	/boot/vmlinuz-2.6.30-2-686 root=UUID=3f18f94a-9374-4a46-9cc6-08b45836700d ro single 
	echo	Loading initial ramdisk ...
	initrd	/boot/initrd.img-2.6.30-2-686
}
menuentry "Debian GNU/Linux, con Linux 2.6.30-1-686" {
	set gfxpayload=keep
	insmod ext2
	set root=(hd0,5)
	search --no-floppy --fs-uuid --set 3f18f94a-9374-4a46-9cc6-08b45836700d
	echo	Loading Linux 2.6.30-1-686 ...
	linux	/boot/vmlinuz-2.6.30-1-686 root=UUID=3f18f94a-9374-4a46-9cc6-08b45836700d ro  quiet
	echo	Loading initial ramdisk ...
	initrd	/boot/initrd.img-2.6.30-1-686
}
menuentry "Debian GNU/Linux, con Linux 2.6.30-1-686 (modalit?ipristino)" {
	set gfxpayload=keep
	insmod ext2
	set root=(hd0,5)
	search --no-floppy --fs-uuid --set 3f18f94a-9374-4a46-9cc6-08b45836700d
	echo	Loading Linux 2.6.30-1-686 ...
	linux	/boot/vmlinuz-2.6.30-1-686 root=UUID=3f18f94a-9374-4a46-9cc6-08b45836700d ro single 
	echo	Loading initial ramdisk ...
	initrd	/boot/initrd.img-2.6.30-1-686
}
### END /etc/grub.d/10_linux ###

### 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 ###
*********************** END /boot/grub/grub.cfg

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-trunk-686 (SMP w/2 CPU cores)
Locale: LANG=it_IT@euro, LC_CTYPE=it_IT@euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/dash

Versions of packages grub-pc depends on:
ii  debconf [debconf-2.0]    1.5.28          Debian configuration management sy
ii  grub-common              1.98~20100126-1 GRand Unified Bootloader, version 
ii  libc6                    2.10.2-5        Embedded GNU C Library: Shared lib
ii  ucf                      3.0025          Update Configuration File: preserv

grub-pc recommends no packages.

Versions of packages grub-pc suggests:
pn  desktop-base                  <none>     (no description available)

-- debconf information:
  grub2/kfreebsd_cmdline:
* grub2/linux_cmdline:
* grub-pc/chainload_from_menu.lst: true
  grub-pc/kopt_extracted: false
* grub-pc/install_devices: /dev/hdb
  grub-pc/postrm_purge_boot_grub: false
  grub2/kfreebsd_cmdline_default: quiet
* grub2/linux_cmdline_default: quiet




Reply sent to Robert Millan <rmh@aybabtu.com>:
You have taken responsibility. (Thu, 28 Jan 2010 14:24:07 GMT) (full text, mbox, link).


Notification sent to Harald Dunkel <harald.dunkel@t-online.de>:
Bug acknowledged by developer. (Thu, 28 Jan 2010 14:24:07 GMT) (full text, mbox, link).


Message #15 received at 567245-done@bugs.debian.org (full text, mbox, reply):

From: Robert Millan <rmh@aybabtu.com>
To: Harald Dunkel <harald.dunkel@t-online.de>, 567245-done@bugs.debian.org
Subject: Re: Bug#567245: gfxpayload=keep broken
Date: Thu, 28 Jan 2010 15:21:25 +0100
On Thu, Jan 28, 2010 at 06:34:57AM +0100, Harald Dunkel wrote:
> Package: grub-pc
> Version: 1.98~20100126-1
> 
> Since the most recent update the usual "set gfxpayload=keep" does not
> work anymore. After the boot time message "loading ramdisk" there is
> no further screen output on the console. The PC boots, though.
> 
> Moving back to the previous grub version seems to fix the problem.
> If I comment out the "gfxpayload=keep", then it works, too.

Customized Linux builds don't necessarily work with gfxpayload=keep.  If you
want this feature, use the stock Linux provided by Debian packages.

-- 
Robert Millan

  "Be the change you want to see in the world" -- Gandhi




Message #16 received at 567245-done@bugs.debian.org (full text, mbox, reply):

From: Harald Dunkel <harald.dunkel@t-online.de>
To: Robert Millan <rmh@aybabtu.com>
Cc: 567245-done@bugs.debian.org
Subject: Re: Bug#567245: gfxpayload=keep broken
Date: Thu, 28 Jan 2010 21:50:14 +0100
[Message part 1 (text/plain, inline)]
On 01/28/10 15:21, Robert Millan wrote:
> 
> Customized Linux builds don't necessarily work with gfxpayload=keep.  If you
> want this feature, use the stock Linux provided by Debian packages.
> 

You mean The kernel whose sources I grabbed from kernel.org und which
has been built using (almost) the same configuration I have for years
became incompatible to Debian due to an upgrade of grub2?

Come on.


Harri

[signature.asc (application/pgp-signature, attachment)]

Message #17 received at 567245-done@bugs.debian.org (full text, mbox, reply):

From: Robert Millan <rmh@aybabtu.com>
To: Harald Dunkel <harald.dunkel@t-online.de>
Cc: 567245-done@bugs.debian.org
Subject: Re: Bug#567245: gfxpayload=keep broken
Date: Thu, 28 Jan 2010 23:43:36 +0100
On Thu, Jan 28, 2010 at 09:50:14PM +0100, Harald Dunkel wrote:
> On 01/28/10 15:21, Robert Millan wrote:
> > 
> > Customized Linux builds don't necessarily work with gfxpayload=keep.  If you
> > want this feature, use the stock Linux provided by Debian packages.
> > 
> 
> You mean The kernel whose sources I grabbed from kernel.org und which
> has been built using (almost) the same configuration I have for years
> became incompatible to Debian due to an upgrade of grub2?

No, just with gfxpayload=keep option.  You need at least CONFIG_FB_EFI if
you want GRUB to transfer control to Linux in video mode.

-- 
Robert Millan

  "Be the change you want to see in the world" -- Gandhi




Information forwarded to debian-bugs-dist@lists.debian.org, GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>:
Bug#567245; Package grub-pc. (Sun, 31 Jan 2010 12:03:05 GMT) (full text, mbox, link).


Acknowledgement sent to Jérémy Lal <jerry@edagames.com>:
Extra info received and forwarded to list. Copy sent to GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>. (Sun, 31 Jan 2010 12:03:05 GMT) (full text, mbox, link).


Message #22 received at 567245@bugs.debian.org (full text, mbox, reply):

From: Jérémy Lal <jerry@edagames.com>
To: 567245@bugs.debian.org
Subject: gfxpayload black screen with modeset
Date: Sun, 31 Jan 2010 12:59:58 +0100
[Message part 1 (text/plain, inline)]
Hi,
using (the debian) kernel 2.6.32-5 (with CONFIG_FB_EFI=y)
i also get a black screen just after "loading ramdisk".
It happens when both
	video=i915:modeset=1
	gfxpayload=keep
are set.
Of course i have an intel gpu.

- kms is enabled and works when i comment out gfxpayload=keep.
- no black screen when i remove video=i915:modeset=1 parameter.

Regards,
Jérémy Lal

[signature.asc (application/pgp-signature, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>:
Bug#567245; Package grub-pc. (Fri, 05 Feb 2010 02:21:02 GMT) (full text, mbox, link).


Acknowledgement sent to Julien Cristau <jcristau@debian.org>:
Extra info received and forwarded to list. Copy sent to GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>. (Fri, 05 Feb 2010 02:21:02 GMT) (full text, mbox, link).


Message #27 received at 567245@bugs.debian.org (full text, mbox, reply):

From: Julien Cristau <jcristau@debian.org>
To: Jérémy Lal <jerry@edagames.com>, 567245@bugs.debian.org
Cc: control@bugs.debian.org
Subject: Re: Bug#567245: gfxpayload black screen with modeset
Date: Fri, 5 Feb 2010 03:17:42 +0100
[Message part 1 (text/plain, inline)]
reopen 567245
severity 567245 grave
kthxbye

On Sun, Jan 31, 2010 at 12:59:58 +0100, Jérémy Lal wrote:

> Hi,
> using (the debian) kernel 2.6.32-5 (with CONFIG_FB_EFI=y)
> i also get a black screen just after "loading ramdisk".
> It happens when both
> 	video=i915:modeset=1
> 	gfxpayload=keep
> are set.
> Of course i have an intel gpu.
> 
> - kms is enabled and works when i comment out gfxpayload=keep.
> - no black screen when i remove video=i915:modeset=1 parameter.
> 
Similar here, afaict.  Latest grub update enabled efifb which gives me a
black screen instead of a console.  If I type my cryptsetup passphrase
blind, the boot continues, but the fb handover to i915 seems to fail, so
even after i915 gets loaded I still don't have consoles.  I can provide
dmesg if necessary, but this change needs reverting.

Cheers,
Julien
[signature.asc (application/pgp-signature, inline)]

Did not alter fixed versions and reopened. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Fri, 05 Feb 2010 02:21:04 GMT) (full text, mbox, link).


Severity set to 'grave' from 'normal' Request was from Julien Cristau <jcristau@debian.org> to control@bugs.debian.org. (Fri, 05 Feb 2010 02:21:05 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>:
Bug#567245; Package grub-pc. (Sat, 06 Feb 2010 14:57:04 GMT) (full text, mbox, link).


Acknowledgement sent to Sven Arvidsson <sa@whiz.se>:
Extra info received and forwarded to list. Copy sent to GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>. (Sat, 06 Feb 2010 14:57:04 GMT) (full text, mbox, link).


Message #36 received at 567245@bugs.debian.org (full text, mbox, reply):

From: Sven Arvidsson <sa@whiz.se>
To: Julien Cristau <jcristau@debian.org>, Jérémy Lal <jerry@edagames.com>
Cc: 567245@bugs.debian.org
Subject: Re: Bug#567245: gfxpayload black screen with modeset
Date: Sat, 06 Feb 2010 15:54:09 +0100
[Message part 1 (text/plain, inline)]
On Fri, 2010-02-05 at 03:17 +0100, Julien Cristau wrote:
> > using (the debian) kernel 2.6.32-5 (with CONFIG_FB_EFI=y)
> > i also get a black screen just after "loading ramdisk".
> > It happens when both
> > 	video=i915:modeset=1
> > 	gfxpayload=keep
> > are set.
> > Of course i have an intel gpu.
> > 
> > - kms is enabled and works when i comment out gfxpayload=keep.
> > - no black screen when i remove video=i915:modeset=1 parameter.
> > 
> Similar here, afaict.  Latest grub update enabled efifb which gives me a
> black screen instead of a console.  If I type my cryptsetup passphrase
> blind, the boot continues, but the fb handover to i915 seems to fail, so
> even after i915 gets loaded I still don't have consoles.  I can provide
> dmesg if necessary, but this change needs reverting.

This is the same problem I reported in bug #567393, grub is broken in
both unstable and experimental with Intel KMS. 

I guess these bug reports can be merged.

-- 
Cheers,
Sven Arvidsson
http://www.whiz.se
PGP Key ID 760BDD22

[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>:
Bug#567245; Package grub-pc. (Wed, 10 Feb 2010 19:54:07 GMT) (full text, mbox, link).


Acknowledgement sent to Vladimir 'φ-coder/phcoder' Serbinenko <phcoder@gmail.com>:
Extra info received and forwarded to list. Copy sent to GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>. (Wed, 10 Feb 2010 19:54:07 GMT) (full text, mbox, link).


Message #41 received at 567245@bugs.debian.org (full text, mbox, reply):

From: Vladimir 'φ-coder/phcoder' Serbinenko <phcoder@gmail.com>
To: 568001@bugs.debian.org
Cc: 567245@bugs.debian.org, 567239@bugs.debian.org, 567393@bugs.debian.org, 567456@bugs.debian.org, 567589@bugs.debian.org, 567835@bugs.debian.org
Subject: GRUB2 and KMS
Date: Wed, 10 Feb 2010 20:53:11 +0100
[Message part 1 (text/plain, inline)]
I respond in the same time to all bugs probably related to KMS.
Previously grub2 defaulted to start linux in text mode unless VESA
graphics mode was explicitly requested. Recently we changed to
defaulting to generic framebuffer when its support is enabled in linux.
I found 3 problems:
1) At least some KMS modules expect graphics card to be in text mode. It
would be kernel-side problem since on some firmware types this mode
isn't easily or sometimes isn't at all available. On the other hand it's
useful to be able to tell grub2 to start in text mode even if generic
framebuffer is supported by kernel. I added this ability to mainstream
grub. To use it add:
GRUB_GFXPAYLOAD_LINUX=text
to /etc/default/grub
2) generic framebuffer expects size in bytes and not 64KiB blocks. I
fixed it in mainstream
3) intelfb expects handover only from vesa. Attached patch to linux may
help.

None of 3 changes I mentioned is packaged in debian yet.

-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko

[intelgenfb.diff (text/x-diff, inline)]
diff --git a/drivers/video/intelfb/intelfbdrv.c b/drivers/video/intelfb/intelfbdrv.c
index 5ba3999..de6fda1 100644
--- a/drivers/video/intelfb/intelfbdrv.c
+++ b/drivers/video/intelfb/intelfbdrv.c
@@ -819,7 +819,8 @@ static int __devinit intelfb_pci_register(struct pci_dev *pdev,
 		bailout(dinfo);
 
 	if (FIXED_MODE(dinfo) &&
-	    screen_info.orig_video_isVGA != VIDEO_TYPE_VLFB) {
+	    screen_info.orig_video_isVGA != VIDEO_TYPE_VLFB
+	    && screen_info.orig_video_isVGA != VIDEO_TYPE_EFI) {
 		ERR_MSG("Video mode must be programmed at boot time.\n");
 		cleanup(dinfo);
 		return -ENODEV;
@@ -830,7 +831,8 @@ static int __devinit intelfb_pci_register(struct pci_dev *pdev,
 
 	/* Initialise dinfo and related data. */
 	/* If an initial mode was programmed at boot time, get its details. */
-	if (screen_info.orig_video_isVGA == VIDEO_TYPE_VLFB)
+	if (screen_info.orig_video_isVGA == VIDEO_TYPE_VLFB
+	    || screen_info.orig_video_isVGA == VIDEO_TYPE_EFI)
 		get_initial_mode(dinfo);
 
 	if (bailearly == 3)
@@ -978,7 +980,10 @@ static void __devinit get_initial_mode(struct intelfb_info *dinfo)
 
 	dinfo->initial_vga = 1;
 	dinfo->initial_fb_base = screen_info.lfb_base;
-	dinfo->initial_video_ram = screen_info.lfb_size * KB(64);
+
+	dinfo->initial_video_ram = screen_info.lfb_size;
+	if (screen_info.orig_video_isVGA == VIDEO_TYPE_VLFB)
+	  dinfo->initial_video_ram *= KB(64);
 	dinfo->initial_pitch = screen_info.lfb_linelength;
 
 	var = &dinfo->initial_var;
[signature.asc (application/pgp-signature, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>:
Bug#567245; Package grub-pc. (Wed, 10 Feb 2010 21:12:04 GMT) (full text, mbox, link).


Acknowledgement sent to Sven Arvidsson <sa@whiz.se>:
Extra info received and forwarded to list. Copy sent to GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>. (Wed, 10 Feb 2010 21:12:04 GMT) (full text, mbox, link).


Message #46 received at 567245@bugs.debian.org (full text, mbox, reply):

From: Sven Arvidsson <sa@whiz.se>
To: Vladimir 'φ-coder/phcoder' Serbinenko <phcoder@gmail.com>
Cc: 568001@bugs.debian.org, 567245@bugs.debian.org, 567239@bugs.debian.org, 567393@bugs.debian.org, 567456@bugs.debian.org, 567589@bugs.debian.org, 567835@bugs.debian.org
Subject: Re: GRUB2 and KMS
Date: Wed, 10 Feb 2010 22:09:03 +0100
[Message part 1 (text/plain, inline)]
On Wed, 2010-02-10 at 20:53 +0100, Vladimir 'φ-coder/phcoder' Serbinenko
wrote:
> 3) intelfb expects handover only from vesa. Attached patch to linux may
> help.
> 
> None of 3 changes I mentioned is packaged in debian yet.

Are you sure that's correct? I thought Intel KMS used it's own built-in
framebuffer from i915, intel_fb, instead of intelfb? 

(I haven't tried the patch yet myself)

-- 
Cheers,
Sven Arvidsson
http://www.whiz.se
PGP Key ID 760BDD22

[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>:
Bug#567245; Package grub-pc. (Sat, 13 Feb 2010 14:42:05 GMT) (full text, mbox, link).


Acknowledgement sent to Sven Arvidsson <sa@whiz.se>:
Extra info received and forwarded to list. Copy sent to GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>. (Sat, 13 Feb 2010 14:42:05 GMT) (full text, mbox, link).


Message #51 received at 567245@bugs.debian.org (full text, mbox, reply):

From: Sven Arvidsson <sa@whiz.se>
To: Julien Cristau <jcristau@debian.org>, jerry@edagames.com
Cc: 567245@bugs.debian.org
Subject: Re: Bug#567245: gfxpayload black screen with modeset
Date: Sat, 13 Feb 2010 15:39:25 +0100
[Message part 1 (text/plain, inline)]
This was fixed (or at least worked around) in the Ubuntu package some
time ago:

        grub2 (1.98~20100128-1ubuntu3) lucid; urgency=low
        
          * Stop forcing gfxpayload=keep when CONFIG_FB_EFI=y, which it always is on
            Ubuntu kernels; this apparently causes trouble with some KMS
            framebuffers.
         -- Colin Watson <email address hidden>   Thu, 04 Feb 2010 18:23:39 -0800


-- 
Cheers,
Sven Arvidsson
http://www.whiz.se
PGP Key ID 760BDD22

[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>:
Bug#567245; Package grub-pc. (Sun, 14 Feb 2010 20:03:02 GMT) (full text, mbox, link).


Acknowledgement sent to Julien Cristau <jcristau@debian.org>:
Extra info received and forwarded to list. Copy sent to GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>. (Sun, 14 Feb 2010 20:03:02 GMT) (full text, mbox, link).


Message #56 received at 567245@bugs.debian.org (full text, mbox, reply):

From: Julien Cristau <jcristau@debian.org>
To: 567245@bugs.debian.org
Subject: grub2: diff for NMU version 1.98~20100128-1.2
Date: Sun, 14 Feb 2010 20:59:11 +0100
[Message part 1 (text/plain, inline)]
tags 567245 + patch
thanks

Dear maintainer,

I've prepared an NMU for grub2 (versioned as 1.98~20100128-1.2) and
uploaded it to DELAYED/2. Please feel free to tell me if I
should delay it longer.

Cheers,
Julien
[grub2-1.98~20100128-1.2-nmu.diff (text/x-diff, attachment)]
[signature.asc (application/pgp-signature, inline)]

Added tag(s) patch. Request was from Julien Cristau <jcristau@debian.org> to control@bugs.debian.org. (Sun, 14 Feb 2010 20:03:06 GMT) (full text, mbox, link).


Reply sent to Julien Cristau <jcristau@debian.org>:
You have taken responsibility. (Tue, 16 Feb 2010 22:27:07 GMT) (full text, mbox, link).


Notification sent to Harald Dunkel <harald.dunkel@t-online.de>:
Bug acknowledged by developer. (Tue, 16 Feb 2010 22:27:07 GMT) (full text, mbox, link).


Message #63 received at 567245-close@bugs.debian.org (full text, mbox, reply):

From: Julien Cristau <jcristau@debian.org>
To: 567245-close@bugs.debian.org
Subject: Bug#567245: fixed in grub2 1.98~20100128-1.2
Date: Tue, 16 Feb 2010 22:07:25 +0000
Source: grub2
Source-Version: 1.98~20100128-1.2

We believe that the bug you reported is fixed in the latest version of
grub2, which is due to be installed in the Debian FTP archive:

grub-common_1.98~20100128-1.2_i386.deb
  to main/g/grub2/grub-common_1.98~20100128-1.2_i386.deb
grub-coreboot_1.98~20100128-1.2_i386.deb
  to main/g/grub2/grub-coreboot_1.98~20100128-1.2_i386.deb
grub-efi-amd64_1.98~20100128-1.2_i386.deb
  to main/g/grub2/grub-efi-amd64_1.98~20100128-1.2_i386.deb
grub-efi-ia32_1.98~20100128-1.2_i386.deb
  to main/g/grub2/grub-efi-ia32_1.98~20100128-1.2_i386.deb
grub-efi_1.98~20100128-1.2_i386.deb
  to main/g/grub2/grub-efi_1.98~20100128-1.2_i386.deb
grub-emu_1.98~20100128-1.2_i386.deb
  to main/g/grub2/grub-emu_1.98~20100128-1.2_i386.deb
grub-firmware-qemu_1.98~20100128-1.2_i386.deb
  to main/g/grub2/grub-firmware-qemu_1.98~20100128-1.2_i386.deb
grub-ieee1275_1.98~20100128-1.2_i386.deb
  to main/g/grub2/grub-ieee1275_1.98~20100128-1.2_i386.deb
grub-linuxbios_1.98~20100128-1.2_i386.deb
  to main/g/grub2/grub-linuxbios_1.98~20100128-1.2_i386.deb
grub-pc_1.98~20100128-1.2_i386.deb
  to main/g/grub2/grub-pc_1.98~20100128-1.2_i386.deb
grub-rescue-pc_1.98~20100128-1.2_i386.deb
  to main/g/grub2/grub-rescue-pc_1.98~20100128-1.2_i386.deb
grub2_1.98~20100128-1.2.diff.gz
  to main/g/grub2/grub2_1.98~20100128-1.2.diff.gz
grub2_1.98~20100128-1.2.dsc
  to main/g/grub2/grub2_1.98~20100128-1.2.dsc
grub2_1.98~20100128-1.2_i386.deb
  to main/g/grub2/grub2_1.98~20100128-1.2_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 567245@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Julien Cristau <jcristau@debian.org> (supplier of updated grub2 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 14 Feb 2010 20:37:51 +0100
Source: grub2
Binary: grub2 grub-linuxbios grub-efi grub-common grub-emu grub-pc grub-rescue-pc grub-coreboot grub-efi-ia32 grub-efi-amd64 grub-ieee1275 grub-firmware-qemu grub-yeeloong
Architecture: source i386
Version: 1.98~20100128-1.2
Distribution: unstable
Urgency: low
Maintainer: GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>
Changed-By: Julien Cristau <jcristau@debian.org>
Description: 
 grub-common - GRand Unified Bootloader, version 2 (common files)
 grub-coreboot - GRand Unified Bootloader, version 2 (Coreboot version)
 grub-efi   - GRand Unified Bootloader, version 2 (dummy package)
 grub-efi-amd64 - GRand Unified Bootloader, version 2 (EFI-AMD64 version)
 grub-efi-ia32 - GRand Unified Bootloader, version 2 (EFI-IA32 version)
 grub-emu   - GRand Unified Bootloader, version 2 (emulated version)
 grub-firmware-qemu - GRUB firmware image for QEMU
 grub-ieee1275 - GRand Unified Bootloader, version 2 (Open Firmware version)
 grub-linuxbios - GRand Unified Bootloader, version 2 (dummy package)
 grub-pc    - GRand Unified Bootloader, version 2 (PC/BIOS version)
 grub-rescue-pc - GRUB bootable rescue images, version 2 (PC/BIOS version)
 grub-yeeloong - GRand Unified Bootloader, version 2 (Yeeloong version)
 grub2      - GRand Unified Bootloader, version 2 (dummy package)
Closes: 567245
Changes: 
 grub2 (1.98~20100128-1.2) unstable; urgency=low
 .
   * Non-maintainer upload.
   * Stop setting gfxpayload=keep (closes: #567245).
Checksums-Sha1: 
 5f3a1a4e360f1b09bfa692f1c7fd8d618e14bf47 2461 grub2_1.98~20100128-1.2.dsc
 a0d6fe0e56fff3e59ccb8e28dd7e6190c6579b24 286667 grub2_1.98~20100128-1.2.diff.gz
 4a7a349c72eaa9467714ed36a05a37bfc9f77458 232550 grub2_1.98~20100128-1.2_i386.deb
 e19c7cd1b8700b83f77751f722b95b28fee6d58b 231362 grub-linuxbios_1.98~20100128-1.2_i386.deb
 0aae48950a2efd9aec98eae94d91375292749508 231368 grub-efi_1.98~20100128-1.2_i386.deb
 6006119772ee6b2b7bd857821138b149f6ea84d3 1517936 grub-common_1.98~20100128-1.2_i386.deb
 41296d7fa1b8959b76f1d8f9dbf1a78afd803901 709966 grub-emu_1.98~20100128-1.2_i386.deb
 955279b37387e6be242732d7b494455b057f52bc 805968 grub-pc_1.98~20100128-1.2_i386.deb
 5f390d69722866fe347ed31de56e0a3d89d5fd2a 232144 grub-rescue-pc_1.98~20100128-1.2_i386.deb
 aefa4230567acc499d10b4edeade60a9f0da6b7d 607908 grub-coreboot_1.98~20100128-1.2_i386.deb
 54b5ecfb6a1f09e6b5c31df61ac148b90d45dbdf 646338 grub-efi-ia32_1.98~20100128-1.2_i386.deb
 2f634ad76691dec67952267011e4ea91704ec1e5 705238 grub-efi-amd64_1.98~20100128-1.2_i386.deb
 1fcb75a5544835b344f083bb5d872cdceb38ca17 600932 grub-ieee1275_1.98~20100128-1.2_i386.deb
 4b1b8453651290c5a5cfb8a1b148842f0ed3a128 578116 grub-firmware-qemu_1.98~20100128-1.2_i386.deb
Checksums-Sha256: 
 1ed12ceb58e511baea3dba3068311e76f10a63169a04242085d7d0bbc4423fd5 2461 grub2_1.98~20100128-1.2.dsc
 7b33a8a3e6de29f5c231c6ab130d8648a0c53d6ecbd5f6854faaef3b6e1214f5 286667 grub2_1.98~20100128-1.2.diff.gz
 39541e0560989cecb981506c26f2855007c7818b891d61ca60d1c8f6121f996b 232550 grub2_1.98~20100128-1.2_i386.deb
 905a00cf8766f39aa8f7e1565152b1d4b50cd527fc853f57acd6cd50f37406fa 231362 grub-linuxbios_1.98~20100128-1.2_i386.deb
 02dd776eed3a94c5a41d66a41cd65be134f1888d073ae579979d360e72f26a42 231368 grub-efi_1.98~20100128-1.2_i386.deb
 04a9badaa773cbf8e03d82a1402ad088cac9c3b52a1053442a70d984bf89bedb 1517936 grub-common_1.98~20100128-1.2_i386.deb
 9afddf67678ccb3473514e987075917e1df6ea0694c7a90ba89363d37b754550 709966 grub-emu_1.98~20100128-1.2_i386.deb
 4a8d3112b4926aa17c6bf88b7c25cd415556bc965d08443bf5418712a843270e 805968 grub-pc_1.98~20100128-1.2_i386.deb
 c92ba1921c08fd3f5c4e05712d7befe60b34850a95c29942aa27fdc630625c9e 232144 grub-rescue-pc_1.98~20100128-1.2_i386.deb
 a23ab97d1c8533b825333564fed2b1add4a04a017f28a24f092d3e4d6435a324 607908 grub-coreboot_1.98~20100128-1.2_i386.deb
 286ccfe161e162b3ff36cc8af36188c97389c22dbe6f313a7fb253eebc330834 646338 grub-efi-ia32_1.98~20100128-1.2_i386.deb
 f231108b01d016501ace4bd8f8766caffa32f580dfc85276ae1049450df394be 705238 grub-efi-amd64_1.98~20100128-1.2_i386.deb
 041cbf00af90190d1ba4810ad2db561cba7443636736b36bd78794ae48ee0c3e 600932 grub-ieee1275_1.98~20100128-1.2_i386.deb
 27955a6734fbda93605baa884389f01adf6de4674524dab37805d66d39cc986f 578116 grub-firmware-qemu_1.98~20100128-1.2_i386.deb
Files: 
 13f3bfcb3469a1fbf9c86b1b09c3ab0a 2461 admin extra grub2_1.98~20100128-1.2.dsc
 c9d9b480b35bfc602903df3dc4c64fc4 286667 admin extra grub2_1.98~20100128-1.2.diff.gz
 4fcd4e182c8283897afe5afedffcb1ba 232550 admin extra grub2_1.98~20100128-1.2_i386.deb
 4cbf0428a157e9f2c532a33d26a8521b 231362 admin extra grub-linuxbios_1.98~20100128-1.2_i386.deb
 f310975d1c1093dbe717dcee6d7bec10 231368 admin extra grub-efi_1.98~20100128-1.2_i386.deb
 7e79a8641bf6acf4428382bedb3ff87c 1517936 admin extra grub-common_1.98~20100128-1.2_i386.deb
 c8d59814bc46c588c4c33aed0b686188 709966 admin extra grub-emu_1.98~20100128-1.2_i386.deb
 5f6b1162c04b4d08b32ce749bc3dc0c6 805968 admin extra grub-pc_1.98~20100128-1.2_i386.deb
 ed4eaab734631fd2d1acca9f1afc0b50 232144 admin extra grub-rescue-pc_1.98~20100128-1.2_i386.deb
 53d269c611cb254e54774fc90685a0d2 607908 admin extra grub-coreboot_1.98~20100128-1.2_i386.deb
 ace6aba0d8e4c624c79c71ecdac6ee77 646338 admin extra grub-efi-ia32_1.98~20100128-1.2_i386.deb
 095e741b72f19db71d5929cc1162668a 705238 admin extra grub-efi-amd64_1.98~20100128-1.2_i386.deb
 ad39c090a5a40dcdaeddd8f63243dec8 600932 admin extra grub-ieee1275_1.98~20100128-1.2_i386.deb
 09119b233cbbe70bfc751603b848a3fa 578116 admin extra grub-firmware-qemu_1.98~20100128-1.2_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQIcBAEBCAAGBQJLeFYFAAoJEDEBgAUJBeQMJKAP/3TTWAQvP2EtuVNTAyxKND+I
r5tFM+wWiCZmOrPQKhLDfoGoGMgOupg4pF/9p4SWzelRSdgpVAEDQ+EfKQI8gViY
G+qDPM7RxYu4zaCM9IsqnihU4F21t+e+ylOQG4+XRFsp6RcvV3KBHAv1Hy9FKJq7
EJu3DPS42GwULzjCC05vsHR8GYpUcMYgCaAL6zjIdkqEwin51bHxPaUJ5dUGEIT8
QlyGGzfaJAyvm2bWOKTBrw6uq0wLUSTG9BHmrDsXGslLv5ip2B4fRi4www4cGv4H
DjAjiOX8+6vEDmSW0H7Z8E4hSWf5Ux3LaVptm9gxuEUj65YOUPOJTLKPXoL3RDXK
Zx42firUXhENlipj6QEGZ/rk0ypA4wnQU+7QstXEM5rN/EcyVlWh7yt0fbf3OpKR
lXs8Pl9QuzHQCo1y8YxfkhcToazSl/xetz4L5TsMFnfTlfu6zX6DcpiIuuALKpk+
R1XwY1sRp2IZJaJab7t8S2unh/91JdUp4H695JPJK+FIpPD3CldXNhgB2KsmsAlF
rMVTwZ8mKeuDTpEXPOCDO1zGclWRBpai7u1s3AhNAYwx2uqSS2UQCgGPU8TfCqzt
HQuiw7Db6MGu4ioH1OKimAblOIHwqUZtQmn4FSotLPCDXoslBnl0wjSLv73xHZTB
IRlymJXatTOZKYrmJqfL
=eSnE
-----END PGP SIGNATURE-----





Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 24 Mar 2010 07:33:31 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jan 7 09:44:00 2018; Machine Name: beach

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.