Bug#535026: patch, please test

Robert Millan rmh at aybabtu.com
Tue Jul 21 20:56:09 UTC 2009


On Tue, Jul 21, 2009 at 10:07:05PM +0200, Luca Tettamanti wrote:
> 
> Sorry for the confusion, linux16 is working fine, linux does not. A
> patched kernel with linux16 reports:
> 
> [...]
> 
> I'm running 1.96+20090709-1 which already contains the patch to the
> capability field. Grub reports:
> 
> screen_info dump:
> orig_x = 0x0, orig_y =  0x0
> ext_mem_k = 0x8000
> orig_video_page = 0x0
> orig_video_mode = 0x3
> orig_video_cols = 0x0
> orig_video_ega_bx = 0x0
> orig_video_lines = 0x0
> orig_video_isVGA = 0x23
> orig_video_points = 0x10
> lfb_width / lfb_height / lfb_depth = 1024x768x8
> lfb_base = 0xe0000000, lfb_size = 0xc
> cl_magic = 0xa33f, cl_offset = 0x1000
> lfb_linelength = 0x400
> red_size = 0x0, red_pos = 0x0
> green_size = 0x0, green_pos = 0x0
> blue_size = 0x0, blue_pos = 0x0
> rsvd_size = 0x0, rsvd_pos = 0x0
> vesapm = 0x0:0x0
> pages = 0x0
> vesa_attributes = 0x0
> capabilities = 0x0

Thanks Luca.  I suspect lfb_size, ${color}_size or maybe vesa_attributes to
be the culprit.

For lfb_size I already made a patch [1], please could you test and see if it
solves the problem?

But I got a hunch that "blank screen" has something to do those color
variables.  For a quick hack see attachment.

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=46;filename=lfb_size.diff;att=1;bug=535026

-- 
Robert Millan

  The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
  how) you may access your data; but nobody's threatening your freedom: we
  still allow you to remove your data and not access it at all."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: color_hack.diff
Type: text/x-diff
Size: 458 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20090721/b35b0f81/attachment.diff>


More information about the Pkg-grub-devel mailing list