archive mirror
 help / color / mirror / Atom feed
* [Bug 777] New: vesafb fails to initalize 1GB system memory and 128MB video memory
@ 2003-06-05 14:25 Martin J. Bligh
  0 siblings, 0 replies; only message in thread
From: Martin J. Bligh @ 2003-06-05 14:25 UTC (permalink / raw)
  To: linux-kernel

           Summary: vesafb fails to initalize 1GB system memory and 128MB
                    video memory
    Kernel Version: 2.5.63 - Current
            Status: NEW
          Severity: normal

Gentoo Linux 1.4 profile w/ ARCH=~x86 
Hardware Environment: 
2xAthlon MP 1900+,Tyan 2462 (AMD 760MP), 1GB memory, VisionTek Gforce 4 Ti4600(128 
Software Environment: 
GCC 3.2.3, Glibc 2.3.2 
Problem Description: 
trying to use vesafb, and get blank screen (system boots normaly w/ exception of no 
frambuffer) has something to do with failing to allopcate memory (ioremap i belive) this had 
been present in 2.4 series as well, untill recently (at least in the ac sources, and 
Steps to reproduce: install 1GB of memory, and use a video card w/ 128MB memory and try 
to use frambuffered console (I have seen behaviour on more than just my card. 
I have ported the patch that I had used in the 2.4 series (before gentoo and ac picked it up) 
please be kind as I am relativly new to this, and I hope this helps (btw I have been using this 
patch since 2.5.63, w/ slight change at 2.5.67, on linus's kernel and on the mm tree, and have 
had no troubles) 
diff -Naur linux-2.5.67/drivers/video/vesafb.c 
--- linux-2.5.67/drivers/video/vesafb.c 2003-04-16 13:29:54.000000000 -0500 
+++ linux-2.5.67-postpatch/drivers/video/vesafb.c       2003-04-09 14:52:46.000000000 -0500 
@@ -225,7 +225,7 @@ 
        vesafb_defined.xres = screen_info.lfb_width; 
        vesafb_defined.yres = screen_info.lfb_height; 
        vesafb_fix.line_length = screen_info.lfb_linelength; 
-       vesafb_fix.smem_len = screen_info.lfb_size * 65536; 
+       vesafb_fix.smem_len = screen_info.lfb_width * screen_info.lfb_height * 
vesafb_defined.bits_per_pixel / 8; 
        vesafb_fix.visual   = (vesafb_defined.bits_per_pixel == 8) ? 
please let me know what I can do better to make this easier on you.... 
Thanks for all your hard work, the 2.6 kernel is going to turn a lot of heads, been nothing but 
impressed with the developmental branch

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-06-05 14:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-05 14:25 [Bug 777] New: vesafb fails to initalize 1GB system memory and 128MB video memory Martin J. Bligh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).