Bug 90986 - (VIDEO VESAFB)vesafb doesn't work with high-mem support
Summary: (VIDEO VESAFB)vesafb doesn't work with high-mem support
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: kernel
Version: 7.3
Hardware: athlon
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Arjan van de Ven
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-05-16 04:53 UTC by Daniel Tweedt
Modified: 2007-04-18 16:53 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-09-30 15:40:56 UTC
Embargoed:


Attachments (Terms of Use)

Description Daniel Tweedt 2003-05-16 04:53:12 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030314

Description of problem:
On a kernel built with HIGHMEM support (4GB in my case), booting with the kernel
option "vga=0x305" or any similar graphics mode causes the kernel to immediately
hang with a blank screen at the beginning of the boot sequence.

Version-Release number of selected component (if applicable):
kernel-2.4.18-* and/or kernel-2.4.20-*

How reproducible:
Always

Steps to Reproduce:
1. Build custom kernel with HIGHMEM support.
2. Add kernel boot option "vga=0x305".
3. Try to boot new kernel.
    

Actual Results:  See Description.

Expected Results:  Kernel should have booted.

Additional Information:
Although my system is an Athlon platform, I doubt that has anything to do with
it. It's probably a generic i386 problem?  Also, maybe this only happens if the
system actually tries to use the high memory? I didn't try to boot the kernel on
a system with less than 1 GB of RAM.

Kernel 2.4.21-rc2 has a fix for this which is easily back-ported. In
"drivers/video/vesafb.c", replace the line

    video_size = screen_info.lfb_size * 65536;

with the following line:

    video_size = screen_info.lfb_width * screen_info.lfb_height * video_bpp;

Comment 1 Alan Cox 2003-06-08 13:44:53 UTC
Its not quite so simple a fix but its getting there as of rc7. Its triggered
with very large amounts of video ram and a lot of main memory.


Comment 2 Bugzilla owner 2004-09-30 15:40:56 UTC
Thanks for the bug report. However, Red Hat no longer maintains this version of
the product. Please upgrade to the latest version and open a new bug if the problem
persists.

The Fedora Legacy project (http://fedoralegacy.org/) maintains some older releases, 
and if you believe this bug is interesting to them, please report the problem in
the bug tracker at: http://bugzilla.fedora.us/



Note You need to log in before you can comment on or make changes to this bug.