diff -Naur linux-2.4.20-gentoo-r3/drivers/video/vesafb.c linux-2.4.20-gentoo-r3-postpatch/drivers/video/vesafb.c --- linux-2.4.20-gentoo-r3/drivers/video/vesafb.c 2003-04-16 11:20:00.000000000 -0500 +++ linux-2.4.20-gentoo-r3-postpatch/drivers/video/vesafb.c 2003-04-16 11:42:15.000000000 -0500 @@ -520,7 +520,7 @@ video_width = screen_info.lfb_width; video_height = screen_info.lfb_height; video_linelength = screen_info.lfb_linelength; - video_size = screen_info.lfb_size * 65536; + video_size = screen_info.lfb_width * screen_info.lfb_height * video_bpp; video_visual = (video_bpp == 8) ? FB_VISUAL_PSEUDOCOLOR : FB_VISUAL_TRUECOLOR;