Bug#535026: Bug#534944: grub-pc: text mode virtual terminals blank

Luca Tettamanti kronos.it at gmail.com
Tue Jun 30 19:36:16 UTC 2009


On Tue, Jun 30, 2009 at 6:40 PM, Robert Millan<rmh at aybabtu.com> wrote:
> On Tue, Jun 30, 2009 at 04:33:37PM +0200, Luca Tettamanti wrote:
>> On Mon, Jun 29, 2009 at 7:28 PM, Robert Millan<rmh at aybabtu.com> wrote:
>> > Hi again,
>> >
>> > I'm uploading 1.96+20090629-1, which includes some cleanup in the Linux
>> > loader.  It's possible your problem might disappear with this version,
>> > please report.
>>
>> No joy.
>
> Hi,
>
> Then your bug is #535026.  #534944 was confirmed to be fixed by Arthur.  I'm
> changing CC to 535026 at bugs.debian.org.

I have radeon mobility (M76) card and I'm not using KMS. I also don't
get stale content on text VTs (just black screen).

>> I see the message that "vga" parameter is deprecated. The mode I'm
>> using is 773 (1024x768x256).
>
> Ok.  That's 0x305 aka 1024x768x8, which is supposed to be detected & handled
> already.
>
>> This is the output of a patched kernel, loaded with linux16:
>>
>> orig_x = 0x0, orig_y =  0x0
>> ext_mem_k = 0xffff
>> orig_video_page = 0x0
>> orig_video_mode = 0x3
>> orig_video_cols = 0x50
>> orig_video_ega_bx = 0x3
>> orig_video_lines = 0x19
>> orig_video_isVGA = 0x1
>> orig_video_points = 0x10
>> lfb_width / lfb_height / lfb_depth = 0x0x0
>> lfb_base = 0x0, lfb_size = 0x0
>> cl_magic = 0x0, cl_offset = 0x0
>> lfb_linelength = 0x0\n
>> 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
>
> This looks like text mode.  I assume you didn't pass "vga=773" to linux16?
> I need you to include that parameter in your test.

Ops, right:

orig_x = 0x0, orig_y =  0x1
ext_mem_k = 0xffff
orig_video_page = 0x0
orig_video_mode = 0x3
orig_video_cols = 0x50
orig_video_ega_bx = 0x3
orig_video_lines = 0x19
orig_video_isVGA = 0x23
orig_video_points = 0x10
lfb_width / lfb_height / lfb_depth = 1024x768x8
lfb_base = 0xe0000000, lfb_size = 0x100
cl_magic = 0x0, cl_offset = 0x0
lfb_linelength = 0x400
red_size = 0x8, red_pos = 0x0
green_size = 0x8, green_pos = 0x0
blue_size = 0x8, blue_pos = 0x0
rsvd_size = 0x8, rsvd_pos = 0x0
vesapm = 0xc000:0x9eda
pages = 0x12
vesa_attributes = 0xbb
capabilities = 0x0

vesafb is not picking up the right options:

vesafb: framebuffer at 0xe0000000, mapped to 0xffffc20010100000, using
768k, total 768k
vesafb: mode is 1024x768x8, linelength=1024, pages=0
vesafb: scrolling: redraw
vesafb: Pseudocolor: size=0:0:0:0, shift=0:0:0:0

both pages and Pseudocolor values look wrong. With older grub I get:

vesafb: framebuffer at 0xe0000000, mapped to 0xffffc20010100000, using
1536k, total 16384k
vesafb: mode is 1024x768x8, linelength=1024, pages=18
vesafb: scrolling: redraw
vesafb: Pseudocolor: size=8:8:8:8, shift=0:0:0:0

Luca





More information about the Pkg-grub-devel mailing list